From 53a71d0bab9b234f44fc969c3dce7ba355dbbc53 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Mon, 12 Jul 2021 16:42:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E6=8F=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 +- src/i18n/langs/en/router.js | 3 +- src/i18n/langs/zh/router.js | 3 +- src/router/index.js | 18 +++- src/views/newDraw/edit.vue | 57 +++++++++++++ src/views/newDraw/list.vue | 166 ++++++++++++++++++++++++++++++++++++ 6 files changed, 246 insertions(+), 5 deletions(-) create mode 100644 src/views/newDraw/edit.vue create mode 100644 src/views/newDraw/list.vue diff --git a/package.json b/package.json index aef02ce07..452d40c33 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ }, "dependencies": { "axios": "^0.21.1", - "bjjl-engine-2d": "^1.0.15", + "bjjl-engine-2d": "^1.0.17", "echarts": "^4.7.0", "element-ui": "^2.12.0", "file-saver": "^1.3.3", @@ -36,7 +36,7 @@ "sessionstorage": "^0.1.0", "stompjs": "^2.3.3", "storejs": "^1.0.25", - "three": "^0.130.0", + "three": "^0.130.1", "video.js": "^7.8.4", "vue": "^2.6.10", "vue-i18n": "^8.12.0", diff --git a/src/i18n/langs/en/router.js b/src/i18n/langs/en/router.js index ef3f53d18..dbec19a6c 100644 --- a/src/i18n/langs/en/router.js +++ b/src/i18n/langs/en/router.js @@ -100,5 +100,6 @@ export default { publishISCSManage:'publish ISCS Manage', voiceTraining: 'Voice Training', mapGroup: 'Map Group', - drawingMange:'Drawing Mange' + drawingMange:'Drawing Mange', + newDraw: 'New Draw' }; diff --git a/src/i18n/langs/zh/router.js b/src/i18n/langs/zh/router.js index 45dc0dd7b..94b24a50f 100644 --- a/src/i18n/langs/zh/router.js +++ b/src/i18n/langs/zh/router.js @@ -104,5 +104,6 @@ export default { publishISCSManage:'发布ISCS管理', voiceTraining: '语音训练', mapGroup: '地图分组', - drawingMange:'图纸管理' + drawingMange:'图纸管理', + newDraw: '新版绘制' }; diff --git a/src/router/index.js b/src/router/index.js index 5006e6087..cea6f628b 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -188,6 +188,8 @@ const ThirdLogin = () => import('@/views/thirdLogin'); const UserModelDesign = () => import('@/views/userModelDesign/draftList'); const UserModelEdit = () => import('@/views/userModelDesign/edit'); +const NewDrawList = () => import('@/views/newDraw/list'); +const NewDrawEdit = () => import('@/views/newDraw/edit'); // import { GenerateRouteProjectList } from '@/scripts/ProjectConfig'; // import { getSessionStorage } from '@/utils/auth'; @@ -1291,13 +1293,27 @@ export const asyncRouter = [ meta: { i18n: 'router.userModelDesign', roles: [admin] - }, + } }, { path: 'usermodel/:id/edit', name: 'userModelEdit', component: UserModelEdit, hidden: true + }, + { + path: 'newdraw', + component: NewDrawList, + meta: { + i18n: 'router.newDraw', + roles: [admin] + } + }, + { + path: 'newdraw/:id/edit', + name: 'newDrawEdit', + component: NewDrawEdit, + hidden: true } ] }, diff --git a/src/views/newDraw/edit.vue b/src/views/newDraw/edit.vue new file mode 100644 index 000000000..a6ae84241 --- /dev/null +++ b/src/views/newDraw/edit.vue @@ -0,0 +1,57 @@ + + + + + diff --git a/src/views/newDraw/list.vue b/src/views/newDraw/list.vue new file mode 100644 index 000000000..59f6b14db --- /dev/null +++ b/src/views/newDraw/list.vue @@ -0,0 +1,166 @@ + + + + +