diff --git a/src/views/andonManagement/alarmZone/index.vue b/src/views/andonManagement/alarmZone/index.vue index 3ac7350..598fa80 100644 --- a/src/views/andonManagement/alarmZone/index.vue +++ b/src/views/andonManagement/alarmZone/index.vue @@ -3,7 +3,7 @@ - + @@ -62,7 +62,7 @@ - + @@ -127,6 +127,7 @@ export default { }, // 弹出层标题 title: "", + title1: '', // 操作类型 1、add 2、edit opertype: 0, alarmContactOptions: [], @@ -210,7 +211,7 @@ export default { updatedBy: undefined, updatedTime: undefined, }; - this.form1={ + this.form1 = { parentArea: undefined, area: undefined, } @@ -253,11 +254,12 @@ export default { this.reset(); this.open = true; this.title = "添加"; - - this.opertype = 1; }, handleAdd2() { this.open1 = true; + this.title1 = "添加" + this.opertype = 1; + this.reset() getAndonAreaParentDictList().then(res => { if (res.code == 200) { this.parentOptions = res.data.map(item => { @@ -292,7 +294,7 @@ export default { }) const id = row.id || this.ids; this.open1 = true; - this.title = "修改"; + this.title1 = "修改"; this.opertype = 2; this.form1 = { ...row diff --git a/src/views/andonManagement/humanComputerInteraction/index.vue b/src/views/andonManagement/humanComputerInteraction/index.vue index 90ba2f0..5c2c9f9 100644 --- a/src/views/andonManagement/humanComputerInteraction/index.vue +++ b/src/views/andonManagement/humanComputerInteraction/index.vue @@ -17,8 +17,6 @@ --> - -