pages.json 9.6 KB

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