From 0d3119eb1b7a8765efb9722df23b3a5a7b8d901d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B0=B4=E8=90=BD=28YangLei=29?= Date: Mon, 12 Jul 2021 17:08:35 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B7=AF=E7=94=B1=E5=A4=84=E7=90=86?= =?UTF-8?q?=EF=BC=8C=E5=91=A8=E6=8A=A5=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/table/month_select.vue | 15 +++++++ src/pages/xunjian/basic/region/index.js | 3 ++ src/pages/xunjian/basic/region/index.vue | 3 ++ src/pages/xunjian/report/month/index.js | 3 ++ src/pages/xunjian/report/month/index.vue | 55 ++++++++++++++++++++++++ src/router/config.js | 17 ++++++++ 6 files changed, 96 insertions(+) create mode 100644 src/components/table/month_select.vue create mode 100644 src/pages/xunjian/basic/region/index.js create mode 100644 src/pages/xunjian/basic/region/index.vue create mode 100644 src/pages/xunjian/report/month/index.js create mode 100644 src/pages/xunjian/report/month/index.vue diff --git a/src/components/table/month_select.vue b/src/components/table/month_select.vue new file mode 100644 index 0000000..75caf6b --- /dev/null +++ b/src/components/table/month_select.vue @@ -0,0 +1,15 @@ + + + diff --git a/src/pages/xunjian/basic/region/index.js b/src/pages/xunjian/basic/region/index.js new file mode 100644 index 0000000..65e6b7a --- /dev/null +++ b/src/pages/xunjian/basic/region/index.js @@ -0,0 +1,3 @@ +import Index from './index.vue'; + +export default Index; diff --git a/src/pages/xunjian/basic/region/index.vue b/src/pages/xunjian/basic/region/index.vue new file mode 100644 index 0000000..5d388a2 --- /dev/null +++ b/src/pages/xunjian/basic/region/index.vue @@ -0,0 +1,3 @@ + diff --git a/src/pages/xunjian/report/month/index.js b/src/pages/xunjian/report/month/index.js new file mode 100644 index 0000000..65e6b7a --- /dev/null +++ b/src/pages/xunjian/report/month/index.js @@ -0,0 +1,3 @@ +import Index from './index.vue'; + +export default Index; diff --git a/src/pages/xunjian/report/month/index.vue b/src/pages/xunjian/report/month/index.vue new file mode 100644 index 0000000..4a17422 --- /dev/null +++ b/src/pages/xunjian/report/month/index.vue @@ -0,0 +1,55 @@ + + + diff --git a/src/router/config.js b/src/router/config.js index f56b1ff..fd8a0ed 100644 --- a/src/router/config.js +++ b/src/router/config.js @@ -60,6 +60,18 @@ const hasAuthorityRoutes = [ name: '巡检管理', component: PageTemplateView, children: [ + { + path: 'basic', + name: '基础数据配置', + component: RouterView, + children: [ + { + path: 'region', + name: '地区配置', + component: () => import('@/pages/xunjian/basic/region'), + }, + ], + }, { path: 'task', name: '任务管理', @@ -82,6 +94,11 @@ const hasAuthorityRoutes = [ name: '巡检周报', component: () => import('@/pages/xunjian/report/weekly'), }, + { + path: 'month', + name: '巡检月报', + component: () => import('@/pages/xunjian/report/month'), + }, ], }, ], -- GitLab