From e7c7e236029633b29c03831b8833066d9a5862cc Mon Sep 17 00:00:00 2001 From: dong <58670809@qq.com> Date: Mon, 13 Feb 2023 14:16:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../newMap/display/terminals/abnormalTrain/controlTable.vue | 2 +- .../newMap/display/terminals/equipmentConstructionTable.vue | 2 +- .../terminals/floodControlSafetyTable/controlTable.vue | 4 ++-- src/views/newMap/display/terminals/registerBook.vue | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/newMap/display/terminals/abnormalTrain/controlTable.vue b/src/views/newMap/display/terminals/abnormalTrain/controlTable.vue index 1344312c3..4c7c083b5 100644 --- a/src/views/newMap/display/terminals/abnormalTrain/controlTable.vue +++ b/src/views/newMap/display/terminals/abnormalTrain/controlTable.vue @@ -284,7 +284,7 @@ export default { // }); // } // }); - commitOperate(menuOperate.Rail.abnormalTrainTableSave, obj, 3).then(({valid, operate})=>{ + commitOperate(menuOperate.Rail.abnormalTrainTableSave, obj, 2).then(({valid, operate})=>{ this.$message.success('提交成功!'); this.initFormData(); }).catch((error)=>{ diff --git a/src/views/newMap/display/terminals/equipmentConstructionTable.vue b/src/views/newMap/display/terminals/equipmentConstructionTable.vue index 1070efc19..c15b65a48 100644 --- a/src/views/newMap/display/terminals/equipmentConstructionTable.vue +++ b/src/views/newMap/display/terminals/equipmentConstructionTable.vue @@ -230,7 +230,7 @@ export default { saveData(data, index) { // if (this.isAdd) { const params = Object.assign({stationCode:this.$store.state.training.roleDeviceCode}, data); - commitOperate(menuOperate.Rail.equipmentConstructionFill, params, 3).then(({valid, operate})=>{ + commitOperate(menuOperate.Rail.equipmentConstructionFill, params, 2).then(({valid, operate})=>{ this.queryData(); this.isEditing = false; this.isAdd = false; diff --git a/src/views/newMap/display/terminals/floodControlSafetyTable/controlTable.vue b/src/views/newMap/display/terminals/floodControlSafetyTable/controlTable.vue index adcc92bdb..49fb3abcf 100644 --- a/src/views/newMap/display/terminals/floodControlSafetyTable/controlTable.vue +++ b/src/views/newMap/display/terminals/floodControlSafetyTable/controlTable.vue @@ -289,7 +289,7 @@ export default { // }); // } // }); - commitOperate(menuOperate.Rail.floodControlSafetyTableSave, obj, 3).then(({valid, operate})=>{ + commitOperate(menuOperate.Rail.floodControlSafetyTableSave, obj, 2).then(({valid, operate})=>{ this.$message.success('提交成功!'); this.initFormData(); }).catch((error)=>{ @@ -313,7 +313,7 @@ export default { // }); // } // }); - commitOperate(menuOperate.Rail.floodControlSafetyTableUpdate, obj, 3).then(({valid, operate})=>{ + commitOperate(menuOperate.Rail.floodControlSafetyTableUpdate, obj, 2).then(({valid, operate})=>{ this.$message.success('更新成功!'); this.isEdit = false; }).catch((error)=>{ diff --git a/src/views/newMap/display/terminals/registerBook.vue b/src/views/newMap/display/terminals/registerBook.vue index 8ba1b37d7..83ba28554 100644 --- a/src/views/newMap/display/terminals/registerBook.vue +++ b/src/views/newMap/display/terminals/registerBook.vue @@ -179,7 +179,7 @@ export default { }, saveData(data) { const params = { stationCode: this.$store.state.training.roleDeviceCode, line: data }; - commitOperate(menuOperate.Rail.railFillInRegister, params, 3).then(({valid, operate})=>{ + commitOperate(menuOperate.Rail.railFillInRegister, params, 2).then(({valid, operate})=>{ this.queryData(); this.$message.success('保存成功!'); }).catch(()=>{