const routes = [{ path: "/pages/login/login", name: 'login', meta: { title: '登录', }, }, { path: "/pages/login/loginOauth2", name: 'oauth2Login', meta: { title: 'oauth2登录', }, }, { //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦 path: '/pages/index/index', name: 'index', meta: { title: '主页', }, }, { //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦 path: '/pages/home/home', aliasPath: '/', //对于h5端你必须在首页加上aliasPath并设置为/ name: 'home', meta: { title: '首页', }, }, { //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦 path: '/pages/device/device', name: 'device', meta: { title: '设备', }, }, { //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦 path: '/pages/spare/spare', name: 'spare', meta: { title: '备件', }, }, { path: '/pages/user/people', name: 'people', meta: { title: '个人中心', }, }, { path: '/pages/user/userdetail', name: 'userdetail', meta: { title: '个人详情', }, }, { path: '/pages/user/useredit', name: 'useredit', meta: { title: '个人编辑', }, }, { path: '/pages/user/userexit', name: 'userexit', meta: { title: '退出', }, }, { path: '/pages/user/location', name: 'location', meta: { title: '定位', }, }, { path: '/pages/common/exit', name: 'exit', meta: { title: '退出', }, }, { path: '/pages/common/success', name: 'success', meta: { title: 'success', }, }, { path: '/pages/addressbook/address-book', name: 'addressBook', meta: { title: 'addressBook', }, }, { path: '/pages/addressbook/level-address-book', name: 'levelAddressBook', meta: { title: 'levelAddressBook', }, }, { path: '/pages/addressbook/member', name: 'member', meta: { title: 'member', }, }, { path: '/pages/addressbook/address-detail', name: 'addressDetail', meta: { title: 'addressDetail', }, }, { path: '/pages/annotation/annotationList', name: 'annotationList', meta: { title: '通知公告', }, }, { path: '/pages/device/deviceDeils/deviceDeils', name: 'deviceDeils', meta: { title: '设备详情', }, }, { path: '/pages/device/deviceWebDeils/deviceWebDeils', name: 'deviceWebDeils', meta: { title: '设备详情', }, }, { path: '/pages/TaskManager/TaskManagerList', name: 'TaskManagerList', meta: { title: '已办', }, }, { path: '/pages/ToDoList/ToDoList', name: 'ToDoList', meta: { title: '待办', }, }, { path: '/pages/TaskManager/TaskManagerDeils/TaskManagerDeils', name: 'TaskManagerDeils', meta: { title: '已办详情', }, }, { path: '/pages/ToDoList/ToDoListDeils/ToDoListDeils', name: 'ToDoListDeils', meta: { title: '待办详情', }, }, { path: '/pages/checkList/checkList', name: 'checkList', meta: { title: '点检', }, }, { path: '/pages/historicalInspection/historicalInspection', name: 'historicalInspection', meta: { title: '历史点检', }, }, { path: '/pages/checkList/checkListDetils/checkListDetils', name: 'checkListDetils', meta: { title: '点检详情', }, }, { path: '/pages/baoZhou/baoZhou', name: 'baoZhou', meta: { title: '周保', }, }, { path: '/pages/historicalMaintenance/historicalMaintenance', name: 'historicalMaintenance', meta: { title: '历史保养', }, }, { path: '/pages/baoZhou/baoZhouDetils/baoZhouDetils', name: 'baoZhouDetils', meta: { title: '周保详情', }, }, { path: '/pages/reportRepair/reportRepair', name: 'reportRepair', meta: { title: '报修', }, }, { path: '/pages/maintenanceReport/maintenanceReport', name: 'maintenanceReport', meta: { title: '维修', }, }, { path: '/pages/reportRepair/reportRepairDeils/reportRepairDeils', name: 'maintenanceReport', meta: { title: '维修', }, }, { path: '/pages/historicalRepair/historicalRepair', name: 'historicalRepair', meta: { title: '历史维修', }, }, { path: '/pages/maintenanceReport/maintenanceReportDetils/maintenanceReportDetils', name: 'maintenanceReport', meta: { title: '维修-详情', }, }, { path: '/pages/ToDoList/ToDoListDeils/ToDoCheckDetils/ToDoCheckDetils', name: 'ToDoCheckDetils', meta: { title: '点检-执行', }, }, { path: '/pages/ToDoList/ToDoListCheckSure/ToDoListCheckSure', name: 'ToDoListCheckSure', meta: { title: '点检-班组长确认', }, }, { path: '/pages/ToDoList/ToDoSpareParts/ToDoSpareParts', name: 'ToDoSpareParts', meta: { title: '设备维修-是否需要领用备件', }, }, { path: '/pages/ToDoList/ToDoBaoZhou/ToDoBaoZhou', name: 'ToDoSpareParts', meta: { title: '周保-执行', }, }, { path: '/pages/ToDoList/ToDoBaoZhouSure/ToDoBaoZhouSure', name: 'ToDoSpareParts', meta: { title: '周保-班组长确认', }, }, { path: '/pages/selectEquipment/selectEquipment', name: 'selectEquipment', meta: { title: '选择设备', }, }, { path: '/pages/reportRepair/reportRepairList/reportRepairList', name: 'reportRepairList', meta: { title: '报修列表', }, }, { path: '/pages/annotation/annotationDetail', name: 'annotationDetail', meta: { title: '通知详情', }, }, { path: '/pages/common/helloWorld', name: 'helloWorld', meta: { title: 'helloWorld', }, }, { path: '/pages/eam/production/ProductionManager/ProductionManager', name: 'ProductionManager', meta: { title: '生产管理', }, }, { path: '/pages/eam/production/check/check', name: 'check', meta: { title: '齐套检查', }, }, { path: '/pages/eam/production/process/process', name: 'process', meta: { title: '工艺点检', }, }, { path: '/pages/eam/production/sample/sample', name: 'process', meta: { title: '样件校验', }, }, { path: '/pages/eam/production/feed/feed', name: 'process', meta: { title: '上料', }, }, { path: '/pages/eam/production/record/record', name: 'record', meta: { title: '操作记录', }, }, { path: '/pages/eam/quality/qualityInspection/qualityInspection', name: 'qualityInspection', meta: { title: '质量检验', }, }, { path: '/pages/eam/quality/defectiveProductReview/defectiveProductReview', name: 'defectiveProductReview', meta: { title: '不合格品审理', } }, { path: '/pages/eam/quality/checkItem/checkItem', name: 'checkItem', meta: { title: '检验项', } }, { path: '/pages/eam/quality/productionInspection/productionInspection', name: 'productionInspection', meta: { title: '生产检验', } }, { path: '/pages/eam/quality/qualityInspection/addInspection/addInspection', name: 'addInspection', meta: { title: '新增-生产检验', } }, { path: '/pages/eam/quality/checkItemDetail/checkItemDetail', name: 'checkItemDetail', meta: { title: '检验明细', } }, { path: '/pages/eam/quality/qualityInspectionDetail/qualityInspectionDetail', name: 'qualityInspectionDetail', meta: { title: '详情', } }, { path: '/pages/eam/quality/inspectionDetail/inspectionDetail', name: 'inspectionDetail', meta: { title: '检验-明细', } }, { path: '/pages/eam/quality/reviewDocument/reviewDocument', name: 'reviewDocument', meta: { title: '审理单', } }, { path: '/pages/eam/production/ToDoList/ToDoList', name: 'ToDoList', meta: { title: '设备点检', } }, { path: '/pages/eam/andon/andonCall/andonCall', name: 'andonCall', meta: { title: '安灯呼叫', } }, { path: '/pages/eam/andon/myInitiated/myInitiated', name: 'myInitiated', meta: { title: '我的发起', } }, { path: '/pages/eam/andon/andonHandler/andonHandler', name: 'andonHandler', meta: { title: '安灯处置', } }, { path: '/pages/eam/andon/andonAction/andonAction', name: 'andonAction', meta: { title: '安灯填报', } }, { path: '/pages/eam/andon/andonDetail/andonDetail', name: 'andonAction', meta: { title: '安灯详情', } }, { path: '/pages/eam/production/report/report', name: 'report', meta: { title: '报工', } }, { path: '/pages/eam/andon/andonAdd/andonAdd', name: 'andonAdd', meta: { title: '新增-安灯工单', } }, { path: '/pages/lineSelect/lineSelect', name: 'lineSelect', meta: { title: '选择产线', } }, { path: '/pages/selectUsers/selectUsers', name: 'selectUsers', meta: { title: '选择用户', } }, { path: '/pages/eam/andon/andonRespond/andonRespond', name: 'andonRespond', meta: { title: '安灯响应', } }, { path: '/pages/print-preview/print-preview', name: 'print-preview', meta: { title: '移库单预览', } }, { path: '/pages/finished-product-preview/finished-product-preview', name: 'finished-product-preview', meta: { title: '成品标签预览', } }, { path: '/pages/inspection-tag-preview/inspection-tag-preview', name: 'inspection-tag-preview', meta: { title: '检验标签预览', } }, { path: '/pages/eam/production/materialLoading/materialLoading', name: 'materialLoading', meta: { title: '上料', } }, { path: '/pages/eam/production/partBlanking/partBlanking', name: 'partBlanking', meta: { title: '下料', } } ] export default routes