From 6c1903a6a09b70f4dd3cd3deb6fa620a9f4f9a78 Mon Sep 17 00:00:00 2001 From: dong <58670809@qq.com> Date: Fri, 28 Oct 2022 15:20:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E8=AE=AD=E8=AE=BE=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/views/newMap/display/index.vue | 4 +- src/views/newMap/display/simulationMenu.vue | 9 +- .../organization/trainingDesign/index.vue | 42 +++---- src/views/trainingManage/editCondition.vue | 8 +- src/views/trainingManage/editDetails.vue | 19 +-- src/views/trainingManage/editOperate.vue | 68 ++++++----- src/views/trainingManage/index.vue | 115 ++++++++++++++++++ src/views/trainingManage/trackList.vue | 2 +- src/views/trainingManage/trainingList.vue | 2 +- 10 files changed, 189 insertions(+), 82 deletions(-) create mode 100644 src/views/trainingManage/index.vue diff --git a/package.json b/package.json index 80eb50f30..be972b538 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "license": "MIT", "scripts": { "start": "vue-cli-service serve --open", - "dev": "node --max_old_space_size=4096 node_modules/@vue/cli-service/bin/vue-cli-service.js serve", + "dev": "node --max_old_space_size=4096 node_modules/@vue/cli-service/bin/vue-cli-service.js serve --open", "build": "vue-cli-service build --mode production", "test": "vue-cli-service build --mode staging", "local": "vue-cli-service build --mode", diff --git a/src/views/newMap/display/index.vue b/src/views/newMap/display/index.vue index 7196289af..44e0890ba 100644 --- a/src/views/newMap/display/index.vue +++ b/src/views/newMap/display/index.vue @@ -1,5 +1,5 @@ @@ -97,6 +98,7 @@ import TrainingList from './trainingList/index.vue'; import TrainingTip from './trainingList/trainingTip.vue'; import TrainingPositionTip from './trainingList/trainingPositionTip.vue'; import TrainingMenu from './trainingList/trainingMenu'; +import TrainingDesign from '@/views/trainingManage/index.vue'; export default { name: 'SimulationMenu', @@ -128,7 +130,8 @@ export default { TrainingList, TrainingTip, TrainingPositionTip, - TrainingMenu + TrainingMenu, + TrainingDesign // StatusIcon }, props: { @@ -431,6 +434,7 @@ export default { { label: '联系方式', name: 'contectUs', click: this.contectUs, isShow: true }, { label: '成员管理', name: 'memberManage', click: this.memberManage, isShow: true }, { label: '实训', name: 'trainingPane', click: this.trainingPane, isShow: true }, + { label: '实训设计', name: 'trainingDesign', click: this.trainingDesign, isShow: true }, { label: '切换客流数据', name: 'changeFlowData', click: this.changeFlowData, isShow: true }, // { label: '权限分发', name: 'distribute', click: this.distribute, isShow: true }, { @@ -930,6 +934,9 @@ export default { trainingPane() { this.$refs.trainingList.doShow(); }, + trainingDesign() { + this.$refs.trainingDesign.doShow(); + }, changeFlowData() { this.hideMenuList(); this.$refs.flowData.doShow(); diff --git a/src/views/organization/trainingDesign/index.vue b/src/views/organization/trainingDesign/index.vue index 6c7f1e1c0..98ecdf8dd 100644 --- a/src/views/organization/trainingDesign/index.vue +++ b/src/views/organization/trainingDesign/index.vue @@ -1,6 +1,6 @@ diff --git a/src/views/trainingManage/index.vue b/src/views/trainingManage/index.vue new file mode 100644 index 000000000..4df2804d9 --- /dev/null +++ b/src/views/trainingManage/index.vue @@ -0,0 +1,115 @@ + + + diff --git a/src/views/trainingManage/trackList.vue b/src/views/trainingManage/trackList.vue index b9ab419a0..e0dad86e3 100644 --- a/src/views/trainingManage/trackList.vue +++ b/src/views/trainingManage/trackList.vue @@ -1,5 +1,5 @@