pages.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468
  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/index",
  174. "style": {
  175. "navigationBarTitleText": "%ruiDu.indexTitle%"
  176. }
  177. },
  178. {
  179. "path": "pages/ruihen/detail",
  180. "style": {
  181. "navigationBarTitleText": "%ruiDu.detailTitle%"
  182. }
  183. },
  184. {
  185. "path": "pages/ruihen/edit",
  186. "style": {
  187. "navigationBarTitleText": "%ruiDu.editTitle%"
  188. }
  189. },
  190. {
  191. "path": "pages/ruihen/approval",
  192. "style": {
  193. "navigationBarTitleText": "%ruiDu.approvalTitle%"
  194. }
  195. },
  196. {
  197. "path": "pages/ruiying/index",
  198. "style": {
  199. "navigationBarTitleText": "%ruiDu.indexTitle%"
  200. }
  201. },
  202. {
  203. "path": "pages/ruiying/detail",
  204. "style": {
  205. "navigationBarTitleText": "%ruiDu.detailTitle%"
  206. }
  207. },
  208. {
  209. "path": "pages/ruiying/edit",
  210. "style": {
  211. "navigationBarTitleText": "%ruiDu.editTitle%"
  212. }
  213. },
  214. {
  215. "path": "pages/ruiying/approval",
  216. "style": {
  217. "navigationBarTitleText": "%ruiDu.approvalTitle%"
  218. }
  219. },
  220. {
  221. "path": "pages/ruiyingx/index",
  222. "style": {
  223. "navigationBarTitleText": "%ruiDu.indexTitle%"
  224. }
  225. },
  226. {
  227. "path": "pages/ruiyingx/detail",
  228. "style": {
  229. "navigationBarTitleText": "%ruiDu.detailTitle%"
  230. }
  231. },
  232. {
  233. "path": "pages/ruiyingx/edit",
  234. "style": {
  235. "navigationBarTitleText": "%ruiDu.editTitle%"
  236. }
  237. },
  238. {
  239. "path": "pages/ruiyingx/approval",
  240. "style": {
  241. "navigationBarTitleText": "%ruiDu.approvalTitle%"
  242. }
  243. },
  244. {
  245. // 瑞都日报-列表
  246. "path": "pages/ruiDu/index",
  247. "style": {
  248. "navigationBarTitleText": "%ruiDu.indexTitle%"
  249. }
  250. },
  251. {
  252. // 瑞都日报-编辑
  253. "path": "pages/ruiDu/approval",
  254. "style": {
  255. "navigationBarTitleText": "%ruiDu.approvalTitle%"
  256. }
  257. },
  258. {
  259. // 瑞都日报-详情
  260. "path": "pages/ruiDu/detail",
  261. "style": {
  262. "navigationBarTitleText": "%ruiDu.detailTitle%"
  263. }
  264. },
  265. {
  266. // 瑞都日报-编辑
  267. "path": "pages/ruiDu/edit",
  268. "style": {
  269. "navigationBarTitleText": "%ruiDu.editTitle%"
  270. }
  271. },
  272. {
  273. // 库存查询
  274. "path": "pages/inventory/index",
  275. "style": {
  276. "navigationBarTitleText": "%inventory.title%"
  277. }
  278. },
  279. {
  280. // 库存查询-筛选
  281. "path": "pages/inventory/search/index",
  282. "style": {
  283. "navigationBarTitleText": "%inventory.search.title%"
  284. }
  285. },
  286. {
  287. // 消息管理
  288. "path": "pages/message/index",
  289. "style": {
  290. "navigationBarTitleText": "%message.title%"
  291. }
  292. },
  293. {
  294. // 消息管理详情
  295. "path": "pages/message/detail/index",
  296. "style": {
  297. "navigationBarTitleText": "%message.title%"
  298. }
  299. },
  300. {
  301. // 状态变更列表
  302. "path": "pages/statusChange/index",
  303. "style": {
  304. "navigationBarTitleText": "%statusChange.title%",
  305. "app-plus": {
  306. "titleNView": {
  307. "buttons": [
  308. {
  309. "text": "%statusChange.insert%",
  310. "color": "#004098",
  311. "fontSize": "14px",
  312. "width": "80px"
  313. }
  314. ]
  315. }
  316. }
  317. }
  318. },
  319. {
  320. // 状态变更列调整记录
  321. "path": "pages/statusChange/history/index",
  322. "style": {
  323. "navigationBarTitleText": "%statusChange.history.title%"
  324. }
  325. },
  326. {
  327. // 状态变更新增
  328. "path": "pages/statusChange/form/index",
  329. "style": {
  330. "navigationBarTitleText": "%statusChange.form.title%"
  331. }
  332. },
  333. {
  334. // 设备责任人列表
  335. "path": "pages/deviceUser/index",
  336. "style": {
  337. "navigationBarTitleText": "%deviceUser.title%",
  338. "app-plus": {
  339. "titleNView": {
  340. "buttons": [
  341. {
  342. "text": "%statusChange.insert%",
  343. "color": "#004098",
  344. "fontSize": "14px",
  345. "width": "80px"
  346. }
  347. ]
  348. }
  349. }
  350. }
  351. },
  352. {
  353. // 设备责任人调整记录
  354. "path": "pages/deviceUser/history/index",
  355. "style": {
  356. "navigationBarTitleText": "%deviceUser.history.title%"
  357. }
  358. },
  359. {
  360. // 设备责任人新增
  361. "path": "pages/deviceUser/form/index",
  362. "style": {
  363. "navigationBarTitleText": "%deviceUser.form.title%"
  364. }
  365. },
  366. {
  367. // 实时数据监控
  368. "path": "pages/realTimeData/index",
  369. "style": {
  370. "navigationBarTitleText": "%realTimeData.title%"
  371. }
  372. },
  373. {
  374. // 实时数据监控详情
  375. "path": "pages/realTimeData/detail/index",
  376. "style": {
  377. "navigationBarTitleText": "%realTimeData.detail.title%"
  378. }
  379. },
  380. {
  381. // 实时数据监控详情
  382. "path": "pages/realTimeData/chart/index",
  383. "style": {
  384. "navigationBarTitleText": "%realTimeData.detail.title%"
  385. }
  386. },
  387. {
  388. // 设备台账
  389. "path": "pages/ledger/index",
  390. "style": {
  391. "navigationBarTitleText": "%ledger.title%"
  392. }
  393. },
  394. {
  395. // 新建设备台账
  396. "path": "pages/ledger/form/index",
  397. "style": {
  398. "navigationBarTitleText": "%ledger.form.title%"
  399. }
  400. },
  401. {
  402. // 设备台账详情
  403. "path": "pages/ledger/detail/index",
  404. "style": {
  405. "navigationBarTitleText": "%ledger.detail.title%"
  406. }
  407. },
  408. {
  409. // 统计分析
  410. "path": "pages/statistic/index",
  411. "style": {
  412. "navigationStyle": "custom"
  413. }
  414. },
  415. {
  416. // 超时工单列表
  417. "path": "pages/overtime/index",
  418. "style": {
  419. "navigationBarTitleText": "%overtime.title%"
  420. }
  421. }
  422. ],
  423. "tabBar": {
  424. // "height": "50px", //总高45 - 9px顶部padding
  425. "height": "45px",
  426. "iconWidth": "15px",
  427. "fontSize": "14px",
  428. "borderStyle": "white",
  429. "backgroundColor": "white",
  430. "color": "#999999",
  431. "selectedColor": "#004098",
  432. "list": [
  433. {
  434. "pagePath": "pages/home/index",
  435. "iconPath": "/static/tabbar/shouye-weixuanzhong.png",
  436. "selectedIconPath": "/static/tabbar/shouye-xuanzhong.png",
  437. "text": "%app.home%"
  438. },
  439. {
  440. "pagePath": "pages/user/index",
  441. "iconPath": "/static/tabbar/wode-weixuanzhong.png",
  442. "selectedIconPath": "/static/tabbar/wode-xuanzhong.png",
  443. "text": "%app.user%"
  444. }
  445. ]
  446. },
  447. "globalStyle": {
  448. "navigationBarTextStyle": "black",
  449. "navigationBarTitleText": "%app.appName%",
  450. "navigationBarBackgroundColor": "#F3F5F9",
  451. "backgroundColor": "#F3F5F9",
  452. "rpxCalcMaxDeviceWidth": 960,
  453. "rpxCalcBaseDeviceWidth": 375,
  454. "rpxCalcIncludeWidth": 750
  455. },
  456. "uniIdRouter": {},
  457. "easycom": {
  458. // 配置easycom组件自动引入
  459. "autoscan": true, // 是否开启easycom组件的自动扫描
  460. "custom": {
  461. // 自定义扫描规则
  462. // "^uni-(.*)": "uni_modules/uni-$1/uni-$1.vue"
  463. "^global-(.*)": "@/components/global/$1.vue"
  464. }
  465. }
  466. }