修改上饶沙盘icon & 增加 换NRM模式操作
This commit is contained in:
parent
de55f13b9f
commit
69351511c4
@ -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 = {
|
||||||
|
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user