From 170be716d372d3d7a98a52f370d8dd76e665828d Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Fri, 14 Oct 2022 15:43:30 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/iscs/iscsSystemNew/index.vue | 31 +++++++++++ src/views/iscs/iscsSystemNew/stationNav.vue | 55 +++++++++++++++++++ src/views/login/normalLogin.vue | 3 +- src/views/newMap/display/terminals/index.vue | 5 +- .../newMap/display/terminals/terminalMenu.vue | 6 ++ 5 files changed, 97 insertions(+), 3 deletions(-) create mode 100644 src/views/iscs/iscsSystemNew/index.vue create mode 100644 src/views/iscs/iscsSystemNew/stationNav.vue diff --git a/src/views/iscs/iscsSystemNew/index.vue b/src/views/iscs/iscsSystemNew/index.vue new file mode 100644 index 000000000..69cd882b6 --- /dev/null +++ b/src/views/iscs/iscsSystemNew/index.vue @@ -0,0 +1,31 @@ + + diff --git a/src/views/iscs/iscsSystemNew/stationNav.vue b/src/views/iscs/iscsSystemNew/stationNav.vue new file mode 100644 index 000000000..c60ff6204 --- /dev/null +++ b/src/views/iscs/iscsSystemNew/stationNav.vue @@ -0,0 +1,55 @@ + + + diff --git a/src/views/login/normalLogin.vue b/src/views/login/normalLogin.vue index e9e75a6e6..648086888 100644 --- a/src/views/login/normalLogin.vue +++ b/src/views/login/normalLogin.vue @@ -203,8 +203,9 @@ export default { } else { this.$emit('showOrgList', orgList); } - }).catch(()=>{ + }).catch((error)=>{ this.loading = false; + this.$message.error(error.message);;; }); }, // 选择组织 diff --git a/src/views/newMap/display/terminals/index.vue b/src/views/newMap/display/terminals/index.vue index 5826caf61..6661ac105 100644 --- a/src/views/newMap/display/terminals/index.vue +++ b/src/views/newMap/display/terminals/index.vue @@ -6,13 +6,14 @@ + - + @@ -33,7 +34,7 @@ import DigitalStand from '@/views/jlmap3d/simulation/jl3dsimulation'; import IbpPlate from '@/views/ibp/ibpsystem/index'; import TrafficTerminalWork from './trafficTerminalWork'; import BigTrainRunplanManage from '@/views/bigTrainRunplanManage/index'; -import IscsSystem from '@/views/iscs/iscsSystem/index'; +import IscsSystem from '@/views/iscs/iscsSystemNew/index'; export default { name: 'Index', components: { diff --git a/src/views/newMap/display/terminals/terminalMenu.vue b/src/views/newMap/display/terminals/terminalMenu.vue index 66694c867..f836b1a9f 100644 --- a/src/views/newMap/display/terminals/terminalMenu.vue +++ b/src/views/newMap/display/terminals/terminalMenu.vue @@ -63,6 +63,12 @@ export default { { name: 'cctv视图', code: 'cctvView', + roleList: ['DISPATCHER', 'STATION_SUPERVISOR'], + click: this.changePictureShow + }, + { + name: 'ISCS', + code: 'iscsView', roleList: ['STATION_SUPERVISOR'], click: this.changePictureShow }, From 0062a6d1f61e997d468c783fd279395997360d55 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Fri, 14 Oct 2022 15:45:50 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/baseUrl.js | 4 ++-- src/views/login/normalLogin.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js index 0929e8877..5317762c9 100644 --- a/src/utils/baseUrl.js +++ b/src/utils/baseUrl.js @@ -23,13 +23,13 @@ export function handlerUrl() { let OSS_URL; if (process.env.NODE_ENV === 'development') { // 开发分支 - // BASE_API = 'http://192.168.3.233/rtss-server'; + BASE_API = 'http://192.168.3.233/rtss-server'; // BASE_API = 'https://joylink.club/jlcloud'; // BASE_API = 'https://test.joylink.club/jlcloud'; // BASE_API = 'http://114.116.51.125/jlcloud'; // BASE_API = 'http://192.168.3.90:9100'; // 周寅 // BASE_API = 'http://192.168.3.94:9000'; // 旭强 - BASE_API = 'http://192.168.3.15:9000'; // 张赛 + // BASE_API = 'http://192.168.3.15:9000'; // 张赛 // BASE_API = 'http://192.168.3.5:9000'; // 夏增彬 // BASE_API = 'http://192.168.3.37:9000'; // 卫志宏 // BASE_API = 'http://b29z135112.zicp.vip'; diff --git a/src/views/login/normalLogin.vue b/src/views/login/normalLogin.vue index 648086888..813d56fe8 100644 --- a/src/views/login/normalLogin.vue +++ b/src/views/login/normalLogin.vue @@ -205,7 +205,7 @@ export default { } }).catch((error)=>{ this.loading = false; - this.$message.error(error.message);;; + this.$message.error(error.message); }); }, // 选择组织 From 0ed2bf8193d272e9ef3737b1a9c9f8ced06ab816 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Fri, 14 Oct 2022 15:58:46 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/publish/publishMap/editSubsystem.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/publish/publishMap/editSubsystem.vue b/src/views/publish/publishMap/editSubsystem.vue index ab6069e43..a01789569 100644 --- a/src/views/publish/publishMap/editSubsystem.vue +++ b/src/views/publish/publishMap/editSubsystem.vue @@ -141,15 +141,16 @@ export default { this.memberMetroList = []; this.memberRailwayList = []; this.memberEmergencyList = []; - memberResp.data.METRO.forEach(member => { + const {METRO = [], RAILWAY = [], EMERGENCY = []} = memberResp.data; + METRO.forEach(member => { const data = this.handleMember(member, stationResp.data); this.memberMetroList.push(data); }); - memberResp.data.RAILWAY.forEach(member => { + RAILWAY.forEach(member => { const data = this.handleMember(member, stationResp.data); this.memberRailwayList.push(data); }); - memberResp.data.EMERGENCY.forEach(member => { + EMERGENCY.forEach(member => { const data = this.handleMember(member, stationResp.data); this.memberEmergencyList.push(data); });