pages.json 12 KB

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