修改上饶沙盘icon & 增加 换NRM模式操作
This commit is contained in:
parent
de55f13b9f
commit
69351511c4
@ -140,6 +140,10 @@ export default {
|
||||
label: '回库',
|
||||
handler: this.setInbound
|
||||
},
|
||||
{
|
||||
label: '转NRM模式',
|
||||
handler: this.handlerApplyNrmMode
|
||||
},
|
||||
{
|
||||
label: '修改预选模式',
|
||||
children: [
|
||||
@ -422,6 +426,19 @@ export default {
|
||||
this.$refs.noticeInfo.doShow();
|
||||
});
|
||||
},
|
||||
handlerApplyNrmMode() {
|
||||
const group = this.$route.query.group;
|
||||
const param = {
|
||||
commandType: 'Apply_NRM',
|
||||
targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id,
|
||||
params: { }
|
||||
};
|
||||
commitTrainSend(group, param).then(({ valid, operate }) => {
|
||||
}).catch((error) => {
|
||||
console.error(error);
|
||||
this.$refs.noticeInfo.doShow();
|
||||
});
|
||||
},
|
||||
// 限速行驶
|
||||
limitSpeed() {
|
||||
const step = {
|
||||
|
@ -602,8 +602,8 @@ export const ProjectIcon = {
|
||||
designrichorjoint: FaviconRichor,
|
||||
nologo: TransparentIcon,
|
||||
designnologo: TransparentIcon,
|
||||
srsandbox: Favicon,
|
||||
designsrsandbox:Favicon
|
||||
srsandbox: FaviconRichor,
|
||||
designsrsandbox:FaviconRichor
|
||||
};
|
||||
|
||||
export const ProjectCode = {
|
||||
|
Loading…
Reference in New Issue
Block a user