pages.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545
  1. {
  2. "pages": [
  3. //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  4. {
  5. // 登录
  6. "path": "pages/user/login",
  7. "style": {
  8. "navigationStyle": "custom"
  9. }
  10. },
  11. {
  12. // 入口
  13. "path": "pages/entry/index",
  14. "style": {
  15. "navigationStyle": "custom"
  16. }
  17. },
  18. {
  19. // 首页
  20. "path": "pages/home/index",
  21. "style": {
  22. "navigationBarTitleText": "PMS",
  23. "navigationBarTextStyle": "white",
  24. "navigationBarBackgroundColor": "#3d80de"
  25. }
  26. },
  27. {
  28. // 我的
  29. "path": "pages/user/index",
  30. "style": {
  31. "navigationStyle": "custom"
  32. }
  33. },
  34. {
  35. // 修改手机和密码
  36. "path": "pages/user/change",
  37. "style": {
  38. "navigationBarTitleText": "%user.modifyPhoneAndPassword%"
  39. }
  40. },
  41. {
  42. // 运行记录填报
  43. "path": "pages/recordFilling/list",
  44. "style": {
  45. "navigationBarTitleText": "%home.operationRecordFilling%"
  46. }
  47. },
  48. {
  49. // 运行记录填报详情
  50. "path": "pages/recordFilling/detail",
  51. "style": {
  52. "navigationBarTitleText": "%home.operationRecordFilling%"
  53. }
  54. },
  55. {
  56. // 选择设备
  57. "path": "pages/devide/multiple",
  58. "style": {
  59. "navigationBarTitleText": "%device.selectDevice%"
  60. }
  61. },
  62. {
  63. // 物料详情
  64. "path": "pages/material/view",
  65. "style": {
  66. "navigationBarTitleText": "%workOrder.materialDetails%"
  67. }
  68. },
  69. {
  70. // 物料详情 - 维修工单
  71. "path": "pages/material/repair-view",
  72. "style": {
  73. "navigationBarTitleText": "%workOrder.materialDetails%"
  74. }
  75. },
  76. {
  77. // 保养工单
  78. "path": "pages/maintenance/index",
  79. "style": {
  80. "navigationStyle": "custom"
  81. }
  82. },
  83. {
  84. // 保养工单创建
  85. "path": "pages/maintenance/create",
  86. "style": {
  87. "navigationBarTitleText": "%maintenanceWorkOrder.createMaintenanceWorkOrder%"
  88. }
  89. },
  90. {
  91. // 保养工单 - 去保养
  92. "path": "pages/maintenance/edit",
  93. "style": {
  94. "navigationBarTitleText": "%maintenanceWorkOrder.editMaintenanceWorkOrder%"
  95. }
  96. },
  97. {
  98. // 保养工单详情
  99. "path": "pages/maintenance/detail",
  100. "style": {
  101. "navigationBarTitleText": "%maintenanceWorkOrder.viewMaintenanceWorkOrder%"
  102. }
  103. },
  104. {
  105. // 保养查询
  106. "path": "pages/maintenance/search",
  107. "style": {
  108. "navigationBarTitleText": "%maintenanceSearch.title%"
  109. }
  110. },
  111. {
  112. // 设备维修
  113. "path": "pages/repair/index",
  114. "style": {
  115. "navigationStyle": "custom"
  116. }
  117. },
  118. {
  119. // 设备维修详情
  120. "path": "pages/repair/detail",
  121. "style": {
  122. "navigationBarTitleText": "%equipmentMaintenance.viewWorkOrder%"
  123. }
  124. },
  125. {
  126. // 设备维修创建
  127. "path": "pages/repair/create",
  128. "style": {
  129. "navigationBarTitleText": "%equipmentMaintenance.createWorkOrder%"
  130. }
  131. },
  132. {
  133. // 设备维修创建
  134. "path": "pages/repair/edit",
  135. "style": {
  136. "navigationBarTitleText": "%equipmentMaintenance.editWorkOrder%"
  137. }
  138. },
  139. {
  140. // 故障上报
  141. "path": "pages/fault/index",
  142. "style": {
  143. "navigationStyle": "custom"
  144. }
  145. },
  146. {
  147. // 故障上报详情
  148. "path": "pages/fault/detail",
  149. "style": {
  150. "navigationBarTitleText": "%fault.viewWorkOrder%"
  151. }
  152. },
  153. {
  154. // 故障上报创建
  155. "path": "pages/fault/create",
  156. "style": {
  157. "navigationBarTitleText": "%fault.createWorkOrder%"
  158. }
  159. },
  160. {
  161. // 故障上报编辑
  162. "path": "pages/fault/edit",
  163. "style": {
  164. "navigationBarTitleText": "%fault.editWorkOrder%"
  165. }
  166. },
  167. {
  168. // 巡检工单
  169. "path": "pages/inspection/index",
  170. "style": {
  171. "navigationStyle": "custom"
  172. }
  173. },
  174. {
  175. // 巡检工单详情
  176. "path": "pages/inspection/detail",
  177. "style": {
  178. "navigationStyle": "custom"
  179. }
  180. },
  181. {
  182. // 巡检工单详情
  183. "path": "pages/inspection/edit",
  184. "style": {
  185. "navigationStyle": "custom"
  186. }
  187. },
  188. {
  189. "path": "pages/ruihen-task/index",
  190. "style": {
  191. "navigationBarTitleText": "%ruihen.taskTitle%"
  192. }
  193. },
  194. {
  195. "path": "pages/ruihen-task/create",
  196. "style": {
  197. "navigationBarTitleText": "%ruihen.taskCreateTitle%"
  198. }
  199. },
  200. {
  201. "path": "pages/ruihen-task/detail",
  202. "style": {
  203. "navigationBarTitleText": "%ruihen.taskDetailTitle%"
  204. }
  205. },
  206. {
  207. "path": "pages/ruihen-task/edit",
  208. "style": {
  209. "navigationBarTitleText": "%ruihen.taskEditTitle%"
  210. }
  211. },
  212. {
  213. "path": "pages/ruihen/index",
  214. "style": {
  215. "navigationBarTitleText": "%ruiDu.indexTitle%"
  216. }
  217. },
  218. {
  219. "path": "pages/ruihen/detail",
  220. "style": {
  221. "navigationBarTitleText": "%ruiDu.detailTitle%"
  222. }
  223. },
  224. {
  225. "path": "pages/ruihen/edit",
  226. "style": {
  227. "navigationBarTitleText": "%ruiDu.editTitle%"
  228. }
  229. },
  230. {
  231. "path": "pages/ruihen/approval",
  232. "style": {
  233. "navigationBarTitleText": "%ruiDu.approvalTitle%"
  234. }
  235. },
  236. {
  237. "path": "pages/ruiying/index",
  238. "style": {
  239. "navigationBarTitleText": "%ruiDu.indexTitle%"
  240. }
  241. },
  242. {
  243. "path": "pages/ruiying/detail",
  244. "style": {
  245. "navigationBarTitleText": "%ruiDu.detailTitle%"
  246. }
  247. },
  248. {
  249. "path": "pages/ruiying/edit",
  250. "style": {
  251. "navigationBarTitleText": "%ruiDu.editTitle%"
  252. }
  253. },
  254. {
  255. "path": "pages/ruiying/approval",
  256. "style": {
  257. "navigationBarTitleText": "%ruiDu.approvalTitle%"
  258. }
  259. },
  260. {
  261. "path": "pages/ruiyingx/index",
  262. "style": {
  263. "navigationBarTitleText": "%ruiDu.indexTitle%"
  264. }
  265. },
  266. {
  267. "path": "pages/ruiyingx/detail",
  268. "style": {
  269. "navigationBarTitleText": "%ruiDu.detailTitle%"
  270. }
  271. },
  272. {
  273. "path": "pages/ruiyingx/edit",
  274. "style": {
  275. "navigationBarTitleText": "%ruiDu.editTitle%"
  276. }
  277. },
  278. {
  279. "path": "pages/ruiyingx/approval",
  280. "style": {
  281. "navigationBarTitleText": "%ruiDu.approvalTitle%"
  282. }
  283. },
  284. {
  285. // 瑞都日报-列表
  286. "path": "pages/ruiDu/index",
  287. "style": {
  288. "navigationBarTitleText": "%ruiDu.indexTitle%"
  289. }
  290. },
  291. {
  292. // 瑞都日报-列表
  293. "path": "pages/ruiDu/create",
  294. "style": {
  295. "navigationBarTitleText": "%ruiDu.createTitle%"
  296. }
  297. },
  298. {
  299. // 瑞都日报-编辑
  300. "path": "pages/ruiDu/approval",
  301. "style": {
  302. "navigationBarTitleText": "%ruiDu.approvalTitle%"
  303. }
  304. },
  305. {
  306. // 瑞都日报-详情
  307. "path": "pages/ruiDu/detail",
  308. "style": {
  309. "navigationBarTitleText": "%ruiDu.detailTitle%"
  310. }
  311. },
  312. {
  313. // 瑞都日报-编辑
  314. "path": "pages/ruiDu/edit",
  315. "style": {
  316. "navigationBarTitleText": "%ruiDu.editTitle%"
  317. }
  318. },
  319. {
  320. // 瑞都报表-日报详情
  321. "path": "pages/ruiDuReport/daily-detail",
  322. "style": {
  323. "navigationBarTitleText": "%ruiDuReport.dailyDetail%"
  324. }
  325. },
  326. {
  327. // 瑞都报表-日报单井队统计
  328. "path": "pages/ruiDuReport/daily-team-statistic",
  329. "style": {
  330. "navigationBarTitleText": "%ruiDuReport.dailyTeamStatistic%"
  331. }
  332. },
  333. {
  334. // 瑞恒报表-日报详情
  335. "path": "pages/ruiHengReport/index",
  336. "style": {
  337. "navigationBarTitleText": "%ruiDuReport.dailyDetail%"
  338. }
  339. },
  340. {
  341. // 瑞鹰报表-日报详情
  342. "path": "pages/ruiYingReport/index",
  343. "style": {
  344. "navigationBarTitleText": "%ruiDuReport.dailyDetail%"
  345. }
  346. },
  347. {
  348. // 库存查询
  349. "path": "pages/inventory/index",
  350. "style": {
  351. "navigationBarTitleText": "%inventory.title%"
  352. }
  353. },
  354. {
  355. // 库存查询-筛选
  356. "path": "pages/inventory/search/index",
  357. "style": {
  358. "navigationBarTitleText": "%inventory.search.title%"
  359. }
  360. },
  361. {
  362. // 消息管理
  363. "path": "pages/message/index",
  364. "style": {
  365. "navigationBarTitleText": "%message.title%"
  366. }
  367. },
  368. {
  369. // 消息管理详情
  370. "path": "pages/message/detail/index",
  371. "style": {
  372. "navigationBarTitleText": "%message.title%"
  373. }
  374. },
  375. {
  376. // 状态变更列表
  377. "path": "pages/statusChange/index",
  378. "style": {
  379. "navigationBarTitleText": "%statusChange.title%",
  380. "app-plus": {
  381. "titleNView": {
  382. "buttons": [{
  383. "text": "%statusChange.insert%",
  384. "color": "#004098",
  385. "fontSize": "14px",
  386. "width": "80px"
  387. }]
  388. }
  389. }
  390. }
  391. },
  392. {
  393. // 状态变更列调整记录
  394. "path": "pages/statusChange/history/index",
  395. "style": {
  396. "navigationBarTitleText": "%statusChange.history.title%"
  397. }
  398. },
  399. {
  400. // 状态变更新增
  401. "path": "pages/statusChange/form/index",
  402. "style": {
  403. "navigationBarTitleText": "%statusChange.form.title%"
  404. }
  405. },
  406. {
  407. // 设备责任人列表
  408. "path": "pages/deviceUser/index",
  409. "style": {
  410. "navigationBarTitleText": "%deviceUser.title%",
  411. "app-plus": {
  412. "titleNView": {
  413. "buttons": [{
  414. "text": "%statusChange.insert%",
  415. "color": "#004098",
  416. "fontSize": "14px",
  417. "width": "80px"
  418. }]
  419. }
  420. }
  421. }
  422. },
  423. {
  424. // 设备责任人调整记录
  425. "path": "pages/deviceUser/history/index",
  426. "style": {
  427. "navigationBarTitleText": "%deviceUser.history.title%"
  428. }
  429. },
  430. {
  431. // 设备责任人新增
  432. "path": "pages/deviceUser/form/index",
  433. "style": {
  434. "navigationBarTitleText": "%deviceUser.form.title%"
  435. }
  436. },
  437. {
  438. // 实时数据监控
  439. "path": "pages/realTimeData/index",
  440. "style": {
  441. "navigationBarTitleText": "%realTimeData.title%"
  442. }
  443. },
  444. {
  445. // 实时数据监控详情
  446. "path": "pages/realTimeData/detail/index",
  447. "style": {
  448. "navigationBarTitleText": "%realTimeData.detail.title%"
  449. }
  450. },
  451. {
  452. // 实时数据监控详情
  453. "path": "pages/realTimeData/chart/index",
  454. "style": {
  455. "navigationBarTitleText": "%realTimeData.detail.title%"
  456. }
  457. },
  458. {
  459. // 设备台账
  460. "path": "pages/ledger/index",
  461. "style": {
  462. "navigationBarTitleText": "%ledger.title%"
  463. }
  464. },
  465. {
  466. // 新建设备台账
  467. "path": "pages/ledger/form/index",
  468. "style": {
  469. "navigationBarTitleText": "%ledger.form.title%"
  470. }
  471. },
  472. {
  473. // 设备台账详情
  474. "path": "pages/ledger/detail/index",
  475. "style": {
  476. "navigationBarTitleText": "%ledger.detail.title%"
  477. }
  478. },
  479. {
  480. // 统计分析
  481. "path": "pages/statistic/index",
  482. "style": {
  483. "navigationStyle": "custom"
  484. }
  485. },
  486. {
  487. // 超时工单列表
  488. "path": "pages/overtime/index",
  489. "style": {
  490. "navigationBarTitleText": "%overtime.title%"
  491. }
  492. },
  493. {
  494. // qhse详情
  495. "path": "pages/qhse/detail",
  496. "style": {
  497. "navigationBarTitleText": "%qhse.detail.title%"
  498. }
  499. }
  500. ],
  501. "tabBar": {
  502. // "height": "50px", //总高45 - 9px顶部padding
  503. "height": "70px",
  504. "iconWidth": "15px",
  505. "fontSize": "14px",
  506. "borderStyle": "white",
  507. "backgroundColor": "white",
  508. "color": "#999999",
  509. "selectedColor": "#004098",
  510. "list": [{
  511. "pagePath": "pages/entry/index",
  512. "iconPath": "/static/tabbar/shouye-weixuanzhong.png",
  513. "selectedIconPath": "/static/tabbar/shouye-xuanzhong.png",
  514. "text": "%app.home%"
  515. },
  516. {
  517. "pagePath": "pages/user/index",
  518. "iconPath": "/static/tabbar/wode-weixuanzhong.png",
  519. "selectedIconPath": "/static/tabbar/wode-xuanzhong.png",
  520. "text": "%app.user%"
  521. }
  522. ]
  523. },
  524. "globalStyle": {
  525. "navigationBarTextStyle": "black",
  526. "navigationBarTitleText": "%app.appName%",
  527. "navigationBarBackgroundColor": "#F3F5F9",
  528. "backgroundColor": "#F3F5F9",
  529. "rpxCalcMaxDeviceWidth": 960,
  530. "rpxCalcBaseDeviceWidth": 375,
  531. "rpxCalcIncludeWidth": 750
  532. },
  533. "uniIdRouter": {},
  534. "easycom": {
  535. // 配置easycom组件自动引入
  536. "autoscan": true, // 是否开启easycom组件的自动扫描
  537. "custom": {
  538. // 自定义扫描规则
  539. // "^uni-(.*)": "uni_modules/uni-$1/uni-$1.vue"
  540. "^global-(.*)": "@/components/global/$1.vue"
  541. }
  542. }
  543. }