From 340fccb47480c7370debdd53adbe69f17cc0a558 Mon Sep 17 00:00:00 2001 From: joylink_zhangsai <1021828630@qq.com> Date: Tue, 19 Jan 2021 19:31:56 +0800 Subject: [PATCH 01/28] =?UTF-8?q?=E4=BF=AE=E6=94=B9productionSourceMap?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vue.config.js b/vue.config.js index efe54c291..6c42bf449 100644 --- a/vue.config.js +++ b/vue.config.js @@ -32,7 +32,7 @@ module.exports = { outputDir: outputDir, assetsDir: 'static', // 相对于outputDir的静态资源(js、css、img、fonts)目录 lintOnSave: false, - productionSourceMap: process.env.VUE_APP_SOURCE_MAP, + productionSourceMap: false, devServer: { port: port, host: '0.0.0.0', From f6015822c454f302f5ac838bf15d643196f468a3 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Thu, 28 Jan 2021 10:42:32 +0800 Subject: [PATCH 02/28] =?UTF-8?q?Revert=20"=E5=8C=97=E4=BA=A4=E5=A4=A7?= =?UTF-8?q?=E5=AE=A2=E6=B5=81=20=E8=BD=A6=E7=AB=99=E4=BA=BA=E6=95=B0?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4=20=E5=9C=B0=E5=9B=BE?= =?UTF-8?q?=E7=BB=98=E5=9B=BE=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 This reverts commit 8f82b0fd --- src/views/newMap/displayNew/practiceDisplay.vue | 5 ++--- .../newMap/newMapdraft/mapoperate/ControlDraft.vue | 11 +++++------ 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/views/newMap/displayNew/practiceDisplay.vue b/src/views/newMap/displayNew/practiceDisplay.vue index a52756ed2..66ee3942d 100644 --- a/src/views/newMap/displayNew/practiceDisplay.vue +++ b/src/views/newMap/displayNew/practiceDisplay.vue @@ -205,11 +205,10 @@ export default { '$store.state.socket.trainPfiBL':function(val) { if (val) { const trainNum = this.$store.state.socket.trainPfiBL; - // const device = this.$store.getters['map/getDeviceByCode'](trainNum.code); + const device = this.$store.getters['map/getDeviceByCode'](trainNum.code); trainNum.deviceType = 'TRAIN'; // console.log(trainNum, device, device.num, trainNum.in, trainNum.out, 'changed'); - trainNum.num = trainNum.remain; - // device.num + trainNum.in - trainNum.out; + trainNum.num = device.num + trainNum.in - trainNum.out; // console.log(trainNum.num, 'changeder'); this.$store.dispatch('training/updateMapState', [trainNum]); } diff --git a/src/views/newMap/newMapdraft/mapoperate/ControlDraft.vue b/src/views/newMap/newMapdraft/mapoperate/ControlDraft.vue index 0453a7df0..4a8f7d303 100644 --- a/src/views/newMap/newMapdraft/mapoperate/ControlDraft.vue +++ b/src/views/newMap/newMapdraft/mapoperate/ControlDraft.vue @@ -278,11 +278,10 @@ export default { return this.editModel.type != 'StationTurnBack'; }, isDisabledStation() { - // || this.editModel.type == 'AutomaticRoute' - return this.editModel.type == 'AutoTurnBack'; + return this.editModel.type == 'AutoTurnBack' || this.editModel.type == 'AutomaticRoute'; }, isHiddenStation() { - return this.editModel.type == 'AutoTurnBack' || this.editModel.type == 'GuideLock' || this.editModel.type == 'AxleReset' || this.editModel.type == 'StationTurnBack' || this.editModel.type == 'AutomaticRoute'; + return this.editModel.type == 'AutoTurnBack' || this.editModel.type == 'GuideLock' || this.editModel.type == 'AxleReset' || this.editModel.type == 'StationTurnBack'; }, isHiddenCreateAutomaticRoute() { @@ -302,9 +301,9 @@ export default { }, methods: { setStation(data) { - // if (data.automaticRouteCode) { - // this.changeEditStation(data.automaticRouteCode); - // } + if (data.automaticRouteCode) { + this.changeEditStation(data.automaticRouteCode); + } if (data.cycleCode) { this.changeEditStation(data.cycleCode); } From e3194b6cefb1f4fb2b087fd43bb44648a440560a Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Thu, 28 Jan 2021 10:48:31 +0800 Subject: [PATCH 03/28] =?UTF-8?q?Revert=20"Revert=20"=E5=8C=97=E4=BA=A4?= =?UTF-8?q?=E5=A4=A7=E5=AE=A2=E6=B5=81=20=E8=BD=A6=E7=AB=99=E4=BA=BA?= =?UTF-8?q?=E6=95=B0=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4=20=E5=9C=B0?= =?UTF-8?q?=E5=9B=BE=E7=BB=98=E5=9B=BE=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= =?UTF-8?q?""?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit f6015822 --- src/views/newMap/displayNew/practiceDisplay.vue | 5 +++-- .../newMap/newMapdraft/mapoperate/ControlDraft.vue | 11 ++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/views/newMap/displayNew/practiceDisplay.vue b/src/views/newMap/displayNew/practiceDisplay.vue index 66ee3942d..a52756ed2 100644 --- a/src/views/newMap/displayNew/practiceDisplay.vue +++ b/src/views/newMap/displayNew/practiceDisplay.vue @@ -205,10 +205,11 @@ export default { '$store.state.socket.trainPfiBL':function(val) { if (val) { const trainNum = this.$store.state.socket.trainPfiBL; - const device = this.$store.getters['map/getDeviceByCode'](trainNum.code); + // const device = this.$store.getters['map/getDeviceByCode'](trainNum.code); trainNum.deviceType = 'TRAIN'; // console.log(trainNum, device, device.num, trainNum.in, trainNum.out, 'changed'); - trainNum.num = device.num + trainNum.in - trainNum.out; + trainNum.num = trainNum.remain; + // device.num + trainNum.in - trainNum.out; // console.log(trainNum.num, 'changeder'); this.$store.dispatch('training/updateMapState', [trainNum]); } diff --git a/src/views/newMap/newMapdraft/mapoperate/ControlDraft.vue b/src/views/newMap/newMapdraft/mapoperate/ControlDraft.vue index 4a8f7d303..0453a7df0 100644 --- a/src/views/newMap/newMapdraft/mapoperate/ControlDraft.vue +++ b/src/views/newMap/newMapdraft/mapoperate/ControlDraft.vue @@ -278,10 +278,11 @@ export default { return this.editModel.type != 'StationTurnBack'; }, isDisabledStation() { - return this.editModel.type == 'AutoTurnBack' || this.editModel.type == 'AutomaticRoute'; + // || this.editModel.type == 'AutomaticRoute' + return this.editModel.type == 'AutoTurnBack'; }, isHiddenStation() { - return this.editModel.type == 'AutoTurnBack' || this.editModel.type == 'GuideLock' || this.editModel.type == 'AxleReset' || this.editModel.type == 'StationTurnBack'; + return this.editModel.type == 'AutoTurnBack' || this.editModel.type == 'GuideLock' || this.editModel.type == 'AxleReset' || this.editModel.type == 'StationTurnBack' || this.editModel.type == 'AutomaticRoute'; }, isHiddenCreateAutomaticRoute() { @@ -301,9 +302,9 @@ export default { }, methods: { setStation(data) { - if (data.automaticRouteCode) { - this.changeEditStation(data.automaticRouteCode); - } + // if (data.automaticRouteCode) { + // this.changeEditStation(data.automaticRouteCode); + // } if (data.cycleCode) { this.changeEditStation(data.cycleCode); } From a03e52984129ea362fd7f24c90ae532fa0c807b9 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Fri, 29 Jan 2021 09:17:40 +0800 Subject: [PATCH 04/28] =?UTF-8?q?=E6=88=90=E9=83=BD=E5=B7=A5=E4=B8=9A?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=A1=B5=E9=9D=A2=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scripts/ProjectConfig.js | 2 +- src/views/login/index.vue | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/scripts/ProjectConfig.js b/src/scripts/ProjectConfig.js index 710c668e8..c613ac6c7 100644 --- a/src/scripts/ProjectConfig.js +++ b/src/scripts/ProjectConfig.js @@ -476,7 +476,7 @@ export const BottomColumnOnlyConInfo = ['heb', 'designheb', 'jyd', 'designjyd', export const GetMapListByProjectList = ['xty', 'designxty', 'gzb', 'designgzb', 'xadt', 'designxadt', 'heb', 'designheb', 'designdrts', 'drts', 'nty', 'designnty', 'sdy', 'designsdy', 'ntyc', 'designntyc', 'ntyl', 'designntyl', 'designbjd', 'cgy', 'designcgy']; // 实训设计平台通过项目code获取地图列表的项目 export const CaseHideProjectList = ['heb', 'designheb']; // 案例展示隐藏的项目 export const VersionBaseNoShow = ['heb', 'designheb', 'hls', 'designhls', 'drts', 'hyd', 'designhyd', 'cgy', 'designcgy']; // 登录页右下角版本开发基于不展示 -export const MainBodyNoShow = ['heb', 'designheb', 'jyd', 'designjyd', 'tky', 'designtky', 'bxkc', 'designbxkc', 'crsc', 'designcrsc', 'hls', 'designhls', 'hyd', 'designhyd', 'cgy', 'designcgy']; // 登录页右下角主体不展示 +export const MainBodyNoShow = ['heb', 'designheb', 'jyd', 'designjyd', 'tky', 'designtky', 'bxkc', 'designbxkc', 'crsc', 'designcrsc', 'hls', 'designhls', 'hyd', 'designhyd']; // 登录页右下角主体不展示 export const ProjectLoginStyleList = ['gzb', 'designgzb', 'xty', 'designxty', 'xadt', 'designxadt', 'tky', 'designtky', 'jyd', 'designjyd', 'bxkc', 'designbxkc', 'crsc', 'designcrsc', 'hls', 'designhls', 'drts', 'hyd', 'designhyd', 'nty', 'designnty', 'bjd', 'designbjd', 'sdy', 'designsdy', 'ntyc', 'designntyc', 'ntyl', 'designntyl', 'cgy', 'designcgy']; // 登录页样式 export const NoQrcodeList = ['heb', 'designheb']; diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 7d0c81a58..7ed9d66f9 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -100,7 +100,9 @@ -
主体:北京玖琏科技有限公司 备案号:京ICP备18028522号
+
+ {{ project.endsWith('cgy')?'北京和利时系统工程有限公司、北京玖琏科技有限公司联合开发':'主体:北京玖琏科技有限公司 备案号:京ICP备18028522号' }} +
From 18b5688cdf090814db96d333bd59a34fe62f646b Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Fri, 5 Feb 2021 09:11:56 +0800 Subject: [PATCH 05/28] =?UTF-8?q?=E5=9B=BD=E8=B5=9B=3D=E3=80=8B=E5=8F=96?= =?UTF-8?q?=E6=B6=88=E4=B8=B4=E6=97=B6=E9=99=90=E9=80=9F=20=20=20=E5=8F=96?= =?UTF-8?q?=E6=B6=88=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/theme/race_01/menus/menuSection.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/jmapNew/theme/race_01/menus/menuSection.vue b/src/jmapNew/theme/race_01/menus/menuSection.vue index 77c371b76..d86449b49 100644 --- a/src/jmapNew/theme/race_01/menus/menuSection.vue +++ b/src/jmapNew/theme/race_01/menus/menuSection.vue @@ -100,12 +100,12 @@ export default { label: '设置临时限速', handler: this.setSpeed, cmdType: CMD.Section.CMD_SECTION_SET_LIMIT_SPEED + }, + { + label: '取消临时限速', + handler: this.cancelSpeed, + cmdType: CMD.Section.CMD_SECTION_SET_LIMIT_SPEED } - // { - // label: '取消临时限速', - // handler: this.cancelSpeed, - // cmdType: CMD.Section.CMD_SECTION_SET_LIMIT_SPEED - // } ] }, menuForce: [ From 3b0536704d89110105f3231f70eb57f500d41af7 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Fri, 5 Feb 2021 16:30:11 +0800 Subject: [PATCH 06/28] =?UTF-8?q?=E5=9B=BD=E8=B5=9B=E5=8F=96=E6=B6=88?= =?UTF-8?q?=E6=B3=A8=E9=87=8A=20=E5=8F=96=E6=B6=88=E4=B8=B4=E6=97=B6?= =?UTF-8?q?=E9=99=90=E9=80=9F=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/theme/ningbo_01/menus/menuBar.vue | 38 ------------------- .../theme/race_01/menus/menuSection.vue | 22 +++++------ 2 files changed, 11 insertions(+), 49 deletions(-) diff --git a/src/jmapNew/theme/ningbo_01/menus/menuBar.vue b/src/jmapNew/theme/ningbo_01/menus/menuBar.vue index a58940c7c..3feacfaeb 100644 --- a/src/jmapNew/theme/ningbo_01/menus/menuBar.vue +++ b/src/jmapNew/theme/ningbo_01/menus/menuBar.vue @@ -299,44 +299,6 @@ export default { } ] }, - { - title: '车站定位', - operate: '', - children: [ - ] - }, - { - title: 'ATS终端操作', - operate: '', - children: [ - { - title: '当天运行车计划', - click: this.undeveloped - }, - { - title: '出入库预告', - click: this.undeveloped - } - ] - }, - { - title: '计划车操作', - operate: '', - children: [ - { - title: '添加计划车', - click: this.undeveloped - }, - { - title: '平移计划车', - click: this.undeveloped - }, - { - title: '删除计划车', - click: this.undeveloped - } - ] - }, { title: '批处理命令', operate: OperationEvent.Command.mBar.detainControl, diff --git a/src/jmapNew/theme/race_01/menus/menuSection.vue b/src/jmapNew/theme/race_01/menus/menuSection.vue index d86449b49..70ca6485b 100644 --- a/src/jmapNew/theme/race_01/menus/menuSection.vue +++ b/src/jmapNew/theme/race_01/menus/menuSection.vue @@ -293,17 +293,17 @@ export default { } }); }, - // cancelSpeed() { - // let sectionCode = this.selected.code; - // if (this.selected.type == '02' || this.selected.type == '03') { - // sectionCode = this.selected.parentCode; - // } - // commitOperate(menuOperate.Section.cancelSpeed, {sectionCode:sectionCode}).then(({valid, operate})=>{ - // if (valid) { - // this.$refs.speedLimitControl.doShow(operate, this.selected); - // } - // }); - // }, + cancelSpeed() { + let sectionCode = this.selected.code; + if (this.selected.type == '02' || this.selected.type == '03') { + sectionCode = this.selected.parentCode; + } + commitOperate(menuOperate.Section.cancelSpeed, {sectionCode:sectionCode}).then(({valid, operate})=>{ + if (valid) { + this.$refs.speedLimitControl.doShow(operate, this.selected); + } + }); + }, // 设置故障 setStoppage() { commitOperate(menuOperate.Common.setFault, { code: this.selected.code }, 0).then(({valid, operate})=>{ From 59ed7140aebcf09b8ecc6393a8634cf2af884a04 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Mon, 1 Mar 2021 17:15:10 +0800 Subject: [PATCH 07/28] =?UTF-8?q?=E6=88=90=E9=83=BD=E5=B7=A5=E8=81=8C?= =?UTF-8?q?=E9=99=A2=E8=B0=83=E6=95=B4&=E6=95=99=E5=AD=A6=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scripts/ProjectConfig.js | 2 +- src/views/organization/index.vue | 10 ++++-- src/views/teach/detail/index.vue | 6 ++-- src/views/teach/index.vue | 17 +++++----- src/views/trainingPlatform/demonList.vue | 42 +++++++++++++++++------- 5 files changed, 51 insertions(+), 26 deletions(-) diff --git a/src/scripts/ProjectConfig.js b/src/scripts/ProjectConfig.js index cfb399e69..258eb3c43 100644 --- a/src/scripts/ProjectConfig.js +++ b/src/scripts/ProjectConfig.js @@ -192,7 +192,7 @@ export const loginInfo = { systemType: '014' }, cgy: { - title: '成都工业职业技术学院轨道交通虚拟仿真实训平台', + title: '成都工业职业技术学院轨道交通虚拟仿真实训中心', loginPath: '/login?project=cgy', loginParam: 'CGY', titleDistance: '-150px', diff --git a/src/views/organization/index.vue b/src/views/organization/index.vue index 20de68208..263acdbcd 100644 --- a/src/views/organization/index.vue +++ b/src/views/organization/index.vue @@ -49,7 +49,7 @@ - +