|
|
@@ -18,60 +18,42 @@ const routes = [
|
|
|
component: "userCenter"
|
|
|
},
|
|
|
{
|
|
|
- name: "basic",
|
|
|
- path: "/basic",
|
|
|
- meta: { title: "基础数据管理", icon: "ri:apps-line" },
|
|
|
- redirect: "/basic/project",
|
|
|
+ name: "project",
|
|
|
+ path: "/project",
|
|
|
+ meta: { title: "项目管理", icon: "ix:projects" },
|
|
|
+ redirect: "/project/maintenance",
|
|
|
children: [
|
|
|
{
|
|
|
- name: "project",
|
|
|
- path: "/basic/project",
|
|
|
- meta: { title: "项目管理", icon: "ix:projects" },
|
|
|
- component: "basic/project"
|
|
|
- },
|
|
|
- {
|
|
|
- name: "supplier",
|
|
|
- path: "/basic/supplier",
|
|
|
- meta: { title: "供应商管理", icon: "ant-design:phone-outlined" },
|
|
|
- component: "basic/supplier"
|
|
|
+ name: "projectMaintenance",
|
|
|
+ path: "/project/maintenance",
|
|
|
+ meta: { title: "项目维护", icon: "ant-design:cloud-upload-outlined" },
|
|
|
+ component: "project/maintenance"
|
|
|
},
|
|
|
{
|
|
|
- name: "customer",
|
|
|
- path: "/basic/customer",
|
|
|
- meta: { title: "客户管理", icon: "garden:customer-lists-fill-26" },
|
|
|
- component: "basic/customer"
|
|
|
+ name: "acceptItems",
|
|
|
+ path: "/project/acceptItems",
|
|
|
+ meta: { title: "应用项管理", icon: "pajamas:list-bulleted" },
|
|
|
+ component: "project/acceptItems"
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
- name: "equipment",
|
|
|
- path: "/equipment",
|
|
|
- meta: { title: "设备管理", icon: "ant-design:code-sandbox-outlined" },
|
|
|
- redirect: "/equipment/facerec",
|
|
|
+ name: "milestone",
|
|
|
+ path: "/milestone",
|
|
|
+ meta: { title: "里程碑管理", icon: "heroicons-outline:flag" },
|
|
|
+ redirect: "/milestone/plan",
|
|
|
children: [
|
|
|
{
|
|
|
- name: "equipmentFacerec",
|
|
|
- path: "/equipment/facerec",
|
|
|
- meta: { title: "实名制人脸识别设备", icon: "tabler:face-id" },
|
|
|
- component: "equipment/facerec"
|
|
|
+ name: "nodePlan",
|
|
|
+ path: "/milestone/plan",
|
|
|
+ meta: { title: "节点规划", icon: "streamline:business-progress-bar-2-remix" },
|
|
|
+ component: "milestone/plan"
|
|
|
},
|
|
|
{
|
|
|
- name: "equipmentPassqrcode",
|
|
|
- path: "/equipment/passqrcode",
|
|
|
- meta: { title: "临时访客设备", icon: "ant-design:qrcode-outlined" },
|
|
|
- component: "equipment/passqrcode"
|
|
|
- },
|
|
|
- {
|
|
|
- name: "equipmentTower",
|
|
|
- path: "/equipment/tower",
|
|
|
- meta: { title: "塔机监测设备", icon: "mingcute:tower-crane-line" },
|
|
|
- component: "equipment/tower"
|
|
|
- },
|
|
|
- {
|
|
|
- name: "equipmentEnv",
|
|
|
- path: "/equipment/env",
|
|
|
- meta: { title: "环境监测设备", icon: "fluent:earth-leaf-16-regular" },
|
|
|
- component: "equipment/env"
|
|
|
+ name: "nodeMatters",
|
|
|
+ path: "/milestone/matters",
|
|
|
+ meta: { title: "节点事项", icon: "streamline-ultimate:task-list-pin" },
|
|
|
+ component: "milestone/matters"
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
@@ -161,6 +143,20 @@ const routes = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
+ {
|
|
|
+ name: "dataDiagnosis",
|
|
|
+ path: "/dataDiagnosis",
|
|
|
+ meta: { title: "数据诊断与分析", icon: "icon-park-outline:analysis" },
|
|
|
+ redirect: "/dataDiagnosis/tag",
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ name: "tag",
|
|
|
+ path: "/dataDiagnosis/tag",
|
|
|
+ meta: { title: "标签管理", icon: "mingcute:tag-line" },
|
|
|
+ component: "dataDiagnosis/tag"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
{
|
|
|
name: "EasyRun",
|
|
|
path: "/easyRun",
|
|
|
@@ -181,6 +177,38 @@ const routes = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
+ {
|
|
|
+ name: "equipment",
|
|
|
+ path: "/equipment",
|
|
|
+ meta: { title: "设备管理", icon: "ant-design:code-sandbox-outlined" },
|
|
|
+ redirect: "/equipment/facerec",
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ name: "equipmentFacerec",
|
|
|
+ path: "/equipment/facerec",
|
|
|
+ meta: { title: "实名制人脸识别设备", icon: "tabler:face-id" },
|
|
|
+ component: "equipment/facerec"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "equipmentPassqrcode",
|
|
|
+ path: "/equipment/passqrcode",
|
|
|
+ meta: { title: "临时访客设备", icon: "ant-design:qrcode-outlined" },
|
|
|
+ component: "equipment/passqrcode"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "equipmentTower",
|
|
|
+ path: "/equipment/tower",
|
|
|
+ meta: { title: "塔机监测设备", icon: "mingcute:tower-crane-line" },
|
|
|
+ component: "equipment/tower"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "equipmentEnv",
|
|
|
+ path: "/equipment/env",
|
|
|
+ meta: { title: "环境监测设备", icon: "fluent:earth-leaf-16-regular" },
|
|
|
+ component: "equipment/env"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
{
|
|
|
name: "warranty",
|
|
|
path: "/warranty",
|
|
|
@@ -195,39 +223,33 @@ const routes = [
|
|
|
redirect: "/afterSales/afterSales",
|
|
|
children: []
|
|
|
},
|
|
|
-
|
|
|
{
|
|
|
- name: "system",
|
|
|
- path: "/system",
|
|
|
- meta: { title: "系统管理", icon: "fluent:apps-settings-16-filled" },
|
|
|
- redirect: "/system/milestone",
|
|
|
+ name: "basic",
|
|
|
+ path: "/basic",
|
|
|
+ meta: { title: "基础数据管理", icon: "ri:apps-line" },
|
|
|
+ redirect: "/basic/supplier",
|
|
|
children: [
|
|
|
{
|
|
|
- name: "milestone",
|
|
|
- path: "/system/milestone",
|
|
|
- meta: { title: "里程碑管理", icon: "streamline:business-progress-bar-2-remix" },
|
|
|
- component: "system/milestone"
|
|
|
- },
|
|
|
- {
|
|
|
- name: "todoTask",
|
|
|
- path: "/system/todoTask",
|
|
|
- meta: { title: "待办任务", icon: "streamline-ultimate:task-list-pin" },
|
|
|
- component: "system/todoTask"
|
|
|
- },
|
|
|
- {
|
|
|
- name: "acceptItems",
|
|
|
- path: "/system/acceptItems",
|
|
|
- meta: { title: "验收清单项", icon: "pajamas:list-bulleted" },
|
|
|
- component: "system/acceptItems"
|
|
|
+ name: "supplier",
|
|
|
+ path: "/basic/supplier",
|
|
|
+ meta: { title: "供应商管理", icon: "ant-design:phone-outlined" },
|
|
|
+ component: "basic/supplier"
|
|
|
},
|
|
|
{
|
|
|
- name: "tag",
|
|
|
- path: "/system/tag",
|
|
|
- meta: { title: "标签管理", icon: "mingcute:tag-line" },
|
|
|
- component: "system/tag"
|
|
|
+ name: "customer",
|
|
|
+ path: "/basic/customer",
|
|
|
+ meta: { title: "客户管理", icon: "garden:customer-lists-fill-26" },
|
|
|
+ component: "basic/customer"
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
+ {
|
|
|
+ name: "system",
|
|
|
+ path: "/system",
|
|
|
+ meta: { title: "系统管理", icon: "fluent:apps-settings-16-filled" },
|
|
|
+ redirect: "/system/index",
|
|
|
+ children: []
|
|
|
+ }
|
|
|
]
|
|
|
|
|
|
export default routes;
|