From f9bab3da35d831693066e94c9eae9cea85b463e5 Mon Sep 17 00:00:00 2001 From: lVAL Date: Tue, 27 Oct 2020 18:32:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0AUSline=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/permission.js | 2 +- src/router/index_Common.js | 12 +- src/utils/baseUrl.js | 4 +- .../editToolAUS/{ => components}/drawer.vue | 4 +- .../{export.vue => dialog/planExport.vue} | 4 +- .../planMonitor/editToolAUS/line/index.vue | 135 ++++++++++++++++++ .../editToolAUS/{ => tool}/index.vue | 24 ++-- .../editToolAUS/{ => tool}/menus.vue | 0 .../editToolAUS/{ => tool}/monitor.js | 11 +- .../editToolAUS/{ => tool}/schedule.vue | 2 +- src/views/planMonitor/editToolAUS/utils.js | 1 - 11 files changed, 170 insertions(+), 29 deletions(-) rename src/views/planMonitor/editToolAUS/{ => components}/drawer.vue (96%) rename src/views/planMonitor/editToolAUS/{export.vue => dialog/planExport.vue} (99%) create mode 100644 src/views/planMonitor/editToolAUS/line/index.vue rename src/views/planMonitor/editToolAUS/{ => tool}/index.vue (96%) rename src/views/planMonitor/editToolAUS/{ => tool}/menus.vue (100%) rename src/views/planMonitor/editToolAUS/{ => tool}/monitor.js (98%) rename src/views/planMonitor/editToolAUS/{ => tool}/schedule.vue (99%) diff --git a/src/permission.js b/src/permission.js index e57d4f663..c99508435 100644 --- a/src/permission.js +++ b/src/permission.js @@ -14,7 +14,7 @@ import localStore from 'storejs'; // return roles.some(role => permissionRoles.indexOf(role) >= 0); // } -const whiteList = ['/login', '/design/login', '/gzzbxy/relay', '/authorization', '/AUStool']; // 不重定向白名单 +const whiteList = ['/login', '/design/login', '/gzzbxy/relay', '/authorization', '/AUSline', '/AUStool']; // 不重定向白名单 // const designPageRegex = [/^\/design/, /^\/scriptDisplay/, /^\/publish/, /^\/orderauthor/, /^\/system/, /^\/iscs/, /^\/display\/record/, /^\/display\/manage/, /^\/apply/, /^\/plan/, /^\/display\/plan/, /^\/displayNew\/record/, /^\/displayNew\/manage/, /^\/displayNew\/plan/, /^\/practiceDisplayNew/, /^\/bigSplitScreen/]; diff --git a/src/router/index_Common.js b/src/router/index_Common.js index a15745950..3ec99e1e0 100644 --- a/src/router/index_Common.js +++ b/src/router/index_Common.js @@ -80,7 +80,8 @@ const ExamCourseDetail = () => import('@/views/exam/detail/courseDetail'); const DemonstrationDetail = () => import('@/views/demonstration/detail/index'); const PlanMonitorEditTool = () => import('@/views/planMonitor/editTool/index'); -const PlanMonitorEditAUSTool = () => import('@/views/planMonitor/editToolAUS/index'); +const PlanMonitorEditAUSTool = () => import('@/views/planMonitor/editToolAUS/tool/index'); +const PlanMonitorEditAUSLine = () => import('@/views/planMonitor/editToolAUS/line/index'); const PlanMonitorDetail = () => import('@/views/planMonitor/detail'); const DesignPlatformHome = () => import('@/views/designPlatform/home'); @@ -210,12 +211,17 @@ export const constantRoutes = [ path: '/design/jlmap3d/assetmanager', component: Jlmap3dAssetManager, hidden: true - }, + }, + { // 线信息 + path: '/AUSline', + component: PlanMonitorEditAUSLine, + hidden: true + }, { // 运行图编辑 path: '/AUStool', component: PlanMonitorEditAUSTool, hidden: true - }, + }, { path: '/jlmap3d/sandbox', component: Jlmap3dSandbox, diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js index 7bb629cc4..49f270cfe 100644 --- a/src/utils/baseUrl.js +++ b/src/utils/baseUrl.js @@ -2,8 +2,8 @@ export function getBaseUrl() { let BASE_API; if (process.env.NODE_ENV === 'development') { // BASE_API = 'https://joylink.club/jlcloud'; - BASE_API = 'https://test.joylink.club/jlcloud'; - // BASE_API = 'http://192.168.8.107:9000'; // 袁琪 + // BASE_API = 'https://test.joylink.club/jlcloud'; + BASE_API = 'http://192.168.8.107:9000'; // 袁琪 // BASE_API = 'http://192.168.3.5:9000'; // 袁琪 // BASE_API = 'http://192.168.3.169:9000'; // 旭强 // BASE_API = 'http://192.168.3.175:9000'; // 张赛 diff --git a/src/views/planMonitor/editToolAUS/drawer.vue b/src/views/planMonitor/editToolAUS/components/drawer.vue similarity index 96% rename from src/views/planMonitor/editToolAUS/drawer.vue rename to src/views/planMonitor/editToolAUS/components/drawer.vue index d162ebf4a..3cb64f3e1 100644 --- a/src/views/planMonitor/editToolAUS/drawer.vue +++ b/src/views/planMonitor/editToolAUS/components/drawer.vue @@ -1,6 +1,6 @@ + + diff --git a/src/views/planMonitor/editToolAUS/index.vue b/src/views/planMonitor/editToolAUS/tool/index.vue similarity index 96% rename from src/views/planMonitor/editToolAUS/index.vue rename to src/views/planMonitor/editToolAUS/tool/index.vue index ec9089b26..b033d5d8e 100644 --- a/src/views/planMonitor/editToolAUS/index.vue +++ b/src/views/planMonitor/editToolAUS/tool/index.vue @@ -62,26 +62,27 @@ + +