From 3cea87e99e29b7763e7835c9b046a4a1b63b59ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=B5=A9=E7=8E=AE?= Date: Wed, 30 Jun 2021 22:01:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../view/organization/OrgManagement.vue | 4 -- src/pages/system/view/organization/index.js | 3 - .../system/view/parameter/ParamManagement.vue | 4 -- .../system/view/parameter/business/form.vue | 36 ++++++++++++ .../system/view/parameter/business/index.vue | 55 +++++++++++++++++++ src/pages/system/view/parameter/index.js | 3 - src/router/async/router.map.js | 37 ++++++------- src/router/config.js | 10 +++- 8 files changed, 118 insertions(+), 34 deletions(-) delete mode 100644 src/pages/system/view/organization/OrgManagement.vue delete mode 100644 src/pages/system/view/organization/index.js delete mode 100644 src/pages/system/view/parameter/ParamManagement.vue create mode 100644 src/pages/system/view/parameter/business/form.vue create mode 100644 src/pages/system/view/parameter/business/index.vue delete mode 100644 src/pages/system/view/parameter/index.js diff --git a/src/pages/system/view/organization/OrgManagement.vue b/src/pages/system/view/organization/OrgManagement.vue deleted file mode 100644 index 1384fc2..0000000 --- a/src/pages/system/view/organization/OrgManagement.vue +++ /dev/null @@ -1,4 +0,0 @@ - - \ No newline at end of file diff --git a/src/pages/system/view/organization/index.js b/src/pages/system/view/organization/index.js deleted file mode 100644 index bd88678..0000000 --- a/src/pages/system/view/organization/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import OrgManagement from './OrgManagement'; - -export default OrgManagement; \ No newline at end of file diff --git a/src/pages/system/view/parameter/ParamManagement.vue b/src/pages/system/view/parameter/ParamManagement.vue deleted file mode 100644 index 1384fc2..0000000 --- a/src/pages/system/view/parameter/ParamManagement.vue +++ /dev/null @@ -1,4 +0,0 @@ - - \ No newline at end of file diff --git a/src/pages/system/view/parameter/business/form.vue b/src/pages/system/view/parameter/business/form.vue new file mode 100644 index 0000000..7b8a493 --- /dev/null +++ b/src/pages/system/view/parameter/business/form.vue @@ -0,0 +1,36 @@ + + + diff --git a/src/pages/system/view/parameter/business/index.vue b/src/pages/system/view/parameter/business/index.vue new file mode 100644 index 0000000..7af0d57 --- /dev/null +++ b/src/pages/system/view/parameter/business/index.vue @@ -0,0 +1,55 @@ + + \ No newline at end of file diff --git a/src/pages/system/view/parameter/index.js b/src/pages/system/view/parameter/index.js deleted file mode 100644 index 702492d..0000000 --- a/src/pages/system/view/parameter/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import ParamManagement from './ParamManagement'; - -export default ParamManagement; \ No newline at end of file diff --git a/src/router/async/router.map.js b/src/router/async/router.map.js index c0ba6b4..2f5823d 100644 --- a/src/router/async/router.map.js +++ b/src/router/async/router.map.js @@ -1,4 +1,3 @@ - // 视图组件 const view = { tabs: () => import('@/pages/frame/view/template/TabsTemplateView'), @@ -20,20 +19,20 @@ const routerMap = { component: view.tabs, }, exp403: { - authority: "*", - name: "403错误", - path: "403", - component: () => import("@/pages/frame/view/exception/403"), + authority: '*', + name: '403错误', + path: '403', + component: () => import('@/pages/frame/view/exception/403'), }, exp404: { - name: "404错误", - path: "404", - component: () => import("@/pages/frame/view/exception/404"), + name: '404错误', + path: '404', + component: () => import('@/pages/frame/view/exception/404'), }, exp500: { - name: "500错误", - path: "500", - component: () => import("@/pages/frame/view/exception/500"), + name: '500错误', + path: '500', + component: () => import('@/pages/frame/view/exception/500'), }, dashboard: { name: 'Dashboard', @@ -56,10 +55,10 @@ const routerMap = { component: () => import('@/pages/system/view/menu'), }, - organization_management: { - name: '组织管理', - component: () => import('@/pages/system/view/organization'), - }, + // organization_management: { + // name: '组织管理', + // component: () => import('@/pages/system/view/organization'), + // }, user_management: { name: '用户管理', component: () => import('@/pages/system/view/user'), @@ -68,10 +67,10 @@ const routerMap = { name: '角色管理', component: () => import('@/pages/system/view/role'), }, - parameter_management: { - name: '参数管理', - component: () => import('@/pages/system/view/parameter'), - }, + // parameter_management: { + // name: '参数管理', + // component: () => import('@/pages/system/view/parameter'), + // }, log_management: { name: '日志管理', component: () => import('@/pages/system/view/log'), diff --git a/src/router/config.js b/src/router/config.js index ae3948d..c846c98 100644 --- a/src/router/config.js +++ b/src/router/config.js @@ -110,7 +110,15 @@ const options = { { path: 'parameter_management', name: '参数管理', - component: () => import('@/pages/system/view/parameter'), + component: BlankTemplateView, + children: [ + { + path: 'business_management', + name: '业务参数', + component: () => + import('@/pages/system/view/parameter/business/index.vue'), + }, + ], }, { path: 'log_management', -- GitLab