From 69351511c417c9838d377441c387e2b75b473268 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Mon, 8 Nov 2021 16:17:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=8A=E9=A5=B6=E6=B2=99?= =?UTF-8?q?=E7=9B=98icon=20&=20=E5=A2=9E=E5=8A=A0=20=E6=8D=A2NRM=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/theme/fuzhou_01/menus/menuTrain.vue | 17 +++++++++++++++++ src/scripts/ProjectConfig.js | 4 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) 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 = {