| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468 |
- {
- "pages": [
- //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
- {
- // 登录
- "path": "pages/user/login",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- // 首页
- "path": "pages/home/index",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- // 我的
- "path": "pages/user/index",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- // 修改手机和密码
- "path": "pages/user/change",
- "style": {
- "navigationBarTitleText": "%user.modifyPhoneAndPassword%"
- }
- },
- {
- // 运行记录填报
- "path": "pages/recordFilling/list",
- "style": {
- "navigationBarTitleText": "%home.operationRecordFilling%"
- }
- },
- {
- // 运行记录填报详情
- "path": "pages/recordFilling/detail",
- "style": {
- "navigationBarTitleText": "%home.operationRecordFilling%"
- }
- },
- {
- // 选择设备
- "path": "pages/devide/multiple",
- "style": {
- "navigationBarTitleText": "%device.selectDevice%"
- }
- },
- {
- // 物料详情
- "path": "pages/material/view",
- "style": {
- "navigationBarTitleText": "%workOrder.materialDetails%"
- }
- },
- {
- // 物料详情 - 维修工单
- "path": "pages/material/repair-view",
- "style": {
- "navigationBarTitleText": "%workOrder.materialDetails%"
- }
- },
- {
- // 保养工单
- "path": "pages/maintenance/index",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- // 保养工单创建
- "path": "pages/maintenance/create",
- "style": {
- "navigationBarTitleText": "%maintenanceWorkOrder.createMaintenanceWorkOrder%"
- }
- },
- {
- // 保养工单 - 去保养
- "path": "pages/maintenance/edit",
- "style": {
- "navigationBarTitleText": "%maintenanceWorkOrder.editMaintenanceWorkOrder%"
- }
- },
- {
- // 保养工单详情
- "path": "pages/maintenance/detail",
- "style": {
- "navigationBarTitleText": "%maintenanceWorkOrder.viewMaintenanceWorkOrder%"
- }
- },
- {
- // 设备维修
- "path": "pages/repair/index",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- // 设备维修详情
- "path": "pages/repair/detail",
- "style": {
- "navigationBarTitleText": "%equipmentMaintenance.viewWorkOrder%"
- }
- },
- {
- // 设备维修创建
- "path": "pages/repair/create",
- "style": {
- "navigationBarTitleText": "%equipmentMaintenance.createWorkOrder%"
- }
- },
- {
- // 设备维修创建
- "path": "pages/repair/edit",
- "style": {
- "navigationBarTitleText": "%equipmentMaintenance.editWorkOrder%"
- }
- },
- {
- // 故障上报
- "path": "pages/fault/index",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- // 故障上报详情
- "path": "pages/fault/detail",
- "style": {
- "navigationBarTitleText": "%fault.viewWorkOrder%"
- }
- },
- {
- // 故障上报创建
- "path": "pages/fault/create",
- "style": {
- "navigationBarTitleText": "%fault.createWorkOrder%"
- }
- },
- {
- // 故障上报编辑
- "path": "pages/fault/edit",
- "style": {
- "navigationBarTitleText": "%fault.editWorkOrder%"
- }
- },
- {
- // 巡检工单
- "path": "pages/inspection/index",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- // 巡检工单详情
- "path": "pages/inspection/detail",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- // 巡检工单详情
- "path": "pages/inspection/edit",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/ruihen/index",
- "style": {
- "navigationBarTitleText": "%ruiDu.indexTitle%"
- }
- },
- {
- "path": "pages/ruihen/detail",
- "style": {
- "navigationBarTitleText": "%ruiDu.detailTitle%"
- }
- },
- {
- "path": "pages/ruihen/edit",
- "style": {
- "navigationBarTitleText": "%ruiDu.editTitle%"
- }
- },
- {
- "path": "pages/ruihen/approval",
- "style": {
- "navigationBarTitleText": "%ruiDu.approvalTitle%"
- }
- },
- {
- "path": "pages/ruiying/index",
- "style": {
- "navigationBarTitleText": "%ruiDu.indexTitle%"
- }
- },
- {
- "path": "pages/ruiying/detail",
- "style": {
- "navigationBarTitleText": "%ruiDu.detailTitle%"
- }
- },
- {
- "path": "pages/ruiying/edit",
- "style": {
- "navigationBarTitleText": "%ruiDu.editTitle%"
- }
- },
- {
- "path": "pages/ruiying/approval",
- "style": {
- "navigationBarTitleText": "%ruiDu.approvalTitle%"
- }
- },
- {
- "path": "pages/ruiyingx/index",
- "style": {
- "navigationBarTitleText": "%ruiDu.indexTitle%"
- }
- },
- {
- "path": "pages/ruiyingx/detail",
- "style": {
- "navigationBarTitleText": "%ruiDu.detailTitle%"
- }
- },
- {
- "path": "pages/ruiyingx/edit",
- "style": {
- "navigationBarTitleText": "%ruiDu.editTitle%"
- }
- },
- {
- "path": "pages/ruiyingx/approval",
- "style": {
- "navigationBarTitleText": "%ruiDu.approvalTitle%"
- }
- },
- {
- // 瑞都日报-列表
- "path": "pages/ruiDu/index",
- "style": {
- "navigationBarTitleText": "%ruiDu.indexTitle%"
- }
- },
- {
- // 瑞都日报-编辑
- "path": "pages/ruiDu/approval",
- "style": {
- "navigationBarTitleText": "%ruiDu.approvalTitle%"
- }
- },
- {
- // 瑞都日报-详情
- "path": "pages/ruiDu/detail",
- "style": {
- "navigationBarTitleText": "%ruiDu.detailTitle%"
- }
- },
- {
- // 瑞都日报-编辑
- "path": "pages/ruiDu/edit",
- "style": {
- "navigationBarTitleText": "%ruiDu.editTitle%"
- }
- },
- {
- // 库存查询
- "path": "pages/inventory/index",
- "style": {
- "navigationBarTitleText": "%inventory.title%"
- }
- },
- {
- // 库存查询-筛选
- "path": "pages/inventory/search/index",
- "style": {
- "navigationBarTitleText": "%inventory.search.title%"
- }
- },
- {
- // 消息管理
- "path": "pages/message/index",
- "style": {
- "navigationBarTitleText": "%message.title%"
- }
- },
- {
- // 消息管理详情
- "path": "pages/message/detail/index",
- "style": {
- "navigationBarTitleText": "%message.title%"
- }
- },
- {
- // 状态变更列表
- "path": "pages/statusChange/index",
- "style": {
- "navigationBarTitleText": "%statusChange.title%",
- "app-plus": {
- "titleNView": {
- "buttons": [
- {
- "text": "%statusChange.insert%",
- "color": "#004098",
- "fontSize": "14px",
- "width": "80px"
- }
- ]
- }
- }
- }
- },
- {
- // 状态变更列调整记录
- "path": "pages/statusChange/history/index",
- "style": {
- "navigationBarTitleText": "%statusChange.history.title%"
- }
- },
- {
- // 状态变更新增
- "path": "pages/statusChange/form/index",
- "style": {
- "navigationBarTitleText": "%statusChange.form.title%"
- }
- },
- {
- // 设备责任人列表
- "path": "pages/deviceUser/index",
- "style": {
- "navigationBarTitleText": "%deviceUser.title%",
- "app-plus": {
- "titleNView": {
- "buttons": [
- {
- "text": "%statusChange.insert%",
- "color": "#004098",
- "fontSize": "14px",
- "width": "80px"
- }
- ]
- }
- }
- }
- },
- {
- // 设备责任人调整记录
- "path": "pages/deviceUser/history/index",
- "style": {
- "navigationBarTitleText": "%deviceUser.history.title%"
- }
- },
- {
- // 设备责任人新增
- "path": "pages/deviceUser/form/index",
- "style": {
- "navigationBarTitleText": "%deviceUser.form.title%"
- }
- },
- {
- // 实时数据监控
- "path": "pages/realTimeData/index",
- "style": {
- "navigationBarTitleText": "%realTimeData.title%"
- }
- },
- {
- // 实时数据监控详情
- "path": "pages/realTimeData/detail/index",
- "style": {
- "navigationBarTitleText": "%realTimeData.detail.title%"
- }
- },
- {
- // 实时数据监控详情
- "path": "pages/realTimeData/chart/index",
- "style": {
- "navigationBarTitleText": "%realTimeData.detail.title%"
- }
- },
- {
- // 设备台账
- "path": "pages/ledger/index",
- "style": {
- "navigationBarTitleText": "%ledger.title%"
- }
- },
- {
- // 新建设备台账
- "path": "pages/ledger/form/index",
- "style": {
- "navigationBarTitleText": "%ledger.form.title%"
- }
- },
- {
- // 设备台账详情
- "path": "pages/ledger/detail/index",
- "style": {
- "navigationBarTitleText": "%ledger.detail.title%"
- }
- },
- {
- // 统计分析
- "path": "pages/statistic/index",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- // 超时工单列表
- "path": "pages/overtime/index",
- "style": {
- "navigationBarTitleText": "%overtime.title%"
- }
- }
- ],
- "tabBar": {
- // "height": "50px", //总高45 - 9px顶部padding
- "height": "45px",
- "iconWidth": "15px",
- "fontSize": "14px",
- "borderStyle": "white",
- "backgroundColor": "white",
- "color": "#999999",
- "selectedColor": "#004098",
- "list": [
- {
- "pagePath": "pages/home/index",
- "iconPath": "/static/tabbar/shouye-weixuanzhong.png",
- "selectedIconPath": "/static/tabbar/shouye-xuanzhong.png",
- "text": "%app.home%"
- },
- {
- "pagePath": "pages/user/index",
- "iconPath": "/static/tabbar/wode-weixuanzhong.png",
- "selectedIconPath": "/static/tabbar/wode-xuanzhong.png",
- "text": "%app.user%"
- }
- ]
- },
- "globalStyle": {
- "navigationBarTextStyle": "black",
- "navigationBarTitleText": "%app.appName%",
- "navigationBarBackgroundColor": "#F3F5F9",
- "backgroundColor": "#F3F5F9",
- "rpxCalcMaxDeviceWidth": 960,
- "rpxCalcBaseDeviceWidth": 375,
- "rpxCalcIncludeWidth": 750
- },
- "uniIdRouter": {},
- "easycom": {
- // 配置easycom组件自动引入
- "autoscan": true, // 是否开启easycom组件的自动扫描
- "custom": {
- // 自定义扫描规则
- // "^uni-(.*)": "uni_modules/uni-$1/uni-$1.vue"
- "^global-(.*)": "@/components/global/$1.vue"
- }
- }
- }
|