From 801b74eb3fbe24954ae8a25b3c5e9075130c8540 Mon Sep 17 00:00:00 2001 From: xiangxy Date: Thu, 10 Nov 2022 18:59:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/proj/RunOperate.vue | 76 +++++++++++++++++++++++++++-------- 1 file changed, 60 insertions(+), 16 deletions(-) diff --git a/src/pages/proj/RunOperate.vue b/src/pages/proj/RunOperate.vue index fa33478..cb27040 100644 --- a/src/pages/proj/RunOperate.vue +++ b/src/pages/proj/RunOperate.vue @@ -136,12 +136,36 @@ -
+
{{val7}}
+
+
+ +
{{val9}}
+
+
+
+
+ +
{{val10}}
+
+
+
+
+ +
{{val11}}
+
+
+
+
+ +
{{val12}}
+
+
@@ -241,6 +265,10 @@ export default { val6: '', val7: '', val8: '', + val9: '', + val10: '', + val11: '', + val12: '', rData: '', options: [ { @@ -284,20 +312,20 @@ export default { disabled2: false } }, - created () { - this.refresh() - }, - beforeDestroy () { - clearInterval(this.timer) - this.timer = null - }, + // created () { + // this.refresh() + // }, + // beforeDestroy () { + // clearInterval(this.timer) + // this.timer = null + // }, methods: { - refresh () { - this._queryDeviceInfo() - this.timer = setInterval(() => { - this._queryDeviceInfo() - }, this.interTime) - }, + // refresh () { + // this._queryDeviceInfo() + // this.timer = setInterval(() => { + // this._queryDeviceInfo() + // }, this.interTime) + // }, // 查询 async _queryDeviceInfo () { let res = await queryDeviceInfo() @@ -377,6 +405,22 @@ export default { this.putPoint('strapping_current_step', '3', 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 }, msgCancle () { @@ -501,7 +545,7 @@ export default { .d-label3 width .6rem .d-label4 - width 1.1rem + width 1.4rem .d_input width: 100%; display: flex; @@ -543,7 +587,7 @@ export default { margin-left 1.3rem ul li - margin 20px 0 + margin 5px 0 label font-size 12px display inline-block