Commit a25bf5e8 authored by wuhao's avatar wuhao 🎯

asder

parent 09a3c2fb
export default [ export default [
{ path: '/welcome', name: '欢迎', icon: 'smile', component: './Welcome' }, {
{ "path": "/welcome",
name: '基础设置', "name": "欢迎",
icon: 'setting', "icon": "smile",
path: '/setting', "component": "./Welcome"
routes: [ },
{ {
name: '用户管理', "name": "基础设置",
path: '/setting/users', "icon": "setting",
component: './setting/users', "path": "/setting",
}, "routes": [
{ {
name: '角色管理', "name": "用户管理",
path: '/setting/role', "path": "/setting/users",
component: './setting/role', "component": "./setting/users"
}, },
{ {
name: '组织管理', "name": "角色管理",
path: '/setting/organization', "path": "/setting/role",
component: './setting/organization', "component": "./setting/role"
}, },
{ {
name: '工厂管理', "name": "组织管理",
path: '/setting/factory', "path": "/setting/organization",
component: './setting/factory', "component": "./setting/organization"
}, },
{ {
name: '车间管理', "name": "工厂管理",
path: '/setting/workshop', "path": "/setting/factory",
component: './setting/workshop', "component": "./setting/factory"
}, },
{ {
name: '工段管理', "name": "车间管理",
path: '/setting/section', "path": "/setting/workshop",
component: './setting/section', "component": "./setting/workshop"
}, },
{ {
name: '产线管理', "name": "工段管理",
path: '/setting/production', "path": "/setting/section",
component: './setting/production', "component": "./setting/section"
}, },
], {
}, "name": "产线管理",
{ "path": "/setting/production",
name: '设备管理', "component": "./setting/production"
icon: 'bulb', }
path: '/device', ]
routes: [ },
{ {
name: '设备台账', "name": "设备管理",
path: '/device/account', "icon": "bulb",
component: './device/account', "path": "/device",
}, "routes": [
{ {
name: '设备类型', "name": "设备台账",
path: '/device/type', "path": "/device/account",
component: './device/type', "component": "./device/account"
}, },
{ {
name: '设备型号', "name": "设备类型",
path: '/device/model', "path": "/device/type",
component: './device/model', "component": "./device/type"
}, },
{ {
name: '设备供应商', "name": "设备型号",
path: '/device/supplier', "path": "/device/model",
component: './device/supplier', "component": "./device/model"
}, },
], {
}, "name": "设备供应商",
]; "path": "/device/supplier",
"component": "./device/supplier"
}
]
},
{
"name": "维修管理",
"path": "/repair",
"icon": "tool",
"routes": [
{
"name": "故障报修",
"path": "/repair/failure",
"icon": "",
"component": "./repair/failure"
}
]
}
];
\ No newline at end of file
...@@ -64,7 +64,6 @@ function Failure(props) { ...@@ -64,7 +64,6 @@ function Failure(props) {
okText: '确认', okText: '确认',
cancelText: '取消', cancelText: '取消',
onConfirm: () => { onConfirm: () => {
alert(0);
}, },
}} }}
btn={{ btn={{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment