Shannon_mu 3 years ago
parent
commit
d1b89bcea5

+ 2 - 1
operationSupport/src/views/alarmManagement/hydropowerAlarmSetting/popups/add.vue

@@ -48,7 +48,8 @@ export default {
                 communityId: '',
                 type: '',
                 operate: '',
-                value: ''
+                value: '',
+                enable:1
             },
             rules: {
                 name: [this.$valid.inputRequired('告警名称')],

+ 2 - 2
operationSupport/src/views/patrolManagement/patrolRecords.vue

@@ -119,8 +119,8 @@ export default {
             if (!arr) {
                 arr = ['', ''];
             }
-            this.mixins_query.startTime = arr[0];
-            this.mixins_query.endTime = arr[1];
+            this.mixins_query.startTime = !!arr[0] ? arr[0] + ' 00:00:00' : '';
+            this.mixins_query.endTime = !!arr[1] ? arr[1] + ' 23:59:59' : '';
         },
         lookDetails(row) {
             this.thisObj = row;