diff --git a/src/jmapNew/theme/fuzhou_01/menus/menuTrain.vue b/src/jmapNew/theme/fuzhou_01/menus/menuTrain.vue index ccf19f69b..c4afddb6a 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/menuTrain.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/menuTrain.vue @@ -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 = { diff --git a/src/scripts/ProjectConfig.js b/src/scripts/ProjectConfig.js index 90be48efc..55861e98c 100644 --- a/src/scripts/ProjectConfig.js +++ b/src/scripts/ProjectConfig.js @@ -602,8 +602,8 @@ export const ProjectIcon = { designrichorjoint: FaviconRichor, nologo: TransparentIcon, designnologo: TransparentIcon, - srsandbox: Favicon, - designsrsandbox:Favicon + srsandbox: FaviconRichor, + designsrsandbox:FaviconRichor }; export const ProjectCode = {