代码调整

This commit is contained in:
joylink_cuiweidong 2022-08-29 10:05:14 +08:00
parent 3410f4fe0f
commit f0d9184a13

View File

@ -416,6 +416,7 @@ export default {
},
deleteTrainFxPath() {
if (this.currentRow) {
// debugger;
const that = this;
this.$confirm('确定删除该条列车路径数据?', '警告', {
confirmButtonText: '确定',
@ -428,6 +429,7 @@ export default {
commitOperate(menuOperate.CTC.deleteTrainFixedPath, param, 3).then(({valid})=>{
if (valid) {
that.$message.success('删除成功!');
this.handleData();
}
}).catch(() => {
that.$message.error('删除失败');