diff --git a/src/views/modules/monitoring/equipmentTimesequence.vue b/src/views/modules/monitoring/equipmentTimesequence.vue index 77c1bf8..15a859e 100644 --- a/src/views/modules/monitoring/equipmentTimesequence.vue +++ b/src/views/modules/monitoring/equipmentTimesequence.vue @@ -185,7 +185,7 @@ export default { calcMaxHeight, timeType: 'range', currentLine: null, - rawTime: null, + rawTime: new Date(), dataForm: { wsId: null, productlines: [], @@ -263,10 +263,11 @@ export default { /** set default */ if (this.wsList.length) { this.dataForm.wsId = this.wsList[0].id + } else { + this.dataForm.wsId = null } } else { this.wsList.splice(0) - this.dataForm.wsId = '' // <== 不起作用... } }) }, @@ -352,7 +353,6 @@ export default { }) }, handleProductLineChange(val) { - console.log('handleProductLineChange', this.dataForm.productlines) this.getWorksetionList() }, // 每页数