pages.json 12 KB

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