diff --git a/package.json b/package.json index 1929fa6..09c7d87 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "dependencies": { "@ant-design-vue/pro-layout": "^1.0.11", "@antv/data-set": "^0.10.2", + "@mermaid-js/parser": "^0.6.2", "@wangeditor/editor": "^5.1.23", "@wangeditor/editor-for-vue": "^1.0.2", "ant-design-vue": "^1.7.8", @@ -31,6 +32,7 @@ "lodash.get": "^4.4.2", "lodash.pick": "^4.4.0", "md5": "^2.3.0", + "mermaid": "^11.12.0", "mockjs2": "1.0.8", "moment": "^2.29.2", "nprogress": "^0.2.0", diff --git a/src/config/router.config.js b/src/config/router.config.js index 20592aa..50ef7c1 100644 --- a/src/config/router.config.js +++ b/src/config/router.config.js @@ -108,6 +108,10 @@ export const constantRouterMap = [ // }, ], }, + { + path: '/guaranteeProcess', + component: () => import(/* webpackChunkName: "fail" */ '@/views/functional/guaranteeProcess.vue'), + }, { path: '/404', component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404'), diff --git a/src/views/functional/guaranteeProcess.vue b/src/views/functional/guaranteeProcess.vue new file mode 100644 index 0000000..3847d2c --- /dev/null +++ b/src/views/functional/guaranteeProcess.vue @@ -0,0 +1,50 @@ + + + + + + + + + diff --git a/src/views/subsystem/display/index.vue b/src/views/subsystem/display/index.vue index de1bf02..980af89 100644 --- a/src/views/subsystem/display/index.vue +++ b/src/views/subsystem/display/index.vue @@ -17,8 +17,6 @@ - - diff --git a/src/views/subsystem/model/components/Jcsx.vue b/src/views/subsystem/model/components/Jcsx.vue deleted file mode 100644 index d9adf07..0000000 --- a/src/views/subsystem/model/components/Jcsx.vue +++ /dev/null @@ -1,446 +0,0 @@ - - - - - - - {{ modelData.team.teamName }} - - - - - - 名称 - - - - - - - - 推演方: - {{ modelData.team.type | forceFormat }} - - - - 经度: - {{ modelData.team.lng | lonFormat }} - - - - 纬度: - {{ modelData.team.lat | latFormat }} - - - - - - - - - - 人员编制数: - {{ modelData.person.total }} 人 - - - 当前人数: - {{ modelData.person.current }} 人 - - - 死亡人数: - {{ modelData.person.death }} 人 - - - 受伤人数: - {{ modelData.person.injured }} 人 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/subsystem/model/components/LonLatInput.vue b/src/views/subsystem/model/components/LonLatInput.vue deleted file mode 100644 index 43fe543..0000000 --- a/src/views/subsystem/model/components/LonLatInput.vue +++ /dev/null @@ -1,143 +0,0 @@ - - - - - 东经 - 西经 - - - ° - 或 - - ° - - ′ - - ″ - - - - 北纬 - 南纬 - - - ° - 或 - - ° - - ′ - - ″ - - - - - - - diff --git a/src/views/subsystem/model/components/Zzxd.vue b/src/views/subsystem/model/components/Zzxd.vue deleted file mode 100644 index f5337f0..0000000 --- a/src/views/subsystem/model/components/Zzxd.vue +++ /dev/null @@ -1,166 +0,0 @@ - - - - 作战行动 - - - - - - - - - - - - - - - - - - - - - - {{ item.typeName || '- -' }} - 开始时间:{{ item.beginDateTime }} - 结束时间:{{ item.endDateTime }} - - - - - - - - - diff --git a/src/views/subsystem/model/index.vue b/src/views/subsystem/model/index.vue index ab4b818..53ff143 100644 --- a/src/views/subsystem/model/index.vue +++ b/src/views/subsystem/model/index.vue @@ -1,9 +1,9 @@ - 系统控制子系统 - 推演想定【{{ roomName }}-{{ scenarioName }}】 - 剩余 {{ roomInfo.remainTimeStr }} + 场景编辑子系统 + 推演想定【{{ roomName }}-{{ scenarioName }}】 + 剩余 {{ roomInfo.remainTimeStr }} @@ -15,47 +15,14 @@ > - - - - - - {{ dataRef.resourceName || dataRef.title }} - - - - - - - - - @@ -78,56 +45,10 @@ - - + + - - - - - ($refs['zzry-table'].commitAction('query'), $refs['zzzb-table'].commitAction('query')) - " - > - - - - - - - - - - - - + - - - - 基础属性 - 作战行动 - 保障任务 - + + + - - - - - + - + + + + + + + + + @@ -479,6 +486,9 @@ export default { background-color: #022234; } } +.ant-menu-horizontal { + line-height: 30px; +} .scene-presetting-cesium-container { width: 100%; height: 100%; diff --git a/vue.config.js b/vue.config.js index 0baecba..92301f7 100644 --- a/vue.config.js +++ b/vue.config.js @@ -137,7 +137,7 @@ const vueConfig = { // disable source map in production productionSourceMap: false, // babel-loader no-ignore node_modules/* - transpileDependencies: ['@cesium/widgets', '@cesium/engine'], + transpileDependencies: ['@cesium/widgets', '@cesium/engine', 'mermaid', '@mermaid-js/parser', '@iconify/utils', 'marked'], } // preview.pro.loacg.com only do not use in your production;