pages.json 11 KB

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