Commit 56ce24b5 authored by TZW's avatar TZW

ddd

parent 6786a15d
export default [
{
"path": "/welcome",
"name": "首页",
"icon": "smile",
"component": "./Welcome"
},
{
"name": "基础设置",
"icon": "setting",
"path": "/setting",
"routes": [
{
"name": "用户管理",
"path": "/setting/users",
"component": "./setting/users"
},
{
"name": "角色管理",
"path": "/setting/role",
"component": "./setting/role"
},
{
"name": "组织管理",
"path": "/setting/organization",
"component": "./setting/organization"
},
{
"name": "工厂管理",
"path": "/setting/factory",
"component": "./setting/factory"
},
{
"name": "车间管理",
"path": "/setting/workshop",
"component": "./setting/workshop"
},
{
"name": "工段管理",
"path": "/setting/section",
"component": "./setting/section"
},
{
"name": "产线管理",
"path": "/setting/production",
"component": "./setting/production"
}
]
},
{
"name": "设备管理",
"icon": "bulb",
"path": "/device",
"routes": [
{
"name": "设备台账",
"path": "/device/account",
"component": "./device/account"
},
{
"name": "设备类型",
"path": "/device/type",
"component": "./device/type"
},
{
"name": "设备型号",
"path": "/device/model",
"component": "./device/model"
},
{
"name": "设备供应商",
"path": "/device/supplier",
"component": "./device/supplier"
}
]
},
{
"name": "维修管理",
"path": "/repair",
"icon": "tool",
"routes": [
{
"name": "接单平台",
"path": "/repair/platform",
"icon": "",
"component": "./repair/platform"
},
{
"name": "故障报修",
"path": "/repair/failure",
"icon": "",
"component": "./repair/failure"
},
{
"name": "维修工单",
"path": "/repair/order",
"icon": "",
"component": "./repair/order"
},
{
"name": "追踪工单",
"path": "/repair/track",
"icon": "",
"component": "./repair/track"
},
{
"name": "外协工单",
"path": "/repair/outsourcing",
"icon": "",
"component": "./repair/outsourcing"
},
{
"name": "故障设置",
"path": "/repair/fault",
"icon": "",
"component": "./repair/fault"
}
]
},
{
"name": "系统管理",
"path": "/system",
"icon": "desktop",
"routes": [
{
"name": "数据字典",
"path": "/system/dictionary",
"icon": "",
"component": "./system/dictionary"
},
{
"name": "扩展字段",
"path": "/system/field",
"icon": "",
"component": "./system/field"
},
{
"name": "编号规则",
"path": "/system/rules",
"icon": "",
"component": "./system/rules"
},
{
"name": "推送配置",
"path": "/system/pushsetting",
"icon": "",
"component": "./system/pushsetting"
}
]
},
{
"name": "备件管理",
"path": "/spare",
"icon": "sliders",
"routes": [
{
"name": " 备件库存",
"path": "/spare/stock",
"icon": "",
"component": "./spare/stock"
},
{
"name": "入库管理",
"path": "/spare/instore",
"icon": "",
"component": "./spare/instore"
},
{
"name": "出库管理",
"path": "/spare/outstore",
"icon": "",
"component": "./spare/outstore"
},
{
"name": "出入库记录",
"path": "/spare/record",
"icon": "",
"component": "./spare/record"
},
{
"name": "备件领用",
"path": "/spare/requisition",
"icon": "",
"component": "./spare/requisition"
},
{
"name": "备件回冲",
"path": "/spare/spareback",
"icon": "",
"component": "./spare/spareback"
},
{
"name": " 线边库存",
"path": "/spare/edgestore",
"icon": "",
"component": "./spare/edgestore"
},
{
"name": "备件供应商",
"path": "/spare/supplier",
"icon": "",
"component": "./spare/supplier"
},
{
"name": " 备件设置",
"path": "/spare/setting",
"icon": "",
"component": "./spare/setting"
}
]
},
{
"name": "点检管理",
"path": "/check",
"icon": "check-circle",
"routes": [
{
"name": " 点检标准",
"path": "/check/standard",
"icon": "",
"component": "./check/standard"
},
{
"name": "点检计划",
"path": "/check/plan",
"icon": "",
"component": "./check/plan"
},
{
"name": "点检接单",
"path": "/check/order",
"icon": "",
"component": "./check/order"
},
{
"name": "点检工单",
"path": "/check/task",
"icon": "",
"component": "./check/task"
}
]
},
{
"name": "保养管理",
"path": "/maintain",
"icon": "dashboard",
"routes": [
{
"name": "保养接单",
"path": "/maintain/orders",
"icon": "",
"component": "./maintain/orders"
},
{
"name": "保养工单",
"path": "/maintain/workOrder",
"icon": "",
"component": "./maintain/workOrder"
},
{
"name": " 保养标准",
"path": "/maintain/criterion",
"icon": "",
"component": "./maintain/criterion"
},
{
"name": "保养计划",
"path": "/maintain/plan",
"icon": "",
"component": "./maintain/plan"
}
]
}
];
\ No newline at end of file
{
path: '/welcome',
name: '首页',
icon: 'smile',
component: './Welcome',
},
{
name: '基础设置',
icon: 'setting',
path: '/setting',
routes: [
{
name: '用户管理',
path: '/setting/users',
component: './setting/users',
},
{
name: '角色管理',
path: '/setting/role',
component: './setting/role',
},
{
name: '组织管理',
path: '/setting/organization',
component: './setting/organization',
},
{
name: '工厂管理',
path: '/setting/factory',
component: './setting/factory',
},
{
name: '车间管理',
path: '/setting/workshop',
component: './setting/workshop',
},
{
name: '工段管理',
path: '/setting/section',
component: './setting/section',
},
{
name: '产线管理',
path: '/setting/production',
component: './setting/production',
},
],
},
{
name: '设备管理',
icon: 'bulb',
path: '/device',
routes: [
{
name: '设备台账',
path: '/device/account',
component: './device/account',
},
{
name: '设备类型',
path: '/device/type',
component: './device/type',
},
{
name: '设备型号',
path: '/device/model',
component: './device/model',
},
{
name: '设备供应商',
path: '/device/supplier',
component: './device/supplier',
},
],
},
{
name: '维修管理',
path: '/repair',
icon: 'tool',
routes: [
{
name: '接单平台',
path: '/repair/platform',
icon: '',
component: './repair/platform',
},
{
name: '故障报修',
path: '/repair/failure',
icon: '',
component: './repair/failure',
},
{
name: '维修工单',
path: '/repair/order',
icon: '',
component: './repair/order',
},
{
name: '追踪工单',
path: '/repair/track',
icon: '',
component: './repair/track',
},
{
name: '外协工单',
path: '/repair/outsourcing',
icon: '',
component: './repair/outsourcing',
},
{
name: '故障设置',
path: '/repair/fault',
icon: '',
component: './repair/fault',
},
],
},
{
name: '系统管理',
path: '/system',
icon: 'desktop',
routes: [
{
name: '数据字典',
path: '/system/dictionary',
icon: '',
component: './system/dictionary',
},
{
name: '扩展字段',
path: '/system/field',
icon: '',
component: './system/field',
},
{
name: '编号规则',
path: '/system/rules',
icon: '',
component: './system/rules',
},
{
name: '推送配置',
path: '/system/pushsetting',
icon: '',
component: './system/pushsetting',
},
],
},
{
name: '备件管理',
path: '/spare',
icon: 'sliders',
routes: [
{
name: ' 备件库存',
path: '/spare/stock',
icon: '',
component: './spare/stock',
},
{
name: '入库管理',
path: '/spare/instore',
icon: '',
component: './spare/instore',
},
{
name: '出库管理',
path: '/spare/outstore',
icon: '',
component: './spare/outstore',
},
{
name: '出入库记录',
path: '/spare/record',
icon: '',
component: './spare/record',
},
{
name: '备件领用',
path: '/spare/requisition',
icon: '',
component: './spare/requisition',
},
{
name: '备件回冲',
path: '/spare/spareback',
icon: '',
component: './spare/spareback',
},
{
name: ' 线边库存',
path: '/spare/edgestore',
icon: '',
component: './spare/edgestore',
},
{
name: '备件供应商',
path: '/spare/supplier',
icon: '',
component: './spare/supplier',
},
{
name: ' 备件设置',
path: '/spare/setting',
icon: '',
component: './spare/setting',
},
],
},
{
name: '点检管理',
path: '/check',
icon: 'check-circle',
routes: [
{
name: ' 点检标准',
path: '/check/standard',
icon: '',
component: './check/standard',
},
{
name: '点检计划',
path: '/check/plan',
icon: '',
component: './check/plan',
},
{
name: '点检接单',
path: '/check/order',
icon: '',
component: './check/order',
},
{
name: '点检工单',
path: '/check/task',
icon: '',
component: './check/task',
},
],
},
{
name: '保养管理',
path: '/maintain',
icon: 'dashboard',
routes: [
{
name: '保养接单',
path: '/maintain/orders',
icon: '',
component: './maintain/orders',
},
{
name: '保养工单',
path: '/maintain/workOrder',
icon: '',
component: './maintain/workOrder',
},
{
name: ' 保养标准',
path: '/maintain/criterion',
icon: '',
component: './maintain/criterion',
},
{
name: '保养计划',
path: '/maintain/plan',
icon: '',
component: './maintain/plan',
},
],
},
];
......@@ -134,6 +134,7 @@ const TagView = ({ children, home }) => {
setrefresh(true);
};
console.log(tagList);
return (
<>
<RouteContext.Consumer>
......
......@@ -409,6 +409,9 @@ function getcolumns(setdrawer) {
key: 'checkStartTime',
hideInForm: true,
hideInSearch: true,
render: (text, row, _, action) => {
return <span>{row.checkStartTime}</span>;
},
},
{
title: '关单时间',
......
......@@ -227,7 +227,7 @@ function getcolumns(setdrawer) {
hideInForm: true,
valueType: 'dateTimeRange',
render: (text, row) => {
return <span>{row?.createTimes}</span>;
return <span style={{ fontSize: 14 }}>{row?.createTimes}</span>;
},
},
{
......
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