Commit a25bf5e8 authored by wuhao's avatar wuhao 🎯

asder

parent 09a3c2fb
export default [ export default [
{ path: '/welcome', name: '欢迎', icon: 'smile', component: './Welcome' },
{ {
name: '基础设置', "path": "/welcome",
icon: 'setting', "name": "欢迎",
path: '/setting', "icon": "smile",
routes: [ "component": "./Welcome"
{
name: '用户管理',
path: '/setting/users',
component: './setting/users',
}, },
{ {
name: '角色管理', "name": "基础设置",
path: '/setting/role', "icon": "setting",
component: './setting/role', "path": "/setting",
"routes": [
{
"name": "用户管理",
"path": "/setting/users",
"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",
"component": "./setting/production"
}
]
}, },
{ {
name: '设备管理', "name": "设备管理",
icon: 'bulb', "icon": "bulb",
path: '/device', "path": "/device",
routes: [ "routes": [
{ {
name: '设备台账', "name": "设备台账",
path: '/device/account', "path": "/device/account",
component: './device/account', "component": "./device/account"
}, },
{ {
name: '设备类型', "name": "设备类型",
path: '/device/type', "path": "/device/type",
component: './device/type', "component": "./device/type"
}, },
{ {
name: '设备型号', "name": "设备型号",
path: '/device/model', "path": "/device/model",
component: './device/model', "component": "./device/model"
}, },
{ {
name: '设备供应商', "name": "设备供应商",
path: '/device/supplier', "path": "/device/supplier",
component: './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