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