From d9a51cbcec23f054435ba3ccd4703a02578d4138 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Tue, 13 Sep 2022 10:41:01 +0800 Subject: [PATCH 001/571] =?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/jmapNew/theme/datie_02/menus/index.vue | 12 +- src/jmapNew/theme/nanjing_02/menus/index.vue | 6 +- src/router/index.js | 90 ++-- src/scripts/ConstDic.js | 6 +- src/views/demonstration/deomonList/index.vue | 2 +- src/views/demonstration/deomonTopic/index.vue | 2 +- src/views/demonstration/detail/index.vue | 4 +- src/views/exam/detail/examDetail.vue | 4 +- src/views/lesson/trainingmanage/index.vue | 2 +- src/views/login/index.vue | 12 +- src/views/newMap/display/contectUs.vue | 66 +++ src/views/newMap/display/index.vue | 138 ++++++ src/views/newMap/display/simulationMenu.vue | 404 ++++++++++++++++++ .../newMap/displayNew/lesson/LeftSlider.vue | 2 +- src/views/newMap/displayNew/menuSchema.vue | 2 +- .../newMap/displayNew/menuSystemTime.vue | 2 +- .../newMap/displayNew/practiceDisplay.vue | 2 +- .../scriptPreview/scriptButtonGroup.vue | 2 +- src/views/newMap/jlmapNew/pendant/zoom.vue | 2 +- .../newMap/jointTrainingNew/menuSchema.vue | 2 +- src/views/teach/detail/index.vue | 4 +- 21 files changed, 694 insertions(+), 72 deletions(-) create mode 100644 src/views/newMap/display/contectUs.vue create mode 100644 src/views/newMap/display/index.vue create mode 100644 src/views/newMap/display/simulationMenu.vue diff --git a/src/jmapNew/theme/datie_02/menus/index.vue b/src/jmapNew/theme/datie_02/menus/index.vue index b48cc31ab..210b11b03 100644 --- a/src/jmapNew/theme/datie_02/menus/index.vue +++ b/src/jmapNew/theme/datie_02/menus/index.vue @@ -1035,8 +1035,8 @@ export default { background: #cb204d; height: 100px; z-index: 2; - top: 50px; - left: 10px; + top: 0px; + left: 0px; padding: 5px; overflow:auto; } @@ -1057,8 +1057,8 @@ export default { .simulationTellInfo{ position: absolute; width: 328px; - top: 50px; - right: 10px; + top: 0px; + right: 0px; padding: 0px 0px 0px 0px; overflow: auto; background: #c3c3c3; @@ -1070,8 +1070,8 @@ export default { position: absolute; width: 328px; height: 100px; - top: 83px; - right:10px; + top: 33px; + right:0px; padding: 5px; overflow:auto; background: #c3c3c3; diff --git a/src/jmapNew/theme/nanjing_02/menus/index.vue b/src/jmapNew/theme/nanjing_02/menus/index.vue index cc29a7a82..fc204bf0d 100644 --- a/src/jmapNew/theme/nanjing_02/menus/index.vue +++ b/src/jmapNew/theme/nanjing_02/menus/index.vue @@ -98,9 +98,9 @@ export default { return this.$store.state.training.prdType === '01' || this.$store.state.training.prdType === '02'; }, isIgnoreLogin() { - return /jointTrainingNew/.test(this.$route.path) || - /scriptDisplayNew/.test(this.$route.path) || - /displayNew\/[teach|exam|manage]/.test(this.$route.path); + // /jointTrainingNew/.test(this.$route.path) || + // /scriptDisplayNew/.test(this.$route.path) || + return /display\/[teach|exam|manage|joint|script]/.test(this.$route.path); } }, watch: { diff --git a/src/router/index.js b/src/router/index.js index e7a4c0a99..683b270b2 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -38,15 +38,27 @@ const Jl3dTrainRescueVr = () => import('@/views/jlmap3d/maintainer/jl3dTrainResc const Jlmap3dOtherVR = () => import('@/views/jlmap3d/maintainer/jl3dothervr'); // const Jl3dMaintainer = () => import('@/views/jlmap3d/maintainer/jl3dmaintainer'); -const DisplayNew = () => import('@/views/newMap/displayNew/index'); -const DisplayCity = () => import('@/views/newMap/displayCity/index'); const DisplayBaSiDi = () => import('@/views/newMap/displayBaSiDi/index'); -const DesignDisplayNew = () => import('@/views/newMap/displayNew/scriptDisplay/scriptPreview/index'); + +// const DisplayCity = () => import('@/views/newMap/displayCity/index'); +// const DesignDisplayNew = () => import('@/views/newMap/displayNew/scriptDisplay/scriptPreview/index'); +// const DisplayNew = () => import('@/views/newMap/displayNew/index'); + +const Display = () => import('@/views/newMap/display/index'); + +const TrainingDesign = () => import('@/views/designPlatform/trainingDesign'); +const TrainingPreview = () => import('@/views/designPlatform/trainingPreview'); +const TestRunplan = () => import('@/views/designPlatform/testRunplan'); + const PracticeDisplay = () => import('@/views/newMap/displayNew/practiceDisplay'); const BigLPFStrategy = () => import('@/views/newMap/displayNew/bigLPFStrategy'); -const BigTrainRunplanManage = () => import('@/views/bigTrainRunplanManage/index'); -const JointTrainingNew = () => import('@/views/newMap/jointTrainingNew/index'); +// const JointTrainingNew = () => import('@/views/newMap/jointTrainingNew/index'); +const RunPlanViewWindow = () => import('@/views/newMap/displayNew/demon/runPlanViewWindow'); +const PlanScheduleWicket = () => import('@/views/newMap/displayNew/demon/planSchedule'); +// const DemoTraining = () => import('@/views/newMap/displayNew/demoTraining'); + +const BigTrainRunplanManage = () => import('@/views/bigTrainRunplanManage/index'); const jointTrainingNewCCTV = () => import('@/views/newMap/jointTrainingNew/realCCTV'); const Errpr404 = () => import('@/views/error-page/404'); @@ -117,9 +129,6 @@ const DesignPlatform = () => import('@/views/designPlatform/index'); const MapPreviewNew = () => import('@/views/designPlatform/mapPreviewNew'); const BigScreen = () => import('@/views/designPlatform/bigScreen'); const BigSplitScreen = () => import('@/views/designPlatform/bigSplitScreen'); -const TrainingDesign = () => import('@/views/designPlatform/trainingDesign'); -const TrainingPreview = () => import('@/views/designPlatform/trainingPreview'); -const TestRunplan = () => import('@/views/designPlatform/testRunplan'); const Package = () => import('@/views/package/index'); @@ -161,7 +170,7 @@ const Approval = () => import('@/views/approval/index'); const CompanyManage = () => import('@/views/system/companyManage/index'); const QuestionsRuleManage = () => import('@/views/system/questionsRuleManage/index'); const PreTheoryImport = () => import('@/views/competitionManage/bankList/preImport'); -const PlanScheduleWicket = () => import('@/views/newMap/displayNew/demon/planSchedule'); + const MessageBoard = () => import('@/views/messageBoard/index'); const BoardManage = () => import('@/views/messageBoard/manage'); const OrganizationManage = () => import('@/views/organization/index'); @@ -181,11 +190,10 @@ const StudentStatistics = () => import('@/views/organization/studentStatistics/i const CreateRule = () => import('@/views/organization/ruleManage/createRule'); const TotalGrade = () => import('@/views/organization/ruleManage/totalGrade'); const InfoLessonDetail = () => import('@/views/organization/lessonManage/lessonDetail'); -const RunPlanViewWindow = () => import('@/views/newMap/displayNew/demon/runPlanViewWindow'); + const SecondaryHome = () => import('@/views/trainingPlatform/secondaryHome'); const Demo = () => import('@/views/demo'); const MapGroup = () => import('@/views/publish/mapGroup/index'); -const DemoTraining = () => import('@/views/newMap/displayNew/demoTraining'); const OrgDetail = () => import('@/views/system/companyManage/orgDetail'); const VoiceTraining = () => import('@/views/system/voiceTraining/index'); const SceneTrainingResult = () => import('@/views/drts/scene/trainingResult'); @@ -264,11 +272,11 @@ export const constantRoutes = [ component: ThirdLogin, hidden: true }, - { - path: '/demoTraining/:mode', - component: DemoTraining, - hidden: true - }, + // { + // path: '/demoTraining/:mode', + // component: DemoTraining, + // hidden: true + // }, // 实训平台登录 { path: '/login', @@ -446,31 +454,37 @@ export const publicAsyncRoute = [ component: IbpShow, hidden: true }, + { - path: '/displayNew/:mode', - component: DisplayNew, - hidden: true - }, - { - path: '/displayCity/:mode', - component: DisplayCity, + path: '/display/:mode', + component: Display, hidden: true }, + // { + // path: '/displayNew/:mode', + // component: DisplayNew, + // hidden: true + // }, + // { + // path: '/displayCity/:mode', + // component: DisplayCity, + // hidden: true + // }, { path: '/displayBaSiDi/:mode', component: DisplayBaSiDi, hidden: true }, - { - path: '/design/displayNew/:mode', - component: DesignDisplayNew, - hidden: true - }, - { // 剧本编辑 战场图 - path: '/scriptDisplayNew/:mode', - component: DisplayNew, - hidden: true - }, + // { + // path: '/design/displayNew/:mode', + // component: DesignDisplayNew, + // hidden: true + // }, + // { // 剧本编辑 战场图 + // path: '/scriptDisplayNew/:mode', + // component: DisplayNew, + // hidden: true + // }, { path: '/displayBigScreen/:mapId', component: BigScreen, @@ -491,11 +505,11 @@ export const publicAsyncRoute = [ component: TrainingPreview, hidden: true }, - { - path: '/jointTrainingNew', - component: JointTrainingNew, - hidden: true - }, + // { + // path: '/jointTrainingNew', + // component: JointTrainingNew, + // hidden: true + // }, { path: '/jointTrainingNewCCTV', component: jointTrainingNewCCTV, diff --git a/src/scripts/ConstDic.js b/src/scripts/ConstDic.js index c2c7ccb5d..dec5242d7 100644 --- a/src/scripts/ConstDic.js +++ b/src/scripts/ConstDic.js @@ -180,8 +180,8 @@ export const SimulationType = { }; export const UrlConfig = { - displayNew: '/displayNew', - scriptDisplayNew:'/scriptDisplayNew', + display: '/display', + // scriptDisplayNew:'/scriptDisplayNew', examRuleDraft: '/examRule/draft', examRuleManage: '/examRule/manage', examDetail: '/exam', @@ -201,7 +201,7 @@ export const UrlConfig = { runPlan: '/design/runPlan/detail', testRunPlan: '/design/runPlan/testRunplan', scriptHome: '/design/script/home', - displayNew: '/design/displayNew', + // displayNew: '/design/displayNew', mapPreviewNew: '/design/mapPreviewNew', ibpHome: '/design/ibp/home' }, diff --git a/src/views/demonstration/deomonList/index.vue b/src/views/demonstration/deomonList/index.vue index 786e1b5ed..57a27d470 100644 --- a/src/views/demonstration/deomonList/index.vue +++ b/src/views/demonstration/deomonList/index.vue @@ -70,7 +70,7 @@ export default { try { launchFullscreen(); const query = { lineCode: data.map.lineCode, mapId: data.map.id, group: data.group}; - this.$router.push({path:'/jointTrainingNew', query:query}); + this.$router.push({path:'/display/joint', query:query}); } catch (e) { console.error(e); } finally { diff --git a/src/views/demonstration/deomonTopic/index.vue b/src/views/demonstration/deomonTopic/index.vue index 05eb09278..5a1cd03d7 100644 --- a/src/views/demonstration/deomonTopic/index.vue +++ b/src/views/demonstration/deomonTopic/index.vue @@ -50,7 +50,7 @@ export default { this.loading = true; launchFullscreen(); const query = { lineCode: this.lineCode, mapId: this.mapId, group: this.group}; - this.$router.push({path: `/jointTrainingNew`, query: query}); + this.$router.push({path: `/display/joint`, query: query}); this.dialogShow = false; } catch (e) { this.$messageBox(this.$t('tip.enterTrainingRoomFailed')); diff --git a/src/views/demonstration/detail/index.vue b/src/views/demonstration/detail/index.vue index 0a7c85f96..9fe5b6abf 100644 --- a/src/views/demonstration/detail/index.vue +++ b/src/views/demonstration/detail/index.vue @@ -171,7 +171,7 @@ export default { if (this.loadingProjectList.includes(this.project)) { this.$store.dispatch('app/transitionAnimations'); } - this.$router.push({ path: `/jointTrainingNew`, query: query }); + this.$router.push({ path: `/display/joint`, query: query }); launchFullscreen(); }).catch(error => { if (error.code == 10003) { @@ -252,7 +252,7 @@ export default { if (this.currentPrdType === '02' && this.courseModel.lineCode === '14') { this.$router.push({ path: `/displayBaSiDi/demon`, query: query }); } else { - this.$router.push({ path: `${UrlConfig.displayNew}/demon`, query: query }); + this.$router.push({ path: `${UrlConfig.display}/demon`, query: query }); } // this.$router.push({ path: `${UrlConfig.displayNew}/demon`, query: query }); launchFullscreen(); diff --git a/src/views/exam/detail/examDetail.vue b/src/views/exam/detail/examDetail.vue index d17fcdec5..e0ee45aab 100644 --- a/src/views/exam/detail/examDetail.vue +++ b/src/views/exam/detail/examDetail.vue @@ -199,9 +199,9 @@ export default { this.$store.dispatch('app/transitionAnimations'); } if (this.$route.query.subSystem) { - this.$router.push({ path: `${UrlConfig.displayNew}/exam`, query: query }); + this.$router.push({ path: `${UrlConfig.display}/exam`, query: query }); } else { - this.$router.replace({ path: `${UrlConfig.displayNew}/exam`, query: query }); + this.$router.replace({ path: `${UrlConfig.display}/exam`, query: query }); } launchFullscreen(); }).catch(error => { diff --git a/src/views/lesson/trainingmanage/index.vue b/src/views/lesson/trainingmanage/index.vue index 569c4b3e6..9ba24b24e 100644 --- a/src/views/lesson/trainingmanage/index.vue +++ b/src/views/lesson/trainingmanage/index.vue @@ -333,7 +333,7 @@ export default { this.$store.dispatch('app/transitionAnimations'); } const query = { group: resp.data, trainingId: node.id, lessonId: 0, mapId: this.$route.query.mapId, lineCode: this.$route.query.lineCode }; - this.$router.push({ path: `${UrlConfig.displayNew}/manage`, query: query }); + this.$router.push({ path: `${UrlConfig.display}/manage`, query: query }); launchFullscreen(); }).catch(error => { this.$messageBox(this.$t('error.createSimulationFailed') + error.message); diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 86b9e48c1..3d648e95f 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -507,7 +507,7 @@ export default { } }); } } else if (this.$route.query.type === 'SCHEDULING') { - this.$router.push({ path: `/displayNew/demon`, query: { + this.$router.push({ path: `/display/demon`, query: { group: res.data.group, lineCode: resp.data.map.lineCode, mapId: resp.data.map.id, @@ -518,7 +518,7 @@ export default { type: this.$route.query.type }}); } else if (this.$route.query.type === 'DEPOT') { - this.$router.push({ path: `/displayNew/demon`, query: { + this.$router.push({ path: `/display/demon`, query: { group: res.data.group, lineCode: resp.data.map.lineCode, mapId: resp.data.map.id, @@ -532,7 +532,7 @@ export default { if (res.data.deviceVO && res.data.deviceVO.config) { query.psdCode = JSON.parse(res.data.deviceVO.config).psdCode; } - this.$router.push({ path: `/jointTrainingNew`, query: query }); + this.$router.push({ path: `/display/joint`, query: query }); } else if (this.$route.query.type === 'SANDBOX') { const sandboxQuery = { mapid: query.mapId, @@ -544,9 +544,9 @@ export default { }; this.$router.push({ path: `/jlmap3d/sandbox`, query: sandboxQuery }); } else if (this.$route.query.type === 'ILW') { - this.$router.push({ path: `/jointTrainingNew`, query: query }); + this.$router.push({ path: `/display/joint`, query: query }); } else { - this.$router.push({ path: `/jointTrainingNew`, query: query }); + this.$router.push({ path: `/display/joint`, query: query }); } }); }); @@ -569,7 +569,7 @@ export default { } else { getSimulationInfoNew(res.data.group).then(resp => { if (this.project === 'drts' || this.project === 'hlsdrts') { - this.$router.push({ path: `/displayNew/demon`, query: { + this.$router.push({ path: `/display/demon`, query: { lineCode: resp.data.map.lineCode, group: res.data.group, prdType: resp.data.prodType, diff --git a/src/views/newMap/display/contectUs.vue b/src/views/newMap/display/contectUs.vue new file mode 100644 index 000000000..05ebd0d1c --- /dev/null +++ b/src/views/newMap/display/contectUs.vue @@ -0,0 +1,66 @@ + + + diff --git a/src/views/newMap/display/index.vue b/src/views/newMap/display/index.vue new file mode 100644 index 000000000..a1221ea17 --- /dev/null +++ b/src/views/newMap/display/index.vue @@ -0,0 +1,138 @@ + + diff --git a/src/views/newMap/display/simulationMenu.vue b/src/views/newMap/display/simulationMenu.vue new file mode 100644 index 000000000..d00c4092c --- /dev/null +++ b/src/views/newMap/display/simulationMenu.vue @@ -0,0 +1,404 @@ + + + diff --git a/src/views/newMap/displayNew/lesson/LeftSlider.vue b/src/views/newMap/displayNew/lesson/LeftSlider.vue index a0c9926e7..ae9fea71e 100644 --- a/src/views/newMap/displayNew/lesson/LeftSlider.vue +++ b/src/views/newMap/displayNew/lesson/LeftSlider.vue @@ -96,7 +96,7 @@ export default { const query = { group: this.$route.query.group, trainingId: obj.id, lessonId: this.$route.query.lessonId, mapId: this.$route.query.mapId, lineCode:this.$route.query.lineCode, noPreLogout: this.$route.query.noPreLogout }; - this.$router.replace({ path: `${UrlConfig.displayNew}/teach`, query: query }); + this.$router.replace({ path: `${UrlConfig.display}/teach`, query: query }); launchFullscreen(); // }).catch(error => { // this.$messageBox(`${this.$t('tip.createSimulationFaild')} : ${error.message}`); diff --git a/src/views/newMap/displayNew/menuSchema.vue b/src/views/newMap/displayNew/menuSchema.vue index 533d1815e..be7835908 100644 --- a/src/views/newMap/displayNew/menuSchema.vue +++ b/src/views/newMap/displayNew/menuSchema.vue @@ -276,7 +276,7 @@ export default { // } // }); const routeData = this.$router.resolve({ - path:'/displayNew/demon', + path:'/display/demon', query:{ lineCode:this.$route.query.lineCode, group: this.$route.query.group, diff --git a/src/views/newMap/displayNew/menuSystemTime.vue b/src/views/newMap/displayNew/menuSystemTime.vue index 0530fdbbb..d99c1c5dc 100644 --- a/src/views/newMap/displayNew/menuSystemTime.vue +++ b/src/views/newMap/displayNew/menuSystemTime.vue @@ -52,7 +52,7 @@ export default { return this.$store.state.scriptRecord.simulationPause; }, isDisplay() { - return this.$route.path.includes('displayNew') || this.$route.path.includes('scriptDisplayNew'); + return this.$route.path.includes('display') || this.$route.path.includes('scriptDisplayNew'); }, isShowDate() { // 西安一 三号线 return (this.$route.query.lineCode == 10 || this.$route.query.lineCode == 11) && this.isDisplay; diff --git a/src/views/newMap/displayNew/practiceDisplay.vue b/src/views/newMap/displayNew/practiceDisplay.vue index 418ba98c3..ed402a1c9 100644 --- a/src/views/newMap/displayNew/practiceDisplay.vue +++ b/src/views/newMap/displayNew/practiceDisplay.vue @@ -366,7 +366,7 @@ export default { this.openWindow.close(); } const routeData = this.$router.resolve({ - path:'/displayNew/demon', + path:'/display/demon', query:{ mapId:this.$route.query.mapId, group:this.$route.query.group, diff --git a/src/views/newMap/displayNew/scriptDisplay/scriptPreview/scriptButtonGroup.vue b/src/views/newMap/displayNew/scriptDisplay/scriptPreview/scriptButtonGroup.vue index 4cb4f824d..e886ff1b9 100644 --- a/src/views/newMap/displayNew/scriptDisplay/scriptPreview/scriptButtonGroup.vue +++ b/src/views/newMap/displayNew/scriptDisplay/scriptPreview/scriptButtonGroup.vue @@ -209,7 +209,7 @@ export default { methods:{ goCtc() { const routeData = this.$router.resolve({ - path:'/displayNew/demon', + path:'/display/demon', query:{ lineCode:this.$route.query.lineCode, group: this.$route.query.group, diff --git a/src/views/newMap/jlmapNew/pendant/zoom.vue b/src/views/newMap/jlmapNew/pendant/zoom.vue index d1c8ea00b..a19278f92 100644 --- a/src/views/newMap/jlmapNew/pendant/zoom.vue +++ b/src/views/newMap/jlmapNew/pendant/zoom.vue @@ -38,7 +38,7 @@ export default { methods: { setPosition() { this.$nextTick(() => { - const offset = (this.$route.path.includes('displayNew') || this.$route.path.includes('scriptDisplayNew')) && (this.$route.query.lineCode == 10 || this.$route.query.lineCode == 11) ? 73 : 15; + const offset = (this.$route.path.includes('display') || this.$route.path.includes('scriptDisplayNew')) && (this.$route.query.lineCode == 10 || this.$route.query.lineCode == 11) ? 73 : 15; const menuBar = document.getElementById('menuBar'); const menuTool = document.getElementById('menuTool'); if (menuBar) { diff --git a/src/views/newMap/jointTrainingNew/menuSchema.vue b/src/views/newMap/jointTrainingNew/menuSchema.vue index 5e1ec438a..0ca20dd6a 100644 --- a/src/views/newMap/jointTrainingNew/menuSchema.vue +++ b/src/views/newMap/jointTrainingNew/menuSchema.vue @@ -262,7 +262,7 @@ export default { }, goCtc() { const routeData = this.$router.resolve({ - path:'/displayNew/demon', + path:'/display/demon', query:{ lineCode:this.$route.query.lineCode, group: this.$route.query.group, diff --git a/src/views/teach/detail/index.vue b/src/views/teach/detail/index.vue index 828a2dd18..2f908ab17 100644 --- a/src/views/teach/detail/index.vue +++ b/src/views/teach/detail/index.vue @@ -157,9 +157,9 @@ export default { this.$store.dispatch('app/transitionAnimations'); } if (this.$route.query.noPreLogout) { - this.$router.replace({ path: `${UrlConfig.displayNew}/teach`, query: query }); + this.$router.replace({ path: `${UrlConfig.display}/teach`, query: query }); } else { - this.$router.push({ path: `${UrlConfig.displayNew}/teach`, query: query }); + this.$router.push({ path: `${UrlConfig.display}/teach`, query: query }); } launchFullscreen(); }).catch(error => { From 90554bd2be9ac46c10945befb35f4135f9a605be Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Tue, 13 Sep 2022 17:37:26 +0800 Subject: [PATCH 002/571] =?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/newMap/display/simulationMenu.vue | 30 +++++++++++++++++---- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/src/views/newMap/display/simulationMenu.vue b/src/views/newMap/display/simulationMenu.vue index d00c4092c..c4b81c816 100644 --- a/src/views/newMap/display/simulationMenu.vue +++ b/src/views/newMap/display/simulationMenu.vue @@ -62,15 +62,15 @@ export default { {label:'退出剧本', name:'quitScript', click:this.quitScript, isShow:true}, {label:'开始', name:'start', click:this.startSimulation, isShow:true}, // 暂停 {label:'按计划行车', name:'drivingPlan', click:this.drivingPlan, isShow:true}, - {label:'初始化', name:'drivingPlan', click:this.drivingPlan, isShow:true} + {label:'初始化', name:'initialize', click:this.initialize, isShow:true} ]}, {label:'设备操作', name:'deviceOprate', isShow:true, children:[ {label:'数字沙盘', name:'drivingPlan', click:this.drivingPlan, isShow:true}, - {label:'cctv视图', name:'drivingPlan', click:this.drivingPlan, isShow:true}, - {label:'故障设备', name:'drivingPlan', click:this.drivingPlan, isShow:true}, - {label:'司机视角', name:'drivingPlan', click:this.drivingPlan, isShow:true}, + {label:'cctv视图', name:'cctvView', click:this.cctvView, isShow:true}, + {label:'故障设备', name:'jlmap3dFault', click:this.jlmap3dFault, isShow:true}, + {label:'司机视角', name:'jlmap3dDriver', click:this.jlmap3dDriver, isShow:true}, {label:'设备视图', name:'jl3dmodel', click:this.jlmap3dmodel, isShow:false}, - {label:'IBP盘', name:'drivingPlan', click:this.drivingPlan, isShow:true} + {label:'IBP盘', name:'IBP', click:this.IBP, isShow:true} ]}, {label:'竞赛管理', name:'competitionManage', isShow:true, children:[ {label:'实操练习', name:'drivingPlan', click:this.drivingPlan, isShow:true}, @@ -345,6 +345,26 @@ export default { // 按计划行车 drivingPlan() { this.hideMenuList(); + }, + // 初始化 + initialize() { + this.hideMenuList(); + }, + // cctv视图 + cctvView() { + this.hideMenuList(); + }, + // ibp盘 + IBP() { + this.hideMenuList(); + }, + // 故障设备 + jlmap3dFault() { + this.hideMenuList(); + }, + // 司机视角 + jlmap3dDriver() { + this.hideMenuList(); } } From cd9db0aa129e5e9efabd7b59bcaaa89af021d143 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Wed, 14 Sep 2022 16:12:23 +0800 Subject: [PATCH 003/571] =?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/newMap/display/simulationMenu.vue | 103 ++++++++++++++++---- 1 file changed, 83 insertions(+), 20 deletions(-) diff --git a/src/views/newMap/display/simulationMenu.vue b/src/views/newMap/display/simulationMenu.vue index c4b81c816..7c71db948 100644 --- a/src/views/newMap/display/simulationMenu.vue +++ b/src/views/newMap/display/simulationMenu.vue @@ -20,6 +20,7 @@ + diff --git a/src/views/newMap/display/setTime.vue b/src/views/newMap/display/setTime.vue new file mode 100644 index 000000000..d64695573 --- /dev/null +++ b/src/views/newMap/display/setTime.vue @@ -0,0 +1,118 @@ + + + diff --git a/src/views/newMap/display/simulationMenu.vue b/src/views/newMap/display/simulationMenu.vue index 7c71db948..7d4f57652 100644 --- a/src/views/newMap/display/simulationMenu.vue +++ b/src/views/newMap/display/simulationMenu.vue @@ -21,6 +21,7 @@ + + From 9657620d15a5a83174c37648a0d7d3e6ccee6c78 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Fri, 16 Sep 2022 14:47:15 +0800 Subject: [PATCH 008/571] =?UTF-8?q?=E5=A4=A7=E9=93=81=E7=BA=BF=E8=B7=AF=20?= =?UTF-8?q?=E7=BB=88=E7=AB=AF=E5=88=87=E6=8D=A2=E4=BB=A3=E7=A0=81=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dispatcherLoger/index.vue | 1 + .../dispatcherStationManage/dispatchCmd.vue | 1 + src/views/newMap/display/terminalList.vue | 29 ++++++++++++++++--- 3 files changed, 27 insertions(+), 4 deletions(-) diff --git a/src/views/dispatcherLoger/index.vue b/src/views/dispatcherLoger/index.vue index f994a6062..e76913ad9 100644 --- a/src/views/dispatcherLoger/index.vue +++ b/src/views/dispatcherLoger/index.vue @@ -375,6 +375,7 @@ export default { this.isShow = false; this.rpMenuPopShow = false; this.clearRpRow(); + this.$emit('close'); }, // 大铁 调度台 发布所有行车计划 sendRunplan() { diff --git a/src/views/dispatcherStationManage/dispatchCmd.vue b/src/views/dispatcherStationManage/dispatchCmd.vue index a1acc87aa..93db0ddf0 100644 --- a/src/views/dispatcherStationManage/dispatchCmd.vue +++ b/src/views/dispatcherStationManage/dispatchCmd.vue @@ -769,6 +769,7 @@ export default { }, doClose() { this.dialogShow = false; + this.$emit('close'); }, tabClick() { console.log('tabClick'); diff --git a/src/views/newMap/display/terminalList.vue b/src/views/newMap/display/terminalList.vue index 1477119b9..32b48aee8 100644 --- a/src/views/newMap/display/terminalList.vue +++ b/src/views/newMap/display/terminalList.vue @@ -1,11 +1,21 @@ diff --git a/src/views/newMap/display/memberManage/content-menu.vue b/src/views/newMap/display/memberManage/content-menu.vue new file mode 100644 index 000000000..0d53204c5 --- /dev/null +++ b/src/views/newMap/display/memberManage/content-menu.vue @@ -0,0 +1,100 @@ + + + + diff --git a/src/views/newMap/display/memberManage/e-members.vue b/src/views/newMap/display/memberManage/e-members.vue new file mode 100644 index 000000000..989e199b0 --- /dev/null +++ b/src/views/newMap/display/memberManage/e-members.vue @@ -0,0 +1,157 @@ + + + + + diff --git a/src/views/newMap/display/memberManage/membersManage.vue b/src/views/newMap/display/memberManage/membersManage.vue new file mode 100644 index 000000000..3cebea056 --- /dev/null +++ b/src/views/newMap/display/memberManage/membersManage.vue @@ -0,0 +1,484 @@ + + + + + diff --git a/src/views/newMap/display/simulationMenu.vue b/src/views/newMap/display/simulationMenu.vue index 390394427..ee4b6f2e8 100644 --- a/src/views/newMap/display/simulationMenu.vue +++ b/src/views/newMap/display/simulationMenu.vue @@ -22,6 +22,7 @@ + diff --git a/src/views/newMap/display/simulationMenu.vue b/src/views/newMap/display/simulationMenu.vue index 390394427..e883c160d 100644 --- a/src/views/newMap/display/simulationMenu.vue +++ b/src/views/newMap/display/simulationMenu.vue @@ -22,19 +22,24 @@ + + + diff --git a/src/views/newMap/display/terminalList.vue b/src/views/newMap/display/terminalList.vue index 6e39fc747..00a4683c0 100644 --- a/src/views/newMap/display/terminalList.vue +++ b/src/views/newMap/display/terminalList.vue @@ -1,21 +1,36 @@ + + diff --git a/src/views/newMap/display/terminals/terminalList.vue b/src/views/newMap/display/terminals/terminalList.vue new file mode 100644 index 000000000..00a4683c0 --- /dev/null +++ b/src/views/newMap/display/terminals/terminalList.vue @@ -0,0 +1,346 @@ + + + From e9256df83b5df57b558e3a3231e97c44f93d3dbd Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Thu, 22 Sep 2022 13:11:34 +0800 Subject: [PATCH 019/571] =?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/newMap/display/simulationMenu.vue | 32 +++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/views/newMap/display/simulationMenu.vue b/src/views/newMap/display/simulationMenu.vue index 227990670..80e880c11 100644 --- a/src/views/newMap/display/simulationMenu.vue +++ b/src/views/newMap/display/simulationMenu.vue @@ -25,6 +25,8 @@ + + + + diff --git a/src/views/newMap/display/simulationMenu.vue b/src/views/newMap/display/simulationMenu.vue index c14cb6f74..447cb50f6 100644 --- a/src/views/newMap/display/simulationMenu.vue +++ b/src/views/newMap/display/simulationMenu.vue @@ -29,6 +29,10 @@ + + + + + + diff --git a/src/views/newMap/display/theoryExamSelect.vue b/src/views/newMap/display/theoryExamSelect.vue new file mode 100644 index 000000000..e9955bda5 --- /dev/null +++ b/src/views/newMap/display/theoryExamSelect.vue @@ -0,0 +1,49 @@ + + From d6a3be6bc135ba72fa75659229688adb11b8f323 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Fri, 23 Sep 2022 14:43:05 +0800 Subject: [PATCH 022/571] =?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/newMap/display/scheduling.vue | 356 ++++++++++++++++++++ src/views/newMap/display/schedulingView.vue | 254 ++++++++++++++ src/views/newMap/display/simulationMenu.vue | 24 ++ 3 files changed, 634 insertions(+) create mode 100644 src/views/newMap/display/scheduling.vue create mode 100644 src/views/newMap/display/schedulingView.vue diff --git a/src/views/newMap/display/scheduling.vue b/src/views/newMap/display/scheduling.vue new file mode 100644 index 000000000..1c7c81d2d --- /dev/null +++ b/src/views/newMap/display/scheduling.vue @@ -0,0 +1,356 @@ + + + + diff --git a/src/views/newMap/display/schedulingView.vue b/src/views/newMap/display/schedulingView.vue new file mode 100644 index 000000000..3bf481d27 --- /dev/null +++ b/src/views/newMap/display/schedulingView.vue @@ -0,0 +1,254 @@ + + + + diff --git a/src/views/newMap/display/simulationMenu.vue b/src/views/newMap/display/simulationMenu.vue index 447cb50f6..21b10132a 100644 --- a/src/views/newMap/display/simulationMenu.vue +++ b/src/views/newMap/display/simulationMenu.vue @@ -33,6 +33,10 @@ + + + + + diff --git a/src/views/newMap/display/simulationMenu.vue b/src/views/newMap/display/simulationMenu.vue index 21b10132a..ff1d87ff7 100644 --- a/src/views/newMap/display/simulationMenu.vue +++ b/src/views/newMap/display/simulationMenu.vue @@ -37,6 +37,7 @@ + + diff --git a/src/views/newMap/display/stationDiagram/jlmap/index.vue b/src/views/newMap/display/stationDiagram/jlmap/index.vue new file mode 100644 index 000000000..97a81cbd8 --- /dev/null +++ b/src/views/newMap/display/stationDiagram/jlmap/index.vue @@ -0,0 +1,432 @@ + + + + diff --git a/src/views/newMap/display/terminals/dispatchWork.vue b/src/views/newMap/display/terminals/dispatchWork.vue new file mode 100644 index 000000000..f92152741 --- /dev/null +++ b/src/views/newMap/display/terminals/dispatchWork.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/views/newMap/display/terminals/index.vue b/src/views/newMap/display/terminals/index.vue index be6de8fc6..4923e4902 100644 --- a/src/views/newMap/display/terminals/index.vue +++ b/src/views/newMap/display/terminals/index.vue @@ -5,12 +5,93 @@ diff --git a/src/views/newMap/display/terminals/localWork.vue b/src/views/newMap/display/terminals/localWork.vue new file mode 100644 index 000000000..c8929e15d --- /dev/null +++ b/src/views/newMap/display/terminals/localWork.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/views/newMap/display/terminals/terminalList.vue b/src/views/newMap/display/terminals/terminalMenu.vue similarity index 99% rename from src/views/newMap/display/terminals/terminalList.vue rename to src/views/newMap/display/terminals/terminalMenu.vue index 00a4683c0..0ee87d7ed 100644 --- a/src/views/newMap/display/terminals/terminalList.vue +++ b/src/views/newMap/display/terminals/terminalMenu.vue @@ -15,7 +15,7 @@ + diff --git a/src/views/newMap/display/simulationMenu.vue b/src/views/newMap/display/simulationMenu.vue index 201b41810..ba90348fd 100644 --- a/src/views/newMap/display/simulationMenu.vue +++ b/src/views/newMap/display/simulationMenu.vue @@ -860,7 +860,7 @@ export default { From 63962a1f7ec2072a01a6bb3d0044a8db8e1da1a5 Mon Sep 17 00:00:00 2001 From: fan Date: Sat, 8 Oct 2022 15:35:35 +0800 Subject: [PATCH 045/571] =?UTF-8?q?=E6=9A=82=E6=8F=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/socket.js | 98 ++++++++++++++++ src/store/modules/user.js | 3 +- src/utils/stomp.js | 4 +- src/utils/subscribeCallback.js | 79 +++---------- src/views/newMap/display/flowData.vue | 3 +- .../newMap/display/terminals/dispatchWork.vue | 1 - src/views/newMap/display/terminals/index.vue | 18 +-- .../newMap/display/terminals/localWork.vue | 14 +-- .../newMap/display/terminals/terminalMenu.vue | 6 +- .../display/terminals/trafficTerminalWork.vue | 110 ++++++++++++++++++ 10 files changed, 256 insertions(+), 80 deletions(-) create mode 100644 src/views/newMap/display/terminals/trafficTerminalWork.vue diff --git a/src/store/modules/socket.js b/src/store/modules/socket.js index b21d5a544..21961b354 100644 --- a/src/store/modules/socket.js +++ b/src/store/modules/socket.js @@ -593,6 +593,74 @@ const socket = { }, setRailCtcStatusMsg: (state, data) => { state.railCtcStatusMsg = data; + }, + handleCtcRunPlanChange: (state, data) => { + state.voiceBroadcastMsgs = []; + data.forEach(element => { + const tripNumberDe = element.departRunPlan && element.departRunPlan.tripNumber; + const tripNumberAr = element.arriveRunPlan && element.arriveRunPlan.tripNumber; + if (tripNumberDe) { + element.departRunPlan.up = ''; + element.departRunPlan.down = ''; + parseInt(tripNumberDe[tripNumberDe.length - 1]) % 2 == 0 ? element.departRunPlan.up = tripNumberDe : element.departRunPlan.down = tripNumberDe; + } + if (tripNumberAr) { + element.arriveRunPlan.up = ''; + element.arriveRunPlan.down = ''; + parseInt(tripNumberAr[tripNumberAr.length - 1]) % 2 == 0 ? element.arriveRunPlan.up = tripNumberAr : element.arriveRunPlan.down = tripNumberAr; + } + const code = element.stationCode + '' + element.code; + if (store.state.training.roleDeviceCode === element.stationCode && element.arriveRunPlan && element.arriveRunPlan.adjacentMessage === '1') { + state.voiceBroadcastMsgs.push(element.stationCode + '' + element.code); + } + state.railCtcRunplanInitMsg[code] = copyAssign(state.railCtcRunplanInitMsg[code] || {}, element); + }); + if (state.voiceBroadcastMsgs.length) { + state.voiceBroadcastChange++; + } + state.railCtcRunplanChange++; + }, + sendRailwayRunPlan: (state, data) => { + data.forEach(each => { + state.railwaySimulationRunplanSendMap[each.stationCode] = each; + }); + state.railwaySimulationRunplanSendChange++; + }, + initCtcManagerRunPlan: (state, data) => { + state.railCtcStationManageRpMsg = {}; + data.forEach(element => { + const code = element.stationCode + '' + element.tripNumber; + state.railCtcStationManageRpMsg[code] = element; + }); + }, + changeCtcManagerRunPlanEdit: (state, data) => { + data.forEach(element => { + const code = element.stationCode + '' + element.tripNumber; + state.railCtcStationManageRpMsg[code] = copyAssign(state.railCtcStationManageRpMsg[code] || {}, element); + }); + state.railCtcStationManageRpChange++; + }, + removeCtcManagerRunPlanEdit: (state, data) => { + data.forEach(element => { + const code = element.stationCode + '' + element.tripNumber; + delete state.railCtcStationManageRpMsg[code]; + }); + state.railCtcStationManageRpChange++; + }, + setDispatchCommandMsg: (state, data) => { + state.dispatchCommandMsg = data; + }, + setChangedCtcRunplanMap: (state, data) => { + state.changedCtcRunplanMap = data; + }, + setTicketInfo: (state, data) => { + state.ticketInfo = data; + }, + setTrainingStepTip: (state, data) => { + state.trainingStepTip = data; + }, + trainingOverCountIncrease: (state) => { + state.trainingOverCount++; } }, @@ -787,6 +855,36 @@ const socket = { }, setRailCtcStatusMsg: ({ commit }, data) => { commit('setRailCtcStatusMsg', data); + }, + handleCtcRunPlanChange: ({ commit }, data) => { + commit('handleCtcRunPlanChange', data); + }, + sendRailwayRunPlan: ({ commit }, data) => { + commit('sendRailwayRunPlan', data); + }, + initCtcManagerRunPlan: ({ commit }, data) => { + commit('initCtcManagerRunPlan', data); + }, + changeCtcManagerRunPlanEdit: ({ commit }, data) => { + commit('changeCtcManagerRunPlanEdit', data); + }, + removeCtcManagerRunPlanEdit: ({ commit }, data) => { + commit('removeCtcManagerRunPlanEdit', data); + }, + setDispatchCommandMsg: ({ commit }, data) => { + commit('setDispatchCommandMsg', data); + }, + setChangedCtcRunplanMap: ({ commit }, data) => { + commit('setChangedCtcRunplanMap', data); + }, + setTicketInfo: ({ commit }, data) => { + commit('setTicketInfo', data); + }, + setTrainingStepTip: ({ commit }, data) => { + commit('setTrainingStepTip', data); + }, + trainingOverCountIncrease: ({ commit }) => { + commit('trainingOverCountIncrease'); } } }; diff --git a/src/store/modules/user.js b/src/store/modules/user.js index ee9f742b7..3e6969573 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -2,6 +2,7 @@ import { login, logout, getInfo, preLogout } from '@/api/login'; import { getToken, setToken, removeToken } from '@/utils/auth'; import { LoginParams } from '@/utils/login'; import { creatSubscribe, clearSubscribe, perpetualTopic, disconnect} from '@/utils/stomp'; +import { defaultCallback } from '@/utils/subscribeCallback'; import Cookies from 'js-cookie'; const user = { @@ -74,7 +75,7 @@ const user = { Cookies.remove('UserToken'); }, SUBSCRIBE: (state, {header, type}) => { - creatSubscribe(perpetualTopic, header); + creatSubscribe(perpetualTopic, header, defaultCallback); }, SUBSCRIBE_UN: () => { clearSubscribe(perpetualTopic); diff --git a/src/utils/stomp.js b/src/utils/stomp.js index 046af9c6f..7b7224fa8 100644 --- a/src/utils/stomp.js +++ b/src/utils/stomp.js @@ -47,13 +47,13 @@ export function getTopic(type, group, stationCode) { } // 建立连接并订阅地址 -export function creatSubscribe(topic, header) { +export function creatSubscribe(topic, header, callbackFun) { try { if (!Vue.prototype.$stomp) { Vue.prototype.$stomp = new StompClient(); } if (!Vue.prototype.$stomp.subscribeMap[topic]) { - Vue.prototype.$stomp.subscribe(topic, callback, header); + Vue.prototype.$stomp.subscribe(topic, callbackFun || callback, header); } else { Vue.prototype.$stomp.subscribeMap[topic].count++; } diff --git a/src/utils/subscribeCallback.js b/src/utils/subscribeCallback.js index 841a35082..08d73442a 100644 --- a/src/utils/subscribeCallback.js +++ b/src/utils/subscribeCallback.js @@ -1,30 +1,28 @@ import store from '@/store/index'; -import { copyAssign } from '@/utils/index'; import {Notification} from 'element-ui'; -export function atsCallback() { +export function atsCallback(Response) { const data = {res:JSON.parse(Response.body), type:'ats' }; store.dispatch('socket/handleSock', data); } -export function sysTimeCallback() { +export function sysTimeCallback(Response) { store.dispatch('socket/setSimulationTimeSync', Number.parseInt(Response.body)); } -export function stateCallback() { +export function stateCallback(Response) { store.dispatch('socket/handleSimulationState', Number.parseInt(Response.body)); } -export function iscsPsdCallback() { +export function iscsPsdCallback(Response) { store.dispatch('socket/handleIscsState', JSON.parse(Response.body)); } -export function iscsPaCallback() { +export function iscsPaCallback(Response) { store.dispatch('socket/handleIscsPaState', JSON.parse(Response.body)); } -export function iscsPisCallback() { +export function iscsPisCallback(Response) { store.dispatch('socket/handleIscsPisState', JSON.parse(Response.body)); } -export function defaultCallback() { - const data = JSON.parse(Response.body); - store.dispatch('socket/setStomp', data); +export function defaultCallback(Response) { + handle(JSON.parse(Response.body)); } -function handle(state, data) { +function handle(data) { const msg = data.body; switch (data.type) { case 'Order_Pay_Result': // 订单支付结果消息 @@ -147,80 +145,41 @@ function handle(state, data) { store.dispatch('socket/setRailCtcStatusMsg', msg); break; case 'SIMULATION_CTC_RUN_PLAN_CHANGE': - state.voiceBroadcastMsgs = []; - msg.forEach(element => { - const tripNumberDe = element.departRunPlan && element.departRunPlan.tripNumber; - const tripNumberAr = element.arriveRunPlan && element.arriveRunPlan.tripNumber; - if (tripNumberDe) { - element.departRunPlan.up = ''; - element.departRunPlan.down = ''; - parseInt(tripNumberDe[tripNumberDe.length - 1]) % 2 == 0 ? element.departRunPlan.up = tripNumberDe : element.departRunPlan.down = tripNumberDe; - } - if (tripNumberAr) { - element.arriveRunPlan.up = ''; - element.arriveRunPlan.down = ''; - parseInt(tripNumberAr[tripNumberAr.length - 1]) % 2 == 0 ? element.arriveRunPlan.up = tripNumberAr : element.arriveRunPlan.down = tripNumberAr; - } - const code = element.stationCode + '' + element.code; - if (store.state.training.roleDeviceCode === element.stationCode && element.arriveRunPlan && element.arriveRunPlan.adjacentMessage === '1') { - state.voiceBroadcastMsgs.push(element.stationCode + '' + element.code); - } - state.railCtcRunplanInitMsg[code] = copyAssign(state.railCtcRunplanInitMsg[code] || {}, element); - }); - if (state.voiceBroadcastMsgs.length) { - state.voiceBroadcastChange++; - } - state.railCtcRunplanChange++; + store.dispatch('socket/handleCtcRunPlanChange', msg); break; // 大铁项目 ctc 调度发布行车计划 给车站下发消息 case 'SIMULATION_RAILWAY_RUN_PLAN_SEND': - msg.forEach(each => { - state.railwaySimulationRunplanSendMap[each.stationCode] = each; - }); - state.railwaySimulationRunplanSendChange++; + store.dispatch('socket/sendRailwayRunPlan', msg); break; // 大铁项目 ctc 车务管理端 初始化消息 case 'SIMULATION_CTC_MANAGER_RUN_PLAN_EDIT_INIT': - state.railCtcStationManageRpMsg = {}; - msg.forEach(element => { - const code = element.stationCode + '' + element.tripNumber; - state.railCtcStationManageRpMsg[code] = element; - }); - // state.railCtcStationManageRpChange++; + store.dispatch('socket/initCtcManagerRunPlan', msg); break; // 大铁项目 ctc 车务管理端 修改/增加消息 case 'SIMULATION_CTC_MANAGER_RUN_PLAN_EDIT_CHANGE': - msg.forEach(element => { - const code = element.stationCode + '' + element.tripNumber; - state.railCtcStationManageRpMsg[code] = copyAssign(state.railCtcStationManageRpMsg[code] || {}, element); - }); - state.railCtcStationManageRpChange++; + store.dispatch('socket/changeCtcManagerRunPlanEdit', msg); break; // 大铁项目 ctc 车务管理端 移除消息 case 'SIMULATION_CTC_MANAGER_RUN_PLAN_EDIT_REMOVE': - msg.forEach(element => { - const code = element.stationCode + '' + element.tripNumber; - delete state.railCtcStationManageRpMsg[code]; - }); - state.railCtcStationManageRpChange++; + store.dispatch('socket/removeCtcManagerRunPlanEdit', msg); break; // 调度命令信息 case 'SIMULATION_RAIL_CTC_DISPATCH_COMMAND': - state.dispatchCommandMsg = msg; + store.dispatch('socket/setDispatchCommandMsg', msg); break; // 车站发送计划信息 case 'SIMULATION_CTC_RUN_PLAN_CONFIRM_SEND': - state.changedCtcRunplanMap = msg; + store.dispatch('socket/setChangedCtcRunplanMap', msg); break; case 'SIMULATION_RAIL_TICKET': - state.ticketInfo = msg; + store.dispatch('socket/setTicketInfo', msg); break; // 实训提示消息 case 'Simulation_Training_Step_Tip': - state.trainingStepTip = msg; + store.dispatch('socket/setTrainingStepTip', msg); break; case 'Simulation_Training_Finish': - state.trainingOverCount++; + store.dispatch('socket/trainingOverCountIncrease'); break; } } diff --git a/src/views/newMap/display/flowData.vue b/src/views/newMap/display/flowData.vue index 582132e6b..18e74f716 100644 --- a/src/views/newMap/display/flowData.vue +++ b/src/views/newMap/display/flowData.vue @@ -34,6 +34,7 @@ import { getPassengerFlowData, changePassengerFlowData } from '@/api/simulation' import { getToken } from '@/utils/auth'; // displayTopic, import { creatSubscribe, clearSubscribe, LPFTopic} from '@/utils/stomp'; +import { defaultCallback } from '@/utils/subscribeCallback'; export default { name:'FlowData', data() { @@ -115,7 +116,7 @@ export default { '$store.state.socket.isFirst':function(val) { if (val) { const header = { group: this.group || '', 'X-Token': getToken() }; - creatSubscribe(`${LPFTopic}\/${this.$route.query.group}`, header); + creatSubscribe(`${LPFTopic}\/${this.$route.query.group}`, header, defaultCallback); } } }, diff --git a/src/views/newMap/display/terminals/dispatchWork.vue b/src/views/newMap/display/terminals/dispatchWork.vue index baade65d2..92f015b73 100644 --- a/src/views/newMap/display/terminals/dispatchWork.vue +++ b/src/views/newMap/display/terminals/dispatchWork.vue @@ -41,7 +41,6 @@ export default { } }, '$store.state.map.initJlmapLoadedCount': function (val) { - console.log(val, '11111111111'); this.handleDispatchWorkData(); }, mapDevice() { diff --git a/src/views/newMap/display/terminals/index.vue b/src/views/newMap/display/terminals/index.vue index c09476a5a..cbedff1ef 100644 --- a/src/views/newMap/display/terminals/index.vue +++ b/src/views/newMap/display/terminals/index.vue @@ -6,9 +6,10 @@ + - - + + @@ -17,6 +18,7 @@ import {getSimulationMemberList, getAllSimulationUser} from '@/api/simulation'; import {getToken} from '@/utils/auth'; import {creatSubscribe, clearSubscribe, displayTopic, getTopic} from '@/utils/stomp'; +import { defaultCallback, stateCallback } from '@/utils/subscribeCallback'; import DispatcherWork from './dispatchWork'; import LocalWork from './localWork'; import TerminalMenu from './terminalMenu'; @@ -27,6 +29,7 @@ import Jl3dDrive from '@/views/jlmap3d/drive/jl3ddrive'; import Jl3dDevice from '@/views/jlmap3d/device/jl3ddevice'; import Jl3dPassflow from '@/views/jlmap3d/passflow/jl3dpassflow'; import IbpPlate from '@/views/ibp/ibpsystem/index'; +import TrafficTerminalWork from './trafficTerminalWork'; export default { name: 'Index', components: { @@ -39,7 +42,8 @@ export default { Jl3dDevice, Jl3dDrive, Jl3dPassflow, - IbpPlate + IbpPlate, + TrafficTerminalWork }, data() { return { @@ -107,10 +111,10 @@ export default { }, async subscribe() { // 根据显示端分别订阅 const header = {group: this.group || '', 'X-Token': getToken()}; - await creatSubscribe(`${displayTopic}\/${this.group}`, header); - await creatSubscribe(getTopic('STATE', this.group), header); + await creatSubscribe(`${displayTopic}\/${this.group}`, header, defaultCallback); + await creatSubscribe(getTopic('STATE', this.group), header, stateCallback); if (this.picture === 'ctc') { - await creatSubscribe(getTopic('CTC', this.group), header); + await creatSubscribe(getTopic('CTC', this.group), header, defaultCallback); } await this.$store.dispatch('training/setHasSubscribed'); }, @@ -122,12 +126,12 @@ export default { } }, pictureChange(val) { - console.log(val, '1111'); this.picture = val; }, popupTerminalShow(val) { this.$refs[val].doShow(); }, + close() {}, setCentralizedStationList(map) { this.centralizedStationList = []; (map.stationList || []).forEach(item => { diff --git a/src/views/newMap/display/terminals/localWork.vue b/src/views/newMap/display/terminals/localWork.vue index 722740b2e..3dfa3f221 100644 --- a/src/views/newMap/display/terminals/localWork.vue +++ b/src/views/newMap/display/terminals/localWork.vue @@ -64,13 +64,13 @@ export default { const logicData = {routeData:this.$store.state.map.routeData, autoReentryData: this.$store.state.map.autoReentryData}; const repaint = this.$store.state.map.initJlmapLoadedCount === 1; this.$jlmap.setMap(this.mapData, this.mapDevice, logicData, repaint); - if (this.lineCode === '14') { - const list = []; - for (const key in this.mapDevice) { - list.push(this.mapDevice[key]); - } - this.$jlmap.updateShowMode(list, '02'); - } + // if (this.lineCode === '14') { + // const list = []; + // for (const key in this.mapDevice) { + // list.push(this.mapDevice[key]); + // } + // this.$jlmap.updateShowMode(list, '02'); + // } if (this.mapData && this.mapData.pictureList) { const picture = this.mapData.pictureList.find(picture => picture.stationCode === this.roleDeviceCode && picture.type === 'chainStation'); if (picture) { diff --git a/src/views/newMap/display/terminals/terminalMenu.vue b/src/views/newMap/display/terminals/terminalMenu.vue index a0691fb93..59adc3671 100644 --- a/src/views/newMap/display/terminals/terminalMenu.vue +++ b/src/views/newMap/display/terminals/terminalMenu.vue @@ -37,7 +37,7 @@ export default { name: '车务终端', code: 'trafficTerminal', roleList: ['STATION_SUPERVISOR'], - click: this.noEvent + click: this.trafficTerminalShow }, { name: '车务管理终端', @@ -183,6 +183,10 @@ export default { this.active = code; this.$emit('pictureChange', code); }, + trafficTerminalShow(code) { + this.active = code; + this.$emit('pictureChange', code); + }, localWorkShow(code) { this.active = code; this.$emit('pictureChange', code); diff --git a/src/views/newMap/display/terminals/trafficTerminalWork.vue b/src/views/newMap/display/terminals/trafficTerminalWork.vue new file mode 100644 index 000000000..a97e91e8d --- /dev/null +++ b/src/views/newMap/display/terminals/trafficTerminalWork.vue @@ -0,0 +1,110 @@ + + + + + From bc56e72414986cd5db8d61782c5c5b5a57d675af Mon Sep 17 00:00:00 2001 From: fan Date: Sun, 9 Oct 2022 09:13:49 +0800 Subject: [PATCH 046/571] =?UTF-8?q?Revert=20"Revert=20"=E8=B0=83=E5=BA=A6?= =?UTF-8?q?=E5=91=BD=E4=BB=A4=E8=B0=83=E6=95=B4""?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 802f4abbc095a6e477d8ba2faca5abcff0d3b3bc. --- .../components/menus/dialog/cmdManage.vue | 262 +++--- .../components/menus/dialog/signedCmd.vue | 131 +-- src/jmapNew/theme/datie_02/menus/index.vue | 10 +- .../theme/datie_02/menus/runplanPane.vue | 8 +- src/jmapNew/theme/datie_jd1a/menus/index.vue | 10 +- .../theme/datie_jd1a/menus/runplanPane.vue | 2 +- src/jmapNew/theme/datie_ksk/menus/index.vue | 10 +- src/store/modules/socket.js | 22 +- .../dispatcherStationManage/dispatchCmd.vue | 745 ++++++++++++------ 9 files changed, 776 insertions(+), 424 deletions(-) diff --git a/src/jmapNew/theme/components/menus/dialog/cmdManage.vue b/src/jmapNew/theme/components/menus/dialog/cmdManage.vue index f19a6d3fa..65b19d733 100644 --- a/src/jmapNew/theme/components/menus/dialog/cmdManage.vue +++ b/src/jmapNew/theme/components/menus/dialog/cmdManage.vue @@ -25,34 +25,38 @@
收令箱
- + - + - + - - + + + + @@ -64,9 +68,9 @@
- + - +
@@ -76,7 +80,7 @@ 停止阅读
- + @@ -87,8 +91,8 @@
- 拒签 - 签收 + 拒签 + 签收 关闭
@@ -97,34 +101,42 @@ import { sendCommandNew } from '@/api/jmap/training'; import shouxinxiang from '@/assets/dispatcherStation/shouxinxiang.png'; import { mapState } from 'vuex'; -import { parseTime } from '@/utils/index'; export default { name:'CmdManage', data() { return { shouxinImg: shouxinxiang, cmdTableData: [], - tableData2: [], needRead: false, stopRead: false, dialogShow: false, currentInfo: {}, + queryResData: {}, typeObj: { - NORMAL: '正常调度命令' + Normal: '普通调度命令', + Construct: '施工调度命令', + Forward: '转发调度命令', + Request: '请求调度命令', + LongTerm: '长效调度命令', + ShiftScheduling: '班计划调度命令', + Other: '其他调度命令' }, signedStatusObj: { - UNSIGNED: '未签收', - SIGNED: '签收', - REFUSE: '拒签' + Cache: '缓存', + Sent: '已发送', + SrmReceived: '自律机接收', + Received: '已接收', + Signed: '已签收', + Reject: '已拒签' } }; }, computed: { ...mapState('training', [ - 'memberList', 'simulationUserList', 'initTime' + 'memberList', 'memberData', 'simulationUserList', 'initTime' ]), ...mapState('socket', [ - 'dispatchCommandMsg' + 'dispatchCommandMsg', 'dispatchCommandState' ]), show() { return this.dialogShow; @@ -136,17 +148,31 @@ export default { return '调度命令管理'; }, commandId() { - return this.currentInfo.id || ''; + return this.currentInfo.cmdId || ''; + }, + rcId() { + const rcArr = this.currentInfo.rcvCompanies || []; + const obj = rcArr.find(item => { + return item.code == this.getActiveUser.deviceCode; + }); + const id = obj ? obj.id : ''; + return id; + }, + currentStatus() { + let s = '编辑'; + const state = this.getStateInfo(this.currentInfo.rcvCompanies).state; + if (state) { + s = this.signedStatusObj[state] ? this.signedStatusObj[state] : '编辑'; + } + return s; }, currentHasSigned() { - let hasSigned = false; - if (this.currentInfo.receiverInfos) { - const obj = this.getSignInfo(this.currentInfo.receiverInfos); - if (obj && obj.signedStatus != 'UNSIGNED') { - hasSigned = true; - } + let s = false; + const sentArr = ['已签收', '已拒签']; + if (sentArr.includes(this.currentStatus)) { + s = true; } - return hasSigned; + return s; }, getActiveUser() { const userInfo = this.simulationUserList.find(item => { @@ -156,27 +182,40 @@ export default { return activeUser; }, getTableData() { - const receiverList = Object.values(this.currentInfo.receiverInfos || {}); + const list = this.currentInfo.rcvCompanies || []; + return list; + }, + readList() { const list = []; - receiverList.forEach(item => { - const device = this.$store.getters['map/getDeviceByCode'](item.receiverId); - const obj = { - ...this.currentInfo, - ...item, - deviceName: device ? device.name : '' - }; - list.push(obj); + this.receiptList && this.receiptList.forEach(item => { + if (item.state == 'Received' && item.rcvCode == this.getActiveUser.deviceCode) { + list.push({ + reader: this.getActiveUser.labelName, + time: item.time + }); + } + }); return list; } }, watch: { - dispatchCommandMsg(Obj) { - if (Obj.type == 'ADD') { - const list = Obj.body; - this.cmdTableData.push(list); + dispatchCommandMsg(obj) { + if (obj) { + const list = obj; + this.cmdTableData.unshift(list); this.show && this.$store.commit('socket/clearDispatchCommandMsg'); } + }, + dispatchCommandState(obj) { + Object.values(obj.cpStateMap).forEach(item => { + if (item.cpId) { + if (!this.queryResData.companyStateMap) { + this.queryResData.companyStateMap = {}; + } + this.$set(this.queryResData.companyStateMap, item.cpId, item); + } + }); } }, beforeDestroy() {}, @@ -185,8 +224,8 @@ export default { }, methods:{ tableRowClassName({row, rowIndex}) { - const status = this.getSignInfo(row.receiverInfos).signedStatus; - if (status === 'SIGNED') { + const status = this.getStateInfo(row.rcvCompanies).state; + if (status === 'Signed') { return 'signed-row'; } return 'unsigned-row'; @@ -203,98 +242,107 @@ export default { handleCurrentChange(obj) { if (!obj) { return; } this.currentInfo = obj; - if (!this.getSignInfo(obj.receiverInfos).receivedTime) { + const sArr = [undefined, 'Sent']; + if (sArr.includes(this.getStateInfo(obj.rcvCompanies).state)) { const data = { - commandId: obj.id, - title: obj.title + cmdId: this.commandId, + rcId: this.rcId }; - sendCommandNew(this.group, 'CTC_READ_DISPATCH_COMMAND', data).then((res) => { + sendCommandNew(this.group, 'CTC_READ_DIS_COMMAND', data).then((res) => { console.log(res, '---res'); - const index = this.cmdTableData.findIndex(item => { - return item.id == obj.id; - }); - if (index >= 0) { - const obj = this.cmdTableData[index]; - const devCode = this.getActiveUser.deviceCode || ''; - if (obj.receiverInfos[devCode]) { - obj.receiverInfos[devCode].receivedTime = parseTime(this.initTime); - this.cmdTableData.splice(index, 1, obj); - } - } + // this.getReceiptData(); }).catch(error => { console.log(error, '---已读命令error'); }); + } else { + // this.getReceiptData(); } }, - getSignInfo(info) { - const obj = info[this.getActiveUser.deviceCode] || {}; + getReceiptData() { + sendCommandNew(this.group, 'CTC_QUERY_RECEIPT_DIS_COMMAND', {cmdId: this.currentInfo.cmdId}).then((res) => { + console.log(res, '---回执--'); + this.receiptList = res.data.receiptList; + }).catch(error => { + this.receiptList = []; + this.$messageBox('---回执失败--' + error.message); + }); + }, + getActiveDeviceCodeInfo(list) { + const findObj = list.find(item => { + return item.code == this.getActiveUser.deviceCode; + }); + return findObj; + }, + getStateInfo(list) { + const findObj = this.getActiveDeviceCodeInfo(list); + let obj = {}; + if (findObj) { + obj = this.queryResData.companyStateMap[findObj.id] || {}; + } return obj; }, - getSignedBy(info) { - const signedInfo = this.simulationUserList.find(item => { - return item.memberId == info.signedBy; - }); + getSignedStatus(row) { + let s = ''; + if (row.signedByProxy) { + s = '代签'; + } else { + s = this.signedStatusObj[row.state] || ''; + } + return s; + }, + getSignedBy(list) { + const findObj = this.getStateInfo(list); + const signedInfo = this.memberData[findObj.operatorId]; let name = ''; - if (signedInfo) { - name = signedInfo.nickName; + if (findObj.operatorId && signedInfo) { + name = signedInfo.labelName; } return name; }, signCmd(status) { if (!this.commandId) { return; } - const signInfo = { commandId: this.commandId, signedBy: this.getActiveUser.memberId, signedStatus: status, title: this.currentInfo.title }; - const data = { - signInfo: signInfo - }; - sendCommandNew(this.group, 'CTC_SIGN_DISPATCH_COMMAND', data).then((res) => { + const data = { cmdId: this.commandId, rcId: this.rcId, proxySign: false }; + let command = 'CTC_SIGN_DIS_COMMAND'; + if (!status) { + command = 'CTC_SIGN_REJECT_DIS_COMMAND'; + delete data.proxySign; + } + sendCommandNew(this.group, command, data).then((res) => { console.log(res, '---res'); if (res.code == 200) { - this.changeSignedStatus(signInfo); + // this.searchCmd(); } else { - this.$messageBox(`${this.signedStatusObj[status]}调度命令失败:${res.message}`); + this.$messageBox(`${status ? '签收' : '拒签'}调度命令失败:${res.message}`); } }).catch(error => { - this.$messageBox(`${this.signedStatusObj[status]}调度命令失败:${error.message}`); + this.$messageBox(`${status ? '签收' : '拒签'}调度命令失败:${error.message}`); }); }, - changeReadStatus(signInfo) { - const index = this.cmdTableData.findIndex(item => { - return item.id == signInfo.commandId; - }); - if (index >= 0) { - const obj = this.cmdTableData[index]; - const devCode = this.getActiveUser.deviceCode || ''; - if (obj.receiverInfos[devCode]) { - const mId = signInfo.signedBy; - obj.receiverInfos[devCode].signedBy = mId; - obj.receiverInfos[devCode].signedStatus = signInfo.signedStatus; - obj.receiverInfos[devCode].time = parseTime(this.initTime); - this.cmdTableData.splice(index, 1, obj); + filterTableData() { + const { companyStateMap = {}, disCmdMap = {} } = this.queryResData; + const list = []; + const fArr = ['Editing', 'Cache']; + Object.values(companyStateMap).forEach(item => { + if (!fArr.includes(item.state)) { + const findObj = this.findDisCmdObj(disCmdMap, item.cpId); + if (findObj) { + list.push(findObj); + } } - } + }); + return list.reverse(); }, - changeSignedStatus(signInfo) { - const index = this.cmdTableData.findIndex(item => { - return item.id == signInfo.commandId; + findDisCmdObj(obj, val) { + return Object.values(obj).find(item => { + return item.rcvCompanies[0].id == val; }); - if (index >= 0) { - const obj = this.cmdTableData[index]; - const devCode = this.getActiveUser.deviceCode || ''; - if (obj.receiverInfos[devCode]) { - const mId = signInfo.signedBy; - obj.receiverInfos[devCode].signedBy = mId; - obj.receiverInfos[devCode].signedStatus = signInfo.signedStatus; - obj.receiverInfos[devCode].time = parseTime(this.initTime); - this.cmdTableData.splice(index, 1, obj); - } - } }, searchCmd() { this.cmdTableData = []; - sendCommandNew(this.group, 'CTC_QUERY_DISPATCH_COMMAND', {}).then((res) => { - console.log(res, '---res'); + sendCommandNew(this.group, 'CTC_QUERY_DIS_COMMAND', {holderType: 'Station', holderCode: this.getActiveUser.deviceCode}).then((res) => { if (res.code == 200) { - this.cmdTableData = res.data; + this.queryResData = res.data; + this.cmdTableData = this.filterTableData(); } else { this.$messageBox('查询调度命令失败:' + res.message); } diff --git a/src/jmapNew/theme/components/menus/dialog/signedCmd.vue b/src/jmapNew/theme/components/menus/dialog/signedCmd.vue index 79e059107..371aaa5f1 100644 --- a/src/jmapNew/theme/components/menus/dialog/signedCmd.vue +++ b/src/jmapNew/theme/components/menus/dialog/signedCmd.vue @@ -25,7 +25,7 @@
命令号码: - {{ signedData.number }} + {{ signedData.cmdCode }}
@@ -45,13 +45,13 @@
发令单位: - {{ signedData.companyOfSender }} + {{ signedData.sendCompany ? signedData.sendCompany.name : '' }}
调度员姓名: - {{ signedData.senderName }} + {{ signedData.sender }}
@@ -64,11 +64,7 @@
- - - +
@@ -85,8 +81,8 @@
- 拒签 - 签收 + 拒签 + 签收 关闭
@@ -100,24 +96,34 @@ export default { data() { return { signedData: {}, + queryResData: {}, needRead: false, needprint: false, dialogShow: false, - signedId: '', + // signedId: '', signedBy: '', typeObj: { - NORMAL: '正常调度命令' + Normal: '普通调度命令', + Construct: '施工调度命令', + Forward: '转发调度命令', + Request: '请求调度命令', + LongTerm: '长效调度命令', + ShiftScheduling: '班计划调度命令', + Other: '其他调度命令' }, signedStatusObj: { - UNSIGNED: '未签收', - SIGNED: '签收', - REFUSE: '拒签' + Cache: '缓存', + Sent: '已发送', + SrmReceived: '自律机接收', + Received: '已接收', + Signed: '已签收', + Reject: '已拒签' } }; }, computed: { ...mapState('training', [ - 'memberList', 'simulationUserList', 'initTime' + 'memberList', 'memberData', 'simulationUserList', 'initTime' ]), ...mapState('socket', [ 'dispatchCommandMsg' @@ -132,17 +138,32 @@ export default { return '调度命令管理'; }, commandId() { - return this.signedData.id || ''; + return this.signedData.cmdId || ''; + }, + rcId() { + const rcArr = this.signedData.rcvCompanies || []; + const obj = rcArr.find(item => { + return item.code == this.getActiveUser.deviceCode; + }); + const id = obj ? obj.id : ''; + return id; + }, + currentStatus() { + let s = '编辑'; + const cpId = this.signedData.sendCompany.id; + if (this.queryResData.companyStateMap && this.queryResData.companyStateMap[cpId]) { + const state = this.queryResData.companyStateMap[cpId].state; + s = this.signedStatusObj[state] ? this.signedStatusObj[state] : '编辑'; + } + return s; }, currentHasSigned() { - let hasSigned = false; - if (this.signedData.receiverInfos) { - const obj = this.getSignInfo(this.signedData.receiverInfos); - if (obj && obj.signedStatus != 'UNSIGNED') { - hasSigned = true; - } + let s = false; + const sentArr = ['编辑', '缓存', '已发送']; + if (!sentArr.includes(this.currentStatus)) { + s = true; } - return hasSigned; + return s; }, getActiveUser() { const userInfo = this.simulationUserList.find(item => { @@ -152,15 +173,7 @@ export default { return activeUser; }, getTableData() { - const receiverList = Object.values(this.signedData.receiverInfos || {}); - const list = []; - receiverList.forEach(item => { - const obj = { - ...this.signedData, - ...item - }; - list.push(obj); - }); + const list = this.signedData.rcvCompanies || []; return list; } }, @@ -179,20 +192,19 @@ export default { getParseTime(val, f) { return val ? parseTime(val, f) : ''; }, - getSenderName() { - this.signedBy = ''; - this.signedId = ''; - const activeUser = this.simulationUserList.find(item => { + getSignedBy() { + const activeUser = Object.values(this.memberData).find(item => { return item.userId == this.$store.state.user.id; }); + let name = ''; if (activeUser) { - this.signedBy = activeUser.nickName; - this.signedId = activeUser.memberId; + name = activeUser.labelName; } + this.signedBy = name; }, async doShow() { await this.searchCmd(); // 补齐剧本指令,同cmdManage - this.getSenderName(); + this.getSignedBy(); this.getSignedData(); this.dialogShow = true; this.hasReadCmd(); @@ -203,31 +215,17 @@ export default { }, getSignedData() { this.signedData = {}; - if (this.dispatchCommandMsg.type == 'ADD') { - this.signedData = this.dispatchCommandMsg.body; + if (this.dispatchCommandMsg) { + this.signedData = this.dispatchCommandMsg; } }, - getSignInfo(info) { - const obj = info[this.getActiveUser.deviceCode] || {}; - return obj; - }, - getSignedBy(info) { - const signedInfo = this.simulationUserList.find(item => { - return item.memberId == info.signedBy; - }); - let name = ''; - if (signedInfo) { - name = signedInfo.nickName; - } - return name; - }, hasReadCmd() { if (!this.commandId) { return; } const data = { - commandId: this.commandId, - title: this.signedData.title + cmdId: this.commandId, + rcId: this.rcId }; - sendCommandNew(this.group, 'CTC_READ_DISPATCH_COMMAND', data).then((res) => { + sendCommandNew(this.group, 'CTC_READ_DIS_COMMAND', data).then((res) => { console.log(res, '---res'); }).catch(error => { console.log(error, '---已读命令error'); @@ -235,11 +233,13 @@ export default { }, signCmd(status) { if (!this.commandId) { return; } - const signInfo = { commandId: this.commandId, signedBy: this.signedId, signedStatus: status, title: this.signedData.title }; - const data = { - signInfo: signInfo - }; - sendCommandNew(this.group, 'CTC_SIGN_DISPATCH_COMMAND', data).then((res) => { + const data = { cmdId: this.commandId, rcId: this.rcId, proxySign: false }; + let command = 'CTC_SIGN_DIS_COMMAND'; + if (!status) { + command = 'CTC_SIGN_REJECT_DIS_COMMAND'; + delete data.proxySign; + } + sendCommandNew(this.group, command, data).then((res) => { console.log(res, '---res'); // this.$emit('changeSignedStatus', signInfo); this.doClose(); @@ -249,8 +249,9 @@ export default { }, searchCmd() { return new Promise((resolve, reject) => { - sendCommandNew(this.group, 'CTC_QUERY_DISPATCH_COMMAND', {}).then((res) => { + sendCommandNew(this.group, 'CTC_QUERY_DIS_COMMAND', {holderType: 'Station', holderCode: this.getActiveUser.deviceCode}).then((res) => { console.log(res, '---res----'); + this.queryResData = res.data; resolve(); }).catch(error => { reject(error.message); diff --git a/src/jmapNew/theme/datie_02/menus/index.vue b/src/jmapNew/theme/datie_02/menus/index.vue index f3204e77a..83a38b40f 100644 --- a/src/jmapNew/theme/datie_02/menus/index.vue +++ b/src/jmapNew/theme/datie_02/menus/index.vue @@ -33,7 +33,7 @@
与中心通信正常
-
+
提示信息窗
{{ '操控A:主机' + ' ' + dateString + ' ' + time }}
@@ -211,7 +211,7 @@ export default { ]), hasCommandMsg() { let status = false; - if (this.dispatchCommandMsg.body) { + if (this.dispatchCommandMsg) { status = true; } return status; @@ -425,9 +425,9 @@ export default { } }, initDate(date) { - this.time = timestampFormat('HH:mm:ss', date) - this.dateString = timestampFormat('YYYYMMDD', date) - this.dateString1 = timestampFormat('YYYY年MM月DD日', date) + this.time = timestampFormat('HH:mm:ss', date); + this.dateString = timestampFormat('YYYYMMDD', date); + this.dateString1 = timestampFormat('YYYY年MM月DD日', date); }, handleRunplan() { this.$refs.runplanPane.doShow(); diff --git a/src/jmapNew/theme/datie_02/menus/runplanPane.vue b/src/jmapNew/theme/datie_02/menus/runplanPane.vue index 0c1a2f477..d43f18941 100644 --- a/src/jmapNew/theme/datie_02/menus/runplanPane.vue +++ b/src/jmapNew/theme/datie_02/menus/runplanPane.vue @@ -652,7 +652,7 @@ export default { ]), hasCommandMsg() { let status = false; - if (this.dispatchCommandMsg.body) { + if (this.dispatchCommandMsg) { status = true; } return status; @@ -704,9 +704,9 @@ export default { } }, initDate(date) { - this.time = timestampFormat('HH:mm:ss', date) - this.dateString = timestampFormat('YYYYMMDD', date) - this.dateString1 = timestampFormat('YYYY年MM月DD日', date) + this.time = timestampFormat('HH:mm:ss', date); + this.dateString = timestampFormat('YYYYMMDD', date); + this.dateString1 = timestampFormat('YYYY年MM月DD日', date); }, judgeColor({row, rowIndex}) { if (row.effect) { diff --git a/src/jmapNew/theme/datie_jd1a/menus/index.vue b/src/jmapNew/theme/datie_jd1a/menus/index.vue index 92ffd9c48..6c5c5e865 100644 --- a/src/jmapNew/theme/datie_jd1a/menus/index.vue +++ b/src/jmapNew/theme/datie_jd1a/menus/index.vue @@ -33,7 +33,7 @@
与中心通信正常
-
+
提示信息窗
{{ '操控A:主机' + ' ' + dateString + ' ' + time }}
@@ -189,7 +189,7 @@ export default { ]), hasCommandMsg() { let status = false; - if (this.dispatchCommandMsg.body) { + if (this.dispatchCommandMsg) { status = true; } return status; @@ -271,9 +271,9 @@ export default { } }, initDate(date) { - this.time = timestampFormat('HH:mm:ss', date) - this.dateString = timestampFormat('YYYYMMDD', date) - this.dateString1 = timestampFormat('YYYY年MM月DD日', date) + this.time = timestampFormat('HH:mm:ss', date); + this.dateString = timestampFormat('YYYYMMDD', date); + this.dateString1 = timestampFormat('YYYY年MM月DD日', date); }, handleRunplan() { this.$refs.runplanPane.doShow(); diff --git a/src/jmapNew/theme/datie_jd1a/menus/runplanPane.vue b/src/jmapNew/theme/datie_jd1a/menus/runplanPane.vue index e9a32d84f..7f335f6be 100644 --- a/src/jmapNew/theme/datie_jd1a/menus/runplanPane.vue +++ b/src/jmapNew/theme/datie_jd1a/menus/runplanPane.vue @@ -564,7 +564,7 @@ export default { ]), hasCommandMsg() { let status = false; - if (this.dispatchCommandMsg.body) { + if (this.dispatchCommandMsg) { status = true; } return status; diff --git a/src/jmapNew/theme/datie_ksk/menus/index.vue b/src/jmapNew/theme/datie_ksk/menus/index.vue index 77e72e89e..0b5ca6bb0 100644 --- a/src/jmapNew/theme/datie_ksk/menus/index.vue +++ b/src/jmapNew/theme/datie_ksk/menus/index.vue @@ -33,7 +33,7 @@
与中心通信正常
-
+
提示信息窗
{{ '操控A:主机' + ' ' + dateString + ' ' + time }}
@@ -189,7 +189,7 @@ export default { ]), hasCommandMsg() { let status = false; - if (this.dispatchCommandMsg.body) { + if (this.dispatchCommandMsg) { status = true; } return status; @@ -271,9 +271,9 @@ export default { } }, initDate(date) { - this.time = timestampFormat('HH:mm:ss', date) - this.dateString = timestampFormat('YYYYMMDD', date) - this.dateString1 = timestampFormat('YYYY年MM月DD日', date) + this.time = timestampFormat('HH:mm:ss', date); + this.dateString = timestampFormat('YYYYMMDD', date); + this.dateString1 = timestampFormat('YYYY年MM月DD日', date); }, handleRunplan() { this.$refs.runplanPane.doShow(); diff --git a/src/store/modules/socket.js b/src/store/modules/socket.js index efe28612b..7f7360e5e 100644 --- a/src/store/modules/socket.js +++ b/src/store/modules/socket.js @@ -277,9 +277,14 @@ function handle(state, data) { state.railCtcStationManageRpChange++; break; // 调度命令信息 - case 'SIMULATION_RAIL_CTC_DISPATCH_COMMAND': + case 'SIMULATION_RAIL_CTC_DIS_COMMAND_ADD': state.dispatchCommandMsg = msg; break; + // 调度命令状态 + case 'SIMULATION_RAIL_CTC_DIS_COMMAND_SYNC': + state.dispatchCommandState = msg; + console.log('调度命令状态', msg); + break; // 车站发送计划信息 case 'SIMULATION_CTC_RUN_PLAN_CONFIRM_SEND': state.changedCtcRunplanMap = msg; @@ -477,7 +482,8 @@ const socket = { simulationPlanChange:{}, // 运行图加线/抽线/变化推送消息 loggedOutMsg: '', railCtcStatusMsg: {}, // 占线板信息 - dispatchCommandMsg: {}, // 调度命令信息 + dispatchCommandMsg: null, // 调度命令信息 + dispatchCommandState: null, // 调度命令状态 changedCtcRunplanMap:{}, // 大铁项目 ctc 被修改运行计划的车站信息 railCtcRunplanInitMsg:{}, // 大铁项目 ctc 运行图初始化信息 railCtcRunplanChange:0, // 大铁项目 ctc 运行图信息变化 @@ -499,12 +505,12 @@ const socket = { firstTrainRemain: '', firstEndStationName: '', secondTrainRemain: '', - secondEndStationName: '', + secondEndStationName: '' }, onboardPisState: { nextStationName: '', - endStationName: '', - }, + endStationName: '' + } }, getters: { }, @@ -592,17 +598,17 @@ const socket = { state.iscsStatePisMessages = speed; }, setStandPisMessages: (state, payload) => { - state.standPisState = payload + state.standPisState = payload; }, setOnboardPisMessages: (state, payload) => { - state.onboardPisState = payload + state.onboardPisState = payload; }, deleteRailwaySimulationRunplan: (state, stationCode) => { delete state.railwaySimulationRunplanSendMap[stationCode]; state.railwaySimulationRunplanSendChange++; }, clearDispatchCommandMsg: (state, data) => { - state.dispatchCommandMsg = {}; + state.dispatchCommandMsg = null; }, resetRailCtcRunplanInitMsg: (state) => { state.railCtcRunplanInitMsg = {}; diff --git a/src/views/dispatcherStationManage/dispatchCmd.vue b/src/views/dispatcherStationManage/dispatchCmd.vue index a1acc87aa..c6f0ac8c7 100644 --- a/src/views/dispatcherStationManage/dispatchCmd.vue +++ b/src/views/dispatcherStationManage/dispatchCmd.vue @@ -4,7 +4,7 @@ class="dispatcher-cmd chengdou-03__systerm" :title="title" :visible.sync="show" - width="1300px" + width="1500px" :before-close="doClose" :z-index="2010" :modal="false" @@ -13,7 +13,7 @@ >
- +
@@ -21,7 +21,6 @@
- @@ -44,17 +43,21 @@
- - - + + + - + + + + + - - From cb19a6b4230e82865eb99f0f0ded35d738bc54ae Mon Sep 17 00:00:00 2001 From: fan Date: Fri, 14 Oct 2022 18:02:22 +0800 Subject: [PATCH 102/571] =?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/api/jmap/map.js | 8 + src/utils/baseUrl.js | 4 +- .../mapoperate/simulationMember/index.vue | 24 +++ .../publish/publishMap/editSubsystem.vue | 162 ++++++++++++++---- 4 files changed, 162 insertions(+), 36 deletions(-) diff --git a/src/api/jmap/map.js b/src/api/jmap/map.js index 2c3883e7f..f28384170 100644 --- a/src/api/jmap/map.js +++ b/src/api/jmap/map.js @@ -292,3 +292,11 @@ export function querySimulationMemberByMapId(id) { method: 'get' }); } + +/** 根据地图查询车站(含车辆段停车场) */ +export function querySimulationStationsByMapId(id) { + return request({ + url: `/api/map/${id}/stations`, + method: 'get' + }); +} diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js index 5317762c9..0929e8877 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/newMap/newMapdraft/mapoperate/simulationMember/index.vue b/src/views/newMap/newMapdraft/mapoperate/simulationMember/index.vue index 9ab22c6be..80e5a818a 100644 --- a/src/views/newMap/newMapdraft/mapoperate/simulationMember/index.vue +++ b/src/views/newMap/newMapdraft/mapoperate/simulationMember/index.vue @@ -274,6 +274,23 @@ 一键生成
+ + + + + + + + +
+ 一键清空 +
+
@@ -341,6 +358,9 @@ export default { }, generationForm: { systemType: 'METRO' + }, + clearForm: { + systemType: 'METRO' } }; }, @@ -756,6 +776,10 @@ export default { } this.$message.success('一键生成成功!'); this.resetForm(); + }, + keyClear() { + const memberMap = { METRO: this.memberMetroList, RAILWAY: this.memberRailwayList, EMERGENCY: this.memberEmergencyList }; + memberMap[this.clearForm.systemType].splice(0, memberMap[this.clearForm.systemType].length); } } }; diff --git a/src/views/publish/publishMap/editSubsystem.vue b/src/views/publish/publishMap/editSubsystem.vue index 691d202cd..77d17a879 100644 --- a/src/views/publish/publishMap/editSubsystem.vue +++ b/src/views/publish/publishMap/editSubsystem.vue @@ -2,6 +2,7 @@ @@ -10,39 +11,32 @@ - + - + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + @@ -79,7 +73,7 @@ + From fe9bf9b495671b6b0463cec83c7d148d384ada70 Mon Sep 17 00:00:00 2001 From: dong <58670809@qq.com> Date: Mon, 17 Oct 2022 14:04:56 +0800 Subject: [PATCH 104/571] =?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 --- .../competitionManage/bankList/index.vue | 5 +- .../bankList/previewAnswer.vue | 60 ++++++++++++++----- 2 files changed, 47 insertions(+), 18 deletions(-) diff --git a/src/views/competitionManage/bankList/index.vue b/src/views/competitionManage/bankList/index.vue index 0128b0ad5..389f87a87 100644 --- a/src/views/competitionManage/bankList/index.vue +++ b/src/views/competitionManage/bankList/index.vue @@ -39,7 +39,7 @@ export default { type: 'select', label: '类 型', config: { - data: this.$ConstSelect.QuestionTypeList + data: this.$ConstSelect.QuestionTypeList.filter(item => { return !['fill', 'answer'].includes(item.value); }) } }, topic: { @@ -63,7 +63,8 @@ export default { columns: [ { title: '题 目', - prop: 'topic' + prop: 'topic', + type: 'html' }, { title: '标 签', diff --git a/src/views/competitionManage/bankList/previewAnswer.vue b/src/views/competitionManage/bankList/previewAnswer.vue index cab30fbc3..f2c43ccb4 100644 --- a/src/views/competitionManage/bankList/previewAnswer.vue +++ b/src/views/competitionManage/bankList/previewAnswer.vue @@ -1,13 +1,14 @@ @@ -47,9 +50,14 @@ +
+ {{ isCorrect ? '答案正确!' : '答案错误!' }} +
提交 关闭 @@ -71,6 +79,8 @@ export default { return { active: '', show: false, + showAnswer: false, + isCorrect: false, form: { type: '', optionList: [] @@ -86,10 +96,19 @@ export default { }, type() { return this.form.type; + }, + mapType() { + const obj = {}; + const list = this.$ConstSelect.QuestionTypeList; + list.forEach(item => { + obj[item.value] = item.label; + }); + return obj; } }, watch: { questionId(val) { + this.showAnswer = false; this.getQuestionInfo(); }, type(val) { @@ -131,13 +150,10 @@ export default { } testAnswer(this.questionId, data).then(res => { if (val) { - if (res.data) { - this.$message.success('答案正确!'); - } else { - this.$message.warning('答案错误!'); - } + this.showAnswer = true; + this.isCorrect = res.data; } - this.doClose(); + // this.doClose(); }).catch(err => { console.log(err, '===err===='); }); @@ -159,4 +175,16 @@ export default { color: #000; padding-left: 15px; } + .show-answer { + padding: 15px; + span { + font-size: 18px; + } + .correct { + color: green; + } + .error { + color: red; + } + } From 0b080e24661ca81ecfbfa21abf15d45e189ea933 Mon Sep 17 00:00:00 2001 From: dong <58670809@qq.com> Date: Mon, 17 Oct 2022 14:08:47 +0800 Subject: [PATCH 105/571] =?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/api/questionBank.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/questionBank.js b/src/api/questionBank.js index 663ff2a70..59f75097b 100644 --- a/src/api/questionBank.js +++ b/src/api/questionBank.js @@ -13,7 +13,7 @@ export function listQuestionPage(params) { // 标签列表 export function getLableList() { return request({ - url: `/api/question/org/lable`, + url: `/api/question/org/label`, method: 'get' }); } From 5e634f08f8cfdb3575b4dc9351747a37388c8615 Mon Sep 17 00:00:00 2001 From: Yuan Date: Mon, 17 Oct 2022 10:02:21 +0800 Subject: [PATCH 106/571] =?UTF-8?q?WIP:=20=E8=AF=95=E5=8D=B7=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/management/exam.js | 251 ++++++--- src/router/index.js | 2 +- src/utils/baseUrl.js | 4 +- src/views/organization/examManage/index.vue | 505 +++++++++-------- src/views/publish/examRule/draft/editRule.vue | 320 +++++------ src/views/publish/examRule/draft/examFrom.vue | 342 +++++------ src/views/publish/examRule/draft/index.vue | 393 ++++++------- src/views/publish/examRule/draft/rule.vue | 533 +++++++----------- 8 files changed, 1134 insertions(+), 1216 deletions(-) diff --git a/src/api/management/exam.js b/src/api/management/exam.js index aa15746f0..8d16594e2 100644 --- a/src/api/management/exam.js +++ b/src/api/management/exam.js @@ -1,114 +1,233 @@ -import request from '@/utils/request'; +import request from '@/utils/request' /** 创建对应课程考题 */ export function createExam(data) { - return request({ - url: `/api/exam`, - method: 'post', - data: data - }); + return request({ + url: `/api/exam`, + method: 'post', + data: data, + }) } /** 获取试卷详情 */ export function getExamLessonDetail(examId) { - return request({ - url: `/api/exam/${examId}`, - method: 'get' - }); + return request({ + url: `/api/exam/${examId}`, + method: 'get', + }) } /** 获取试卷列表 */ export function getExamList(data) { - return request({ - url: '/api/exam/list', - method: 'get', - params: data - }); + return request({ + url: '/api/exam/list', + method: 'get', + params: data, + }) } /** 删除试卷 */ export function deleteExam(data) { - return request({ - url: `/api/exam/${data.id}`, - method: 'delete' - }); + return request({ + url: `/api/exam/${data.id}`, + method: 'delete', + }) } /** 设置试卷下架 */ export function setExamEfficacy(data) { - return request({ - url: `/api/exam/${data.id}/offLine`, - method: 'put' - }); + return request({ + url: `/api/exam/${data.id}/offLine`, + method: 'put', + }) } /** 设置试卷上架 */ export function setExamEffectivey(data) { - return request({ - url: `/api/exam/${data.id}/onLine`, - method: 'put' - }); + return request({ + url: `/api/exam/${data.id}/onLine`, + method: 'put', + }) } /** 更新考试规则*/ export function updateExamRules(data) { - return request({ - url: `/api/exam/${data.id}`, - method: 'put', - data: data - }); + return request({ + url: `/api/exam/${data.id}`, + method: 'put', + data: data, + }) } /** 查询本项目下的考试列表 */ export function getExamListProject(params) { - return request({ - url: `/api/exam/paged/loginProject`, - method: 'get', - params - }); + return request({ + url: `/api/exam/paged/loginProject`, + method: 'get', + params, + }) } /** 查询本项目下的考试列表不分页 */ export function getExamListProjectUnpage(params) { - return request({ - url: `/api/exam/list/loginProject`, - methods: 'get', - params - }); + return request({ + url: `/api/exam/list/loginProject`, + methods: 'get', + params, + }) } /** 查询班级关联的自己创建的试卷 */ export function getExamListSelfByClassId(params) { - return request({ - url: `/api/exam/list/org/self`, - method: 'get', - params - }); + return request({ + url: `/api/exam/list/org/self`, + method: 'get', + params, + }) } /** 根据地图ID和prdType查询试卷列表 */ export function getExamListByMapIdAndPrdType(mapId, prdType) { - return request({ - url: `/api/exam/list/${mapId}`, - method: 'get', - params: { prdType: prdType } - }); + return request({ + url: `/api/exam/list/${mapId}`, + method: 'get', + params: { prdType: prdType }, + }) } /** 更新试卷规则 */ export function updateExamRule(data) { - return request({ - url: `/api/exam/update/rules`, - method: 'put', - data:data - }); + return request({ + url: `/api/exam/update/rules`, + method: 'put', + data: data, + }) } /** 检查并更新【规则数据异常】状态 */ export function checkAndUpdateAbnormal(mapId) { - return request({ - url: `/api/exam/checkAndUpdateAbnormal/${mapId}`, - method: 'put' - }); + return request({ + url: `/api/exam/checkAndUpdateAbnormal/${mapId}`, + method: 'put', + }) } /** 重新生成考试规则 */ -export function regenerateRule (mapId) { - return request({ - url: `/api/exam/regenerateRules/${mapId}`, - method: 'put' - }); +export function regenerateRule(mapId) { + return request({ + url: `/api/exam/regenerateRules/${mapId}`, + method: 'put', + }) +} + +/** + * ============================================================================ + * ============================================================================ + * ============================= 以下为新版试卷的接口 ============================ + * ============================================================================ + * ============================================================================ + */ + +/** + * LIST - + * 根据试卷蓝图名称简介分页查找某个组织的试卷蓝图 + * @param {Number} orgId 组织ID + * @param {String} name 试卷蓝图名称 + * @param {String} profile 试卷蓝图简介 + * @param {Number} findState 状态: (All(1)-所有,Editing(2)-正在编辑的,CanUse(3)-可以用于生成试卷的,Locked(4)-封存,Used(5)-已经被使用过) + * @param {Number} orderBy 排序依据: (1--创建时间 2--更新时间 3--名称;默认值为1) + */ +export function getPapaerListOfOrg({ orgId, ...data }) { + return request({ + url: `/api/v2/paper/composition/find/page/for/${orgId}`, + method: 'POST', + data, + }) +} + +/** + * 创建试卷蓝图 + * @param {Number} data.orgId 组织ID + * @param {String} data.name 试卷蓝图名称 + * @param {String} data.profile 简介 + * @param {String} data.startTime 启用起始时间 + * @param {String} data.endTime 启用截止时间 + * @param {Number} data.validDuration 考试时长 + * @param {String} data.passScore 及格分 + * @param {String} data.fullScore 满分 + */ +export function createPaper(data) { + return request({ + url: `/api/v2/paper/composition/`, + method: 'POST', + data, + }) +} + +/** 修改试卷蓝图基本信息 + * @param {Number} data.id 试卷蓝图ID + * @param {Number} data.orgId 组织ID + * @param {String} data.name 试卷蓝图名称 + * @param {String} data.profile 简介 + * @param {String} data.startTime 启用起始时间 + * @param {String} data.endTime 启用截止时间 + * @param {Number} data.validDuration 考试时长 + * @param {String} data.passScore 及格分 + * @param {String} data.fullScore 满分 + */ +export function editPaperBasic(data) { + return request({ + url: `/api/v2/paper/composition/basic`, + method: 'PUT', + data, + }) +} + +/** 获取试卷完整的蓝图,包括规则 + * @param {Number} pcId 试卷蓝图ID + */ +export function getPaperDetail(pcId) { + return request({ + url: `/api/v2/paper/composition/${pcId}`, + method: 'GET', + }) +} + +/** 查询题库中各类型题的数量 + * @param {Number} params.orgId + * @param {Number} params.subtype + * @param {Array} params.tags + */ +export function getQuestionAmount(params) { + return request({ + url: ``, + method: 'GET', + params, + }) +} + +/** + * 试卷蓝图添加规则 + * @param {Number} pcId 试卷蓝图ID + * @param {Number} type 试题类型:(1-理论题,2-实训题) + * @param {Number} subtype 规则类型 (理论题(1-单选题,2-多选题,3-判断题);实训题(4-单操实训,5-场景实训)) + * @param {Number} score 每题分值 + * @param {Number} amount 题目数量 + */ +export function addPaperRule(data) { + return request({ + url: `/api/v2/paper/composition/rule`, + method: 'POST', + data, + }) +} + +/** + * 更新(保存)试卷蓝图的规则 + * @param {Number} id 规则ID + * @param {Number} pcId 试卷蓝图ID + * @param {Number} type 试题类型:(1-理论题,2-实训题) + * @param {Number} subtype 规则类型 (理论题(1-单选题,2-多选题,3-判断题);实训题(4-单操实训,5-场景实训)) + * @param {Number} score 每题分值 + * @param {Number} amount 题目数量 + */ +export function editPaperRule(data) { + return request({ + url: `/api/v2/paper/composition/rule`, + method: 'PUT', + data, + }) } diff --git a/src/router/index.js b/src/router/index.js index 0a331bb63..36a879106 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -687,7 +687,7 @@ export const publicAsyncRoute = [ hidden: true }, { - path: 'examRule/draft/:mode/:ruleId/:lessonId', + path: 'examRule/draft/:mode/:paperId', component: PublishExamRuleDraft, hidden: true }, diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js index 0929e8877..bdfb6abea 100644 --- a/src/utils/baseUrl.js +++ b/src/utils/baseUrl.js @@ -29,8 +29,8 @@ export function handlerUrl() { // 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.5: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'; // BASE_API = 'http://2925963m2a.zicp.vip'; // 杜康 diff --git a/src/views/organization/examManage/index.vue b/src/views/organization/examManage/index.vue index ff494feba..3379fd228 100644 --- a/src/views/organization/examManage/index.vue +++ b/src/views/organization/examManage/index.vue @@ -1,249 +1,272 @@ - + diff --git a/src/views/publish/examRule/draft/editRule.vue b/src/views/publish/examRule/draft/editRule.vue index 234e283c2..76d0f05e0 100644 --- a/src/views/publish/examRule/draft/editRule.vue +++ b/src/views/publish/examRule/draft/editRule.vue @@ -1,175 +1,165 @@ diff --git a/src/views/publish/examRule/draft/examFrom.vue b/src/views/publish/examRule/draft/examFrom.vue index a1bd6cad4..144422714 100644 --- a/src/views/publish/examRule/draft/examFrom.vue +++ b/src/views/publish/examRule/draft/examFrom.vue @@ -1,214 +1,146 @@ diff --git a/src/views/publish/examRule/draft/index.vue b/src/views/publish/examRule/draft/index.vue index aa714fe02..f2ace1ceb 100644 --- a/src/views/publish/examRule/draft/index.vue +++ b/src/views/publish/examRule/draft/index.vue @@ -1,220 +1,203 @@ diff --git a/src/views/publish/examRule/draft/rule.vue b/src/views/publish/examRule/draft/rule.vue index d6941fc47..e8c0d7c60 100644 --- a/src/views/publish/examRule/draft/rule.vue +++ b/src/views/publish/examRule/draft/rule.vue @@ -1,342 +1,213 @@ From e6ae8750da365511a8daa7f26f2c99edf3a311d6 Mon Sep 17 00:00:00 2001 From: Yuan Date: Mon, 17 Oct 2022 14:29:21 +0800 Subject: [PATCH 107/571] =?UTF-8?q?=E8=80=83=E8=AF=95=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/management/exam.js | 67 +++++++------------ src/views/publish/examRule/draft/editRule.vue | 49 +++++++++++--- src/views/publish/examRule/draft/index.vue | 46 ++++++------- src/views/publish/examRule/draft/rule.vue | 12 +--- 4 files changed, 87 insertions(+), 87 deletions(-) diff --git a/src/api/management/exam.js b/src/api/management/exam.js index 8d16594e2..a0a6b7e99 100644 --- a/src/api/management/exam.js +++ b/src/api/management/exam.js @@ -148,10 +148,18 @@ export function getPapaerListOfOrg({ orgId, ...data }) { * @param {Number} data.validDuration 考试时长 * @param {String} data.passScore 及格分 * @param {String} data.fullScore 满分 + * @param {Object} data.ruleList 规则列表 + * @param {Object} data.ruleList.id 规则id + * @param {Object} data.ruleList.pcId 试卷蓝图ID + * @param {Object} data.ruleList.type 试题类型 + * @param {Object} data.ruleList.subtype 规则类型 + * @param {Object} data.ruleList.tags 标签 + * @param {Object} data.ruleList.amount 数量 + * @param {Object} data.ruleList.score 每题分值 */ export function createPaper(data) { return request({ - url: `/api/v2/paper/composition/`, + url: `/api/v2/paper/composition/${data.orgId}`, method: 'POST', data, }) @@ -167,10 +175,18 @@ export function createPaper(data) { * @param {Number} data.validDuration 考试时长 * @param {String} data.passScore 及格分 * @param {String} data.fullScore 满分 + * @param {Object} data.ruleList 规则列表 + * @param {Object} data.ruleList.id 规则id + * @param {Object} data.ruleList.pcId 试卷蓝图ID + * @param {Object} data.ruleList.type 试题类型 + * @param {Object} data.ruleList.subtype 规则类型 + * @param {Object} data.ruleList.tags 标签 + * @param {Object} data.ruleList.amount 数量 + * @param {Object} data.ruleList.score 每题分值 */ -export function editPaperBasic(data) { +export function editPaper(data) { return request({ - url: `/api/v2/paper/composition/basic`, + url: `/api/v2/paper/composition`, method: 'PUT', data, }) @@ -186,48 +202,15 @@ export function getPaperDetail(pcId) { }) } -/** 查询题库中各类型题的数量 - * @param {Number} params.orgId - * @param {Number} params.subtype - * @param {Array} params.tags +/** 查询组织下各类型题的数量 + * @param {Number} data.orgId + * @param {Number} data.subtype + * @param {Array} data.tags */ -export function getQuestionAmount(params) { +export function getQuestionAmount(data) { return request({ - url: ``, - method: 'GET', - params, - }) -} - -/** - * 试卷蓝图添加规则 - * @param {Number} pcId 试卷蓝图ID - * @param {Number} type 试题类型:(1-理论题,2-实训题) - * @param {Number} subtype 规则类型 (理论题(1-单选题,2-多选题,3-判断题);实训题(4-单操实训,5-场景实训)) - * @param {Number} score 每题分值 - * @param {Number} amount 题目数量 - */ -export function addPaperRule(data) { - return request({ - url: `/api/v2/paper/composition/rule`, + url: `/api/v2/paper/${data.orgId}/question/count`, method: 'POST', data, }) } - -/** - * 更新(保存)试卷蓝图的规则 - * @param {Number} id 规则ID - * @param {Number} pcId 试卷蓝图ID - * @param {Number} type 试题类型:(1-理论题,2-实训题) - * @param {Number} subtype 规则类型 (理论题(1-单选题,2-多选题,3-判断题);实训题(4-单操实训,5-场景实训)) - * @param {Number} score 每题分值 - * @param {Number} amount 题目数量 - */ -export function editPaperRule(data) { - return request({ - url: `/api/v2/paper/composition/rule`, - method: 'PUT', - data, - }) -} diff --git a/src/views/publish/examRule/draft/editRule.vue b/src/views/publish/examRule/draft/editRule.vue index 76d0f05e0..1afb0aca4 100644 --- a/src/views/publish/examRule/draft/editRule.vue +++ b/src/views/publish/examRule/draft/editRule.vue @@ -8,7 +8,12 @@ > - + - + - + + + - {{ $t('publish.allNumberTipOne') }} {{ topicNum }} {{ $t('publish.allNumberTipTwo') }} @@ -53,6 +64,7 @@ + + diff --git a/src/views/newMap/display/terminals/dispatcherLoger/addDispatcherLogerRunplan.vue b/src/views/newMap/display/terminals/dispatcherLoger/addDispatcherLogerRunplan.vue new file mode 100644 index 000000000..1dd21c59a --- /dev/null +++ b/src/views/newMap/display/terminals/dispatcherLoger/addDispatcherLogerRunplan.vue @@ -0,0 +1,378 @@ + + + diff --git a/src/views/newMap/display/terminals/dispatcherLoger/deleteDispatcherLoger.vue b/src/views/newMap/display/terminals/dispatcherLoger/deleteDispatcherLoger.vue new file mode 100644 index 000000000..1f357064d --- /dev/null +++ b/src/views/newMap/display/terminals/dispatcherLoger/deleteDispatcherLoger.vue @@ -0,0 +1,111 @@ + + diff --git a/src/views/newMap/display/terminals/dispatcherLoger/index.vue b/src/views/newMap/display/terminals/dispatcherLoger/index.vue new file mode 100644 index 000000000..93d67c358 --- /dev/null +++ b/src/views/newMap/display/terminals/dispatcherLoger/index.vue @@ -0,0 +1,491 @@ + + + + diff --git a/src/views/newMap/display/terminals/index.vue b/src/views/newMap/display/terminals/index.vue index 6661ac105..a4495e116 100644 --- a/src/views/newMap/display/terminals/index.vue +++ b/src/views/newMap/display/terminals/index.vue @@ -10,10 +10,9 @@ - - + + -
@@ -25,8 +24,8 @@ import { defaultCallback, stateCallback } from '@/utils/subscribeCallback'; import DispatcherWork from './dispatchWork'; import LocalWork from './localWork'; import TerminalMenu from './terminalMenu'; -import DispatchCmd from '@/views/dispatcherStationManage/dispatchCmd'; -import DispatcherLoger from '@/views/dispatcherLoger/index'; +import DispatchCmd from './dispatchCmd'; +import DispatcherLoger from './dispatcherLoger/index'; import Jl3dDrive from '@/views/jlmap3d/drive/jl3ddrive'; import Jl3dDevice from '@/views/jlmap3d/device/jl3ddevice'; import Jl3dPassflow from '@/views/jlmap3d/passflow/jl3dpassflow'; diff --git a/src/views/newMap/display/terminals/terminalMenu.vue b/src/views/newMap/display/terminals/terminalMenu.vue index f836b1a9f..e788e18bc 100644 --- a/src/views/newMap/display/terminals/terminalMenu.vue +++ b/src/views/newMap/display/terminals/terminalMenu.vue @@ -50,13 +50,13 @@ export default { name: '调度计划', code: 'schedulingPlan', roleList: ['DISPATCHER'], - click: this.schedulingPlan + click: this.changePictureShow }, { name: '调度命令', code: 'dispatchingCommand', roleList: ['DISPATCHER'], - click: this.dispatchingCommand + click: this.changePictureShow } ], 'subway': [ @@ -147,10 +147,6 @@ export default { this.active = code; this.$emit('popupTerminalShow', 'dispatcherLoger'); }, - dispatchingCommand(code) { - this.active = code; - this.$emit('popupTerminalShow', 'dispatchCmd'); - }, close() { this.active = 0; }, diff --git a/src/views/newMap/newMapdraft/dataRelation/disStationOperate/detail.vue b/src/views/newMap/newMapdraft/dataRelation/disStationOperate/detail.vue index bdf2a3655..fbcf18aa1 100644 --- a/src/views/newMap/newMapdraft/dataRelation/disStationOperate/detail.vue +++ b/src/views/newMap/newMapdraft/dataRelation/disStationOperate/detail.vue @@ -12,7 +12,7 @@ + diff --git a/src/views/iscs/iscsSystemNew/stationConfig/index.vue b/src/views/iscs/iscsSystemNew/stationConfig/index.vue new file mode 100644 index 000000000..58466b3c5 --- /dev/null +++ b/src/views/iscs/iscsSystemNew/stationConfig/index.vue @@ -0,0 +1,27 @@ + + + diff --git a/src/views/iscs/iscsSystemNew/stationConfig/psdSystem.vue b/src/views/iscs/iscsSystemNew/stationConfig/psdSystem.vue new file mode 100644 index 000000000..b1b8e6315 --- /dev/null +++ b/src/views/iscs/iscsSystemNew/stationConfig/psdSystem.vue @@ -0,0 +1,40 @@ + + + diff --git a/src/views/iscs/iscsSystemNew/stationNav.vue b/src/views/iscs/iscsSystemNew/stationNav.vue index 80d68116b..12fbf664f 100644 --- a/src/views/iscs/iscsSystemNew/stationNav.vue +++ b/src/views/iscs/iscsSystemNew/stationNav.vue @@ -13,6 +13,32 @@
{{ item.name }}
+
+
+
+
+
+
+
+
+
+
+
+
控制中心
+
停车场
+
车辆段
+
+
+
+
+
+
+
+
+
主所1
+
主所2
+
+
@@ -22,6 +48,7 @@ import { getByGroupStationList } from '@/api/jmap/map'; import iscs_icon1 from '@/assets/iscs_system/iscs_icon1.png'; import iscs_icon2 from '@/assets/iscs_system/iscs_icon2.png'; import iscs_icon3 from '@/assets/iscs_system/iscs_icon3.png'; +import iscs_icon4 from '@/assets/iscs_system/iscs_icon4.png'; import iscs_icon5 from '@/assets/iscs_system/iscs_icon5.png'; import iscs_icon6 from '@/assets/iscs_system/iscs_icon6.png'; import iscs_icon7 from '@/assets/iscs_system/iscs_icon7.png'; @@ -31,7 +58,9 @@ export default { return { selectStation: 'mainHouseOne', stationList:[], - buttonId:'substation', + tractionList:[], + // buttonId:'substation', + buttonId:'psdSystem', buttonList:{ stationDescription:{name:'车站概要', type:'totalSystem', id: 'stationDescription', active:false, icon:iscs_icon1 }, electric: {name:'电力监控系统', type:'totalSystem', id: 'powerMonitoring', active:false, icon:iscs_icon2, @@ -275,18 +304,14 @@ export default { name: station.runPlanName.includes('站') ? station.runPlanName : `${station.runPlanName}站`, id: station.code }; - if (station.centralized) { this.tractionList.push(param.name); } - this.stationList.push(param); } }); } - // if (!this.$route.params.mode) { - // this.selectChildren(this.buttonId, true); - // } + this.selectChildren(this.buttonId); }, methods:{ changeStation(item) { @@ -294,8 +319,223 @@ export default { this.selectChildren(this.buttonId); }, selectChildren(type) { // 选择菜单 + let stationName = ''; + const station = this.stationList.find(each=>{ return each.id == this.selectStation; }); + if (station) { + stationName = station.name; + } + const param = { + stationName: stationName, + stationId: this.selectStation, + type:type + }; + this.$emit('selectIscsPane', param); + // const query = { + // stationName: stationName, + // stationId: this.selectStation, + // group: this.group, + // mapId: this.$route.query.mapId, + // lineCode:'02', + // noPreLogout:this.$route.query.noPreLogout + // }; + // if (isReplace) { + // this.$router.replace({ path: `/displayIscs/system/stationConfig/${type}`, query: query }); + // } else { + // this.$router.push({ path: `/displayIscs/system/stationConfig/${type}`, query: query }); + // } } } }; + From 8b6349ce26d384d62ab5cf97817c16f27e8f2ff9 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Mon, 17 Oct 2022 16:47:06 +0800 Subject: [PATCH 115/571] =?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 --- .../stationConfig/dialog/protectReset.vue | 180 ++++++++++ .../stationConfig/dialog/valve.vue | 337 ++++++++++++++++++ .../iscsSystemNew/stationConfig/index.vue | 8 +- .../stationConfig/iscsCanvas.vue | 327 +++++++++++++++++ .../stationConfig/substation.vue | 144 ++++++++ src/views/iscs/iscsSystemNew/stationNav.vue | 5 +- 6 files changed, 997 insertions(+), 4 deletions(-) create mode 100644 src/views/iscs/iscsSystemNew/stationConfig/dialog/protectReset.vue create mode 100644 src/views/iscs/iscsSystemNew/stationConfig/dialog/valve.vue create mode 100644 src/views/iscs/iscsSystemNew/stationConfig/iscsCanvas.vue create mode 100644 src/views/iscs/iscsSystemNew/stationConfig/substation.vue diff --git a/src/views/iscs/iscsSystemNew/stationConfig/dialog/protectReset.vue b/src/views/iscs/iscsSystemNew/stationConfig/dialog/protectReset.vue new file mode 100644 index 000000000..c981095b3 --- /dev/null +++ b/src/views/iscs/iscsSystemNew/stationConfig/dialog/protectReset.vue @@ -0,0 +1,180 @@ + + + + + diff --git a/src/views/iscs/iscsSystemNew/stationConfig/dialog/valve.vue b/src/views/iscs/iscsSystemNew/stationConfig/dialog/valve.vue new file mode 100644 index 000000000..7a2f985fa --- /dev/null +++ b/src/views/iscs/iscsSystemNew/stationConfig/dialog/valve.vue @@ -0,0 +1,337 @@ + + + + + diff --git a/src/views/iscs/iscsSystemNew/stationConfig/index.vue b/src/views/iscs/iscsSystemNew/stationConfig/index.vue index 58466b3c5..9d8f737b1 100644 --- a/src/views/iscs/iscsSystemNew/stationConfig/index.vue +++ b/src/views/iscs/iscsSystemNew/stationConfig/index.vue @@ -1,14 +1,17 @@ + + + diff --git a/src/views/iscs/iscsSystemNew/stationConfig/substation.vue b/src/views/iscs/iscsSystemNew/stationConfig/substation.vue new file mode 100644 index 000000000..abadcb2e9 --- /dev/null +++ b/src/views/iscs/iscsSystemNew/stationConfig/substation.vue @@ -0,0 +1,144 @@ + + + diff --git a/src/views/iscs/iscsSystemNew/stationNav.vue b/src/views/iscs/iscsSystemNew/stationNav.vue index 12fbf664f..57c702b3e 100644 --- a/src/views/iscs/iscsSystemNew/stationNav.vue +++ b/src/views/iscs/iscsSystemNew/stationNav.vue @@ -59,8 +59,8 @@ export default { selectStation: 'mainHouseOne', stationList:[], tractionList:[], - // buttonId:'substation', - buttonId:'psdSystem', + buttonId:'substation', + // buttonId:'psdSystem', buttonList:{ stationDescription:{name:'车站概要', type:'totalSystem', id: 'stationDescription', active:false, icon:iscs_icon1 }, electric: {name:'电力监控系统', type:'totalSystem', id: 'powerMonitoring', active:false, icon:iscs_icon2, @@ -290,7 +290,6 @@ export default { // } ]} } - // mode: 'substation' }; }, async created () { From 14293f28f122e52f0aecd33c0e6923a92355a65d Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Mon, 17 Oct 2022 17:11:33 +0800 Subject: [PATCH 116/571] =?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 --- .../stationConfig/environment.vue | 202 ++++++++++++++++++ .../iscs/iscsSystemNew/stationConfig/fas.vue | 0 .../iscsSystemNew/stationConfig/index.vue | 24 ++- .../stationConfig/signalSystem.vue | 0 4 files changed, 224 insertions(+), 2 deletions(-) create mode 100644 src/views/iscs/iscsSystemNew/stationConfig/environment.vue create mode 100644 src/views/iscs/iscsSystemNew/stationConfig/fas.vue create mode 100644 src/views/iscs/iscsSystemNew/stationConfig/signalSystem.vue diff --git a/src/views/iscs/iscsSystemNew/stationConfig/environment.vue b/src/views/iscs/iscsSystemNew/stationConfig/environment.vue new file mode 100644 index 000000000..67c0cf78b --- /dev/null +++ b/src/views/iscs/iscsSystemNew/stationConfig/environment.vue @@ -0,0 +1,202 @@ + + + diff --git a/src/views/iscs/iscsSystemNew/stationConfig/fas.vue b/src/views/iscs/iscsSystemNew/stationConfig/fas.vue new file mode 100644 index 000000000..e69de29bb diff --git a/src/views/iscs/iscsSystemNew/stationConfig/index.vue b/src/views/iscs/iscsSystemNew/stationConfig/index.vue index 9d8f737b1..735281a79 100644 --- a/src/views/iscs/iscsSystemNew/stationConfig/index.vue +++ b/src/views/iscs/iscsSystemNew/stationConfig/index.vue @@ -2,21 +2,41 @@
+ + + + +
+ diff --git a/src/views/iscs/iscsSystemNew/stationConfig/index.vue b/src/views/iscs/iscsSystemNew/stationConfig/index.vue index 735281a79..e5737c9fb 100644 --- a/src/views/iscs/iscsSystemNew/stationConfig/index.vue +++ b/src/views/iscs/iscsSystemNew/stationConfig/index.vue @@ -4,7 +4,7 @@ - +
@@ -44,8 +44,6 @@ export default { this.mode = param.type; this.stationName = param.stationName; this.stationId = param.stationId; - // debugger; - // this.getInitData } } }; From b14c682049a0d3d51e7d5c85151ec630ed097093 Mon Sep 17 00:00:00 2001 From: Yuan Date: Tue, 18 Oct 2022 13:19:31 +0800 Subject: [PATCH 119/571] =?UTF-8?q?=E8=80=83=E8=AF=95=E8=A7=84=E5=88=99?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E6=98=BE=E7=A4=BA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/baseUrl.js | 4 ++-- src/views/publish/examRule/draft/editRule.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/publish/examRule/draft/editRule.vue b/src/views/publish/examRule/draft/editRule.vue index b1b915159..2e234bfce 100644 --- a/src/views/publish/examRule/draft/editRule.vue +++ b/src/views/publish/examRule/draft/editRule.vue @@ -132,7 +132,7 @@ export default { }, created() { getLabelList().then(resp => { - this.labels = resp.data.map(v => ({ label: v, value: v })) + this.labels = resp.data }) }, mounted() {}, From 248661e0d7d1c09b96e23c92e06bfbdfb7c5e0eb Mon Sep 17 00:00:00 2001 From: Yuan Date: Tue, 18 Oct 2022 13:38:48 +0800 Subject: [PATCH 120/571] =?UTF-8?q?bugfix=20-=20=E8=80=83=E8=AF=95?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E6=A0=87=E7=AD=BE=E5=8F=8A=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E4=BC=A0=E5=8F=82=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/baseUrl.js | 2 +- src/views/organization/examManage/index.vue | 2 +- src/views/publish/examRule/draft/editRule.vue | 12 +++++------- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js index 5317762c9..309dde45d 100644 --- a/src/utils/baseUrl.js +++ b/src/utils/baseUrl.js @@ -30,7 +30,7 @@ export function handlerUrl() { // 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.5:9000'; // 夏增彬 + BASE_API = 'http://192.168.3.5:9000'; // 夏增彬 // BASE_API = 'http://192.168.3.37:9000'; // 卫志宏 // BASE_API = 'http://b29z135112.zicp.vip'; // BASE_API = 'http://2925963m2a.zicp.vip'; // 杜康 diff --git a/src/views/organization/examManage/index.vue b/src/views/organization/examManage/index.vue index 6ae1642f3..8a4b439f9 100644 --- a/src/views/organization/examManage/index.vue +++ b/src/views/organization/examManage/index.vue @@ -43,7 +43,7 @@ export default { type: 'select', label: '状态:', config: { - data: Object.entries(paperStateMap).map(([k, v]) => ({ value: k, label: v })), + data: Object.entries(paperStateMap).map(([k, v]) => ({ value: Number(k), label: v })), }, }, }, diff --git a/src/views/publish/examRule/draft/editRule.vue b/src/views/publish/examRule/draft/editRule.vue index 2e234bfce..ec9210911 100644 --- a/src/views/publish/examRule/draft/editRule.vue +++ b/src/views/publish/examRule/draft/editRule.vue @@ -8,12 +8,7 @@ > - + { if (valid) { From 01f9a2abaa854c592a8addfac653b9b2e59e5734 Mon Sep 17 00:00:00 2001 From: dong <58670809@qq.com> Date: Tue, 18 Oct 2022 13:54:29 +0800 Subject: [PATCH 121/571] =?UTF-8?q?=E7=90=86=E8=AE=BA=E9=A2=98=E7=9B=AE?= =?UTF-8?q?=E5=AF=BC=E5=85=A5=E5=92=8C=E5=AF=BC=E5=87=BA=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/questionBank.js | 8 + .../competitionManage/bankList/index.vue | 205 ++++++++++++------ .../bankList/item-answer.vue | 5 +- .../competitionManage/bankList/preImport.vue | 6 +- 4 files changed, 155 insertions(+), 69 deletions(-) diff --git a/src/api/questionBank.js b/src/api/questionBank.js index 97147e046..c5de0f8cf 100644 --- a/src/api/questionBank.js +++ b/src/api/questionBank.js @@ -10,6 +10,14 @@ export function listQuestionPage(params) { }); } +// 查询所有理论试题 +export function listQuestionAll() { + return request({ + url: `/api/question/org`, + method: 'get' + }); +} + // 标签列表 export function getLabelList() { return request({ diff --git a/src/views/competitionManage/bankList/index.vue b/src/views/competitionManage/bankList/index.vue index e44b7d67c..d877366ef 100644 --- a/src/views/competitionManage/bankList/index.vue +++ b/src/views/competitionManage/bankList/index.vue @@ -8,7 +8,7 @@ + From 37fcac449f4dbfdb78625af53b8cecf2f7088ef5 Mon Sep 17 00:00:00 2001 From: Yuan Date: Tue, 18 Oct 2022 15:41:40 +0800 Subject: [PATCH 126/571] =?UTF-8?q?=E8=AF=95=E5=8D=B7=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E5=8F=8A=E7=AE=80=E4=BB=8B=E9=99=90=E5=88=B6=E9=95=BF=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/publish/examRule/draft/examFrom.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/publish/examRule/draft/examFrom.vue b/src/views/publish/examRule/draft/examFrom.vue index 144422714..94c186e06 100644 --- a/src/views/publish/examRule/draft/examFrom.vue +++ b/src/views/publish/examRule/draft/examFrom.vue @@ -2,10 +2,10 @@
- + - + Date: Tue, 18 Oct 2022 16:14:34 +0800 Subject: [PATCH 127/571] =?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 --- .../config/broadcast/centerHome.vue | 627 ++++++++++++ .../config/broadcast/homeScreen.vue | 41 + .../config/broadcast/realTimeBroadcast.vue | 119 +++ .../config/broadcast/stateTable.vue | 79 ++ .../config/broadcast/stationHome.vue | 938 ++++++++++++++++++ .../config/broadcast/voiceBroadcast.vue | 126 +++ .../config/pa/radioListeningPA.vue | 226 +++++ .../iscsSystemNew/stationConfig/index.vue | 17 +- .../stationConfig/ticketOrEntrance.vue | 115 +++ 9 files changed, 2287 insertions(+), 1 deletion(-) create mode 100644 src/views/iscs/iscsSystemNew/config/broadcast/centerHome.vue create mode 100644 src/views/iscs/iscsSystemNew/config/broadcast/homeScreen.vue create mode 100644 src/views/iscs/iscsSystemNew/config/broadcast/realTimeBroadcast.vue create mode 100644 src/views/iscs/iscsSystemNew/config/broadcast/stateTable.vue create mode 100644 src/views/iscs/iscsSystemNew/config/broadcast/stationHome.vue create mode 100644 src/views/iscs/iscsSystemNew/config/broadcast/voiceBroadcast.vue create mode 100644 src/views/iscs/iscsSystemNew/config/pa/radioListeningPA.vue create mode 100644 src/views/iscs/iscsSystemNew/stationConfig/ticketOrEntrance.vue diff --git a/src/views/iscs/iscsSystemNew/config/broadcast/centerHome.vue b/src/views/iscs/iscsSystemNew/config/broadcast/centerHome.vue new file mode 100644 index 000000000..b10c18dcc --- /dev/null +++ b/src/views/iscs/iscsSystemNew/config/broadcast/centerHome.vue @@ -0,0 +1,627 @@ + + + + + diff --git a/src/views/iscs/iscsSystemNew/config/broadcast/homeScreen.vue b/src/views/iscs/iscsSystemNew/config/broadcast/homeScreen.vue new file mode 100644 index 000000000..bad4d6f1c --- /dev/null +++ b/src/views/iscs/iscsSystemNew/config/broadcast/homeScreen.vue @@ -0,0 +1,41 @@ + + + + + diff --git a/src/views/iscs/iscsSystemNew/config/broadcast/realTimeBroadcast.vue b/src/views/iscs/iscsSystemNew/config/broadcast/realTimeBroadcast.vue new file mode 100644 index 000000000..845e3c6f8 --- /dev/null +++ b/src/views/iscs/iscsSystemNew/config/broadcast/realTimeBroadcast.vue @@ -0,0 +1,119 @@ + + + + + + diff --git a/src/views/iscs/iscsSystemNew/config/broadcast/stateTable.vue b/src/views/iscs/iscsSystemNew/config/broadcast/stateTable.vue new file mode 100644 index 000000000..fda5e22b0 --- /dev/null +++ b/src/views/iscs/iscsSystemNew/config/broadcast/stateTable.vue @@ -0,0 +1,79 @@ + + + + + diff --git a/src/views/iscs/iscsSystemNew/config/broadcast/stationHome.vue b/src/views/iscs/iscsSystemNew/config/broadcast/stationHome.vue new file mode 100644 index 000000000..771794538 --- /dev/null +++ b/src/views/iscs/iscsSystemNew/config/broadcast/stationHome.vue @@ -0,0 +1,938 @@ + + + + + + diff --git a/src/views/iscs/iscsSystemNew/config/broadcast/voiceBroadcast.vue b/src/views/iscs/iscsSystemNew/config/broadcast/voiceBroadcast.vue new file mode 100644 index 000000000..275d6cb44 --- /dev/null +++ b/src/views/iscs/iscsSystemNew/config/broadcast/voiceBroadcast.vue @@ -0,0 +1,126 @@ + + + + + + diff --git a/src/views/iscs/iscsSystemNew/config/pa/radioListeningPA.vue b/src/views/iscs/iscsSystemNew/config/pa/radioListeningPA.vue new file mode 100644 index 000000000..623d1a819 --- /dev/null +++ b/src/views/iscs/iscsSystemNew/config/pa/radioListeningPA.vue @@ -0,0 +1,226 @@ + + + diff --git a/src/views/iscs/iscsSystemNew/stationConfig/index.vue b/src/views/iscs/iscsSystemNew/stationConfig/index.vue index cb70b58fd..154e17f5c 100644 --- a/src/views/iscs/iscsSystemNew/stationConfig/index.vue +++ b/src/views/iscs/iscsSystemNew/stationConfig/index.vue @@ -7,6 +7,15 @@ + + + + +
+ From e049334401dce66fdda3f737789cc50f9569c38e Mon Sep 17 00:00:00 2001 From: dong <58670809@qq.com> Date: Tue, 18 Oct 2022 16:28:32 +0800 Subject: [PATCH 128/571] =?UTF-8?q?=E7=90=86=E8=AE=BA=E9=A2=98=E7=9B=AE?= =?UTF-8?q?=E5=AF=BC=E5=87=BA=E6=A8=A1=E6=9D=BF=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../competitionManage/bankList/index.vue | 19 ++++++++++++++++-- static/theoryTemplate/理论试题导入模板.xlsx | Bin 0 -> 12305 bytes 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 static/theoryTemplate/理论试题导入模板.xlsx diff --git a/src/views/competitionManage/bankList/index.vue b/src/views/competitionManage/bankList/index.vue index d877366ef..1fd525785 100644 --- a/src/views/competitionManage/bankList/index.vue +++ b/src/views/competitionManage/bankList/index.vue @@ -14,6 +14,7 @@ import PreviewAnswer from './previewAnswer'; import { convertSheetToList } from '@/jmapNew/theme/parser/util.js'; // import { getCompanyList } from '@/api/company'; import XLSX from 'xlsx'; +import { JL3D_LOCAL_STATIC } from '@/api/jlmap3d/assets3d.js'; export default { components: { @@ -134,7 +135,8 @@ export default { { text: '添 加', handler: this.doCreate }, { text: '导 入', fileType: 'file', handler: this.importQuestionBank }, // { text: '试卷规则管理', handler: this.questionsRuleManage}, - { text: '导出', handler: this.exportTemplate} + // { text: '导出', handler: this.exportTemplate} + { text: '导出模板', handler: this.downloadTemplate} ] } }; @@ -368,10 +370,23 @@ export default { // this.$router.push({ path: `/system/questionsRuleManage`}); this.$router.push({ path: `/teaching/questionsRuleManage`}); }, + downloadTemplate() { + // 创建隐藏的可下载链接 + var eleLink = document.createElement('a'); + eleLink.download = '理论试题导入模板.xlsx'; + eleLink.style.display = 'none'; + const url = JL3D_LOCAL_STATIC + '/theoryTemplate/理论试题导入模板.xlsx'; + eleLink.href = url; + // 触发点击 + document.body.appendChild(eleLink); + eleLink.click(); + // 然后移除 + document.body.removeChild(eleLink); + }, exportTemplate() { const wb = XLSX.utils.book_new(); const data1 = [{A: '理论试题导入模板', B: '', C:'', D:'', E:'', F: '', G: '', H: '', I: '', J: '', K: ''}]; - const data2 = [{A: '说明:1、本表第一行(标示蓝色底内容)所对应的任何一列不能修改删除;\n 2、支持批量导入的题型:单选题,多选题,判断题,题型不能自定义,只能按照表格提供的进行录入;\n 3、【判断题】在选项A中可填写√ 或正确,选项B中填写× 或错误,答案填写A或B\n 4、【分类】多个分类项使用空格隔开', B: '', C:'', D:'', E:'', F: '', G: '', H: '', I: '', J: '', K: ''}]; + const data2 = [{A: '说明:1、本表表头(第一行到第三行)内容不能修改删除;\n 2、支持批量导入的题型:单选题,多选题,判断题,题型不能自定义,只能按照表格提供的进行录入;\n 3、【判断题】在选项A中可填写√ 或正确,选项B中填写× 或错误,答案填写A或B\n 4、【分类】多个分类项使用空格隔开', B: '', C:'', D:'', E:'', F: '', G: '', H: '', I: '', J: '', K: ''}]; const data3 = [{A: '序号', B: '题干(必填)', C:'题型(必填)', D:'选项A(必填)', E:'选项B(必填)', F: '选项C', G: '选项D', H: '选项E', I: '选项F', J: '正确答案(必填)', K: '标签'}]; const data = [...data1, ...data2, ...data3]; const mapType = { diff --git a/static/theoryTemplate/理论试题导入模板.xlsx b/static/theoryTemplate/理论试题导入模板.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..340b78411a074008b7b9e6fdebbc2b7c3fad250a GIT binary patch literal 12305 zcmbVy1yo$w(lr{~J-EBOTX1)GcXxLJ1VWJDkl?{x8x0;Df(5tW?gYLj%uHtT=DmNd z|E>iM_f*xcv#a{_>2tTD3^)WV$kP=ezb5qb`sW1${KM42MA6y7(S=bFXoe2F0sYe~ zCxp(F78C@884Lsj`R`^%j*bkTcD9-E!_wf)=wVmEM@**6=Gw3FOqC%}oJ>AU`+fOl z1dL>t;NgMQXDqXxdzJ-=!% zc(I&8!h%jzxn8xdMzIo~D1B(1v`JyNGj)3a_u~O~PQ9xDs7= zTFWPvmkb&HmK~_sTQ}4Z^g;9=@NNLaGO;zu4>sC7izlm#*4w0&=-W#(;BM$ z&M)q1JTnUQ86!$W?c_J|3?kPYt5_xRoE#+^SyaK7RN*kbBdrV|H(E$G!W0GsySntx zP{zLZ_d3gNPhS2fu}zwx3@kum`GCZt{GC`62WPVEW}zeoqGYNT z6py(8$~=F}8jc?T66*D)pkij5>cuIJiR4T=Q`ieNdsr# zymFYZyTT}KG@0J-?b+iONxhq69`dMVeymm(lXYx+rVp@vu}fdnG}2}b(|!EP?D4t7rz z=f~?kQ5=2*q`2QNEv`(Dbw1WVk4T@2%fn#am9|#OYGMcZu?5E^3Tx^6<|;oQ-x2rt zmfQDECHaC$n(!%7WJ$HX0+l;#0S6g$5kuSjv`;hAy~kt--^dy`$Jg^DxaZ_wt{@M7 zJ~ljP?46y0;#Tc-sdAPoDg01vpK+<#V5c!8GIK_h)D!a-WTvLdTWB2%QQvbf_XlnD z_{H4FetqHi4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N!7JqP&j zOU_e(XJznb%3ll6KS6(Af}T8{LBIdy^Ybn9zrdazu{~c;GUTW0Z;IuA;{C2!elmW> z1H%1s`$NI}J4L?>bANdU0$cho&_89mzq|h~JN@Op3S2UNx&I|X{a=%Q(pNrTPm|_` z_(N^^G~ItM$v;^_rvBRk^?RbfuVha+&n$8N-R(ctwcq3XzH9vzCxP_e_prZ5`2EcH zSA_RKP3Y4u_^%V-|3%h6=PnEsRsZ#@^>@VIAIknhwEVl Date: Tue, 18 Oct 2022 16:50:54 +0800 Subject: [PATCH 129/571] =?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 --- .../iscsSystemNew/config/pa/timePreviewPA.vue | 102 +++ .../config/pis/emergencyRelease.vue | 73 ++ .../config/pis/infoBroadcast.vue | 400 +++++++++++ .../iscsSystemNew/config/pis/lcdControl.vue | 231 ++++++ .../iscsSystemNew/config/pis/mainScreen.vue | 673 ++++++++++++++++++ .../iscsSystemNew/config/pis/timePreview.vue | 147 ++++ .../iscsSystemNew/stationConfig/index.vue | 16 +- 7 files changed, 1639 insertions(+), 3 deletions(-) create mode 100644 src/views/iscs/iscsSystemNew/config/pa/timePreviewPA.vue create mode 100644 src/views/iscs/iscsSystemNew/config/pis/emergencyRelease.vue create mode 100644 src/views/iscs/iscsSystemNew/config/pis/infoBroadcast.vue create mode 100644 src/views/iscs/iscsSystemNew/config/pis/lcdControl.vue create mode 100644 src/views/iscs/iscsSystemNew/config/pis/mainScreen.vue create mode 100644 src/views/iscs/iscsSystemNew/config/pis/timePreview.vue diff --git a/src/views/iscs/iscsSystemNew/config/pa/timePreviewPA.vue b/src/views/iscs/iscsSystemNew/config/pa/timePreviewPA.vue new file mode 100644 index 000000000..e4dceabb2 --- /dev/null +++ b/src/views/iscs/iscsSystemNew/config/pa/timePreviewPA.vue @@ -0,0 +1,102 @@ + + + diff --git a/src/views/iscs/iscsSystemNew/config/pis/emergencyRelease.vue b/src/views/iscs/iscsSystemNew/config/pis/emergencyRelease.vue new file mode 100644 index 000000000..ad922c621 --- /dev/null +++ b/src/views/iscs/iscsSystemNew/config/pis/emergencyRelease.vue @@ -0,0 +1,73 @@ + + + diff --git a/src/views/iscs/iscsSystemNew/config/pis/infoBroadcast.vue b/src/views/iscs/iscsSystemNew/config/pis/infoBroadcast.vue new file mode 100644 index 000000000..f50753d52 --- /dev/null +++ b/src/views/iscs/iscsSystemNew/config/pis/infoBroadcast.vue @@ -0,0 +1,400 @@ + + + + + + diff --git a/src/views/iscs/iscsSystemNew/config/pis/lcdControl.vue b/src/views/iscs/iscsSystemNew/config/pis/lcdControl.vue new file mode 100644 index 000000000..6304bfd68 --- /dev/null +++ b/src/views/iscs/iscsSystemNew/config/pis/lcdControl.vue @@ -0,0 +1,231 @@ + + + + + diff --git a/src/views/iscs/iscsSystemNew/config/pis/mainScreen.vue b/src/views/iscs/iscsSystemNew/config/pis/mainScreen.vue new file mode 100644 index 000000000..09667e730 --- /dev/null +++ b/src/views/iscs/iscsSystemNew/config/pis/mainScreen.vue @@ -0,0 +1,673 @@ +