diff --git a/src/jmapNew/theme/xian_01/menus/menuSignal.vue b/src/jmapNew/theme/xian_01/menus/menuSignal.vue index 79f5049b2..76059495b 100644 --- a/src/jmapNew/theme/xian_01/menus/menuSignal.vue +++ b/src/jmapNew/theme/xian_01/menus/menuSignal.vue @@ -263,12 +263,18 @@ export default { initMenu() { this.menu = MenuContextHandler.covert(this.menuNormal); // 故障模式菜单列表 - const menuItem = this.menu.find( item => item.cmdType === CMD.Signal.CMD_SIGNAL_SET_CI_AUTO); - const menuItemDisabled = menuItem.disabled; - menuItem.disabled = true; + const ciAutoMenuItem = this.menu.find( item => item.cmdType === CMD.Signal.CMD_SIGNAL_SET_CI_AUTO); + const ciAutoTriggerMenuItem = this.menu.find( item => item.cmdType === CMD.Signal.CMD_SIGNAL_SET_CI_AUTO_TRIGGER); + const ciAutoMenuItemDisabled = ciAutoMenuItem.disabled; + const ciAutoTriggerMenuItemDisabled = ciAutoTriggerMenuItem.disabled; + ciAutoMenuItem.disabled = true; + ciAutoTriggerMenuItem.disabled = true; this.routeList.forEach(route => { if (route.startSignalCode === this.selected.code && route.flt) { - menuItem.disabled = menuItemDisabled; + ciAutoMenuItem.disabled = ciAutoMenuItemDisabled; + } + if (route.startSignalCode === this.selected.code && route.arc ) { + ciAutoTriggerMenuItem.disabled = ciAutoTriggerMenuItemDisabled; } }); if (this.operatemode === OperateMode.FAULT) { diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js index e0158d721..9590df85d 100644 --- a/src/utils/baseUrl.js +++ b/src/utils/baseUrl.js @@ -2,11 +2,11 @@ export function getBaseUrl() { let BASE_API; if (process.env.NODE_ENV === 'development') { // BASE_API = 'https://joylink.club/jlcloud'; - // BASE_API = 'https://test.joylink.club/jlcloud'; + BASE_API = 'https://test.joylink.club/jlcloud'; // BASE_API = 'http://192.168.8.107:9000'; // 袁琪 // BASE_API = 'http://192.168.2.175:9000'; // 旭强 有线 // BASE_API = 'http://192.168.8.114:9000'; // 旭强 无线 - BASE_API = 'http://192.168.2.183:9010'; // 张赛 + // BASE_API = 'http://192.168.2.183:9010'; // 张赛 // BASE_API = 'http://192.168.8.140:9000'; // 杜康 // BASE_API = 'http://b29z135112.zicp.vip'; // BASE_API = 'http://2925963m2a.zicp.vip'; // 杜康