فهرست منبع

设施环境室内温湿度调整,紫外灯消毒bug修复

luoaoxuan 1 سال پیش
والد
کامیت
73d2d5caf8

+ 1 - 1
src/views/component/facility/facilityData.vue

@@ -157,7 +157,7 @@ export default {
             return JSON.stringify(val)
         },
         goAdd () {
-            if (this.forms.length >= 5) {
+            if (this.forms.length >= 10) {
                 return this.$message({
                     message: '超过最大限制!',
                     type: 'warning'

+ 4 - 3
src/views/component/xcomponent/numberRange.vue

@@ -200,9 +200,10 @@ export default {
   }
 }
 .is-disabled {
-//   background-color: #eef0f6;
-//   border-color: #e4e7ed;
-//   color: #c0c4cc;
+    :hover{
+        background-color: #eef0f6
+    }
+  border-color: #FFFFFF;
   cursor: not-allowed;
 }
 </style>

+ 7 - 5
src/views/system/fasc/facilityEnvConfig.vue

@@ -582,8 +582,10 @@ export default {
                 switch (val) {
                     case '01-室内温湿度监控':
                         this.form.lie_biao_shu_ju_ = JSON.stringify([
-                            { label: '温度', range: [], fixValue: '', value: '', result: '', status: '' },
-                            { label: '湿度', range: [], fixValue: '', value: '', result: '', status: '' }
+                            { label: '上午温度', range: [], fixValue: '', value: '', result: '', status: '' },
+                            { label: '上午湿度', range: [], fixValue: '', value: '', result: '', status: '' },
+                            { label: '下午温度', range: [], fixValue: '', value: '', result: '', status: '' },
+                            { label: '下午湿度', range: [], fixValue: '', value: '', result: '', status: '' }
                         ])
                         break
                     case '02-冰箱温度监控':
@@ -1203,7 +1205,7 @@ export default {
                         di_dian_: this.level,
                         bian_zhi_bu_men_: item.bu_men_,
                         bian_zhi_ren_: this.userId,
-                        zi_wai_deng_ming_: item.deviceName1,
+                        zi_wai_deng_ming_: item.devicename1_,
                         she_shi_id_: item.zi_wai_deng_wai_j
                     }))
                 } : null
@@ -1217,7 +1219,7 @@ export default {
                         },
                         param: {
                             bian_zhi_bu_men_: item.bu_men_,
-                            zi_wai_deng_ming_: item.deviceName1
+                            zi_wai_deng_ming_: item.devicename1_
                         }
                     }))
                 } : null
@@ -1225,7 +1227,7 @@ export default {
                 // 生成删除请求参数
                 const deleteParams = deleteList.length ? {
                     tableName,
-                    paramWhere: { she_shi_id_: deleteList.map(item => item.sheShiId).join(',') }
+                    paramWhere: { she_shi_id_: deleteList.join(',') }
                 } : null
 
                 // 合并所有请求