From 6aad0cad97147cdadf636f306637572f9e403b7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=B5=A9=E7=8E=AE?= Date: Wed, 14 Jul 2021 13:33:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/ranger.js | 1 - src/pages/ranger/basic/line/add_edit.vue | 74 +++++++++++++++++++ src/pages/ranger/basic/line/exempt.vue | 43 +++++++++++ src/pages/ranger/basic/line/index.vue | 91 ++++++++++++++++++++++++ src/router/config.js | 10 ++- 5 files changed, 215 insertions(+), 4 deletions(-) create mode 100644 src/pages/ranger/basic/line/add_edit.vue create mode 100644 src/pages/ranger/basic/line/exempt.vue create mode 100644 src/pages/ranger/basic/line/index.vue diff --git a/src/api/ranger.js b/src/api/ranger.js index da31e6e..5488d07 100644 --- a/src/api/ranger.js +++ b/src/api/ranger.js @@ -48,7 +48,6 @@ export function getUnitInfoApi(id) { return getReq(`/ranger/inspection/api/v1/units/${id}`); } -<<<<<<< src/api/ranger.js export function getItemsInfoApi(id) { return getReq(`/ranger/inspection/api/v1/items/${id}`); } diff --git a/src/pages/ranger/basic/line/add_edit.vue b/src/pages/ranger/basic/line/add_edit.vue new file mode 100644 index 0000000..90a1fa8 --- /dev/null +++ b/src/pages/ranger/basic/line/add_edit.vue @@ -0,0 +1,74 @@ + + + diff --git a/src/pages/ranger/basic/line/exempt.vue b/src/pages/ranger/basic/line/exempt.vue new file mode 100644 index 0000000..84db6d3 --- /dev/null +++ b/src/pages/ranger/basic/line/exempt.vue @@ -0,0 +1,43 @@ + + + diff --git a/src/pages/ranger/basic/line/index.vue b/src/pages/ranger/basic/line/index.vue new file mode 100644 index 0000000..ee89014 --- /dev/null +++ b/src/pages/ranger/basic/line/index.vue @@ -0,0 +1,91 @@ + + + diff --git a/src/router/config.js b/src/router/config.js index f5dae71..cc4e3a1 100644 --- a/src/router/config.js +++ b/src/router/config.js @@ -81,15 +81,19 @@ const hasAuthorityRoutes = [ component: () => import('@/pages/ranger/basic/unit'), }, { - path: 'item', name: '项目配置', component: () => import('@/pages/ranger/basic/item'), - },{ + }, + { + path: 'line', + name: '线路配置', + component: () => import('@/pages/ranger/basic/line'), + }, + { path: 'exemption', name: '免检配置', component: () => import('@/pages/ranger/basic/exemption'), - }, ], }, -- GitLab