代码调整
This commit is contained in:
parent
891cf8761c
commit
1deb1e017d
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user