2024-01-04 09:02:38 +08:00
|
|
|
import { MODEL } from "@/assets/js/constant";
|
|
|
|
|
|
|
|
export default [
|
|
|
|
{
|
|
|
|
path: "/enterprise_management",
|
|
|
|
redirect: "/enterprise_management/information",
|
|
|
|
meta: { title: "企业管理", model: MODEL["1"] },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "/enterprise_management/information",
|
|
|
|
redirect: "/enterprise_management/information/info",
|
|
|
|
meta: { title: "企业信息" },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "/enterprise_management/information/info",
|
|
|
|
meta: { title: "企业信息", isSubMenu: false },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "",
|
|
|
|
component: "enterprise_management/information/info",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/enterprise_management/information/info/edit",
|
|
|
|
meta: {
|
|
|
|
title: "编辑",
|
|
|
|
activeMenu: "/enterprise_management/information/info",
|
|
|
|
},
|
|
|
|
component: "enterprise_management/information/edit",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/enterprise_management/information/industry_qualifications",
|
|
|
|
meta: { title: "行业资质", isSubMenu: false },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "",
|
|
|
|
component:
|
|
|
|
"enterprise_management/industry_qualifications/index",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/enterprise_management/information/industry_qualifications/add",
|
|
|
|
meta: {
|
|
|
|
title: "新增",
|
|
|
|
activeMenu:
|
|
|
|
"/enterprise_management/information/industry_qualifications",
|
|
|
|
},
|
|
|
|
component: "enterprise_management/industry_qualifications/add",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/enterprise_management/information/industry_qualifications/update",
|
|
|
|
meta: {
|
|
|
|
title: "修改",
|
|
|
|
activeMenu:
|
|
|
|
"/enterprise_management/information/industry_qualifications",
|
|
|
|
},
|
|
|
|
component: "enterprise_management/industry_qualifications/add",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/enterprise_management/information/industry_qualifications/view",
|
|
|
|
meta: {
|
|
|
|
title: "查看",
|
|
|
|
activeMenu:
|
|
|
|
"/enterprise_management/information/industry_qualifications",
|
|
|
|
},
|
|
|
|
component: "enterprise_management/industry_qualifications/view",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2024-01-05 14:32:49 +08:00
|
|
|
{
|
|
|
|
path: "/confined_space",
|
|
|
|
redirect: "/confined_space/job_data",
|
|
|
|
meta: { title: "受限空间作业管理", model: MODEL["3"] },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "/confined_space/job_data",
|
|
|
|
meta: { title: "受限空间作业数据", isSubMenu: false },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{ path: "", component: "confined_space/job_data/index" },
|
|
|
|
{
|
|
|
|
path: "/confined_space/job_data/view",
|
|
|
|
meta: {
|
|
|
|
title: "审批表详情",
|
|
|
|
activeMenu: "/confined_space/job_data",
|
|
|
|
},
|
|
|
|
component: "confined_space/job_data/view",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/confined_space/ledger",
|
|
|
|
meta: { title: "受限空间台账", isSubMenu: false },
|
|
|
|
component: "confined_space/ledger/index",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/confined_space/archive",
|
|
|
|
meta: { title: "归档管理", isSubMenu: false },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{ path: "", component: "confined_space/archive/index" },
|
|
|
|
{
|
|
|
|
path: "/confined_space/archive/view",
|
|
|
|
meta: {
|
|
|
|
title: "审批表详情",
|
|
|
|
activeMenu: "/confined_space/archive",
|
|
|
|
},
|
|
|
|
component: "confined_space/archive/view",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/blind_plate_plugging",
|
|
|
|
redirect: "/blind_plate_plugging/job_data",
|
|
|
|
meta: { title: "盲板抽堵作业管理", model: MODEL["3"] },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "/blind_plate_plugging/job_data",
|
|
|
|
meta: { title: "盲板抽堵作业数据", isSubMenu: false },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{ path: "", component: "blind_plate_plugging/job_data/index" },
|
|
|
|
{
|
|
|
|
path: "/blind_plate_plugging/job_data/view",
|
|
|
|
meta: {
|
|
|
|
title: "审批表详情",
|
|
|
|
activeMenu: "/blind_plate_plugging/job_data",
|
|
|
|
},
|
|
|
|
component: "blind_plate_plugging/job_data/view",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/blind_plate_plugging/archive",
|
|
|
|
meta: { title: "归档管理", isSubMenu: false },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{ path: "", component: "blind_plate_plugging/archive/index" },
|
|
|
|
{
|
|
|
|
path: "/blind_plate_plugging/archive/view",
|
|
|
|
meta: {
|
|
|
|
title: "审批表详情",
|
|
|
|
activeMenu: "/blind_plate_plugging/archive",
|
|
|
|
},
|
|
|
|
component: "blind_plate_plugging/archive/view",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/groundbreaking",
|
|
|
|
redirect: "/groundbreaking/job_data",
|
|
|
|
meta: { title: "动土作业管理", model: MODEL["3"] },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "/groundbreaking/job_data",
|
|
|
|
meta: { title: "动土作业数据", isSubMenu: false },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{ path: "", component: "groundbreaking/job_data/index" },
|
|
|
|
{
|
|
|
|
path: "/groundbreaking/job_data/view",
|
|
|
|
meta: {
|
|
|
|
title: "审批表详情",
|
|
|
|
activeMenu: "/groundbreaking/job_data",
|
|
|
|
},
|
|
|
|
component: "groundbreaking/job_data/view",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/groundbreaking/archive",
|
|
|
|
meta: { title: "归档管理", isSubMenu: false },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{ path: "", component: "groundbreaking/archive/index" },
|
|
|
|
{
|
|
|
|
path: "/groundbreaking/archive/view",
|
|
|
|
meta: {
|
|
|
|
title: "审批表详情",
|
|
|
|
activeMenu: "/groundbreaking/archive",
|
|
|
|
},
|
|
|
|
component: "groundbreaking/archive/view",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/high",
|
|
|
|
redirect: "/high/job_data",
|
|
|
|
meta: { title: "高处作业管理", model: MODEL["3"] },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "/high/job_data",
|
|
|
|
meta: { title: "高处作业数据", isSubMenu: false },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{ path: "", component: "high/job_data/index" },
|
|
|
|
{
|
|
|
|
path: "/high/job_data/view",
|
|
|
|
meta: {
|
|
|
|
title: "审批表详情",
|
|
|
|
activeMenu: "/high/job_data",
|
|
|
|
},
|
|
|
|
component: "high/job_data/view",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/high/archive",
|
|
|
|
meta: { title: "归档管理", isSubMenu: false },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{ path: "", component: "high/archive/index" },
|
|
|
|
{
|
|
|
|
path: "/high/archive/view",
|
|
|
|
meta: {
|
|
|
|
title: "审批表详情",
|
|
|
|
activeMenu: "/high/archive",
|
|
|
|
},
|
|
|
|
component: "high/archive/view",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/hoisting",
|
|
|
|
redirect: "/hoisting/job_data",
|
|
|
|
meta: { title: "吊装作业管理", model: MODEL["3"] },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "/hoisting/job_data",
|
|
|
|
meta: { title: "吊装作业数据", isSubMenu: false },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{ path: "", component: "hoisting/job_data/index" },
|
|
|
|
{
|
|
|
|
path: "/hoisting/job_data/view",
|
|
|
|
meta: {
|
|
|
|
title: "审批表详情",
|
|
|
|
activeMenu: "/hoisting/job_data",
|
|
|
|
},
|
|
|
|
component: "hoisting/job_data/view",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/hoisting/archive",
|
|
|
|
meta: { title: "归档管理", isSubMenu: false },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{ path: "", component: "hoisting/archive/index" },
|
|
|
|
{
|
|
|
|
path: "/hoisting/archive/view",
|
|
|
|
meta: {
|
|
|
|
title: "审批表详情",
|
|
|
|
activeMenu: "/hoisting/archive",
|
|
|
|
},
|
|
|
|
component: "hoisting/archive/view",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/open_circuit",
|
|
|
|
redirect: "/open_circuit/job_data",
|
|
|
|
meta: { title: "断路作业管理", model: MODEL["3"] },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "/open_circuit/job_data",
|
|
|
|
meta: { title: "断路作业数据", isSubMenu: false },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{ path: "", component: "open_circuit/job_data/index" },
|
|
|
|
{
|
|
|
|
path: "/open_circuit/job_data/view",
|
|
|
|
meta: {
|
|
|
|
title: "审批表详情",
|
|
|
|
activeMenu: "/open_circuit/job_data",
|
|
|
|
},
|
|
|
|
component: "open_circuit/job_data/view",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/open_circuit/archive",
|
|
|
|
meta: { title: "归档管理", isSubMenu: false },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{ path: "", component: "open_circuit/archive/index" },
|
|
|
|
{
|
|
|
|
path: "/open_circuit/archive/view",
|
|
|
|
meta: {
|
|
|
|
title: "审批表详情",
|
|
|
|
activeMenu: "/open_circuit/archive",
|
|
|
|
},
|
|
|
|
component: "open_circuit/archive/view",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2024-01-05 15:49:15 +08:00
|
|
|
{
|
|
|
|
path: "/temporary_electricity_usage",
|
|
|
|
redirect: "/temporary_electricity_usage/job_data",
|
|
|
|
meta: { title: "临时用电作业管理", model: MODEL["3"] },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "/temporary_electricity_usage/job_data",
|
|
|
|
meta: { title: "临时用电作业数据", isSubMenu: false },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{ path: "", component: "temporary_electricity_usage/job_data/index" },
|
|
|
|
{
|
|
|
|
path: "/temporary_electricity_usage/job_data/view",
|
|
|
|
meta: {
|
|
|
|
title: "审批表详情",
|
|
|
|
activeMenu: "/temporary_electricity_usage/job_data",
|
|
|
|
},
|
|
|
|
component: "temporary_electricity_usage/job_data/view",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/temporary_electricity_usage/archive",
|
|
|
|
meta: { title: "归档管理", isSubMenu: false },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{ path: "", component: "temporary_electricity_usage/archive/index" },
|
|
|
|
{
|
|
|
|
path: "/temporary_electricity_usage/archive/view",
|
|
|
|
meta: {
|
|
|
|
title: "审批表详情",
|
|
|
|
activeMenu: "/temporary_electricity_usage/archive",
|
|
|
|
},
|
|
|
|
component: "temporary_electricity_usage/archive/view",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/hot_work",
|
|
|
|
redirect: "/hot_work/job_data",
|
|
|
|
meta: { title: "动火作业管理", model: MODEL["3"] },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "/hot_work/job_data",
|
|
|
|
meta: { title: "动火作业数据", isSubMenu: false },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{ path: "", component: "hot_work/job_data/index" },
|
|
|
|
{
|
|
|
|
path: "/hot_work/job_data/view",
|
|
|
|
meta: {
|
|
|
|
title: "审批表详情",
|
|
|
|
activeMenu: "/hot_work/job_data",
|
|
|
|
},
|
|
|
|
component: "hot_work/job_data/view",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/hot_work/archive",
|
|
|
|
meta: { title: "归档管理", isSubMenu: false },
|
|
|
|
component: "children",
|
|
|
|
children: [
|
|
|
|
{ path: "", component: "hot_work/archive/index" },
|
|
|
|
{
|
|
|
|
path: "/hot_work/archive/view",
|
|
|
|
meta: {
|
|
|
|
title: "审批表详情",
|
|
|
|
activeMenu: "/hot_work/archive",
|
|
|
|
},
|
|
|
|
component: "hot_work/archive/view",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2024-01-04 09:02:38 +08:00
|
|
|
];
|