Merge branch 'test_dispaly' of https://git.code.tencent.com/lian-cbtc/jl-client into test_dispaly1
This commit is contained in:
commit
176068f6c8
@ -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)=>{
|
||||
|
@ -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;
|
||||
|
@ -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)=>{
|
||||
|
@ -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(()=>{
|
||||
|
Loading…
Reference in New Issue
Block a user