服装智能制造软件平台V3.0
http://182.92.169.222/hhxy/#/user/login
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
663 lines
16 KiB
663 lines
16 KiB
import { |
|
UserLayout, |
|
UserLayoutWorkOrder, |
|
UserLayoutWorkmanship, |
|
UserLayoutGlobal, |
|
UserLayoutFitting, |
|
UserLayoutDroduction, |
|
UserLayoutAttendance, |
|
UserLayoutMall, |
|
UserLayoutBigData, |
|
UserLayoutXB, |
|
UserLayoutData, |
|
TabLayout, |
|
RouteView, |
|
BlankLayout, |
|
UserLayoutSimulation, |
|
UserLayoutSchedule, |
|
UserLayoutEquip, |
|
Xtszjfusjv, |
|
Sbglsjkzxt, |
|
Gjglsjkzxt, |
|
Ckfwdjzxt, |
|
Ckglzxt, |
|
Sypjsjkzxt, |
|
Wlglsjkzxt, |
|
Scgzzxt, |
|
Gytszxt, |
|
Gyglzxt, |
|
Sykcsjkzxt, |
|
Scrysjkzxt, |
|
Jxrysjkzxt, |
|
Jxzzglsjkzxt, |
|
Scyssjkzxt, |
|
Sckzzxt, |
|
Sbjmsjkzxt, |
|
Jxglsjkzxt, |
|
Szlssjkzxt, |
|
Jxdsjzszxt, |
|
Ybglsjkzxt, |
|
Mflglsjkzxt, |
|
Ddclzxt, |
|
Ddglzxt, |
|
Dyhsczxt, |
|
Znyysczhgkzzrj, |
|
Znyycjrjxt, |
|
Gdgzzxt, |
|
PageView |
|
} from '@/components/layouts' |
|
|
|
/** |
|
* 走菜单,走权限控制 |
|
* @type {[null,null]} |
|
*/ |
|
export const asyncRouterMap = [ |
|
|
|
{ |
|
path: '/', |
|
name: 'dashboard', |
|
component: TabLayout, |
|
meta: {title: '首页'}, |
|
redirect: '/dashboard/analysis', |
|
children: [ |
|
] |
|
}, |
|
{ |
|
path: '*', redirect: '/404', hidden: true |
|
}, |
|
{ |
|
path: '/page1', |
|
name: 'page1', |
|
component: TabLayout, |
|
meta: {title: '首页'}, |
|
redirect: '/dashboard/analysis' |
|
} |
|
] |
|
|
|
/** |
|
* 基础路由 |
|
* @type { *[] } |
|
*/ |
|
export const constantRouterMap = [ |
|
{ |
|
path: '/gdgz', |
|
component: Gdgzzxt, |
|
redirect: '/gdgz/gdgzzxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'gdgzzxt', |
|
name: 'gdgzzxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/znyyjc', |
|
component: Znyycjrjxt, |
|
redirect: '/znyyjc/znyycjrjxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'znyycjrjxt', |
|
name: 'znyycjrjxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/znyy', |
|
component: Znyysczhgkzzrj, |
|
redirect: '/znyy/znyysczhgkzzrj', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'znyysczhgkzzrj', |
|
name: 'znyysczhgkzzrj', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/dyhsc', |
|
component: Dyhsczxt, |
|
redirect: '/dyhsc/dyhsczxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'dyhsczxt', |
|
name: 'dyhsczxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/ddgl', |
|
component: Ddglzxt, |
|
redirect: '/ddgl/ddglzxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'ddglzxt', |
|
name: 'ddglzxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/ddcl', |
|
component: Ddclzxt, |
|
redirect: '/ddcl/ddclzxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'ddclzxt', |
|
name: 'ddclzxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/mflgl', |
|
component: Mflglsjkzxt, |
|
redirect: '/mflgl/mflglsjkzxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'mflglsjkzxt', |
|
name: 'mflglsjkzxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/ybgl', |
|
component: Ybglsjkzxt, |
|
redirect: '/ybgl/ybglsjkzxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'ybglsjkzxt', |
|
name: 'ybglsjkzxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/jxdsj', |
|
component: Jxdsjzszxt, |
|
redirect: '/jxdsj/jxdsjzszxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'jxdsjzszxt', |
|
name: 'jxdsjzszxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/szls', |
|
component: Szlssjkzxt, |
|
redirect: '/szls/szlssjkzxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'szlssjkzxt', |
|
name: 'szlssjkzxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/jxgl', |
|
component: Jxglsjkzxt, |
|
redirect: '/jxgl/jxglsjkzxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'jxglsjkzxt', |
|
name: 'jxglsjkzxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/sbjm', |
|
component: Sbjmsjkzxt, |
|
redirect: '/sbjm/sbjmsjkzxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'sbjmsjkzxt', |
|
name: 'sbjmsjkzxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/sckz', |
|
component: Sckzzxt, |
|
redirect: '/sckz/sckzzxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'sckzzxt', |
|
name: 'sckzzxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/scys', |
|
component: Scyssjkzxt, |
|
redirect: '/scys/scyssjkzxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'scyssjkzxt', |
|
name: 'scyssjkzxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/jxzz', |
|
component: Jxzzglsjkzxt, |
|
redirect: '/jxzz/jxzzglsjkzxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'jxzzglsjkzxt', |
|
name: 'jxzzglsjkzxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/jxrysjk', |
|
component: Jxrysjkzxt, |
|
redirect: '/jxrysjk/jxrysjkzxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'jxrysjkzxt', |
|
name: 'jxrysjkzxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/scrysjk', |
|
component: Scrysjkzxt, |
|
redirect: '/scrysjk/scrysjkzxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'scrysjkzxt', |
|
name: 'scrysjkzxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/sykesjk', |
|
component: Sykcsjkzxt, |
|
redirect: '/sykesjk/sykcsjkzxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'sykcsjkzxt', |
|
name: 'sykcsjkzxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/gygl', |
|
component: Gyglzxt, |
|
redirect: '/gygl/gyglzxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'gyglzxt', |
|
name: 'gyglzxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/gyts', |
|
component: Gytszxt, |
|
redirect: '/gyts/gytszxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'gytszxt', |
|
name: 'gytszxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/scgz', |
|
component: Scgzzxt, |
|
redirect: '/scgz/scgzzxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'scgzzxt', |
|
name: 'scgzzxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/wlgl', |
|
component: Wlglsjkzxt, |
|
redirect: '/wlgl/wlglsjkzxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'wlglsjkzxt', |
|
name: 'wlglsjkzxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/sypj', |
|
component: Sypjsjkzxt, |
|
redirect: '/sypj/sypjsjkzxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'sypjsjkzxt', |
|
name: 'sypjsjkzxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/usermall', |
|
component: UserLayoutMall, |
|
redirect: '/usermall/loginmall', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'loginmall', |
|
name: 'loginmall', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/xtsz', |
|
component: Xtszjfusjv, |
|
redirect: '/xtsz/xtszjfusjv', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'xtszjfusjv', |
|
name: 'xtszjfusjv', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/sbgl', |
|
component: Sbglsjkzxt, |
|
redirect: '/sbgl/sbglsjkzxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'sbglsjkzxt', |
|
name: 'sbglsjkzxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/ckdj', |
|
component: Ckfwdjzxt, |
|
redirect: '/ckdj/ckfwdjzxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'ckfwdjzxt', |
|
name: 'ckfwdjzxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/ckgl', |
|
component: Ckglzxt, |
|
redirect: '/ckgl/ckglzxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'ckglzxt', |
|
name: 'ckglzxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/gjgl', |
|
component: Gjglsjkzxt, |
|
redirect: '/gjgl/gjglsjkzxt', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'gjglsjkzxt', |
|
name: 'gjglsjkzxt', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/userbigdata', |
|
component: UserLayoutBigData, |
|
redirect: '/userbigdata/loginbigdata', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'loginbigdata', |
|
name: 'loginbigdata', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/loginbx', |
|
component: UserLayoutXB, |
|
redirect: '/loginbx/loginbx', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'loginbx', |
|
name: 'loginbx', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/userdata', |
|
component: UserLayoutData, |
|
redirect: '/userdata/logindata', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'logindata', |
|
name: 'logindata', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/userattendance', |
|
component: UserLayoutAttendance, |
|
redirect: '/userattendance/loginattendance', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'loginattendance', |
|
name: 'loginattendance', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/userdroduction', |
|
component: UserLayoutDroduction, |
|
redirect: '/userdroduction/logindroduction', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'logindroduction', |
|
name: 'logindroduction', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/userfitting', |
|
component: UserLayoutFitting, |
|
redirect: '/userfitting/loginfitting', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'loginfitting', |
|
name: 'loginfitting', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/userglobal', |
|
component: UserLayoutGlobal, |
|
redirect: '/userglobal/loginglobal', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'loginglobal', |
|
name: 'loginglobal', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/userworkmanship', |
|
component: UserLayoutWorkmanship, |
|
redirect: '/userworkmanship/loginworkmanship', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'loginworkmanship', |
|
name: 'loginworkmanship', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/userworkorder', |
|
component: UserLayoutWorkOrder, |
|
redirect: '/userworkorder/loginworkorder', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'loginworkorder', |
|
name: 'loginworkorder', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/userequip', |
|
component: UserLayoutEquip, |
|
redirect: '/userequip/loginequip', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'loginequip', |
|
name: 'loginequip', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/userschedule', |
|
component: UserLayoutSchedule, |
|
redirect: '/userschedule/loginschedule', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'loginschedule', |
|
name: 'loginschedule', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/usersimulation', |
|
component: UserLayoutSimulation, |
|
redirect: '/usersimulation/loginsimulation', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'loginsimulation', |
|
name: 'loginsimulation', |
|
component: () => import(/* webpackChu nkName: "user" */ '@/views/user/Login') |
|
}] |
|
}, |
|
{ |
|
path: '/user', |
|
component: UserLayout, |
|
redirect: '/user/login', |
|
hidden: true, |
|
children: [ |
|
{ |
|
path: 'login', |
|
name: 'login', |
|
component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login') |
|
}, |
|
{ |
|
path: 'register', |
|
name: 'register', |
|
component: () => import(/* webpackChunkName: "user" */ '@/views/user/register/Register') |
|
}, |
|
|
|
{ |
|
path: 'sgin', |
|
name: 'sgin', |
|
component: () => import(/* webpackChunkName: "user" */ '@/views/personalCenter/SignInView') |
|
}, |
|
{ |
|
path: 'register-result', |
|
name: 'registerResult', |
|
component: () => import(/* webpackChunkName: "user" */ '@/views/user/register/RegisterResult') |
|
}, |
|
{ |
|
path: 'alteration', |
|
name: 'alteration', |
|
component: () => import(/* webpackChunkName: "user" */ '@/views/user/alteration/Alteration') |
|
}, |
|
] |
|
}, |
|
{ |
|
path: '/test', |
|
component: BlankLayout, |
|
redirect: '/test/home', |
|
children: [ |
|
{ |
|
path: 'home', |
|
name: 'TestHome', |
|
component: () => import('@/views/Home') |
|
} |
|
] |
|
}, |
|
{ |
|
path: '/404', |
|
component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404') |
|
}, |
|
{ |
|
path: '/atlas', |
|
component: () => import(/* webpackChunkName: "fail" */ '@/views/seknowgroup/SeKnowAtlasList') |
|
}, |
|
|
|
{ |
|
path: '/shopping/shopHome',//这里是你需要设置新窗口打开的页面的路径s |
|
component: () => import('@/views/shopping/shopHome'), |
|
}, |
|
{ |
|
path: '/shopping/clothType',//这里是你需要设置新窗口打开的页面的路径s |
|
name: 'clothType', |
|
component: () => import('@/views/shopping/pages/clothType'), |
|
}, |
|
{ |
|
path: '/shopping/ClothDetail',//这里是你需要设置新窗口打开的页面的路径s |
|
component: () => import('@/views/shopping/pages/clothDetail'), |
|
}, |
|
{ |
|
path: '/shopping/sirendingzhi',//这里是你需要设置新窗口打开的页面的路径s |
|
component: () => import('@/views/shopping/pages/sirendingzhi'), |
|
}, |
|
|
|
{ |
|
path: '/shopping/person',//这里是你需要设置新窗口打开的页面的路径s |
|
component: () => import('@/views/shopping/pages/gerenzhongxin'), |
|
}, |
|
{ |
|
path: '/shopping/order',//这里是你需要设置新窗口打开的页面的路径s |
|
component: () => import('@/views/shopping/pages/orderDetails'), |
|
}, |
|
{ |
|
path: '/shopping/chengyi',//这里是你需要设置新窗口打开的页面的路径s |
|
component: () => import('@/views/shopping/pages/chengyi'), |
|
}, |
|
{ |
|
path: '/shopping/news',//这里是你需要设置新窗口打开的页面的路径s |
|
component: () => import('@/views/shopping/pages/news'), |
|
}, |
|
]
|
|
|