Commit 7efebbf9 by chenwq1

feat: 新加检测模板

1 parent ad8e3fb3
...@@ -186,7 +186,8 @@ ...@@ -186,7 +186,8 @@
"enabled": true, "enabled": true,
"type": "MENU", "type": "MENU",
"icon": "detection", "icon": "detection",
"children": [{ "children": [
{
"code": "order", "code": "order",
"name": "检测工单管理", "name": "检测工单管理",
"type": "MENU", "type": "MENU",
...@@ -206,7 +207,8 @@ ...@@ -206,7 +207,8 @@
"enabled": true "enabled": true
} }
] ]
},{ },
{
"code": "report", "code": "report",
"name": "检测报告管理", "name": "检测报告管理",
"type": "MENU", "type": "MENU",
...@@ -220,7 +222,23 @@ ...@@ -220,7 +222,23 @@
"enabled": true "enabled": true
} }
] ]
},{ },
{
"code": "template",
"name": "检测模板管理",
"type": "MENU",
"enabled": true,
"value": "/detection/template",
"children": [
{
"code": "preview",
"name": "预览",
"type": "BUTTON",
"enabled": true
}
]
},
{
"code": "inspector", "code": "inspector",
"name": "检测师管理", "name": "检测师管理",
"type": "MENU", "type": "MENU",
...@@ -234,7 +252,8 @@ ...@@ -234,7 +252,8 @@
"enabled": true "enabled": true
} }
] ]
}] }
]
}, },
{ {
...@@ -243,7 +262,8 @@ ...@@ -243,7 +262,8 @@
"enabled": true, "enabled": true,
"type": "MENU", "type": "MENU",
"icon": "discount", "icon": "discount",
"children": [{ "children": [
{
"code": "coupon", "code": "coupon",
"name": "优惠券管理", "name": "优惠券管理",
"type": "MENU", "type": "MENU",
...@@ -257,7 +277,8 @@ ...@@ -257,7 +277,8 @@
"enabled": true "enabled": true
} }
] ]
},{ },
{
"code": "activity", "code": "activity",
"name": "优惠券活动管理", "name": "优惠券活动管理",
"type": "MENU", "type": "MENU",
...@@ -271,7 +292,8 @@ ...@@ -271,7 +292,8 @@
"enabled": true "enabled": true
} }
] ]
},{ },
{
"code": "record", "code": "record",
"name": "优惠券发放记录", "name": "优惠券发放记录",
"type": "MENU", "type": "MENU",
...@@ -285,7 +307,8 @@ ...@@ -285,7 +307,8 @@
"enabled": true "enabled": true
} }
] ]
}] }
]
}, },
{ {
...@@ -2227,8 +2250,7 @@ ...@@ -2227,8 +2250,7 @@
"type": "MENU", "type": "MENU",
"enabled": true, "enabled": true,
"value": "/business/bid-price-range", "value": "/business/bid-price-range",
"children": [ "children": []
]
} }
] ]
}, },
...@@ -2321,4 +2343,3 @@ ...@@ -2321,4 +2343,3 @@
] ]
} }
] ]
...@@ -6,8 +6,8 @@ PUBLISH_PATH = '/' ...@@ -6,8 +6,8 @@ PUBLISH_PATH = '/'
BASE_URL = '/ BASE_URL = '/
# 开发环境 # 开发环境
VITE_API_BASE_URL = 'http://aus.test.glsx.com.cn/admin/rest' # VITE_API_BASE_URL = 'http://aus.test.glsx.com.cn/admin/rest'
# VITE_API_BASE_URL = 'http://192.168.1.125:6903/admin/rest' VITE_API_BASE_URL = 'http://192.168.1.69:6903/admin/rest'
#VITE_TOKEN= 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbmlzdHJhdG9yIiwicmVhbE5hbWUiOiLotoXnuqfnrqHnkIblkZgiLCJwYXNzd29yZCI6IiQyYSQxMCRlQ21jWmxPaFltVUxrNklibjR3RVgudjNpa0dzcnBpYjh0SlBlcGJ6NVl1SXFWbUpCVER4eSIsImlzcyI6ImF1c0FwcCIsImV4cCI6MTg0NTI4NTU3NiwiaWF0IjoxNzczMjg1NTc2LCJqdGkiOiIzMCIsImF1dGhvcml0aWVzIjpbIlJPTEVfU1VQRVIiXX0.q0Ou_W9goNWUgasZTULp4IDWlZhVHWbQ0jn49qdZeSw' #VITE_TOKEN= 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbmlzdHJhdG9yIiwicmVhbE5hbWUiOiLotoXnuqfnrqHnkIblkZgiLCJwYXNzd29yZCI6IiQyYSQxMCRlQ21jWmxPaFltVUxrNklibjR3RVgudjNpa0dzcnBpYjh0SlBlcGJ6NVl1SXFWbUpCVER4eSIsImlzcyI6ImF1c0FwcCIsImV4cCI6MTg0NTI4NTU3NiwiaWF0IjoxNzczMjg1NTc2LCJqdGkiOiIzMCIsImF1dGhvcml0aWVzIjpbIlJPTEVfU1VQRVIiXX0.q0Ou_W9goNWUgasZTULp4IDWlZhVHWbQ0jn49qdZeSw'
......
This diff could not be displayed because it is too large.
...@@ -2,45 +2,83 @@ import { RouteRecordRaw } from "vue-router"; ...@@ -2,45 +2,83 @@ import { RouteRecordRaw } from "vue-router";
export const DetectionRouter: Array<RouteRecordRaw> = [ export const DetectionRouter: Array<RouteRecordRaw> = [
{ {
path: '/detection/order', path: "/detection/order",
component: () => import('@/views/detection/order/DetectionOrderPage.vue'), component: () =>
import("@/views/detection/order/DetectionOrderPage.vue"),
meta: { meta: {
breadcrumbs: [{ name: '检测管理' }, { name: '检测工单管理' }] breadcrumbs: [{ name: "检测管理" }, { name: "检测工单管理" }],
} },
},
{
path: "/detection/order/view",
component: () =>
import("@/views/detection/order/DetectionOrderView.vue"),
meta: {
breadcrumbs: [
{ name: "检测管理" },
{ name: "检测工单管理", path: "/detection/order" },
{ name: "检测工单详情" },
],
},
},
{
path: "/detection/order/edit",
component: () =>
import("@/views/detection/order/DetectionOrderEdit.vue"),
meta: {
breadcrumbs: [
{ name: "检测管理" },
{ name: "检测工单管理", path: "/detection/order" },
{ name: "编辑检测报告" },
],
},
}, },
{ {
path: '/detection/order/view', path: "/detection/report",
component: () => import('@/views/detection/order/DetectionOrderView.vue'), component: () =>
import("@/views/detection/report/DetectionReportPage.vue"),
meta: { meta: {
breadcrumbs: [{ name: '检测管理' }, { name: '检测工单管理', path: '/detection/order' }, { name: '检测工单详情' }] breadcrumbs: [{ name: "检测管理" }, { name: "检测报告管理" }],
} },
}, },
{ {
path: '/detection/order/edit', path: "/detection/template",
component: () => import('@/views/detection/order/DetectionOrderEdit.vue'), component: () =>
import("@/views/detection/template/DetectionTemplatePage.vue"),
meta: { meta: {
breadcrumbs: [{ name: '检测管理' }, { name: '检测工单管理', path: '/detection/order' }, { name: '编辑检测报告' }] breadcrumbs: [{ name: "检测管理" }, { name: "检测模板管理" }],
} },
}, },
{ {
path: '/detection/report', path: "/detection/template/preview",
component: () => import('@/views/detection/report/DetectionReportPage.vue'), component: () =>
import("@/views/detection/template/DetectionTemplatePreview.vue"),
meta: { meta: {
breadcrumbs: [{ name: '检测管理' }, { name: '检测报告管理' }] breadcrumbs: [
} { name: "检测管理" },
{ name: "检测模板管理", path: "/detection/template" },
{ name: "预览" },
],
},
}, },
{ {
path: '/detection/inspector', path: "/detection/inspector",
component: () => import('@/views/detection/inspector/DetectionInspectorPage.vue'), component: () =>
import("@/views/detection/inspector/DetectionInspectorPage.vue"),
meta: { meta: {
breadcrumbs: [{ name: '检测管理' }, { name: '检测师管理' }] breadcrumbs: [{ name: "检测管理" }, { name: "检测师管理" }],
} },
}, },
{ {
path: '/detection/inspector/view', path: "/detection/inspector/view",
component: () => import('@/views/detection/inspector/DetectionInspectorView.vue'), component: () =>
import("@/views/detection/inspector/DetectionInspectorView.vue"),
meta: { meta: {
breadcrumbs: [{ name: '检测管理' }, { name: '检测师管理', path: '/detection/inspector' }, { name: '检测师详情' }] breadcrumbs: [
} { name: "检测管理" },
{ name: "检测师管理", path: "/detection/inspector" },
{ name: "检测师详情" },
],
},
}, },
]; ];
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!