pages.json 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800
  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": "medicine/use-record/index",
  384. "style": {
  385. "navigationBarTitleText": "药材使用记录"
  386. }
  387. },
  388. //成品库
  389. {
  390. "path": "finished-product/list/index",
  391. "style": {
  392. "navigationBarTitleText": "成品库"
  393. }
  394. },
  395. {
  396. "path": "finished-product/detail/index",
  397. "style": {
  398. "navigationBarTitleText": "成品详情"
  399. }
  400. },
  401. // 修改成品信息,单条
  402. {
  403. "path": "finished-product/info-update/index",
  404. "style": {
  405. "navigationBarTitleText": "修改成品信息"
  406. }
  407. },
  408. // 销售登记成功
  409. {
  410. "path": "finished-product/sales-registration/index",
  411. "style": {
  412. "navigationBarTitleText": "销售登记成功"
  413. }
  414. }
  415. ]
  416. },
  417. //加工
  418. {
  419. "root": "plant/processing",
  420. "pages": [
  421. {
  422. "path": "processing-create/index",
  423. "style": {
  424. "navigationBarTitleText": "创建加工任务"
  425. }
  426. },
  427. //加工任务详情列表
  428. {
  429. "path": "processing-detail-list/index",
  430. "style": {
  431. "navigationBarTitleText": "加工任务详情"
  432. }
  433. },
  434. //加工任务首页
  435. {
  436. "path": "processing-index/index",
  437. "style": {
  438. "navigationBarTitleText": "加工任务首页"
  439. }
  440. },
  441. //单个/批量入库
  442. {
  443. "path": "processing-depstock/index",
  444. "style": {
  445. "navigationBarTitleText": "单个/批量入库"
  446. }
  447. },
  448. // 加工任务详情
  449. {
  450. "path": "processing-detail/index",
  451. "style": {
  452. "navigationBarTitleText": "任务信息详情"
  453. }
  454. }
  455. ]
  456. },
  457. // 包装
  458. {
  459. "root": "plant/packaging",
  460. "pages": [
  461. // 包装任务列表
  462. {
  463. "path": "list/index",
  464. "style": {
  465. "navigationBarTitleText": "包装任务列表"
  466. }
  467. },
  468. {
  469. "path": "create/index",
  470. "style": {
  471. "navigationBarTitleText": "创建包装任务"
  472. }
  473. },
  474. // 修改包装任务
  475. {
  476. "path": "edit/index",
  477. "style": {
  478. "navigationBarTitleText": "修改包装任务"
  479. }
  480. },
  481. // 包装任务详情
  482. {
  483. "path": "detail/index",
  484. "style": {
  485. "navigationBarTitleText": "包装任务详情"
  486. }
  487. },
  488. // 选择任务包装的对象
  489. {
  490. "path": "select-object/index",
  491. "style": {
  492. "navigationBarTitleText": "选择包装对象"
  493. }
  494. },
  495. // 批量关联
  496. {
  497. "path": "batch-link/index",
  498. "style": {
  499. "navigationBarTitleText": "批量关联"
  500. }
  501. }
  502. ]
  503. },
  504. // 打印
  505. {
  506. "root": "plant/print",
  507. "pages": [
  508. // 自行打印
  509. {
  510. "path": "print-self/index",
  511. "style": {
  512. "navigationBarTitleText": "自行打印"
  513. }
  514. },
  515. // 区间打印
  516. {
  517. "path": "print-range/index",
  518. "style": {
  519. "navigationBarTitleText": "区间打印"
  520. }
  521. },
  522. // 全部打印
  523. {
  524. "path": "print-all/index",
  525. "style": {
  526. "navigationBarTitleText": "全部打印"
  527. }
  528. }
  529. ]
  530. },
  531. // 导出和代打追溯码
  532. {
  533. "root": "plant/export-print",
  534. "pages": [
  535. // 导出追溯码
  536. {
  537. "path": "export/index",
  538. "style": {
  539. "navigationBarTitleText": "导出追溯码",
  540. "componentPlaceholder": {
  541. "check-info-pack": "view"
  542. }
  543. }
  544. },
  545. // 找人代打追溯码
  546. {
  547. "path": "print-for-other/index",
  548. "style": {
  549. "navigationBarTitleText": "找人代打追溯码"
  550. }
  551. }
  552. ]
  553. },
  554. // 往来单位管理
  555. {
  556. "root": "plant/contact-unit",
  557. "pages": [
  558. {
  559. "path": "unit-list/index",
  560. "style": {
  561. "navigationBarTitleText": "往来单位管理"
  562. }
  563. },
  564. {
  565. "path": "unit-edit/index",
  566. "style": {
  567. "navigationBarTitleText": "新增往来单位信息"
  568. }
  569. },
  570. {
  571. "path": "unit-detail/index",
  572. "style": {
  573. "navigationBarTitleText": "往来单位详情"
  574. }
  575. }
  576. ]
  577. },
  578. {
  579. "root": "tools",
  580. "pages": [
  581. {
  582. "path": "map-draw-area/index",
  583. "style": {
  584. "navigationBarTitleText": "地图绘制面积图",
  585. "disableScroll": true,
  586. "enablePullDownRefresh": false,
  587. "navigationStyle": "default"
  588. }
  589. },
  590. {
  591. "path": "map-gd/index",
  592. "style": {
  593. "navigationBarTitleText": "地图绘制面积图",
  594. "disableScroll": true,
  595. "enablePullDownRefresh": false,
  596. "navigationStyle": "default"
  597. }
  598. },
  599. // 选择企业人员
  600. {
  601. "path": "select-cpy-member/index",
  602. "style": {
  603. "navigationBarTitleText": "选择企业成员"
  604. }
  605. },
  606. // 选择获评品种
  607. {
  608. "path": "select-medicine/index",
  609. "style": {
  610. "navigationBarTitleText": "选择获评品种"
  611. }
  612. },
  613. // 选择GAP获评信息
  614. {
  615. "path": "select-gap-info/index",
  616. "style": {
  617. "navigationBarTitleText": "选择GAP获评信息"
  618. }
  619. },
  620. {
  621. "path": "por-torganism/index",
  622. "style": {
  623. "navigationBarTitleText": "选择动植物类型"
  624. }
  625. },
  626. // 选择操作地块
  627. {
  628. "path": "supervise-plot/index",
  629. "style": {
  630. "navigationBarTitleText": "选择操作地块"
  631. }
  632. },
  633. // 选择操作个体
  634. {
  635. "path": "supervise-individual/index",
  636. "style": {
  637. "navigationBarTitleText": "选择操作个体"
  638. }
  639. },
  640. // 选择农资
  641. {
  642. "path": "supervise-material/index",
  643. "style": {
  644. "navigationBarTitleText": "选择农资"
  645. }
  646. },
  647. // 选择操作时间
  648. {
  649. "path": "species-info/index",
  650. "style": {
  651. "navigationBarTitleText": "选择种源信息"
  652. }
  653. },
  654. {
  655. "path": "pro-process-steps/index",
  656. "style": {
  657. "navigationBarTitleText": "选择加工工艺信息"
  658. }
  659. },
  660. //选择加工原料
  661. {
  662. "path": "species-info-process/index",
  663. "style": {
  664. "navigationBarTitleText": "选择加工原料"
  665. }
  666. },
  667. // 选择销售批次
  668. {
  669. "path": "sales-registration/index",
  670. "style": {
  671. "navigationBarTitleText": "请选择要销售的批次"
  672. }
  673. },
  674. // 选择规格等级
  675. {
  676. "path": "specification-level/index",
  677. "style": {
  678. "navigationBarTitleText": "选择规格等级",
  679. "navigationStyle": "custom"
  680. }
  681. },
  682. // 传入html地址
  683. {
  684. "path": "view-html/index",
  685. "style": {
  686. "navigationBarTitleText": "view-html页面",
  687. "navigationStyle": "custom"
  688. }
  689. },
  690. // 选择追溯码码段
  691. {
  692. "path": "select-code-section/index",
  693. "style": {
  694. "navigationBarTitleText": "选择追溯码码段"
  695. }
  696. },
  697. // 打开预览view-web-view
  698. {
  699. "path": "webview/index",
  700. "style": {
  701. "navigationBarTitleText": "预览webview页面",
  702. "navigationStyle": "custom"
  703. }
  704. }
  705. ]
  706. },
  707. // 审核端分包
  708. {
  709. "root": "audit/plant",
  710. "pages": [
  711. {
  712. "path": "base/audit-list/index",
  713. "style": {
  714. "navigationBarTitleText": "基地审核列表"
  715. }
  716. },
  717. {
  718. "path": "base/audit-detail/index",
  719. "style": {
  720. "navigationBarTitleText": "基地审核详情"
  721. }
  722. }
  723. ]
  724. },
  725. // 码管理分包
  726. {
  727. "root": "plant/code",
  728. "pages": [
  729. {
  730. "path": "code-list/index",
  731. "style": {
  732. "navigationBarTitleText": "码生成及管理"
  733. }
  734. },
  735. // 追溯码查询
  736. {
  737. "path": "code-query/index",
  738. "style": {
  739. "navigationBarTitleText": "追溯码查询"
  740. }
  741. },
  742. {
  743. "path": "code-detail-list/index",
  744. "style": {
  745. "navigationBarTitleText": "码详情"
  746. }
  747. }
  748. ]
  749. },
  750. // 企业风采配置
  751. {
  752. "root": "plant/cor-style",
  753. "pages": [
  754. {
  755. "path": "index/index",
  756. "style": {
  757. "navigationBarTitleText": "企业风采配置"
  758. }
  759. },
  760. {
  761. "path": "create/index",
  762. "style": {
  763. "navigationBarTitleText": "新增企业风采配置"
  764. }
  765. }
  766. ]
  767. }
  768. ],
  769. "tabBar": {
  770. "custom": true,
  771. "list": [
  772. {
  773. "pagePath": "pages/plant/base/index"
  774. },
  775. {
  776. "pagePath": "pages/plant/port/index"
  777. },
  778. {
  779. "pagePath": "pages/plant/storage/index"
  780. },
  781. {
  782. "pagePath": "pages/plant/processing/index"
  783. },
  784. {
  785. "pagePath": "pages/plant/more/index"
  786. }
  787. ]
  788. },
  789. "globalStyle": {
  790. "navigationStyle": "custom",
  791. "navigationBarTextStyle": "black",
  792. "navigationBarTitleText": "中药材种植全链条追溯系统",
  793. "navigationBarBackgroundColor": "#F8F8F8",
  794. "backgroundColor": "#F8F8F8",
  795. "rpxCalcMaxDeviceWidth": 1920,
  796. "rpxCalcBaseDeviceWidth": 375,
  797. "rpxCalcIncludeWidth": 750
  798. }
  799. }