新增选项
This commit is contained in:
@@ -136,12 +136,36 @@
|
|||||||
<button class="button--defalut" :class="{'bgcgreen': rData.cowl_b_cowl_bPass}">套帽B合格</button>
|
<button class="button--defalut" :class="{'bgcgreen': rData.cowl_b_cowl_bPass}">套帽B合格</button>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="d_item">
|
<div class="d_item" style="margin-top: 7px">
|
||||||
<div class="d_input">
|
<div class="d_input">
|
||||||
<label class="d-label2 d-label4">不合格输送辊缓存计数</label>
|
<label class="d-label2 d-label4">不合格输送辊缓存计数</label>
|
||||||
<div class="showbox showbox2" @click="toChange(7, '不合格输送辊缓存计数', val7)">{{val7}}</div>
|
<div class="showbox showbox2" @click="toChange(7, '不合格输送辊缓存计数', val7)">{{val7}}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="d_item">
|
||||||
|
<div class="d_input">
|
||||||
|
<label class="d-label2 d-label4">主、反向输送电机频率设定</label>
|
||||||
|
<div class="showbox showbox2" @click="toChange(9, '主、反向输送电机频率设定', val9)">{{val9}}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="d_item">
|
||||||
|
<div class="d_input">
|
||||||
|
<label class="d-label2 d-label4">捆扎时夹紧开度设定</label>
|
||||||
|
<div class="showbox showbox2" @click="toChange(10, '捆扎时夹紧开度设定', val10)">{{val10}}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="d_item">
|
||||||
|
<div class="d_input">
|
||||||
|
<label class="d-label2 d-label4">套帽合格顶升需要根数</label>
|
||||||
|
<div class="showbox showbox2" @click="toChange(11, '套帽合格顶升需要根数', val11)">{{val11}}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="d_item">
|
||||||
|
<div class="d_input">
|
||||||
|
<label class="d-label2 d-label4">套帽合格顶升已有根数</label>
|
||||||
|
<div class="showbox showbox2" @click="toChange(12, '套帽合格顶升已有根数', val12)">{{val12}}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="box3">
|
<div class="box3">
|
||||||
<div class="b3-top">
|
<div class="b3-top">
|
||||||
@@ -241,6 +265,10 @@ export default {
|
|||||||
val6: '',
|
val6: '',
|
||||||
val7: '',
|
val7: '',
|
||||||
val8: '',
|
val8: '',
|
||||||
|
val9: '',
|
||||||
|
val10: '',
|
||||||
|
val11: '',
|
||||||
|
val12: '',
|
||||||
rData: '',
|
rData: '',
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
@@ -284,20 +312,20 @@ export default {
|
|||||||
disabled2: false
|
disabled2: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created () {
|
// created () {
|
||||||
this.refresh()
|
// this.refresh()
|
||||||
},
|
// },
|
||||||
beforeDestroy () {
|
// beforeDestroy () {
|
||||||
clearInterval(this.timer)
|
// clearInterval(this.timer)
|
||||||
this.timer = null
|
// this.timer = null
|
||||||
},
|
// },
|
||||||
methods: {
|
methods: {
|
||||||
refresh () {
|
// refresh () {
|
||||||
this._queryDeviceInfo()
|
// this._queryDeviceInfo()
|
||||||
this.timer = setInterval(() => {
|
// this.timer = setInterval(() => {
|
||||||
this._queryDeviceInfo()
|
// this._queryDeviceInfo()
|
||||||
}, this.interTime)
|
// }, this.interTime)
|
||||||
},
|
// },
|
||||||
// 查询
|
// 查询
|
||||||
async _queryDeviceInfo () {
|
async _queryDeviceInfo () {
|
||||||
let res = await queryDeviceInfo()
|
let res = await queryDeviceInfo()
|
||||||
@@ -377,6 +405,22 @@ export default {
|
|||||||
this.putPoint('strapping_current_step', '3', this.val)
|
this.putPoint('strapping_current_step', '3', this.val)
|
||||||
this.val8 = this.val
|
this.val8 = this.val
|
||||||
}
|
}
|
||||||
|
if (this.opt === 9) {
|
||||||
|
this.putPoint('motor_frequency_setting', '3', this.val)
|
||||||
|
this.val9 = this.val
|
||||||
|
}
|
||||||
|
if (this.opt === 10) {
|
||||||
|
this.putPoint('nip_setting', '3', this.val)
|
||||||
|
this.val10 = this.val
|
||||||
|
}
|
||||||
|
if (this.opt === 11) {
|
||||||
|
this.putPoint('cowl_pass_jacking_need_num', '3', this.val)
|
||||||
|
this.val11 = this.val
|
||||||
|
}
|
||||||
|
if (this.opt === 12) {
|
||||||
|
this.putPoint('cowl_pass_jacking_has_num', '3', this.val)
|
||||||
|
this.val12 = this.val
|
||||||
|
}
|
||||||
this.active = false
|
this.active = false
|
||||||
},
|
},
|
||||||
msgCancle () {
|
msgCancle () {
|
||||||
@@ -501,7 +545,7 @@ export default {
|
|||||||
.d-label3
|
.d-label3
|
||||||
width .6rem
|
width .6rem
|
||||||
.d-label4
|
.d-label4
|
||||||
width 1.1rem
|
width 1.4rem
|
||||||
.d_input
|
.d_input
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -543,7 +587,7 @@ export default {
|
|||||||
margin-left 1.3rem
|
margin-left 1.3rem
|
||||||
ul
|
ul
|
||||||
li
|
li
|
||||||
margin 20px 0
|
margin 5px 0
|
||||||
label
|
label
|
||||||
font-size 12px
|
font-size 12px
|
||||||
display inline-block
|
display inline-block
|
||||||
|
|||||||
Reference in New Issue
Block a user