修改上饶沙盘icon & 增加 换NRM模式操作

This commit is contained in:
fan 2021-11-08 16:17:06 +08:00
parent de55f13b9f
commit 69351511c4
2 changed files with 19 additions and 2 deletions

View File

@ -140,6 +140,10 @@ export default {
label: '回库', label: '回库',
handler: this.setInbound handler: this.setInbound
}, },
{
label: '转NRM模式',
handler: this.handlerApplyNrmMode
},
{ {
label: '修改预选模式', label: '修改预选模式',
children: [ children: [
@ -422,6 +426,19 @@ export default {
this.$refs.noticeInfo.doShow(); 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() { limitSpeed() {
const step = { const step = {

View File

@ -602,8 +602,8 @@ export const ProjectIcon = {
designrichorjoint: FaviconRichor, designrichorjoint: FaviconRichor,
nologo: TransparentIcon, nologo: TransparentIcon,
designnologo: TransparentIcon, designnologo: TransparentIcon,
srsandbox: Favicon, srsandbox: FaviconRichor,
designsrsandbox:Favicon designsrsandbox:FaviconRichor
}; };
export const ProjectCode = { export const ProjectCode = {