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 @@