From 8ed064d1bd36e79c4c74078b4554fcb39a009a2b Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Wed, 8 Nov 2023 17:43:02 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E6=8A=A5=E4=BF=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/style/layout.css | 4 ++-- pages/device/RepairReport.vue | 10 +++------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/common/style/layout.css b/common/style/layout.css index e87cb99..da3a03a 100644 --- a/common/style/layout.css +++ b/common/style/layout.css @@ -195,8 +195,8 @@ uni-button:after { } .filter_textarea { width: 100%; - height: 210rpx; - line-height: 70rpx; + height: 120rpx; + line-height: 40rpx; border: 1px solid #dcdfe6; background-color: #fff; padding: 0 15rpx; diff --git a/pages/device/RepairReport.vue b/pages/device/RepairReport.vue index 037f9db..6e45b8b 100644 --- a/pages/device/RepairReport.vue +++ b/pages/device/RepairReport.vue @@ -28,13 +28,13 @@ 故障描述 - + - + @@ -55,7 +55,7 @@ val2: '', options1: [], index1: '', - options2: [{vlue: '01', text: '紧急'}, {vlue: '02', text: '一般'}, {vlue: '03', text: '不紧急'},], + options2: [{value: '01', text: '紧急'}, {value: '02', text: '一般'}, {value: '03', text: '不紧急'},], index2: '', disabled: false }; @@ -95,10 +95,6 @@ /** 确认 */ async toSure () { this.disabled = true - if (!this.val1 || !this.index1 || !this.index2 ) { - this.disabled = false - return - } try { let res = await devicerepairrequest(this.$store.getters.publicObj.device_code, this.$store.getters.publicObj.devicerecord_id, this.$store.getters.publicObj.material_type_id, this.index1, this.index2, this.val2) this.disabled = false