pages.json 12 KB

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