pages.json 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771
  1. {
  2. "easycom": {
  3. "autoscan": true,
  4. "custom": {
  5. "^u--(.*)": "uview-plus/components/u-$1/u-$1.vue",
  6. "^up-(.*)": "uview-plus/components/u-$1/u-$1.vue",
  7. "^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue",
  8. "^ut-(.*)": "@/src/components/ut-$1/ut-$1.vue",
  9. "^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)": "z-paging/components/z-paging$1/z-paging$1.vue"
  10. }
  11. },
  12. "pages": [
  13. //开发完成后需要删除的页面
  14. {
  15. "path": "pages/plant/base/index",
  16. "style": {
  17. "navigationBarTitleText": "种植端基地"
  18. }
  19. },
  20. // 种植端仓储与放行
  21. {
  22. "path": "pages/plant/storage/index",
  23. "style": {
  24. "navigationBarTitleText": "种植端仓储与放行"
  25. }
  26. },
  27. // 种植端加工与包装
  28. {
  29. "path": "pages/plant/processing/index",
  30. "style": {
  31. "navigationBarTitleText": "种植端加工与包装"
  32. }
  33. },
  34. // 种植端更多
  35. {
  36. "path": "pages/plant/more/index",
  37. "style": {
  38. "navigationBarTitleText": "种植端更多"
  39. }
  40. },
  41. // pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  42. {
  43. "path": "pages/index/index",
  44. "style": {
  45. "navigationBarTitleText": "首页"
  46. }
  47. },
  48. {
  49. "path": "pages/login/login",
  50. "style": {
  51. "navigationBarTitleText": "用户登录"
  52. }
  53. },
  54. {
  55. "path": "pages/plant/port/index",
  56. "style": {
  57. "navigationBarTitleText": "种植端种养殖"
  58. }
  59. },
  60. //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  61. {
  62. "path": "pages/production/index",
  63. "style": {
  64. "navigationBarTitleText": "生产端"
  65. }
  66. }
  67. ],
  68. "subPackages": [
  69. {
  70. // 基地分包
  71. "root": "plant/base",
  72. "pages": [
  73. {
  74. "path": "base-list/index",
  75. "style": {
  76. "navigationBarTitleText": "基地列表"
  77. }
  78. },
  79. {
  80. "path": "base-detail/index",
  81. "style": {
  82. "navigationBarTitleText": "基地详情"
  83. }
  84. },
  85. {
  86. "path": "base-edit/index",
  87. "style": {
  88. "navigationBarTitleText": "编辑基地"
  89. }
  90. },
  91. {
  92. "path": "base-map/index",
  93. "style": {
  94. "navigationBarTitleText": "基地地图"
  95. }
  96. },
  97. // GAP基地信息
  98. {
  99. "path": "gap-base-info/index",
  100. "style": {
  101. "navigationBarTitleText": "GAP基地信息"
  102. }
  103. },
  104. // 添加Gap基地信息添加
  105. {
  106. "path": "gap-base-info-edit/index",
  107. "style": {
  108. "navigationBarTitleText": "添加GAP基地信息"
  109. }
  110. },
  111. // GAP基地详情
  112. {
  113. "path": "gap-base-info-detail/index",
  114. "style": {
  115. "navigationBarTitleText": "GAP基地详情"
  116. }
  117. },
  118. // 标记三无一全基地
  119. {
  120. "path": "mark-base/index",
  121. "style": {
  122. "navigationBarTitleText": "标记基地"
  123. }
  124. },
  125. // 标记三无一全基地详情
  126. {
  127. "path": "mark-base-detail/index",
  128. "style": {
  129. "navigationBarTitleText": "标记基地详情"
  130. }
  131. }
  132. ]
  133. },
  134. // 主营物种
  135. {
  136. "root": "plant/species",
  137. "pages": [
  138. {
  139. "path": "config/index",
  140. "style": {
  141. "navigationBarTitleText": "配置主营物种"
  142. }
  143. }
  144. ]
  145. },
  146. // 种养殖
  147. {
  148. "root": "plant/port",
  149. "pages": [
  150. {
  151. "path": "port-create/index",
  152. "style": {
  153. "navigationBarTitleText": "创建种养殖任务"
  154. }
  155. },
  156. {
  157. "path": "port-detail/index",
  158. "style": {
  159. "navigationBarTitleText": "种养殖任务列表"
  160. }
  161. },
  162. {
  163. "path": "port-supervise/index",
  164. "style": {
  165. "navigationBarTitleText": "管理列表"
  166. }
  167. },
  168. {
  169. "path": "supervise/supervise-plant-create/index",
  170. "style": {
  171. "navigationBarTitleText": "添加种植管理记录"
  172. }
  173. },
  174. {
  175. "path": "supervise/supervise-breeding-create/index",
  176. "style": {
  177. "navigationBarTitleText": "添加繁育管理记录"
  178. }
  179. },
  180. {
  181. "path": "supervise/supervise-plant-detail/index",
  182. "style": {
  183. "navigationBarTitleText": "种植管理记录详情"
  184. }
  185. },
  186. {
  187. "path": "supervise/supervise-raising-create/index",
  188. "style": {
  189. "navigationBarTitleText": "添加饲养管理记录"
  190. }
  191. },
  192. {
  193. "path": "supervise/supervise-material-create/index",
  194. "style": {
  195. "navigationBarTitleText": "投入物料记录"
  196. }
  197. },
  198. {
  199. "path": "supervise/supervise-material-detail/index",
  200. "style": {
  201. "navigationBarTitleText": "投入物料记录详情"
  202. }
  203. },
  204. {
  205. "path": "port-listinfo/index",
  206. "style": {
  207. "navigationBarTitleText": "种源信息列表"
  208. }
  209. },
  210. {
  211. "path": "port-harvest/index",
  212. "style": {
  213. "navigationBarTitleText": "采收管理列表"
  214. }
  215. },
  216. {
  217. "path": "port-harvest-create/index",
  218. "style": {
  219. "navigationBarTitleText": "新增采收入库"
  220. }
  221. },
  222. {
  223. "path": "port-harvest-detail/index",
  224. "style": {
  225. "navigationBarTitleText": "采收管理详情"
  226. }
  227. }
  228. ]
  229. },
  230. // 库存
  231. {
  232. "root": "plant/storage",
  233. "pages": [
  234. // 库房管理
  235. {
  236. "path": "storage-room/list/index",
  237. "style": {
  238. "navigationBarTitleText": "库房管理"
  239. }
  240. },
  241. // 新增库房
  242. {
  243. "path": "storage-room/edit/index",
  244. "style": {
  245. "navigationBarTitleText": "新增库房"
  246. }
  247. },
  248. // 库房详情
  249. {
  250. "path": "storage-room/detail/index",
  251. "style": {
  252. "navigationBarTitleText": "库房详情"
  253. }
  254. },
  255. // 种源库
  256. {
  257. "path": "seed-source/list/index",
  258. "style": {
  259. "navigationBarTitleText": "种源库"
  260. }
  261. },
  262. // 种源库详情
  263. {
  264. "path": "seed-source/detail/index",
  265. "style": {
  266. "navigationBarTitleText": "种源详情"
  267. }
  268. },
  269. // 新增种源入库
  270. {
  271. "path": "seed-source/add/index",
  272. "style": {
  273. "navigationBarTitleText": "新增种源入库"
  274. }
  275. },
  276. // 添加种源信息
  277. {
  278. "path": "seed-source/info-edit/index",
  279. "style": {
  280. "navigationBarTitleText": "添加种源信息"
  281. }
  282. },
  283. // 修改种源信息,单条
  284. {
  285. "path": "seed-source/info-update/index",
  286. "style": {
  287. "navigationBarTitleText": "修改种源信息"
  288. }
  289. },
  290. // 农资库
  291. {
  292. "path": "agro-product/list/index",
  293. "style": {
  294. "navigationBarTitleText": "农资库"
  295. }
  296. },
  297. // 新增农资入库
  298. {
  299. "path": "agro-product/add/index",
  300. "style": {
  301. "navigationBarTitleText": "新增农资入库"
  302. }
  303. },
  304. // 添加农资信息
  305. {
  306. "path": "agro-product/info-edit/index",
  307. "style": {
  308. "navigationBarTitleText": "添加农资信息"
  309. }
  310. },
  311. // 农资详情
  312. {
  313. "path": "agro-product/detail/index",
  314. "style": {
  315. "navigationBarTitleText": "农资详情"
  316. }
  317. },
  318. // 修改农资信息,单条
  319. {
  320. "path": "agro-product/info-update/index",
  321. "style": {
  322. "navigationBarTitleText": "修改农资信息"
  323. }
  324. },
  325. // 出入库清单
  326. {
  327. "path": "stock-list/index",
  328. "style": {
  329. "navigationBarTitleText": "农资出入库清单"
  330. }
  331. },
  332. // 库存耗损登记
  333. {
  334. "path": "loss-register/index",
  335. "style": {
  336. "navigationBarTitleText": "农资库存损耗登记"
  337. }
  338. },
  339. // 鲜货库
  340. {
  341. "path": "fresh-goods/list/index",
  342. "style": {
  343. "navigationBarTitleText": "鲜货库"
  344. }
  345. },
  346. // 鲜货详情
  347. {
  348. "path": "fresh-goods/detail/index",
  349. "style": {
  350. "navigationBarTitleText": "鲜货详情"
  351. }
  352. },
  353. // 新增鲜货入库
  354. {
  355. "path": "fresh-goods/add/index",
  356. "style": {
  357. "navigationBarTitleText": "新增鲜货入库"
  358. }
  359. },
  360. // 新增鲜货入库信息
  361. {
  362. "path": "fresh-goods/info-edit/index",
  363. "style": {
  364. "navigationBarTitleText": "新增鲜货入库信息"
  365. }
  366. },
  367. // 修改鲜货信息,单条
  368. {
  369. "path": "fresh-goods/info-update/index",
  370. "style": {
  371. "navigationBarTitleText": "修改鲜货信息"
  372. }
  373. },
  374. // 药材库
  375. {
  376. "path": "medicine/list/index",
  377. "style": {
  378. "navigationBarTitleText": "药材库"
  379. }
  380. },
  381. //成品库
  382. {
  383. "path": "finished-product/list/index",
  384. "style": {
  385. "navigationBarTitleText": "成品库"
  386. }
  387. },
  388. {
  389. "path": "finished-product/detail/index",
  390. "style": {
  391. "navigationBarTitleText": "成品详情"
  392. }
  393. },
  394. // 修改成品信息,单条
  395. {
  396. "path": "finished-product/info-update/index",
  397. "style": {
  398. "navigationBarTitleText": "修改成品信息"
  399. }
  400. },
  401. // 销售登记成功
  402. {
  403. "path": "finished-product/sales-registration/index",
  404. "style": {
  405. "navigationBarTitleText": "销售登记成功"
  406. }
  407. }
  408. ]
  409. },
  410. //加工
  411. {
  412. "root": "plant/processing",
  413. "pages": [
  414. {
  415. "path": "processing-create/index",
  416. "style": {
  417. "navigationBarTitleText": "创建加工任务"
  418. }
  419. },
  420. //加工任务详情列表
  421. {
  422. "path": "processing-detail-list/index",
  423. "style": {
  424. "navigationBarTitleText": "加工任务详情"
  425. }
  426. },
  427. //加工任务首页
  428. {
  429. "path": "processing-index/index",
  430. "style": {
  431. "navigationBarTitleText": "加工任务首页"
  432. }
  433. },
  434. //单个/批量入库
  435. {
  436. "path": "processing-depstock/index",
  437. "style": {
  438. "navigationBarTitleText": "单个/批量入库"
  439. }
  440. },
  441. // 加工任务详情
  442. {
  443. "path": "processing-detail/index",
  444. "style": {
  445. "navigationBarTitleText": "任务信息详情"
  446. }
  447. }
  448. ]
  449. },
  450. // 包装
  451. {
  452. "root": "plant/packaging",
  453. "pages": [
  454. // 包装任务列表
  455. {
  456. "path": "list/index",
  457. "style": {
  458. "navigationBarTitleText": "包装任务列表"
  459. }
  460. },
  461. {
  462. "path": "create/index",
  463. "style": {
  464. "navigationBarTitleText": "创建包装任务"
  465. }
  466. },
  467. // 包装任务详情
  468. {
  469. "path": "detail/index",
  470. "style": {
  471. "navigationBarTitleText": "包装任务详情"
  472. }
  473. },
  474. // 选择任务包装的对象
  475. {
  476. "path": "select-object/index",
  477. "style": {
  478. "navigationBarTitleText": "选择包装对象"
  479. }
  480. },
  481. // 批量关联
  482. {
  483. "path": "batch-link/index",
  484. "style": {
  485. "navigationBarTitleText": "批量关联"
  486. }
  487. }
  488. ]
  489. },
  490. // 打印
  491. {
  492. "root": "plant/print",
  493. "pages": [
  494. // 自行打印
  495. {
  496. "path": "print-self/index",
  497. "style": {
  498. "navigationBarTitleText": "自行打印"
  499. }
  500. },
  501. // 区间打印
  502. {
  503. "path": "print-range/index",
  504. "style": {
  505. "navigationBarTitleText": "区间打印"
  506. }
  507. },
  508. // 全部打印
  509. {
  510. "path": "print-all/index",
  511. "style": {
  512. "navigationBarTitleText": "全部打印"
  513. }
  514. }
  515. ]
  516. },
  517. // 导出和代打追溯码
  518. {
  519. "root": "plant/export-print",
  520. "pages": [
  521. // 导出追溯码
  522. {
  523. "path": "export/index",
  524. "style": {
  525. "navigationBarTitleText": "导出追溯码",
  526. "componentPlaceholder": {
  527. "check-info-pack": "view"
  528. }
  529. }
  530. },
  531. // 找人代打追溯码
  532. {
  533. "path": "print-for-other/index",
  534. "style": {
  535. "navigationBarTitleText": "找人代打追溯码"
  536. }
  537. }
  538. ]
  539. },
  540. // 往来单位管理
  541. {
  542. "root": "plant/contact-unit",
  543. "pages": [
  544. {
  545. "path": "unit-list/index",
  546. "style": {
  547. "navigationBarTitleText": "往来单位管理"
  548. }
  549. },
  550. {
  551. "path": "unit-edit/index",
  552. "style": {
  553. "navigationBarTitleText": "新增往来单位信息"
  554. }
  555. },
  556. {
  557. "path": "unit-detail/index",
  558. "style": {
  559. "navigationBarTitleText": "往来单位详情"
  560. }
  561. }
  562. ]
  563. },
  564. {
  565. "root": "tools",
  566. "pages": [
  567. {
  568. "path": "map-draw-area/index",
  569. "style": {
  570. "navigationBarTitleText": "地图绘制面积图",
  571. "disableScroll": true,
  572. "enablePullDownRefresh": false,
  573. "navigationStyle": "default"
  574. }
  575. },
  576. {
  577. "path": "map-gd/index",
  578. "style": {
  579. "navigationBarTitleText": "地图绘制面积图",
  580. "disableScroll": true,
  581. "enablePullDownRefresh": false,
  582. "navigationStyle": "default"
  583. }
  584. },
  585. // 选择企业人员
  586. {
  587. "path": "select-cpy-member/index",
  588. "style": {
  589. "navigationBarTitleText": "选择企业成员"
  590. }
  591. },
  592. // 选择获评品种
  593. {
  594. "path": "select-medicine/index",
  595. "style": {
  596. "navigationBarTitleText": "选择获评品种"
  597. }
  598. },
  599. // 选择GAP获评信息
  600. {
  601. "path": "select-gap-info/index",
  602. "style": {
  603. "navigationBarTitleText": "选择GAP获评信息"
  604. }
  605. },
  606. {
  607. "path": "por-torganism/index",
  608. "style": {
  609. "navigationBarTitleText": "选择动植物类型"
  610. }
  611. },
  612. // 选择操作地块
  613. {
  614. "path": "supervise-plot/index",
  615. "style": {
  616. "navigationBarTitleText": "选择操作地块"
  617. }
  618. },
  619. // 选择操作个体
  620. {
  621. "path": "supervise-individual/index",
  622. "style": {
  623. "navigationBarTitleText": "选择操作个体"
  624. }
  625. },
  626. // 选择农资
  627. {
  628. "path": "supervise-material/index",
  629. "style": {
  630. "navigationBarTitleText": "选择农资"
  631. }
  632. },
  633. // 选择操作时间
  634. {
  635. "path": "species-info/index",
  636. "style": {
  637. "navigationBarTitleText": "选择种源信息"
  638. }
  639. },
  640. {
  641. "path": "pro-process-steps/index",
  642. "style": {
  643. "navigationBarTitleText": "选择加工工艺信息"
  644. }
  645. },
  646. //选择加工原料
  647. {
  648. "path": "species-info-process/index",
  649. "style": {
  650. "navigationBarTitleText": "选择加工原料"
  651. }
  652. },
  653. // 选择销售批次
  654. {
  655. "path": "sales-registration/index",
  656. "style": {
  657. "navigationBarTitleText": "请选择要销售的批次"
  658. }
  659. },
  660. // 选择规格等级
  661. {
  662. "path": "specification-level/index",
  663. "style": {
  664. "navigationBarTitleText": "选择规格等级",
  665. "navigationStyle": "custom"
  666. }
  667. },
  668. // 传入html地址
  669. {
  670. "path": "view-html/index",
  671. "style": {
  672. "navigationBarTitleText": "view-html页面",
  673. "navigationStyle": "custom"
  674. }
  675. },
  676. // 选择追溯码码段
  677. {
  678. "path": "select-code-section/index",
  679. "style": {
  680. "navigationBarTitleText": "选择追溯码码段"
  681. }
  682. }
  683. ]
  684. },
  685. // 审核端分包
  686. {
  687. "root": "audit/plant",
  688. "pages": [
  689. {
  690. "path": "base/audit-list/index",
  691. "style": {
  692. "navigationBarTitleText": "基地审核列表"
  693. }
  694. },
  695. {
  696. "path": "base/audit-detail/index",
  697. "style": {
  698. "navigationBarTitleText": "基地审核详情"
  699. }
  700. }
  701. ]
  702. },
  703. // 码管理分包
  704. {
  705. "root": "plant/code",
  706. "pages": [
  707. {
  708. "path": "code-list/index",
  709. "style": {
  710. "navigationBarTitleText": "码生成及管理"
  711. }
  712. },
  713. {
  714. "path": "code-detail-list/index",
  715. "style": {
  716. "navigationBarTitleText": "码详情"
  717. }
  718. }
  719. ]
  720. },
  721. // 企业风采配置
  722. {
  723. "root": "plant/cor-style",
  724. "pages": [
  725. {
  726. "path": "index/index",
  727. "style": {
  728. "navigationBarTitleText": "企业风采配置"
  729. }
  730. },
  731. {
  732. "path": "create/index",
  733. "style": {
  734. "navigationBarTitleText": "新增企业风采配置"
  735. }
  736. }
  737. ]
  738. }
  739. ],
  740. "tabBar": {
  741. "custom": true,
  742. "list": [
  743. {
  744. "pagePath": "pages/plant/base/index"
  745. },
  746. {
  747. "pagePath": "pages/plant/port/index"
  748. },
  749. {
  750. "pagePath": "pages/plant/storage/index"
  751. },
  752. {
  753. "pagePath": "pages/plant/processing/index"
  754. },
  755. {
  756. "pagePath": "pages/plant/more/index"
  757. }
  758. ]
  759. },
  760. "globalStyle": {
  761. "navigationStyle": "custom",
  762. "navigationBarTextStyle": "black",
  763. "navigationBarTitleText": "中药材种植全链条追溯系统",
  764. "navigationBarBackgroundColor": "#F8F8F8",
  765. "backgroundColor": "#F8F8F8",
  766. "rpxCalcMaxDeviceWidth": 1920,
  767. "rpxCalcBaseDeviceWidth": 375,
  768. "rpxCalcIncludeWidth": 750
  769. }
  770. }