diff --git a/src/router/modules/measure.ts b/src/router/modules/measure.ts
new file mode 100644
index 0000000..76e9abc
--- /dev/null
+++ b/src/router/modules/measure.ts
@@ -0,0 +1,191 @@
+import type { Route } from '@/global'
+
+const Layout = () => import('@/layouts/index.vue')
+
+const routes: Route.recordRaw[] = [
+ {
+ path: '/bench',
+ component: Layout,
+ redirect: '/bench/list',
+ name: 'AreaManage',
+ meta: {
+ title: '工作台',
+ icon: 'ep:key',
+ auth: '/measure/bench',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'BenchList',
+ component: () => import('@/views/system/area/bench.vue'),
+ meta: {
+ title: '工作台',
+ auth: '/measure/bench',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
+ path: '/file',
+ component: Layout,
+ redirect: '/file/quality',
+ name: 'File',
+ meta: {
+ title: '计量文件',
+ icon: 'ep:key',
+ auth: '/file',
+ },
+ children: [
+ {
+ path: 'quality',
+ name: 'QualityFile',
+ component: () => import('@/views/measure/file/quality.vue'),
+ meta: {
+ title: '质量文件',
+ icon: 'ep:key',
+ auth: '/file/quality',
+ },
+ },
+ {
+ path: 'rules',
+ name: 'Rules',
+ component: () => import('@/views/measure/file/rules.vue'),
+ meta: {
+ title: '规章制度',
+ icon: 'ep:key',
+ auth: '/file/rules',
+ },
+ },
+ {
+ path: 'manageMethod',
+ name: '',
+ component: () => import('@/views/measure/file/manageMethod.vue'),
+ meta: {
+ title: '管理办法',
+ icon: 'ep:key',
+ auth: '/file/ManageMethod',
+ },
+ },
+ {
+ path: 'testingMethod',
+ name: '',
+ component: () => import('@/views/measure/file/testingMethod.vue'),
+ meta: {
+ title: '校准检测办法',
+ icon: 'ep:key',
+ auth: '/file/testingMethod',
+ },
+ },
+ {
+ path: 'measureRule',
+ name: '',
+ component: () => import('@/views/measure/file/measureRule.vue'),
+ meta: {
+ title: '计量规程',
+ icon: 'ep:key',
+ auth: '/file/measureRule',
+ },
+ },
+ {
+ path: 'approve',
+ name: '',
+ component: () => import('@/views/measure/file/approve.vue'),
+ meta: {
+ title: '文件审批',
+ icon: 'ep:key',
+ auth: '/file/approve',
+ },
+ },
+ ],
+ },
+ {
+ path: '/measure/person',
+ component: Layout,
+ redirect: '/measure/person/list',
+ name: 'Person',
+ meta: {
+ title: '计量人员',
+ icon: 'ep:key',
+ auth: '/person',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'PersonList',
+ component: () => import('@/views/measure/person/list.vue'),
+ meta: {
+ title: '计量人员列表',
+ icon: 'ep:key',
+ auth: '/measure/person/list',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+ {
+ path: '/train',
+ component: Layout,
+ redirect: '/measure/train/plan',
+ name: 'Train',
+ meta: {
+ title: '培训管理',
+ icon: 'ep:key',
+ auth: '/measure/train',
+ },
+ children: [
+ {
+ path: 'plan',
+ name: 'TrainPlan',
+ component: () => import('@/views/measure/train/plan.vue'),
+ meta: {
+ title: '培训计划',
+ icon: 'ep:key',
+ auth: '/measure/train/plan',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+]
+
+export default routes
diff --git a/src/router/modules/measure.ts b/src/router/modules/measure.ts
new file mode 100644
index 0000000..76e9abc
--- /dev/null
+++ b/src/router/modules/measure.ts
@@ -0,0 +1,191 @@
+import type { Route } from '@/global'
+
+const Layout = () => import('@/layouts/index.vue')
+
+const routes: Route.recordRaw[] = [
+ {
+ path: '/bench',
+ component: Layout,
+ redirect: '/bench/list',
+ name: 'AreaManage',
+ meta: {
+ title: '工作台',
+ icon: 'ep:key',
+ auth: '/measure/bench',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'BenchList',
+ component: () => import('@/views/system/area/bench.vue'),
+ meta: {
+ title: '工作台',
+ auth: '/measure/bench',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
+ path: '/file',
+ component: Layout,
+ redirect: '/file/quality',
+ name: 'File',
+ meta: {
+ title: '计量文件',
+ icon: 'ep:key',
+ auth: '/file',
+ },
+ children: [
+ {
+ path: 'quality',
+ name: 'QualityFile',
+ component: () => import('@/views/measure/file/quality.vue'),
+ meta: {
+ title: '质量文件',
+ icon: 'ep:key',
+ auth: '/file/quality',
+ },
+ },
+ {
+ path: 'rules',
+ name: 'Rules',
+ component: () => import('@/views/measure/file/rules.vue'),
+ meta: {
+ title: '规章制度',
+ icon: 'ep:key',
+ auth: '/file/rules',
+ },
+ },
+ {
+ path: 'manageMethod',
+ name: '',
+ component: () => import('@/views/measure/file/manageMethod.vue'),
+ meta: {
+ title: '管理办法',
+ icon: 'ep:key',
+ auth: '/file/ManageMethod',
+ },
+ },
+ {
+ path: 'testingMethod',
+ name: '',
+ component: () => import('@/views/measure/file/testingMethod.vue'),
+ meta: {
+ title: '校准检测办法',
+ icon: 'ep:key',
+ auth: '/file/testingMethod',
+ },
+ },
+ {
+ path: 'measureRule',
+ name: '',
+ component: () => import('@/views/measure/file/measureRule.vue'),
+ meta: {
+ title: '计量规程',
+ icon: 'ep:key',
+ auth: '/file/measureRule',
+ },
+ },
+ {
+ path: 'approve',
+ name: '',
+ component: () => import('@/views/measure/file/approve.vue'),
+ meta: {
+ title: '文件审批',
+ icon: 'ep:key',
+ auth: '/file/approve',
+ },
+ },
+ ],
+ },
+ {
+ path: '/measure/person',
+ component: Layout,
+ redirect: '/measure/person/list',
+ name: 'Person',
+ meta: {
+ title: '计量人员',
+ icon: 'ep:key',
+ auth: '/person',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'PersonList',
+ component: () => import('@/views/measure/person/list.vue'),
+ meta: {
+ title: '计量人员列表',
+ icon: 'ep:key',
+ auth: '/measure/person/list',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+ {
+ path: '/train',
+ component: Layout,
+ redirect: '/measure/train/plan',
+ name: 'Train',
+ meta: {
+ title: '培训管理',
+ icon: 'ep:key',
+ auth: '/measure/train',
+ },
+ children: [
+ {
+ path: 'plan',
+ name: 'TrainPlan',
+ component: () => import('@/views/measure/train/plan.vue'),
+ meta: {
+ title: '培训计划',
+ icon: 'ep:key',
+ auth: '/measure/train/plan',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+]
+
+export default routes
diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts
index 449e66a..feec73f 100644
--- a/src/router/modules/system.ts
+++ b/src/router/modules/system.ts
@@ -148,6 +148,30 @@
],
},
{
+ path: '/process',
+ component: Layout,
+ redirect: '/process/list',
+ name: 'Process',
+ meta: {
+ title: '流程管理',
+ icon: 'ep:key',
+ auth: '/sys/process',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'ProcessList',
+ component: () => import('@/views/system/process/process.vue'),
+ meta: {
+ title: '流程管理',
+ auth: '/sys/process',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
path: '/tenant',
component: Layout,
redirect: '/tenant/list',
diff --git a/src/router/modules/measure.ts b/src/router/modules/measure.ts
new file mode 100644
index 0000000..76e9abc
--- /dev/null
+++ b/src/router/modules/measure.ts
@@ -0,0 +1,191 @@
+import type { Route } from '@/global'
+
+const Layout = () => import('@/layouts/index.vue')
+
+const routes: Route.recordRaw[] = [
+ {
+ path: '/bench',
+ component: Layout,
+ redirect: '/bench/list',
+ name: 'AreaManage',
+ meta: {
+ title: '工作台',
+ icon: 'ep:key',
+ auth: '/measure/bench',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'BenchList',
+ component: () => import('@/views/system/area/bench.vue'),
+ meta: {
+ title: '工作台',
+ auth: '/measure/bench',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
+ path: '/file',
+ component: Layout,
+ redirect: '/file/quality',
+ name: 'File',
+ meta: {
+ title: '计量文件',
+ icon: 'ep:key',
+ auth: '/file',
+ },
+ children: [
+ {
+ path: 'quality',
+ name: 'QualityFile',
+ component: () => import('@/views/measure/file/quality.vue'),
+ meta: {
+ title: '质量文件',
+ icon: 'ep:key',
+ auth: '/file/quality',
+ },
+ },
+ {
+ path: 'rules',
+ name: 'Rules',
+ component: () => import('@/views/measure/file/rules.vue'),
+ meta: {
+ title: '规章制度',
+ icon: 'ep:key',
+ auth: '/file/rules',
+ },
+ },
+ {
+ path: 'manageMethod',
+ name: '',
+ component: () => import('@/views/measure/file/manageMethod.vue'),
+ meta: {
+ title: '管理办法',
+ icon: 'ep:key',
+ auth: '/file/ManageMethod',
+ },
+ },
+ {
+ path: 'testingMethod',
+ name: '',
+ component: () => import('@/views/measure/file/testingMethod.vue'),
+ meta: {
+ title: '校准检测办法',
+ icon: 'ep:key',
+ auth: '/file/testingMethod',
+ },
+ },
+ {
+ path: 'measureRule',
+ name: '',
+ component: () => import('@/views/measure/file/measureRule.vue'),
+ meta: {
+ title: '计量规程',
+ icon: 'ep:key',
+ auth: '/file/measureRule',
+ },
+ },
+ {
+ path: 'approve',
+ name: '',
+ component: () => import('@/views/measure/file/approve.vue'),
+ meta: {
+ title: '文件审批',
+ icon: 'ep:key',
+ auth: '/file/approve',
+ },
+ },
+ ],
+ },
+ {
+ path: '/measure/person',
+ component: Layout,
+ redirect: '/measure/person/list',
+ name: 'Person',
+ meta: {
+ title: '计量人员',
+ icon: 'ep:key',
+ auth: '/person',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'PersonList',
+ component: () => import('@/views/measure/person/list.vue'),
+ meta: {
+ title: '计量人员列表',
+ icon: 'ep:key',
+ auth: '/measure/person/list',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+ {
+ path: '/train',
+ component: Layout,
+ redirect: '/measure/train/plan',
+ name: 'Train',
+ meta: {
+ title: '培训管理',
+ icon: 'ep:key',
+ auth: '/measure/train',
+ },
+ children: [
+ {
+ path: 'plan',
+ name: 'TrainPlan',
+ component: () => import('@/views/measure/train/plan.vue'),
+ meta: {
+ title: '培训计划',
+ icon: 'ep:key',
+ auth: '/measure/train/plan',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+]
+
+export default routes
diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts
index 449e66a..feec73f 100644
--- a/src/router/modules/system.ts
+++ b/src/router/modules/system.ts
@@ -148,6 +148,30 @@
],
},
{
+ path: '/process',
+ component: Layout,
+ redirect: '/process/list',
+ name: 'Process',
+ meta: {
+ title: '流程管理',
+ icon: 'ep:key',
+ auth: '/sys/process',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'ProcessList',
+ component: () => import('@/views/system/process/process.vue'),
+ meta: {
+ title: '流程管理',
+ auth: '/sys/process',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
path: '/tenant',
component: Layout,
redirect: '/tenant/list',
diff --git a/src/router/routes.ts b/src/router/routes.ts
index 50cecdc..fbbf7a4 100644
--- a/src/router/routes.ts
+++ b/src/router/routes.ts
@@ -3,6 +3,7 @@
import MultilevelMenuExample from './modules/multilevel.menu.example'
import BreadcrumbExample from './modules/breadcrumb.example'
import systemRoute from './modules/system'
+import measureRoute from './modules/measure'
import type { Route } from '@/global'
import useSettingsStore from '@/store/modules/settings'
@@ -153,11 +154,10 @@
meta: {
title: '计量管理',
icon: '',
- auth: 'jlgl',
+ auth: '/measure',
},
children: [
- MultilevelMenuExample,
- BreadcrumbExample,
+ ...measureRoute,
],
},
{
diff --git a/src/router/modules/measure.ts b/src/router/modules/measure.ts
new file mode 100644
index 0000000..76e9abc
--- /dev/null
+++ b/src/router/modules/measure.ts
@@ -0,0 +1,191 @@
+import type { Route } from '@/global'
+
+const Layout = () => import('@/layouts/index.vue')
+
+const routes: Route.recordRaw[] = [
+ {
+ path: '/bench',
+ component: Layout,
+ redirect: '/bench/list',
+ name: 'AreaManage',
+ meta: {
+ title: '工作台',
+ icon: 'ep:key',
+ auth: '/measure/bench',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'BenchList',
+ component: () => import('@/views/system/area/bench.vue'),
+ meta: {
+ title: '工作台',
+ auth: '/measure/bench',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
+ path: '/file',
+ component: Layout,
+ redirect: '/file/quality',
+ name: 'File',
+ meta: {
+ title: '计量文件',
+ icon: 'ep:key',
+ auth: '/file',
+ },
+ children: [
+ {
+ path: 'quality',
+ name: 'QualityFile',
+ component: () => import('@/views/measure/file/quality.vue'),
+ meta: {
+ title: '质量文件',
+ icon: 'ep:key',
+ auth: '/file/quality',
+ },
+ },
+ {
+ path: 'rules',
+ name: 'Rules',
+ component: () => import('@/views/measure/file/rules.vue'),
+ meta: {
+ title: '规章制度',
+ icon: 'ep:key',
+ auth: '/file/rules',
+ },
+ },
+ {
+ path: 'manageMethod',
+ name: '',
+ component: () => import('@/views/measure/file/manageMethod.vue'),
+ meta: {
+ title: '管理办法',
+ icon: 'ep:key',
+ auth: '/file/ManageMethod',
+ },
+ },
+ {
+ path: 'testingMethod',
+ name: '',
+ component: () => import('@/views/measure/file/testingMethod.vue'),
+ meta: {
+ title: '校准检测办法',
+ icon: 'ep:key',
+ auth: '/file/testingMethod',
+ },
+ },
+ {
+ path: 'measureRule',
+ name: '',
+ component: () => import('@/views/measure/file/measureRule.vue'),
+ meta: {
+ title: '计量规程',
+ icon: 'ep:key',
+ auth: '/file/measureRule',
+ },
+ },
+ {
+ path: 'approve',
+ name: '',
+ component: () => import('@/views/measure/file/approve.vue'),
+ meta: {
+ title: '文件审批',
+ icon: 'ep:key',
+ auth: '/file/approve',
+ },
+ },
+ ],
+ },
+ {
+ path: '/measure/person',
+ component: Layout,
+ redirect: '/measure/person/list',
+ name: 'Person',
+ meta: {
+ title: '计量人员',
+ icon: 'ep:key',
+ auth: '/person',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'PersonList',
+ component: () => import('@/views/measure/person/list.vue'),
+ meta: {
+ title: '计量人员列表',
+ icon: 'ep:key',
+ auth: '/measure/person/list',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+ {
+ path: '/train',
+ component: Layout,
+ redirect: '/measure/train/plan',
+ name: 'Train',
+ meta: {
+ title: '培训管理',
+ icon: 'ep:key',
+ auth: '/measure/train',
+ },
+ children: [
+ {
+ path: 'plan',
+ name: 'TrainPlan',
+ component: () => import('@/views/measure/train/plan.vue'),
+ meta: {
+ title: '培训计划',
+ icon: 'ep:key',
+ auth: '/measure/train/plan',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+]
+
+export default routes
diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts
index 449e66a..feec73f 100644
--- a/src/router/modules/system.ts
+++ b/src/router/modules/system.ts
@@ -148,6 +148,30 @@
],
},
{
+ path: '/process',
+ component: Layout,
+ redirect: '/process/list',
+ name: 'Process',
+ meta: {
+ title: '流程管理',
+ icon: 'ep:key',
+ auth: '/sys/process',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'ProcessList',
+ component: () => import('@/views/system/process/process.vue'),
+ meta: {
+ title: '流程管理',
+ auth: '/sys/process',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
path: '/tenant',
component: Layout,
redirect: '/tenant/list',
diff --git a/src/router/routes.ts b/src/router/routes.ts
index 50cecdc..fbbf7a4 100644
--- a/src/router/routes.ts
+++ b/src/router/routes.ts
@@ -3,6 +3,7 @@
import MultilevelMenuExample from './modules/multilevel.menu.example'
import BreadcrumbExample from './modules/breadcrumb.example'
import systemRoute from './modules/system'
+import measureRoute from './modules/measure'
import type { Route } from '@/global'
import useSettingsStore from '@/store/modules/settings'
@@ -153,11 +154,10 @@
meta: {
title: '计量管理',
icon: '',
- auth: 'jlgl',
+ auth: '/measure',
},
children: [
- MultilevelMenuExample,
- BreadcrumbExample,
+ ...measureRoute,
],
},
{
diff --git a/src/views/measure/bench/bench.vue b/src/views/measure/bench/bench.vue
new file mode 100644
index 0000000..adf4bb1
--- /dev/null
+++ b/src/views/measure/bench/bench.vue
@@ -0,0 +1,5 @@
+
+
+ 工作台
+
+
diff --git a/src/router/modules/measure.ts b/src/router/modules/measure.ts
new file mode 100644
index 0000000..76e9abc
--- /dev/null
+++ b/src/router/modules/measure.ts
@@ -0,0 +1,191 @@
+import type { Route } from '@/global'
+
+const Layout = () => import('@/layouts/index.vue')
+
+const routes: Route.recordRaw[] = [
+ {
+ path: '/bench',
+ component: Layout,
+ redirect: '/bench/list',
+ name: 'AreaManage',
+ meta: {
+ title: '工作台',
+ icon: 'ep:key',
+ auth: '/measure/bench',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'BenchList',
+ component: () => import('@/views/system/area/bench.vue'),
+ meta: {
+ title: '工作台',
+ auth: '/measure/bench',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
+ path: '/file',
+ component: Layout,
+ redirect: '/file/quality',
+ name: 'File',
+ meta: {
+ title: '计量文件',
+ icon: 'ep:key',
+ auth: '/file',
+ },
+ children: [
+ {
+ path: 'quality',
+ name: 'QualityFile',
+ component: () => import('@/views/measure/file/quality.vue'),
+ meta: {
+ title: '质量文件',
+ icon: 'ep:key',
+ auth: '/file/quality',
+ },
+ },
+ {
+ path: 'rules',
+ name: 'Rules',
+ component: () => import('@/views/measure/file/rules.vue'),
+ meta: {
+ title: '规章制度',
+ icon: 'ep:key',
+ auth: '/file/rules',
+ },
+ },
+ {
+ path: 'manageMethod',
+ name: '',
+ component: () => import('@/views/measure/file/manageMethod.vue'),
+ meta: {
+ title: '管理办法',
+ icon: 'ep:key',
+ auth: '/file/ManageMethod',
+ },
+ },
+ {
+ path: 'testingMethod',
+ name: '',
+ component: () => import('@/views/measure/file/testingMethod.vue'),
+ meta: {
+ title: '校准检测办法',
+ icon: 'ep:key',
+ auth: '/file/testingMethod',
+ },
+ },
+ {
+ path: 'measureRule',
+ name: '',
+ component: () => import('@/views/measure/file/measureRule.vue'),
+ meta: {
+ title: '计量规程',
+ icon: 'ep:key',
+ auth: '/file/measureRule',
+ },
+ },
+ {
+ path: 'approve',
+ name: '',
+ component: () => import('@/views/measure/file/approve.vue'),
+ meta: {
+ title: '文件审批',
+ icon: 'ep:key',
+ auth: '/file/approve',
+ },
+ },
+ ],
+ },
+ {
+ path: '/measure/person',
+ component: Layout,
+ redirect: '/measure/person/list',
+ name: 'Person',
+ meta: {
+ title: '计量人员',
+ icon: 'ep:key',
+ auth: '/person',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'PersonList',
+ component: () => import('@/views/measure/person/list.vue'),
+ meta: {
+ title: '计量人员列表',
+ icon: 'ep:key',
+ auth: '/measure/person/list',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+ {
+ path: '/train',
+ component: Layout,
+ redirect: '/measure/train/plan',
+ name: 'Train',
+ meta: {
+ title: '培训管理',
+ icon: 'ep:key',
+ auth: '/measure/train',
+ },
+ children: [
+ {
+ path: 'plan',
+ name: 'TrainPlan',
+ component: () => import('@/views/measure/train/plan.vue'),
+ meta: {
+ title: '培训计划',
+ icon: 'ep:key',
+ auth: '/measure/train/plan',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+]
+
+export default routes
diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts
index 449e66a..feec73f 100644
--- a/src/router/modules/system.ts
+++ b/src/router/modules/system.ts
@@ -148,6 +148,30 @@
],
},
{
+ path: '/process',
+ component: Layout,
+ redirect: '/process/list',
+ name: 'Process',
+ meta: {
+ title: '流程管理',
+ icon: 'ep:key',
+ auth: '/sys/process',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'ProcessList',
+ component: () => import('@/views/system/process/process.vue'),
+ meta: {
+ title: '流程管理',
+ auth: '/sys/process',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
path: '/tenant',
component: Layout,
redirect: '/tenant/list',
diff --git a/src/router/routes.ts b/src/router/routes.ts
index 50cecdc..fbbf7a4 100644
--- a/src/router/routes.ts
+++ b/src/router/routes.ts
@@ -3,6 +3,7 @@
import MultilevelMenuExample from './modules/multilevel.menu.example'
import BreadcrumbExample from './modules/breadcrumb.example'
import systemRoute from './modules/system'
+import measureRoute from './modules/measure'
import type { Route } from '@/global'
import useSettingsStore from '@/store/modules/settings'
@@ -153,11 +154,10 @@
meta: {
title: '计量管理',
icon: '',
- auth: 'jlgl',
+ auth: '/measure',
},
children: [
- MultilevelMenuExample,
- BreadcrumbExample,
+ ...measureRoute,
],
},
{
diff --git a/src/views/measure/bench/bench.vue b/src/views/measure/bench/bench.vue
new file mode 100644
index 0000000..adf4bb1
--- /dev/null
+++ b/src/views/measure/bench/bench.vue
@@ -0,0 +1,5 @@
+
+
+ 工作台
+
+
diff --git a/src/views/measure/file/approve.vue b/src/views/measure/file/approve.vue
new file mode 100644
index 0000000..0e34193
--- /dev/null
+++ b/src/views/measure/file/approve.vue
@@ -0,0 +1,3 @@
+
+ 文件审批
+
diff --git a/src/router/modules/measure.ts b/src/router/modules/measure.ts
new file mode 100644
index 0000000..76e9abc
--- /dev/null
+++ b/src/router/modules/measure.ts
@@ -0,0 +1,191 @@
+import type { Route } from '@/global'
+
+const Layout = () => import('@/layouts/index.vue')
+
+const routes: Route.recordRaw[] = [
+ {
+ path: '/bench',
+ component: Layout,
+ redirect: '/bench/list',
+ name: 'AreaManage',
+ meta: {
+ title: '工作台',
+ icon: 'ep:key',
+ auth: '/measure/bench',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'BenchList',
+ component: () => import('@/views/system/area/bench.vue'),
+ meta: {
+ title: '工作台',
+ auth: '/measure/bench',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
+ path: '/file',
+ component: Layout,
+ redirect: '/file/quality',
+ name: 'File',
+ meta: {
+ title: '计量文件',
+ icon: 'ep:key',
+ auth: '/file',
+ },
+ children: [
+ {
+ path: 'quality',
+ name: 'QualityFile',
+ component: () => import('@/views/measure/file/quality.vue'),
+ meta: {
+ title: '质量文件',
+ icon: 'ep:key',
+ auth: '/file/quality',
+ },
+ },
+ {
+ path: 'rules',
+ name: 'Rules',
+ component: () => import('@/views/measure/file/rules.vue'),
+ meta: {
+ title: '规章制度',
+ icon: 'ep:key',
+ auth: '/file/rules',
+ },
+ },
+ {
+ path: 'manageMethod',
+ name: '',
+ component: () => import('@/views/measure/file/manageMethod.vue'),
+ meta: {
+ title: '管理办法',
+ icon: 'ep:key',
+ auth: '/file/ManageMethod',
+ },
+ },
+ {
+ path: 'testingMethod',
+ name: '',
+ component: () => import('@/views/measure/file/testingMethod.vue'),
+ meta: {
+ title: '校准检测办法',
+ icon: 'ep:key',
+ auth: '/file/testingMethod',
+ },
+ },
+ {
+ path: 'measureRule',
+ name: '',
+ component: () => import('@/views/measure/file/measureRule.vue'),
+ meta: {
+ title: '计量规程',
+ icon: 'ep:key',
+ auth: '/file/measureRule',
+ },
+ },
+ {
+ path: 'approve',
+ name: '',
+ component: () => import('@/views/measure/file/approve.vue'),
+ meta: {
+ title: '文件审批',
+ icon: 'ep:key',
+ auth: '/file/approve',
+ },
+ },
+ ],
+ },
+ {
+ path: '/measure/person',
+ component: Layout,
+ redirect: '/measure/person/list',
+ name: 'Person',
+ meta: {
+ title: '计量人员',
+ icon: 'ep:key',
+ auth: '/person',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'PersonList',
+ component: () => import('@/views/measure/person/list.vue'),
+ meta: {
+ title: '计量人员列表',
+ icon: 'ep:key',
+ auth: '/measure/person/list',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+ {
+ path: '/train',
+ component: Layout,
+ redirect: '/measure/train/plan',
+ name: 'Train',
+ meta: {
+ title: '培训管理',
+ icon: 'ep:key',
+ auth: '/measure/train',
+ },
+ children: [
+ {
+ path: 'plan',
+ name: 'TrainPlan',
+ component: () => import('@/views/measure/train/plan.vue'),
+ meta: {
+ title: '培训计划',
+ icon: 'ep:key',
+ auth: '/measure/train/plan',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+]
+
+export default routes
diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts
index 449e66a..feec73f 100644
--- a/src/router/modules/system.ts
+++ b/src/router/modules/system.ts
@@ -148,6 +148,30 @@
],
},
{
+ path: '/process',
+ component: Layout,
+ redirect: '/process/list',
+ name: 'Process',
+ meta: {
+ title: '流程管理',
+ icon: 'ep:key',
+ auth: '/sys/process',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'ProcessList',
+ component: () => import('@/views/system/process/process.vue'),
+ meta: {
+ title: '流程管理',
+ auth: '/sys/process',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
path: '/tenant',
component: Layout,
redirect: '/tenant/list',
diff --git a/src/router/routes.ts b/src/router/routes.ts
index 50cecdc..fbbf7a4 100644
--- a/src/router/routes.ts
+++ b/src/router/routes.ts
@@ -3,6 +3,7 @@
import MultilevelMenuExample from './modules/multilevel.menu.example'
import BreadcrumbExample from './modules/breadcrumb.example'
import systemRoute from './modules/system'
+import measureRoute from './modules/measure'
import type { Route } from '@/global'
import useSettingsStore from '@/store/modules/settings'
@@ -153,11 +154,10 @@
meta: {
title: '计量管理',
icon: '',
- auth: 'jlgl',
+ auth: '/measure',
},
children: [
- MultilevelMenuExample,
- BreadcrumbExample,
+ ...measureRoute,
],
},
{
diff --git a/src/views/measure/bench/bench.vue b/src/views/measure/bench/bench.vue
new file mode 100644
index 0000000..adf4bb1
--- /dev/null
+++ b/src/views/measure/bench/bench.vue
@@ -0,0 +1,5 @@
+
+
+ 工作台
+
+
diff --git a/src/views/measure/file/approve.vue b/src/views/measure/file/approve.vue
new file mode 100644
index 0000000..0e34193
--- /dev/null
+++ b/src/views/measure/file/approve.vue
@@ -0,0 +1,3 @@
+
+ 文件审批
+
diff --git a/src/views/measure/file/manageMethod.vue b/src/views/measure/file/manageMethod.vue
new file mode 100644
index 0000000..62fe36a
--- /dev/null
+++ b/src/views/measure/file/manageMethod.vue
@@ -0,0 +1,3 @@
+
+ 管理办法
+
diff --git a/src/router/modules/measure.ts b/src/router/modules/measure.ts
new file mode 100644
index 0000000..76e9abc
--- /dev/null
+++ b/src/router/modules/measure.ts
@@ -0,0 +1,191 @@
+import type { Route } from '@/global'
+
+const Layout = () => import('@/layouts/index.vue')
+
+const routes: Route.recordRaw[] = [
+ {
+ path: '/bench',
+ component: Layout,
+ redirect: '/bench/list',
+ name: 'AreaManage',
+ meta: {
+ title: '工作台',
+ icon: 'ep:key',
+ auth: '/measure/bench',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'BenchList',
+ component: () => import('@/views/system/area/bench.vue'),
+ meta: {
+ title: '工作台',
+ auth: '/measure/bench',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
+ path: '/file',
+ component: Layout,
+ redirect: '/file/quality',
+ name: 'File',
+ meta: {
+ title: '计量文件',
+ icon: 'ep:key',
+ auth: '/file',
+ },
+ children: [
+ {
+ path: 'quality',
+ name: 'QualityFile',
+ component: () => import('@/views/measure/file/quality.vue'),
+ meta: {
+ title: '质量文件',
+ icon: 'ep:key',
+ auth: '/file/quality',
+ },
+ },
+ {
+ path: 'rules',
+ name: 'Rules',
+ component: () => import('@/views/measure/file/rules.vue'),
+ meta: {
+ title: '规章制度',
+ icon: 'ep:key',
+ auth: '/file/rules',
+ },
+ },
+ {
+ path: 'manageMethod',
+ name: '',
+ component: () => import('@/views/measure/file/manageMethod.vue'),
+ meta: {
+ title: '管理办法',
+ icon: 'ep:key',
+ auth: '/file/ManageMethod',
+ },
+ },
+ {
+ path: 'testingMethod',
+ name: '',
+ component: () => import('@/views/measure/file/testingMethod.vue'),
+ meta: {
+ title: '校准检测办法',
+ icon: 'ep:key',
+ auth: '/file/testingMethod',
+ },
+ },
+ {
+ path: 'measureRule',
+ name: '',
+ component: () => import('@/views/measure/file/measureRule.vue'),
+ meta: {
+ title: '计量规程',
+ icon: 'ep:key',
+ auth: '/file/measureRule',
+ },
+ },
+ {
+ path: 'approve',
+ name: '',
+ component: () => import('@/views/measure/file/approve.vue'),
+ meta: {
+ title: '文件审批',
+ icon: 'ep:key',
+ auth: '/file/approve',
+ },
+ },
+ ],
+ },
+ {
+ path: '/measure/person',
+ component: Layout,
+ redirect: '/measure/person/list',
+ name: 'Person',
+ meta: {
+ title: '计量人员',
+ icon: 'ep:key',
+ auth: '/person',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'PersonList',
+ component: () => import('@/views/measure/person/list.vue'),
+ meta: {
+ title: '计量人员列表',
+ icon: 'ep:key',
+ auth: '/measure/person/list',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+ {
+ path: '/train',
+ component: Layout,
+ redirect: '/measure/train/plan',
+ name: 'Train',
+ meta: {
+ title: '培训管理',
+ icon: 'ep:key',
+ auth: '/measure/train',
+ },
+ children: [
+ {
+ path: 'plan',
+ name: 'TrainPlan',
+ component: () => import('@/views/measure/train/plan.vue'),
+ meta: {
+ title: '培训计划',
+ icon: 'ep:key',
+ auth: '/measure/train/plan',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+]
+
+export default routes
diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts
index 449e66a..feec73f 100644
--- a/src/router/modules/system.ts
+++ b/src/router/modules/system.ts
@@ -148,6 +148,30 @@
],
},
{
+ path: '/process',
+ component: Layout,
+ redirect: '/process/list',
+ name: 'Process',
+ meta: {
+ title: '流程管理',
+ icon: 'ep:key',
+ auth: '/sys/process',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'ProcessList',
+ component: () => import('@/views/system/process/process.vue'),
+ meta: {
+ title: '流程管理',
+ auth: '/sys/process',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
path: '/tenant',
component: Layout,
redirect: '/tenant/list',
diff --git a/src/router/routes.ts b/src/router/routes.ts
index 50cecdc..fbbf7a4 100644
--- a/src/router/routes.ts
+++ b/src/router/routes.ts
@@ -3,6 +3,7 @@
import MultilevelMenuExample from './modules/multilevel.menu.example'
import BreadcrumbExample from './modules/breadcrumb.example'
import systemRoute from './modules/system'
+import measureRoute from './modules/measure'
import type { Route } from '@/global'
import useSettingsStore from '@/store/modules/settings'
@@ -153,11 +154,10 @@
meta: {
title: '计量管理',
icon: '',
- auth: 'jlgl',
+ auth: '/measure',
},
children: [
- MultilevelMenuExample,
- BreadcrumbExample,
+ ...measureRoute,
],
},
{
diff --git a/src/views/measure/bench/bench.vue b/src/views/measure/bench/bench.vue
new file mode 100644
index 0000000..adf4bb1
--- /dev/null
+++ b/src/views/measure/bench/bench.vue
@@ -0,0 +1,5 @@
+
+
+ 工作台
+
+
diff --git a/src/views/measure/file/approve.vue b/src/views/measure/file/approve.vue
new file mode 100644
index 0000000..0e34193
--- /dev/null
+++ b/src/views/measure/file/approve.vue
@@ -0,0 +1,3 @@
+
+ 文件审批
+
diff --git a/src/views/measure/file/manageMethod.vue b/src/views/measure/file/manageMethod.vue
new file mode 100644
index 0000000..62fe36a
--- /dev/null
+++ b/src/views/measure/file/manageMethod.vue
@@ -0,0 +1,3 @@
+
+ 管理办法
+
diff --git a/src/views/measure/file/measureRule.vue b/src/views/measure/file/measureRule.vue
new file mode 100644
index 0000000..55d12ed
--- /dev/null
+++ b/src/views/measure/file/measureRule.vue
@@ -0,0 +1,3 @@
+
+ 计量规程
+
diff --git a/src/router/modules/measure.ts b/src/router/modules/measure.ts
new file mode 100644
index 0000000..76e9abc
--- /dev/null
+++ b/src/router/modules/measure.ts
@@ -0,0 +1,191 @@
+import type { Route } from '@/global'
+
+const Layout = () => import('@/layouts/index.vue')
+
+const routes: Route.recordRaw[] = [
+ {
+ path: '/bench',
+ component: Layout,
+ redirect: '/bench/list',
+ name: 'AreaManage',
+ meta: {
+ title: '工作台',
+ icon: 'ep:key',
+ auth: '/measure/bench',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'BenchList',
+ component: () => import('@/views/system/area/bench.vue'),
+ meta: {
+ title: '工作台',
+ auth: '/measure/bench',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
+ path: '/file',
+ component: Layout,
+ redirect: '/file/quality',
+ name: 'File',
+ meta: {
+ title: '计量文件',
+ icon: 'ep:key',
+ auth: '/file',
+ },
+ children: [
+ {
+ path: 'quality',
+ name: 'QualityFile',
+ component: () => import('@/views/measure/file/quality.vue'),
+ meta: {
+ title: '质量文件',
+ icon: 'ep:key',
+ auth: '/file/quality',
+ },
+ },
+ {
+ path: 'rules',
+ name: 'Rules',
+ component: () => import('@/views/measure/file/rules.vue'),
+ meta: {
+ title: '规章制度',
+ icon: 'ep:key',
+ auth: '/file/rules',
+ },
+ },
+ {
+ path: 'manageMethod',
+ name: '',
+ component: () => import('@/views/measure/file/manageMethod.vue'),
+ meta: {
+ title: '管理办法',
+ icon: 'ep:key',
+ auth: '/file/ManageMethod',
+ },
+ },
+ {
+ path: 'testingMethod',
+ name: '',
+ component: () => import('@/views/measure/file/testingMethod.vue'),
+ meta: {
+ title: '校准检测办法',
+ icon: 'ep:key',
+ auth: '/file/testingMethod',
+ },
+ },
+ {
+ path: 'measureRule',
+ name: '',
+ component: () => import('@/views/measure/file/measureRule.vue'),
+ meta: {
+ title: '计量规程',
+ icon: 'ep:key',
+ auth: '/file/measureRule',
+ },
+ },
+ {
+ path: 'approve',
+ name: '',
+ component: () => import('@/views/measure/file/approve.vue'),
+ meta: {
+ title: '文件审批',
+ icon: 'ep:key',
+ auth: '/file/approve',
+ },
+ },
+ ],
+ },
+ {
+ path: '/measure/person',
+ component: Layout,
+ redirect: '/measure/person/list',
+ name: 'Person',
+ meta: {
+ title: '计量人员',
+ icon: 'ep:key',
+ auth: '/person',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'PersonList',
+ component: () => import('@/views/measure/person/list.vue'),
+ meta: {
+ title: '计量人员列表',
+ icon: 'ep:key',
+ auth: '/measure/person/list',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+ {
+ path: '/train',
+ component: Layout,
+ redirect: '/measure/train/plan',
+ name: 'Train',
+ meta: {
+ title: '培训管理',
+ icon: 'ep:key',
+ auth: '/measure/train',
+ },
+ children: [
+ {
+ path: 'plan',
+ name: 'TrainPlan',
+ component: () => import('@/views/measure/train/plan.vue'),
+ meta: {
+ title: '培训计划',
+ icon: 'ep:key',
+ auth: '/measure/train/plan',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+]
+
+export default routes
diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts
index 449e66a..feec73f 100644
--- a/src/router/modules/system.ts
+++ b/src/router/modules/system.ts
@@ -148,6 +148,30 @@
],
},
{
+ path: '/process',
+ component: Layout,
+ redirect: '/process/list',
+ name: 'Process',
+ meta: {
+ title: '流程管理',
+ icon: 'ep:key',
+ auth: '/sys/process',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'ProcessList',
+ component: () => import('@/views/system/process/process.vue'),
+ meta: {
+ title: '流程管理',
+ auth: '/sys/process',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
path: '/tenant',
component: Layout,
redirect: '/tenant/list',
diff --git a/src/router/routes.ts b/src/router/routes.ts
index 50cecdc..fbbf7a4 100644
--- a/src/router/routes.ts
+++ b/src/router/routes.ts
@@ -3,6 +3,7 @@
import MultilevelMenuExample from './modules/multilevel.menu.example'
import BreadcrumbExample from './modules/breadcrumb.example'
import systemRoute from './modules/system'
+import measureRoute from './modules/measure'
import type { Route } from '@/global'
import useSettingsStore from '@/store/modules/settings'
@@ -153,11 +154,10 @@
meta: {
title: '计量管理',
icon: '',
- auth: 'jlgl',
+ auth: '/measure',
},
children: [
- MultilevelMenuExample,
- BreadcrumbExample,
+ ...measureRoute,
],
},
{
diff --git a/src/views/measure/bench/bench.vue b/src/views/measure/bench/bench.vue
new file mode 100644
index 0000000..adf4bb1
--- /dev/null
+++ b/src/views/measure/bench/bench.vue
@@ -0,0 +1,5 @@
+
+
+ 工作台
+
+
diff --git a/src/views/measure/file/approve.vue b/src/views/measure/file/approve.vue
new file mode 100644
index 0000000..0e34193
--- /dev/null
+++ b/src/views/measure/file/approve.vue
@@ -0,0 +1,3 @@
+
+ 文件审批
+
diff --git a/src/views/measure/file/manageMethod.vue b/src/views/measure/file/manageMethod.vue
new file mode 100644
index 0000000..62fe36a
--- /dev/null
+++ b/src/views/measure/file/manageMethod.vue
@@ -0,0 +1,3 @@
+
+ 管理办法
+
diff --git a/src/views/measure/file/measureRule.vue b/src/views/measure/file/measureRule.vue
new file mode 100644
index 0000000..55d12ed
--- /dev/null
+++ b/src/views/measure/file/measureRule.vue
@@ -0,0 +1,3 @@
+
+ 计量规程
+
diff --git a/src/views/measure/file/quality.vue b/src/views/measure/file/quality.vue
new file mode 100644
index 0000000..ecdcef3
--- /dev/null
+++ b/src/views/measure/file/quality.vue
@@ -0,0 +1,5 @@
+
+
+ 质量文件
+
+
diff --git a/src/router/modules/measure.ts b/src/router/modules/measure.ts
new file mode 100644
index 0000000..76e9abc
--- /dev/null
+++ b/src/router/modules/measure.ts
@@ -0,0 +1,191 @@
+import type { Route } from '@/global'
+
+const Layout = () => import('@/layouts/index.vue')
+
+const routes: Route.recordRaw[] = [
+ {
+ path: '/bench',
+ component: Layout,
+ redirect: '/bench/list',
+ name: 'AreaManage',
+ meta: {
+ title: '工作台',
+ icon: 'ep:key',
+ auth: '/measure/bench',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'BenchList',
+ component: () => import('@/views/system/area/bench.vue'),
+ meta: {
+ title: '工作台',
+ auth: '/measure/bench',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
+ path: '/file',
+ component: Layout,
+ redirect: '/file/quality',
+ name: 'File',
+ meta: {
+ title: '计量文件',
+ icon: 'ep:key',
+ auth: '/file',
+ },
+ children: [
+ {
+ path: 'quality',
+ name: 'QualityFile',
+ component: () => import('@/views/measure/file/quality.vue'),
+ meta: {
+ title: '质量文件',
+ icon: 'ep:key',
+ auth: '/file/quality',
+ },
+ },
+ {
+ path: 'rules',
+ name: 'Rules',
+ component: () => import('@/views/measure/file/rules.vue'),
+ meta: {
+ title: '规章制度',
+ icon: 'ep:key',
+ auth: '/file/rules',
+ },
+ },
+ {
+ path: 'manageMethod',
+ name: '',
+ component: () => import('@/views/measure/file/manageMethod.vue'),
+ meta: {
+ title: '管理办法',
+ icon: 'ep:key',
+ auth: '/file/ManageMethod',
+ },
+ },
+ {
+ path: 'testingMethod',
+ name: '',
+ component: () => import('@/views/measure/file/testingMethod.vue'),
+ meta: {
+ title: '校准检测办法',
+ icon: 'ep:key',
+ auth: '/file/testingMethod',
+ },
+ },
+ {
+ path: 'measureRule',
+ name: '',
+ component: () => import('@/views/measure/file/measureRule.vue'),
+ meta: {
+ title: '计量规程',
+ icon: 'ep:key',
+ auth: '/file/measureRule',
+ },
+ },
+ {
+ path: 'approve',
+ name: '',
+ component: () => import('@/views/measure/file/approve.vue'),
+ meta: {
+ title: '文件审批',
+ icon: 'ep:key',
+ auth: '/file/approve',
+ },
+ },
+ ],
+ },
+ {
+ path: '/measure/person',
+ component: Layout,
+ redirect: '/measure/person/list',
+ name: 'Person',
+ meta: {
+ title: '计量人员',
+ icon: 'ep:key',
+ auth: '/person',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'PersonList',
+ component: () => import('@/views/measure/person/list.vue'),
+ meta: {
+ title: '计量人员列表',
+ icon: 'ep:key',
+ auth: '/measure/person/list',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+ {
+ path: '/train',
+ component: Layout,
+ redirect: '/measure/train/plan',
+ name: 'Train',
+ meta: {
+ title: '培训管理',
+ icon: 'ep:key',
+ auth: '/measure/train',
+ },
+ children: [
+ {
+ path: 'plan',
+ name: 'TrainPlan',
+ component: () => import('@/views/measure/train/plan.vue'),
+ meta: {
+ title: '培训计划',
+ icon: 'ep:key',
+ auth: '/measure/train/plan',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+]
+
+export default routes
diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts
index 449e66a..feec73f 100644
--- a/src/router/modules/system.ts
+++ b/src/router/modules/system.ts
@@ -148,6 +148,30 @@
],
},
{
+ path: '/process',
+ component: Layout,
+ redirect: '/process/list',
+ name: 'Process',
+ meta: {
+ title: '流程管理',
+ icon: 'ep:key',
+ auth: '/sys/process',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'ProcessList',
+ component: () => import('@/views/system/process/process.vue'),
+ meta: {
+ title: '流程管理',
+ auth: '/sys/process',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
path: '/tenant',
component: Layout,
redirect: '/tenant/list',
diff --git a/src/router/routes.ts b/src/router/routes.ts
index 50cecdc..fbbf7a4 100644
--- a/src/router/routes.ts
+++ b/src/router/routes.ts
@@ -3,6 +3,7 @@
import MultilevelMenuExample from './modules/multilevel.menu.example'
import BreadcrumbExample from './modules/breadcrumb.example'
import systemRoute from './modules/system'
+import measureRoute from './modules/measure'
import type { Route } from '@/global'
import useSettingsStore from '@/store/modules/settings'
@@ -153,11 +154,10 @@
meta: {
title: '计量管理',
icon: '',
- auth: 'jlgl',
+ auth: '/measure',
},
children: [
- MultilevelMenuExample,
- BreadcrumbExample,
+ ...measureRoute,
],
},
{
diff --git a/src/views/measure/bench/bench.vue b/src/views/measure/bench/bench.vue
new file mode 100644
index 0000000..adf4bb1
--- /dev/null
+++ b/src/views/measure/bench/bench.vue
@@ -0,0 +1,5 @@
+
+
+ 工作台
+
+
diff --git a/src/views/measure/file/approve.vue b/src/views/measure/file/approve.vue
new file mode 100644
index 0000000..0e34193
--- /dev/null
+++ b/src/views/measure/file/approve.vue
@@ -0,0 +1,3 @@
+
+ 文件审批
+
diff --git a/src/views/measure/file/manageMethod.vue b/src/views/measure/file/manageMethod.vue
new file mode 100644
index 0000000..62fe36a
--- /dev/null
+++ b/src/views/measure/file/manageMethod.vue
@@ -0,0 +1,3 @@
+
+ 管理办法
+
diff --git a/src/views/measure/file/measureRule.vue b/src/views/measure/file/measureRule.vue
new file mode 100644
index 0000000..55d12ed
--- /dev/null
+++ b/src/views/measure/file/measureRule.vue
@@ -0,0 +1,3 @@
+
+ 计量规程
+
diff --git a/src/views/measure/file/quality.vue b/src/views/measure/file/quality.vue
new file mode 100644
index 0000000..ecdcef3
--- /dev/null
+++ b/src/views/measure/file/quality.vue
@@ -0,0 +1,5 @@
+
+
+ 质量文件
+
+
diff --git a/src/views/measure/file/rules.vue b/src/views/measure/file/rules.vue
new file mode 100644
index 0000000..2924b2c
--- /dev/null
+++ b/src/views/measure/file/rules.vue
@@ -0,0 +1,5 @@
+
+
+ 规章制度
+
+
diff --git a/src/router/modules/measure.ts b/src/router/modules/measure.ts
new file mode 100644
index 0000000..76e9abc
--- /dev/null
+++ b/src/router/modules/measure.ts
@@ -0,0 +1,191 @@
+import type { Route } from '@/global'
+
+const Layout = () => import('@/layouts/index.vue')
+
+const routes: Route.recordRaw[] = [
+ {
+ path: '/bench',
+ component: Layout,
+ redirect: '/bench/list',
+ name: 'AreaManage',
+ meta: {
+ title: '工作台',
+ icon: 'ep:key',
+ auth: '/measure/bench',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'BenchList',
+ component: () => import('@/views/system/area/bench.vue'),
+ meta: {
+ title: '工作台',
+ auth: '/measure/bench',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
+ path: '/file',
+ component: Layout,
+ redirect: '/file/quality',
+ name: 'File',
+ meta: {
+ title: '计量文件',
+ icon: 'ep:key',
+ auth: '/file',
+ },
+ children: [
+ {
+ path: 'quality',
+ name: 'QualityFile',
+ component: () => import('@/views/measure/file/quality.vue'),
+ meta: {
+ title: '质量文件',
+ icon: 'ep:key',
+ auth: '/file/quality',
+ },
+ },
+ {
+ path: 'rules',
+ name: 'Rules',
+ component: () => import('@/views/measure/file/rules.vue'),
+ meta: {
+ title: '规章制度',
+ icon: 'ep:key',
+ auth: '/file/rules',
+ },
+ },
+ {
+ path: 'manageMethod',
+ name: '',
+ component: () => import('@/views/measure/file/manageMethod.vue'),
+ meta: {
+ title: '管理办法',
+ icon: 'ep:key',
+ auth: '/file/ManageMethod',
+ },
+ },
+ {
+ path: 'testingMethod',
+ name: '',
+ component: () => import('@/views/measure/file/testingMethod.vue'),
+ meta: {
+ title: '校准检测办法',
+ icon: 'ep:key',
+ auth: '/file/testingMethod',
+ },
+ },
+ {
+ path: 'measureRule',
+ name: '',
+ component: () => import('@/views/measure/file/measureRule.vue'),
+ meta: {
+ title: '计量规程',
+ icon: 'ep:key',
+ auth: '/file/measureRule',
+ },
+ },
+ {
+ path: 'approve',
+ name: '',
+ component: () => import('@/views/measure/file/approve.vue'),
+ meta: {
+ title: '文件审批',
+ icon: 'ep:key',
+ auth: '/file/approve',
+ },
+ },
+ ],
+ },
+ {
+ path: '/measure/person',
+ component: Layout,
+ redirect: '/measure/person/list',
+ name: 'Person',
+ meta: {
+ title: '计量人员',
+ icon: 'ep:key',
+ auth: '/person',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'PersonList',
+ component: () => import('@/views/measure/person/list.vue'),
+ meta: {
+ title: '计量人员列表',
+ icon: 'ep:key',
+ auth: '/measure/person/list',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+ {
+ path: '/train',
+ component: Layout,
+ redirect: '/measure/train/plan',
+ name: 'Train',
+ meta: {
+ title: '培训管理',
+ icon: 'ep:key',
+ auth: '/measure/train',
+ },
+ children: [
+ {
+ path: 'plan',
+ name: 'TrainPlan',
+ component: () => import('@/views/measure/train/plan.vue'),
+ meta: {
+ title: '培训计划',
+ icon: 'ep:key',
+ auth: '/measure/train/plan',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+]
+
+export default routes
diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts
index 449e66a..feec73f 100644
--- a/src/router/modules/system.ts
+++ b/src/router/modules/system.ts
@@ -148,6 +148,30 @@
],
},
{
+ path: '/process',
+ component: Layout,
+ redirect: '/process/list',
+ name: 'Process',
+ meta: {
+ title: '流程管理',
+ icon: 'ep:key',
+ auth: '/sys/process',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'ProcessList',
+ component: () => import('@/views/system/process/process.vue'),
+ meta: {
+ title: '流程管理',
+ auth: '/sys/process',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
path: '/tenant',
component: Layout,
redirect: '/tenant/list',
diff --git a/src/router/routes.ts b/src/router/routes.ts
index 50cecdc..fbbf7a4 100644
--- a/src/router/routes.ts
+++ b/src/router/routes.ts
@@ -3,6 +3,7 @@
import MultilevelMenuExample from './modules/multilevel.menu.example'
import BreadcrumbExample from './modules/breadcrumb.example'
import systemRoute from './modules/system'
+import measureRoute from './modules/measure'
import type { Route } from '@/global'
import useSettingsStore from '@/store/modules/settings'
@@ -153,11 +154,10 @@
meta: {
title: '计量管理',
icon: '',
- auth: 'jlgl',
+ auth: '/measure',
},
children: [
- MultilevelMenuExample,
- BreadcrumbExample,
+ ...measureRoute,
],
},
{
diff --git a/src/views/measure/bench/bench.vue b/src/views/measure/bench/bench.vue
new file mode 100644
index 0000000..adf4bb1
--- /dev/null
+++ b/src/views/measure/bench/bench.vue
@@ -0,0 +1,5 @@
+
+
+ 工作台
+
+
diff --git a/src/views/measure/file/approve.vue b/src/views/measure/file/approve.vue
new file mode 100644
index 0000000..0e34193
--- /dev/null
+++ b/src/views/measure/file/approve.vue
@@ -0,0 +1,3 @@
+
+ 文件审批
+
diff --git a/src/views/measure/file/manageMethod.vue b/src/views/measure/file/manageMethod.vue
new file mode 100644
index 0000000..62fe36a
--- /dev/null
+++ b/src/views/measure/file/manageMethod.vue
@@ -0,0 +1,3 @@
+
+ 管理办法
+
diff --git a/src/views/measure/file/measureRule.vue b/src/views/measure/file/measureRule.vue
new file mode 100644
index 0000000..55d12ed
--- /dev/null
+++ b/src/views/measure/file/measureRule.vue
@@ -0,0 +1,3 @@
+
+ 计量规程
+
diff --git a/src/views/measure/file/quality.vue b/src/views/measure/file/quality.vue
new file mode 100644
index 0000000..ecdcef3
--- /dev/null
+++ b/src/views/measure/file/quality.vue
@@ -0,0 +1,5 @@
+
+
+ 质量文件
+
+
diff --git a/src/views/measure/file/rules.vue b/src/views/measure/file/rules.vue
new file mode 100644
index 0000000..2924b2c
--- /dev/null
+++ b/src/views/measure/file/rules.vue
@@ -0,0 +1,5 @@
+
+
+ 规章制度
+
+
diff --git a/src/views/measure/file/testingMethod.vue b/src/views/measure/file/testingMethod.vue
new file mode 100644
index 0000000..73fb89f
--- /dev/null
+++ b/src/views/measure/file/testingMethod.vue
@@ -0,0 +1,3 @@
+
+ 校准检测办法
+
diff --git a/src/router/modules/measure.ts b/src/router/modules/measure.ts
new file mode 100644
index 0000000..76e9abc
--- /dev/null
+++ b/src/router/modules/measure.ts
@@ -0,0 +1,191 @@
+import type { Route } from '@/global'
+
+const Layout = () => import('@/layouts/index.vue')
+
+const routes: Route.recordRaw[] = [
+ {
+ path: '/bench',
+ component: Layout,
+ redirect: '/bench/list',
+ name: 'AreaManage',
+ meta: {
+ title: '工作台',
+ icon: 'ep:key',
+ auth: '/measure/bench',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'BenchList',
+ component: () => import('@/views/system/area/bench.vue'),
+ meta: {
+ title: '工作台',
+ auth: '/measure/bench',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
+ path: '/file',
+ component: Layout,
+ redirect: '/file/quality',
+ name: 'File',
+ meta: {
+ title: '计量文件',
+ icon: 'ep:key',
+ auth: '/file',
+ },
+ children: [
+ {
+ path: 'quality',
+ name: 'QualityFile',
+ component: () => import('@/views/measure/file/quality.vue'),
+ meta: {
+ title: '质量文件',
+ icon: 'ep:key',
+ auth: '/file/quality',
+ },
+ },
+ {
+ path: 'rules',
+ name: 'Rules',
+ component: () => import('@/views/measure/file/rules.vue'),
+ meta: {
+ title: '规章制度',
+ icon: 'ep:key',
+ auth: '/file/rules',
+ },
+ },
+ {
+ path: 'manageMethod',
+ name: '',
+ component: () => import('@/views/measure/file/manageMethod.vue'),
+ meta: {
+ title: '管理办法',
+ icon: 'ep:key',
+ auth: '/file/ManageMethod',
+ },
+ },
+ {
+ path: 'testingMethod',
+ name: '',
+ component: () => import('@/views/measure/file/testingMethod.vue'),
+ meta: {
+ title: '校准检测办法',
+ icon: 'ep:key',
+ auth: '/file/testingMethod',
+ },
+ },
+ {
+ path: 'measureRule',
+ name: '',
+ component: () => import('@/views/measure/file/measureRule.vue'),
+ meta: {
+ title: '计量规程',
+ icon: 'ep:key',
+ auth: '/file/measureRule',
+ },
+ },
+ {
+ path: 'approve',
+ name: '',
+ component: () => import('@/views/measure/file/approve.vue'),
+ meta: {
+ title: '文件审批',
+ icon: 'ep:key',
+ auth: '/file/approve',
+ },
+ },
+ ],
+ },
+ {
+ path: '/measure/person',
+ component: Layout,
+ redirect: '/measure/person/list',
+ name: 'Person',
+ meta: {
+ title: '计量人员',
+ icon: 'ep:key',
+ auth: '/person',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'PersonList',
+ component: () => import('@/views/measure/person/list.vue'),
+ meta: {
+ title: '计量人员列表',
+ icon: 'ep:key',
+ auth: '/measure/person/list',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+ {
+ path: '/train',
+ component: Layout,
+ redirect: '/measure/train/plan',
+ name: 'Train',
+ meta: {
+ title: '培训管理',
+ icon: 'ep:key',
+ auth: '/measure/train',
+ },
+ children: [
+ {
+ path: 'plan',
+ name: 'TrainPlan',
+ component: () => import('@/views/measure/train/plan.vue'),
+ meta: {
+ title: '培训计划',
+ icon: 'ep:key',
+ auth: '/measure/train/plan',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+]
+
+export default routes
diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts
index 449e66a..feec73f 100644
--- a/src/router/modules/system.ts
+++ b/src/router/modules/system.ts
@@ -148,6 +148,30 @@
],
},
{
+ path: '/process',
+ component: Layout,
+ redirect: '/process/list',
+ name: 'Process',
+ meta: {
+ title: '流程管理',
+ icon: 'ep:key',
+ auth: '/sys/process',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'ProcessList',
+ component: () => import('@/views/system/process/process.vue'),
+ meta: {
+ title: '流程管理',
+ auth: '/sys/process',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
path: '/tenant',
component: Layout,
redirect: '/tenant/list',
diff --git a/src/router/routes.ts b/src/router/routes.ts
index 50cecdc..fbbf7a4 100644
--- a/src/router/routes.ts
+++ b/src/router/routes.ts
@@ -3,6 +3,7 @@
import MultilevelMenuExample from './modules/multilevel.menu.example'
import BreadcrumbExample from './modules/breadcrumb.example'
import systemRoute from './modules/system'
+import measureRoute from './modules/measure'
import type { Route } from '@/global'
import useSettingsStore from '@/store/modules/settings'
@@ -153,11 +154,10 @@
meta: {
title: '计量管理',
icon: '',
- auth: 'jlgl',
+ auth: '/measure',
},
children: [
- MultilevelMenuExample,
- BreadcrumbExample,
+ ...measureRoute,
],
},
{
diff --git a/src/views/measure/bench/bench.vue b/src/views/measure/bench/bench.vue
new file mode 100644
index 0000000..adf4bb1
--- /dev/null
+++ b/src/views/measure/bench/bench.vue
@@ -0,0 +1,5 @@
+
+
+ 工作台
+
+
diff --git a/src/views/measure/file/approve.vue b/src/views/measure/file/approve.vue
new file mode 100644
index 0000000..0e34193
--- /dev/null
+++ b/src/views/measure/file/approve.vue
@@ -0,0 +1,3 @@
+
+ 文件审批
+
diff --git a/src/views/measure/file/manageMethod.vue b/src/views/measure/file/manageMethod.vue
new file mode 100644
index 0000000..62fe36a
--- /dev/null
+++ b/src/views/measure/file/manageMethod.vue
@@ -0,0 +1,3 @@
+
+ 管理办法
+
diff --git a/src/views/measure/file/measureRule.vue b/src/views/measure/file/measureRule.vue
new file mode 100644
index 0000000..55d12ed
--- /dev/null
+++ b/src/views/measure/file/measureRule.vue
@@ -0,0 +1,3 @@
+
+ 计量规程
+
diff --git a/src/views/measure/file/quality.vue b/src/views/measure/file/quality.vue
new file mode 100644
index 0000000..ecdcef3
--- /dev/null
+++ b/src/views/measure/file/quality.vue
@@ -0,0 +1,5 @@
+
+
+ 质量文件
+
+
diff --git a/src/views/measure/file/rules.vue b/src/views/measure/file/rules.vue
new file mode 100644
index 0000000..2924b2c
--- /dev/null
+++ b/src/views/measure/file/rules.vue
@@ -0,0 +1,5 @@
+
+
+ 规章制度
+
+
diff --git a/src/views/measure/file/testingMethod.vue b/src/views/measure/file/testingMethod.vue
new file mode 100644
index 0000000..73fb89f
--- /dev/null
+++ b/src/views/measure/file/testingMethod.vue
@@ -0,0 +1,3 @@
+
+ 校准检测办法
+
diff --git a/src/views/measure/person/certificateLog.vue b/src/views/measure/person/certificateLog.vue
new file mode 100644
index 0000000..d85b082
--- /dev/null
+++ b/src/views/measure/person/certificateLog.vue
@@ -0,0 +1,3 @@
+
+ 证书记录
+
diff --git a/src/router/modules/measure.ts b/src/router/modules/measure.ts
new file mode 100644
index 0000000..76e9abc
--- /dev/null
+++ b/src/router/modules/measure.ts
@@ -0,0 +1,191 @@
+import type { Route } from '@/global'
+
+const Layout = () => import('@/layouts/index.vue')
+
+const routes: Route.recordRaw[] = [
+ {
+ path: '/bench',
+ component: Layout,
+ redirect: '/bench/list',
+ name: 'AreaManage',
+ meta: {
+ title: '工作台',
+ icon: 'ep:key',
+ auth: '/measure/bench',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'BenchList',
+ component: () => import('@/views/system/area/bench.vue'),
+ meta: {
+ title: '工作台',
+ auth: '/measure/bench',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
+ path: '/file',
+ component: Layout,
+ redirect: '/file/quality',
+ name: 'File',
+ meta: {
+ title: '计量文件',
+ icon: 'ep:key',
+ auth: '/file',
+ },
+ children: [
+ {
+ path: 'quality',
+ name: 'QualityFile',
+ component: () => import('@/views/measure/file/quality.vue'),
+ meta: {
+ title: '质量文件',
+ icon: 'ep:key',
+ auth: '/file/quality',
+ },
+ },
+ {
+ path: 'rules',
+ name: 'Rules',
+ component: () => import('@/views/measure/file/rules.vue'),
+ meta: {
+ title: '规章制度',
+ icon: 'ep:key',
+ auth: '/file/rules',
+ },
+ },
+ {
+ path: 'manageMethod',
+ name: '',
+ component: () => import('@/views/measure/file/manageMethod.vue'),
+ meta: {
+ title: '管理办法',
+ icon: 'ep:key',
+ auth: '/file/ManageMethod',
+ },
+ },
+ {
+ path: 'testingMethod',
+ name: '',
+ component: () => import('@/views/measure/file/testingMethod.vue'),
+ meta: {
+ title: '校准检测办法',
+ icon: 'ep:key',
+ auth: '/file/testingMethod',
+ },
+ },
+ {
+ path: 'measureRule',
+ name: '',
+ component: () => import('@/views/measure/file/measureRule.vue'),
+ meta: {
+ title: '计量规程',
+ icon: 'ep:key',
+ auth: '/file/measureRule',
+ },
+ },
+ {
+ path: 'approve',
+ name: '',
+ component: () => import('@/views/measure/file/approve.vue'),
+ meta: {
+ title: '文件审批',
+ icon: 'ep:key',
+ auth: '/file/approve',
+ },
+ },
+ ],
+ },
+ {
+ path: '/measure/person',
+ component: Layout,
+ redirect: '/measure/person/list',
+ name: 'Person',
+ meta: {
+ title: '计量人员',
+ icon: 'ep:key',
+ auth: '/person',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'PersonList',
+ component: () => import('@/views/measure/person/list.vue'),
+ meta: {
+ title: '计量人员列表',
+ icon: 'ep:key',
+ auth: '/measure/person/list',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+ {
+ path: '/train',
+ component: Layout,
+ redirect: '/measure/train/plan',
+ name: 'Train',
+ meta: {
+ title: '培训管理',
+ icon: 'ep:key',
+ auth: '/measure/train',
+ },
+ children: [
+ {
+ path: 'plan',
+ name: 'TrainPlan',
+ component: () => import('@/views/measure/train/plan.vue'),
+ meta: {
+ title: '培训计划',
+ icon: 'ep:key',
+ auth: '/measure/train/plan',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+]
+
+export default routes
diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts
index 449e66a..feec73f 100644
--- a/src/router/modules/system.ts
+++ b/src/router/modules/system.ts
@@ -148,6 +148,30 @@
],
},
{
+ path: '/process',
+ component: Layout,
+ redirect: '/process/list',
+ name: 'Process',
+ meta: {
+ title: '流程管理',
+ icon: 'ep:key',
+ auth: '/sys/process',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'ProcessList',
+ component: () => import('@/views/system/process/process.vue'),
+ meta: {
+ title: '流程管理',
+ auth: '/sys/process',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
path: '/tenant',
component: Layout,
redirect: '/tenant/list',
diff --git a/src/router/routes.ts b/src/router/routes.ts
index 50cecdc..fbbf7a4 100644
--- a/src/router/routes.ts
+++ b/src/router/routes.ts
@@ -3,6 +3,7 @@
import MultilevelMenuExample from './modules/multilevel.menu.example'
import BreadcrumbExample from './modules/breadcrumb.example'
import systemRoute from './modules/system'
+import measureRoute from './modules/measure'
import type { Route } from '@/global'
import useSettingsStore from '@/store/modules/settings'
@@ -153,11 +154,10 @@
meta: {
title: '计量管理',
icon: '',
- auth: 'jlgl',
+ auth: '/measure',
},
children: [
- MultilevelMenuExample,
- BreadcrumbExample,
+ ...measureRoute,
],
},
{
diff --git a/src/views/measure/bench/bench.vue b/src/views/measure/bench/bench.vue
new file mode 100644
index 0000000..adf4bb1
--- /dev/null
+++ b/src/views/measure/bench/bench.vue
@@ -0,0 +1,5 @@
+
+
+ 工作台
+
+
diff --git a/src/views/measure/file/approve.vue b/src/views/measure/file/approve.vue
new file mode 100644
index 0000000..0e34193
--- /dev/null
+++ b/src/views/measure/file/approve.vue
@@ -0,0 +1,3 @@
+
+ 文件审批
+
diff --git a/src/views/measure/file/manageMethod.vue b/src/views/measure/file/manageMethod.vue
new file mode 100644
index 0000000..62fe36a
--- /dev/null
+++ b/src/views/measure/file/manageMethod.vue
@@ -0,0 +1,3 @@
+
+ 管理办法
+
diff --git a/src/views/measure/file/measureRule.vue b/src/views/measure/file/measureRule.vue
new file mode 100644
index 0000000..55d12ed
--- /dev/null
+++ b/src/views/measure/file/measureRule.vue
@@ -0,0 +1,3 @@
+
+ 计量规程
+
diff --git a/src/views/measure/file/quality.vue b/src/views/measure/file/quality.vue
new file mode 100644
index 0000000..ecdcef3
--- /dev/null
+++ b/src/views/measure/file/quality.vue
@@ -0,0 +1,5 @@
+
+
+ 质量文件
+
+
diff --git a/src/views/measure/file/rules.vue b/src/views/measure/file/rules.vue
new file mode 100644
index 0000000..2924b2c
--- /dev/null
+++ b/src/views/measure/file/rules.vue
@@ -0,0 +1,5 @@
+
+
+ 规章制度
+
+
diff --git a/src/views/measure/file/testingMethod.vue b/src/views/measure/file/testingMethod.vue
new file mode 100644
index 0000000..73fb89f
--- /dev/null
+++ b/src/views/measure/file/testingMethod.vue
@@ -0,0 +1,3 @@
+
+ 校准检测办法
+
diff --git a/src/views/measure/person/certificateLog.vue b/src/views/measure/person/certificateLog.vue
new file mode 100644
index 0000000..d85b082
--- /dev/null
+++ b/src/views/measure/person/certificateLog.vue
@@ -0,0 +1,3 @@
+
+ 证书记录
+
diff --git a/src/views/measure/person/list.vue b/src/views/measure/person/list.vue
new file mode 100644
index 0000000..3d55142
--- /dev/null
+++ b/src/views/measure/person/list.vue
@@ -0,0 +1,3 @@
+
+ 计量人员列表
+
diff --git a/src/router/modules/measure.ts b/src/router/modules/measure.ts
new file mode 100644
index 0000000..76e9abc
--- /dev/null
+++ b/src/router/modules/measure.ts
@@ -0,0 +1,191 @@
+import type { Route } from '@/global'
+
+const Layout = () => import('@/layouts/index.vue')
+
+const routes: Route.recordRaw[] = [
+ {
+ path: '/bench',
+ component: Layout,
+ redirect: '/bench/list',
+ name: 'AreaManage',
+ meta: {
+ title: '工作台',
+ icon: 'ep:key',
+ auth: '/measure/bench',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'BenchList',
+ component: () => import('@/views/system/area/bench.vue'),
+ meta: {
+ title: '工作台',
+ auth: '/measure/bench',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
+ path: '/file',
+ component: Layout,
+ redirect: '/file/quality',
+ name: 'File',
+ meta: {
+ title: '计量文件',
+ icon: 'ep:key',
+ auth: '/file',
+ },
+ children: [
+ {
+ path: 'quality',
+ name: 'QualityFile',
+ component: () => import('@/views/measure/file/quality.vue'),
+ meta: {
+ title: '质量文件',
+ icon: 'ep:key',
+ auth: '/file/quality',
+ },
+ },
+ {
+ path: 'rules',
+ name: 'Rules',
+ component: () => import('@/views/measure/file/rules.vue'),
+ meta: {
+ title: '规章制度',
+ icon: 'ep:key',
+ auth: '/file/rules',
+ },
+ },
+ {
+ path: 'manageMethod',
+ name: '',
+ component: () => import('@/views/measure/file/manageMethod.vue'),
+ meta: {
+ title: '管理办法',
+ icon: 'ep:key',
+ auth: '/file/ManageMethod',
+ },
+ },
+ {
+ path: 'testingMethod',
+ name: '',
+ component: () => import('@/views/measure/file/testingMethod.vue'),
+ meta: {
+ title: '校准检测办法',
+ icon: 'ep:key',
+ auth: '/file/testingMethod',
+ },
+ },
+ {
+ path: 'measureRule',
+ name: '',
+ component: () => import('@/views/measure/file/measureRule.vue'),
+ meta: {
+ title: '计量规程',
+ icon: 'ep:key',
+ auth: '/file/measureRule',
+ },
+ },
+ {
+ path: 'approve',
+ name: '',
+ component: () => import('@/views/measure/file/approve.vue'),
+ meta: {
+ title: '文件审批',
+ icon: 'ep:key',
+ auth: '/file/approve',
+ },
+ },
+ ],
+ },
+ {
+ path: '/measure/person',
+ component: Layout,
+ redirect: '/measure/person/list',
+ name: 'Person',
+ meta: {
+ title: '计量人员',
+ icon: 'ep:key',
+ auth: '/person',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'PersonList',
+ component: () => import('@/views/measure/person/list.vue'),
+ meta: {
+ title: '计量人员列表',
+ icon: 'ep:key',
+ auth: '/measure/person/list',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+ {
+ path: '/train',
+ component: Layout,
+ redirect: '/measure/train/plan',
+ name: 'Train',
+ meta: {
+ title: '培训管理',
+ icon: 'ep:key',
+ auth: '/measure/train',
+ },
+ children: [
+ {
+ path: 'plan',
+ name: 'TrainPlan',
+ component: () => import('@/views/measure/train/plan.vue'),
+ meta: {
+ title: '培训计划',
+ icon: 'ep:key',
+ auth: '/measure/train/plan',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+]
+
+export default routes
diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts
index 449e66a..feec73f 100644
--- a/src/router/modules/system.ts
+++ b/src/router/modules/system.ts
@@ -148,6 +148,30 @@
],
},
{
+ path: '/process',
+ component: Layout,
+ redirect: '/process/list',
+ name: 'Process',
+ meta: {
+ title: '流程管理',
+ icon: 'ep:key',
+ auth: '/sys/process',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'ProcessList',
+ component: () => import('@/views/system/process/process.vue'),
+ meta: {
+ title: '流程管理',
+ auth: '/sys/process',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
path: '/tenant',
component: Layout,
redirect: '/tenant/list',
diff --git a/src/router/routes.ts b/src/router/routes.ts
index 50cecdc..fbbf7a4 100644
--- a/src/router/routes.ts
+++ b/src/router/routes.ts
@@ -3,6 +3,7 @@
import MultilevelMenuExample from './modules/multilevel.menu.example'
import BreadcrumbExample from './modules/breadcrumb.example'
import systemRoute from './modules/system'
+import measureRoute from './modules/measure'
import type { Route } from '@/global'
import useSettingsStore from '@/store/modules/settings'
@@ -153,11 +154,10 @@
meta: {
title: '计量管理',
icon: '',
- auth: 'jlgl',
+ auth: '/measure',
},
children: [
- MultilevelMenuExample,
- BreadcrumbExample,
+ ...measureRoute,
],
},
{
diff --git a/src/views/measure/bench/bench.vue b/src/views/measure/bench/bench.vue
new file mode 100644
index 0000000..adf4bb1
--- /dev/null
+++ b/src/views/measure/bench/bench.vue
@@ -0,0 +1,5 @@
+
+
+ 工作台
+
+
diff --git a/src/views/measure/file/approve.vue b/src/views/measure/file/approve.vue
new file mode 100644
index 0000000..0e34193
--- /dev/null
+++ b/src/views/measure/file/approve.vue
@@ -0,0 +1,3 @@
+
+ 文件审批
+
diff --git a/src/views/measure/file/manageMethod.vue b/src/views/measure/file/manageMethod.vue
new file mode 100644
index 0000000..62fe36a
--- /dev/null
+++ b/src/views/measure/file/manageMethod.vue
@@ -0,0 +1,3 @@
+
+ 管理办法
+
diff --git a/src/views/measure/file/measureRule.vue b/src/views/measure/file/measureRule.vue
new file mode 100644
index 0000000..55d12ed
--- /dev/null
+++ b/src/views/measure/file/measureRule.vue
@@ -0,0 +1,3 @@
+
+ 计量规程
+
diff --git a/src/views/measure/file/quality.vue b/src/views/measure/file/quality.vue
new file mode 100644
index 0000000..ecdcef3
--- /dev/null
+++ b/src/views/measure/file/quality.vue
@@ -0,0 +1,5 @@
+
+
+ 质量文件
+
+
diff --git a/src/views/measure/file/rules.vue b/src/views/measure/file/rules.vue
new file mode 100644
index 0000000..2924b2c
--- /dev/null
+++ b/src/views/measure/file/rules.vue
@@ -0,0 +1,5 @@
+
+
+ 规章制度
+
+
diff --git a/src/views/measure/file/testingMethod.vue b/src/views/measure/file/testingMethod.vue
new file mode 100644
index 0000000..73fb89f
--- /dev/null
+++ b/src/views/measure/file/testingMethod.vue
@@ -0,0 +1,3 @@
+
+ 校准检测办法
+
diff --git a/src/views/measure/person/certificateLog.vue b/src/views/measure/person/certificateLog.vue
new file mode 100644
index 0000000..d85b082
--- /dev/null
+++ b/src/views/measure/person/certificateLog.vue
@@ -0,0 +1,3 @@
+
+ 证书记录
+
diff --git a/src/views/measure/person/list.vue b/src/views/measure/person/list.vue
new file mode 100644
index 0000000..3d55142
--- /dev/null
+++ b/src/views/measure/person/list.vue
@@ -0,0 +1,3 @@
+
+ 计量人员列表
+
diff --git a/src/views/measure/person/remind.vue b/src/views/measure/person/remind.vue
new file mode 100644
index 0000000..7f0a151
--- /dev/null
+++ b/src/views/measure/person/remind.vue
@@ -0,0 +1,3 @@
+
+ 证书过期提醒
+
diff --git a/src/router/modules/measure.ts b/src/router/modules/measure.ts
new file mode 100644
index 0000000..76e9abc
--- /dev/null
+++ b/src/router/modules/measure.ts
@@ -0,0 +1,191 @@
+import type { Route } from '@/global'
+
+const Layout = () => import('@/layouts/index.vue')
+
+const routes: Route.recordRaw[] = [
+ {
+ path: '/bench',
+ component: Layout,
+ redirect: '/bench/list',
+ name: 'AreaManage',
+ meta: {
+ title: '工作台',
+ icon: 'ep:key',
+ auth: '/measure/bench',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'BenchList',
+ component: () => import('@/views/system/area/bench.vue'),
+ meta: {
+ title: '工作台',
+ auth: '/measure/bench',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
+ path: '/file',
+ component: Layout,
+ redirect: '/file/quality',
+ name: 'File',
+ meta: {
+ title: '计量文件',
+ icon: 'ep:key',
+ auth: '/file',
+ },
+ children: [
+ {
+ path: 'quality',
+ name: 'QualityFile',
+ component: () => import('@/views/measure/file/quality.vue'),
+ meta: {
+ title: '质量文件',
+ icon: 'ep:key',
+ auth: '/file/quality',
+ },
+ },
+ {
+ path: 'rules',
+ name: 'Rules',
+ component: () => import('@/views/measure/file/rules.vue'),
+ meta: {
+ title: '规章制度',
+ icon: 'ep:key',
+ auth: '/file/rules',
+ },
+ },
+ {
+ path: 'manageMethod',
+ name: '',
+ component: () => import('@/views/measure/file/manageMethod.vue'),
+ meta: {
+ title: '管理办法',
+ icon: 'ep:key',
+ auth: '/file/ManageMethod',
+ },
+ },
+ {
+ path: 'testingMethod',
+ name: '',
+ component: () => import('@/views/measure/file/testingMethod.vue'),
+ meta: {
+ title: '校准检测办法',
+ icon: 'ep:key',
+ auth: '/file/testingMethod',
+ },
+ },
+ {
+ path: 'measureRule',
+ name: '',
+ component: () => import('@/views/measure/file/measureRule.vue'),
+ meta: {
+ title: '计量规程',
+ icon: 'ep:key',
+ auth: '/file/measureRule',
+ },
+ },
+ {
+ path: 'approve',
+ name: '',
+ component: () => import('@/views/measure/file/approve.vue'),
+ meta: {
+ title: '文件审批',
+ icon: 'ep:key',
+ auth: '/file/approve',
+ },
+ },
+ ],
+ },
+ {
+ path: '/measure/person',
+ component: Layout,
+ redirect: '/measure/person/list',
+ name: 'Person',
+ meta: {
+ title: '计量人员',
+ icon: 'ep:key',
+ auth: '/person',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'PersonList',
+ component: () => import('@/views/measure/person/list.vue'),
+ meta: {
+ title: '计量人员列表',
+ icon: 'ep:key',
+ auth: '/measure/person/list',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+ {
+ path: '/train',
+ component: Layout,
+ redirect: '/measure/train/plan',
+ name: 'Train',
+ meta: {
+ title: '培训管理',
+ icon: 'ep:key',
+ auth: '/measure/train',
+ },
+ children: [
+ {
+ path: 'plan',
+ name: 'TrainPlan',
+ component: () => import('@/views/measure/train/plan.vue'),
+ meta: {
+ title: '培训计划',
+ icon: 'ep:key',
+ auth: '/measure/train/plan',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+]
+
+export default routes
diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts
index 449e66a..feec73f 100644
--- a/src/router/modules/system.ts
+++ b/src/router/modules/system.ts
@@ -148,6 +148,30 @@
],
},
{
+ path: '/process',
+ component: Layout,
+ redirect: '/process/list',
+ name: 'Process',
+ meta: {
+ title: '流程管理',
+ icon: 'ep:key',
+ auth: '/sys/process',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'ProcessList',
+ component: () => import('@/views/system/process/process.vue'),
+ meta: {
+ title: '流程管理',
+ auth: '/sys/process',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
path: '/tenant',
component: Layout,
redirect: '/tenant/list',
diff --git a/src/router/routes.ts b/src/router/routes.ts
index 50cecdc..fbbf7a4 100644
--- a/src/router/routes.ts
+++ b/src/router/routes.ts
@@ -3,6 +3,7 @@
import MultilevelMenuExample from './modules/multilevel.menu.example'
import BreadcrumbExample from './modules/breadcrumb.example'
import systemRoute from './modules/system'
+import measureRoute from './modules/measure'
import type { Route } from '@/global'
import useSettingsStore from '@/store/modules/settings'
@@ -153,11 +154,10 @@
meta: {
title: '计量管理',
icon: '',
- auth: 'jlgl',
+ auth: '/measure',
},
children: [
- MultilevelMenuExample,
- BreadcrumbExample,
+ ...measureRoute,
],
},
{
diff --git a/src/views/measure/bench/bench.vue b/src/views/measure/bench/bench.vue
new file mode 100644
index 0000000..adf4bb1
--- /dev/null
+++ b/src/views/measure/bench/bench.vue
@@ -0,0 +1,5 @@
+
+
+ 工作台
+
+
diff --git a/src/views/measure/file/approve.vue b/src/views/measure/file/approve.vue
new file mode 100644
index 0000000..0e34193
--- /dev/null
+++ b/src/views/measure/file/approve.vue
@@ -0,0 +1,3 @@
+
+ 文件审批
+
diff --git a/src/views/measure/file/manageMethod.vue b/src/views/measure/file/manageMethod.vue
new file mode 100644
index 0000000..62fe36a
--- /dev/null
+++ b/src/views/measure/file/manageMethod.vue
@@ -0,0 +1,3 @@
+
+ 管理办法
+
diff --git a/src/views/measure/file/measureRule.vue b/src/views/measure/file/measureRule.vue
new file mode 100644
index 0000000..55d12ed
--- /dev/null
+++ b/src/views/measure/file/measureRule.vue
@@ -0,0 +1,3 @@
+
+ 计量规程
+
diff --git a/src/views/measure/file/quality.vue b/src/views/measure/file/quality.vue
new file mode 100644
index 0000000..ecdcef3
--- /dev/null
+++ b/src/views/measure/file/quality.vue
@@ -0,0 +1,5 @@
+
+
+ 质量文件
+
+
diff --git a/src/views/measure/file/rules.vue b/src/views/measure/file/rules.vue
new file mode 100644
index 0000000..2924b2c
--- /dev/null
+++ b/src/views/measure/file/rules.vue
@@ -0,0 +1,5 @@
+
+
+ 规章制度
+
+
diff --git a/src/views/measure/file/testingMethod.vue b/src/views/measure/file/testingMethod.vue
new file mode 100644
index 0000000..73fb89f
--- /dev/null
+++ b/src/views/measure/file/testingMethod.vue
@@ -0,0 +1,3 @@
+
+ 校准检测办法
+
diff --git a/src/views/measure/person/certificateLog.vue b/src/views/measure/person/certificateLog.vue
new file mode 100644
index 0000000..d85b082
--- /dev/null
+++ b/src/views/measure/person/certificateLog.vue
@@ -0,0 +1,3 @@
+
+ 证书记录
+
diff --git a/src/views/measure/person/list.vue b/src/views/measure/person/list.vue
new file mode 100644
index 0000000..3d55142
--- /dev/null
+++ b/src/views/measure/person/list.vue
@@ -0,0 +1,3 @@
+
+ 计量人员列表
+
diff --git a/src/views/measure/person/remind.vue b/src/views/measure/person/remind.vue
new file mode 100644
index 0000000..7f0a151
--- /dev/null
+++ b/src/views/measure/person/remind.vue
@@ -0,0 +1,3 @@
+
+ 证书过期提醒
+
diff --git a/src/views/measure/train/plan.vue b/src/views/measure/train/plan.vue
new file mode 100644
index 0000000..c3bf846
--- /dev/null
+++ b/src/views/measure/train/plan.vue
@@ -0,0 +1,3 @@
+
+ 培训计划
+
diff --git a/src/router/modules/measure.ts b/src/router/modules/measure.ts
new file mode 100644
index 0000000..76e9abc
--- /dev/null
+++ b/src/router/modules/measure.ts
@@ -0,0 +1,191 @@
+import type { Route } from '@/global'
+
+const Layout = () => import('@/layouts/index.vue')
+
+const routes: Route.recordRaw[] = [
+ {
+ path: '/bench',
+ component: Layout,
+ redirect: '/bench/list',
+ name: 'AreaManage',
+ meta: {
+ title: '工作台',
+ icon: 'ep:key',
+ auth: '/measure/bench',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'BenchList',
+ component: () => import('@/views/system/area/bench.vue'),
+ meta: {
+ title: '工作台',
+ auth: '/measure/bench',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
+ path: '/file',
+ component: Layout,
+ redirect: '/file/quality',
+ name: 'File',
+ meta: {
+ title: '计量文件',
+ icon: 'ep:key',
+ auth: '/file',
+ },
+ children: [
+ {
+ path: 'quality',
+ name: 'QualityFile',
+ component: () => import('@/views/measure/file/quality.vue'),
+ meta: {
+ title: '质量文件',
+ icon: 'ep:key',
+ auth: '/file/quality',
+ },
+ },
+ {
+ path: 'rules',
+ name: 'Rules',
+ component: () => import('@/views/measure/file/rules.vue'),
+ meta: {
+ title: '规章制度',
+ icon: 'ep:key',
+ auth: '/file/rules',
+ },
+ },
+ {
+ path: 'manageMethod',
+ name: '',
+ component: () => import('@/views/measure/file/manageMethod.vue'),
+ meta: {
+ title: '管理办法',
+ icon: 'ep:key',
+ auth: '/file/ManageMethod',
+ },
+ },
+ {
+ path: 'testingMethod',
+ name: '',
+ component: () => import('@/views/measure/file/testingMethod.vue'),
+ meta: {
+ title: '校准检测办法',
+ icon: 'ep:key',
+ auth: '/file/testingMethod',
+ },
+ },
+ {
+ path: 'measureRule',
+ name: '',
+ component: () => import('@/views/measure/file/measureRule.vue'),
+ meta: {
+ title: '计量规程',
+ icon: 'ep:key',
+ auth: '/file/measureRule',
+ },
+ },
+ {
+ path: 'approve',
+ name: '',
+ component: () => import('@/views/measure/file/approve.vue'),
+ meta: {
+ title: '文件审批',
+ icon: 'ep:key',
+ auth: '/file/approve',
+ },
+ },
+ ],
+ },
+ {
+ path: '/measure/person',
+ component: Layout,
+ redirect: '/measure/person/list',
+ name: 'Person',
+ meta: {
+ title: '计量人员',
+ icon: 'ep:key',
+ auth: '/person',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'PersonList',
+ component: () => import('@/views/measure/person/list.vue'),
+ meta: {
+ title: '计量人员列表',
+ icon: 'ep:key',
+ auth: '/measure/person/list',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+ {
+ path: '/train',
+ component: Layout,
+ redirect: '/measure/train/plan',
+ name: 'Train',
+ meta: {
+ title: '培训管理',
+ icon: 'ep:key',
+ auth: '/measure/train',
+ },
+ children: [
+ {
+ path: 'plan',
+ name: 'TrainPlan',
+ component: () => import('@/views/measure/train/plan.vue'),
+ meta: {
+ title: '培训计划',
+ icon: 'ep:key',
+ auth: '/measure/train/plan',
+ },
+ },
+ {
+ path: 'certificateLog',
+ name: 'CertificateLog',
+ component: () => import('@/views/measure/person/certificateLog.vue'),
+ meta: {
+ title: '证书记录',
+ icon: 'ep:key',
+ auth: '/measure/person/certificateLog',
+ },
+ },
+ {
+ path: 'remind',
+ name: 'Remind',
+ component: () => import('@/views/measure/person/remind.vue'),
+ meta: {
+ title: '证书到期提醒',
+ icon: 'ep:key',
+ auth: '/measure/person/remind',
+ },
+ },
+ ],
+ },
+]
+
+export default routes
diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts
index 449e66a..feec73f 100644
--- a/src/router/modules/system.ts
+++ b/src/router/modules/system.ts
@@ -148,6 +148,30 @@
],
},
{
+ path: '/process',
+ component: Layout,
+ redirect: '/process/list',
+ name: 'Process',
+ meta: {
+ title: '流程管理',
+ icon: 'ep:key',
+ auth: '/sys/process',
+ },
+ children: [
+ {
+ path: 'list',
+ name: 'ProcessList',
+ component: () => import('@/views/system/process/process.vue'),
+ meta: {
+ title: '流程管理',
+ auth: '/sys/process',
+ sidebar: false,
+ breadcrumb: true,
+ },
+ },
+ ],
+ },
+ {
path: '/tenant',
component: Layout,
redirect: '/tenant/list',
diff --git a/src/router/routes.ts b/src/router/routes.ts
index 50cecdc..fbbf7a4 100644
--- a/src/router/routes.ts
+++ b/src/router/routes.ts
@@ -3,6 +3,7 @@
import MultilevelMenuExample from './modules/multilevel.menu.example'
import BreadcrumbExample from './modules/breadcrumb.example'
import systemRoute from './modules/system'
+import measureRoute from './modules/measure'
import type { Route } from '@/global'
import useSettingsStore from '@/store/modules/settings'
@@ -153,11 +154,10 @@
meta: {
title: '计量管理',
icon: '',
- auth: 'jlgl',
+ auth: '/measure',
},
children: [
- MultilevelMenuExample,
- BreadcrumbExample,
+ ...measureRoute,
],
},
{
diff --git a/src/views/measure/bench/bench.vue b/src/views/measure/bench/bench.vue
new file mode 100644
index 0000000..adf4bb1
--- /dev/null
+++ b/src/views/measure/bench/bench.vue
@@ -0,0 +1,5 @@
+
+
+ 工作台
+
+
diff --git a/src/views/measure/file/approve.vue b/src/views/measure/file/approve.vue
new file mode 100644
index 0000000..0e34193
--- /dev/null
+++ b/src/views/measure/file/approve.vue
@@ -0,0 +1,3 @@
+
+ 文件审批
+
diff --git a/src/views/measure/file/manageMethod.vue b/src/views/measure/file/manageMethod.vue
new file mode 100644
index 0000000..62fe36a
--- /dev/null
+++ b/src/views/measure/file/manageMethod.vue
@@ -0,0 +1,3 @@
+
+ 管理办法
+
diff --git a/src/views/measure/file/measureRule.vue b/src/views/measure/file/measureRule.vue
new file mode 100644
index 0000000..55d12ed
--- /dev/null
+++ b/src/views/measure/file/measureRule.vue
@@ -0,0 +1,3 @@
+
+ 计量规程
+
diff --git a/src/views/measure/file/quality.vue b/src/views/measure/file/quality.vue
new file mode 100644
index 0000000..ecdcef3
--- /dev/null
+++ b/src/views/measure/file/quality.vue
@@ -0,0 +1,5 @@
+
+
+ 质量文件
+
+
diff --git a/src/views/measure/file/rules.vue b/src/views/measure/file/rules.vue
new file mode 100644
index 0000000..2924b2c
--- /dev/null
+++ b/src/views/measure/file/rules.vue
@@ -0,0 +1,5 @@
+
+
+ 规章制度
+
+
diff --git a/src/views/measure/file/testingMethod.vue b/src/views/measure/file/testingMethod.vue
new file mode 100644
index 0000000..73fb89f
--- /dev/null
+++ b/src/views/measure/file/testingMethod.vue
@@ -0,0 +1,3 @@
+
+ 校准检测办法
+
diff --git a/src/views/measure/person/certificateLog.vue b/src/views/measure/person/certificateLog.vue
new file mode 100644
index 0000000..d85b082
--- /dev/null
+++ b/src/views/measure/person/certificateLog.vue
@@ -0,0 +1,3 @@
+
+ 证书记录
+
diff --git a/src/views/measure/person/list.vue b/src/views/measure/person/list.vue
new file mode 100644
index 0000000..3d55142
--- /dev/null
+++ b/src/views/measure/person/list.vue
@@ -0,0 +1,3 @@
+
+ 计量人员列表
+
diff --git a/src/views/measure/person/remind.vue b/src/views/measure/person/remind.vue
new file mode 100644
index 0000000..7f0a151
--- /dev/null
+++ b/src/views/measure/person/remind.vue
@@ -0,0 +1,3 @@
+
+ 证书过期提醒
+
diff --git a/src/views/measure/train/plan.vue b/src/views/measure/train/plan.vue
new file mode 100644
index 0000000..c3bf846
--- /dev/null
+++ b/src/views/measure/train/plan.vue
@@ -0,0 +1,3 @@
+
+ 培训计划
+
diff --git a/src/views/system/process/process.vue b/src/views/system/process/process.vue
new file mode 100644
index 0000000..2d5ca89
--- /dev/null
+++ b/src/views/system/process/process.vue
@@ -0,0 +1,5 @@
+
+
+ 流程管理
+
+