代码调整

This commit is contained in:
joylink_cuiweidong 2022-07-21 15:08:07 +08:00
parent 891cf8761c
commit 1deb1e017d

View File

@ -10,6 +10,7 @@ import PopMenu from '@/components/PopMenu';
// OperateMode
import { DeviceMenu } from '@/scripts/ConstDic';
import NoticeInfo from '@/jmapNew/theme/components/menus/childDialog/noticeInfo';
import {menuOperate, commitOperate} from '@/jmapNew/theme/components/utils/menuOperate';
export default {
name: 'SignalMenu',
components: {
@ -103,7 +104,12 @@ export default {
},
//
signalTotalCancle() {
const model = this.selected; //
commitOperate(menuOperate.Signal.signalTotalCancle, { signalCode: model._type === 'Signal' ? model.code : model.signalCode}, 3).then(({valid, operate}) => {
if (valid) {
//
}
});
},
//
humanTrainRoute() {