fix: route顺序调整

This commit is contained in:
caoqianming 2024-08-13 10:58:10 +08:00
parent 98cf9e8e66
commit a0dcbd8ec6
1 changed files with 95 additions and 95 deletions

View File

@ -134,6 +134,101 @@ const routes = [
},
],
},
//审批
{
name: "wf",
path: "/wf",
meta: {
title: "审批管理",
icon: "sc-icon-Shenpi",
type: "menu",
perms: ["wf"],
},
children: [
{
name: "workflow",
path: "/wf/workflow",
meta: {
title: "工作流",
// icon: "el-icon-guide",
perms: ["workflow"],
},
component: "wf/workflow",
},
{
name: "configuration",
path: "/wf/configuration",
meta: {
title: "工作流配置",
// icon: "el-icon-menu",
hidden: true,
perms: ["workflow"],
},
component: "wf/configuration",
},
{
name: "allwork",
path: "/wf/allwork",
meta: {
title: "全部审批",
// icon: "el-icon-folder",
perms: ["allwork"],
},
component: "wf/allwork",
},
{
name: "ownerwork",
path: "/wf/ownerwork",
meta: {
title: "我创建的",
// icon: "el-icon-folder-add",
perms: ["ownerwork"],
},
component: "wf/ownerwork",
},
{
name: "duty",
path: "/wf/dutywork",
meta: {
title: "待办审批",
// icon: "el-icon-folder-opened",
perms: ["duty"],
},
component: "wf/dutywork",
},
{
name: "worked",
path: "/wf/worked",
meta: {
title: "我处理的",
// icon: "el-icon-expand",
perms: ["worked"],
},
component: "wf/worked",
},
{
name: "ccwork",
path: "/wf/ccwork",
meta: {
title: "抄送我的",
// icon: "el-icon-edit-pen",
perms: ["ccwork"],
},
component: "wf/ccwork",
},
{
name: "ticketdetail",
path: "/wf/ticketdetail",
meta: {
title: "工单详情",
// icon: "el-icon-menu",
hidden: true,
perms: ["duty"],
},
component: "wf/ticketdetail",
},
],
},
//电石渣
{
name: "enm_slag",
@ -2175,101 +2270,6 @@ const routes = [
},
],
},
//审批
{
name: "wf",
path: "/wf",
meta: {
title: "审批管理",
icon: "sc-icon-Shenpi",
type: "menu",
perms: ["wf"],
},
children: [
{
name: "workflow",
path: "/wf/workflow",
meta: {
title: "工作流",
// icon: "el-icon-guide",
perms: ["workflow"],
},
component: "wf/workflow",
},
{
name: "configuration",
path: "/wf/configuration",
meta: {
title: "工作流配置",
// icon: "el-icon-menu",
hidden: true,
perms: ["workflow"],
},
component: "wf/configuration",
},
{
name: "allwork",
path: "/wf/allwork",
meta: {
title: "全部工单",
// icon: "el-icon-folder",
perms: ["allwork"],
},
component: "wf/allwork",
},
{
name: "ownerwork",
path: "/wf/ownerwork",
meta: {
title: "我创建的",
// icon: "el-icon-folder-add",
perms: ["ownerwork"],
},
component: "wf/ownerwork",
},
{
name: "duty",
path: "/wf/dutywork",
meta: {
title: "待办工单",
// icon: "el-icon-folder-opened",
perms: ["duty"],
},
component: "wf/dutywork",
},
{
name: "worked",
path: "/wf/worked",
meta: {
title: "我处理的",
// icon: "el-icon-expand",
perms: ["worked"],
},
component: "wf/worked",
},
{
name: "ccwork",
path: "/wf/ccwork",
meta: {
title: "抄送我的",
// icon: "el-icon-edit-pen",
perms: ["ccwork"],
},
component: "wf/ccwork",
},
{
name: "ticketdetail",
path: "/wf/ticketdetail",
meta: {
title: "工单详情",
// icon: "el-icon-menu",
hidden: true,
perms: ["duty"],
},
component: "wf/ticketdetail",
},
],
},
//区域
{
name: "am",