pages.json 28 KB

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