index.js 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629
  1. import Vue from 'vue'
  2. import Router from 'vue-router'
  3. // 解决ElementUI导航栏中的vue-router在3.0版本以上重复点菜单报错问题
  4. const originalPush = Router.prototype.push
  5. Router.prototype.push = function push(location) {
  6. return originalPush.call(this, location).catch(err => err)
  7. }
  8. const Login = () => import('@/components/Login')
  9. const Index = () => import('@/components/Indexold')
  10. // --------------------------------------首页模块 --------------------------------------------------
  11. const Home01 = () => import( /* webpackChunkName: "shouye" */ '@/components/home/Home01')
  12. const Home02 = () => import( /* webpackChunkName: "shouye" */ '@/components/home/Home02')
  13. const MapView = () => import( /* webpackChunkName: "shouye" */ '@/components/home/MapView')
  14. // --------------------------------------个人中心 --------------------------------------------------
  15. const PersonMsg = () => import( /* webpackChunkName: "shouye" */ '@/pages/personage/personMsg')
  16. // --------------------------------------数据展示模块--------------------------------------------------
  17. const BfourSituations = () => import('@/Pages/bigdata/fourSituations/FourSituations')
  18. const BequipDistribute = () => import('@/Pages/bigdata/equipDistributeMap/EquipDistributeMap')
  19. const Bcbd = () => import('@/Pages/bigdata/bcbd/Bcbd')
  20. const Bqxz = () => import('@/Pages/bigdata/bqxz/Bqxz')
  21. const Bsy = () => import('@/Pages/bigdata/sy/Sy')
  22. const Bbzy = () => import('@/Pages/bigdata/bzy/Bzy')
  23. const Bhome = () => import('@/Pages/bigdata/home/index')
  24. // --------------------------------------环境监测模块--------------------------------------------------
  25. const EnvironmentMonitor = () => import( /* webpackChunkName: "qxz" */ '@/Pages/hjjc/environmentMonitor/EnvironmentMonitor')
  26. const HistoryData = () => import( /* webpackChunkName: "qxz" */ '@/Pages/hjjc/environmentMonitor/HistoryData')
  27. const Data24 = () => import( /* webpackChunkName: "qxz" */ '@/Pages/hjjc/environmentMonitor/Data24')
  28. // --------------------------------------测报模块---------------------------测报灯-----------------------
  29. const Cbd = () => import( /* webpackChunkName: "qxz" */ '@/Pages/forecasting/cbd/Cbd')
  30. const CbdDataDetails = () => import( /* webpackChunkName: "qxz" */ '@/Pages/forecasting/cbd/DataDetails')
  31. const cbdDataPhotos = () => import( /* webpackChunkName: "qxz" */ '@/Pages/forecasting/cbd/CbdDataPhotos')
  32. const PestsStats = () => import( /* webpackChunkName: "qxz" */ '@/Pages/forecasting/cbd/PestsStats')
  33. const MessageWarn = () => import( /* webpackChunkName: "qxz" */ '@/Pages/forecasting/cbd/MessageWarn')
  34. //---------------------------------------测报模块-----------------------------孢子仪-------------------------
  35. const Bzy = () => import( /* webpackChunkName: "bzy" */ '@/Pages/forecasting/bzy/Bzy')
  36. const BzyPhotos = () => import( /* webpackChunkName: "bzy" */ '@/Pages/forecasting/bzy/BzyPhotos')
  37. const DataDetail = () => import( /* webpackChunkName: "bzy" */ '@/Pages/forecasting/bzy/DataDetail')
  38. //---------------------------------------测报模块-----------------------------性诱测报-------------------------
  39. const Xycb = () => import( /* webpackChunkName: "xycb" */ '@/Pages/forecasting/xycb/Xycb')
  40. const xycbDataPhotos = () => import( /* webpackChunkName: "xycb" */ '@/Pages/forecasting/xycb/XycbDataPhotos')
  41. const xycbDataDetail = () => import( /* webpackChunkName: "xycb" */ '@/Pages/forecasting/xycb/XycbDataDetail')
  42. // --------------------------------------测报模块---------------------------糖醋测报-----------------------
  43. const Tccb = () => import( /* webpackChunkName: "tccb" */ '@/Pages/forecasting/tccb/Tccb')
  44. const TcDataDetail = () => import( /* webpackChunkName: "tccb" */ '@/Pages/forecasting/tccb/TcDataDetail')
  45. const TcDataPhotos = () => import( /* webpackChunkName: "tccb" */ '@/Pages/forecasting/tccb/TcDataPhotos')
  46. //---------------------------------------监控模块---------------------------监控-------------------------
  47. // const Monitor = () => import( /* webpackChunkName: "monitor" */ '@/Pages/monitor/monitorSystem/Monitor')
  48. // const PhotoView = () => import( /* webpackChunkName: "monitor" */ '@/Pages/monitor/monitorSystem/PhotoView')
  49. //---------------------------------------防治模块---------------------------杀虫灯-------------------------
  50. const Scd = () => import( /* webpackChunkName: "scd" */ '@/Pages/cure/scd/scd')
  51. const ScdDetail = () => import( /* webpackChunkName: "scd" */ '@/Pages/cure/scd/scdDetail')
  52. //---------------------------------------设备管理----------------------------------------------------
  53. const EquipDistribute = () => import( /* webpackChunkName: "equipmanger" */ '@/Pages/equipmanger/EquipDistribute')
  54. const EquipList = () => import( /* webpackChunkName: "equipmanger" */ '@/Pages/equipmanger/EquipList')
  55. const UserList = () => import( /* webpackChunkName: "equipmanger" */ '@/Pages/equipmanger/UserList')
  56. //---------------------------------------售后模块----------------------------------------------------
  57. const FaultUp = () => import( /* webpackChunkName: "equipmanger" */ '@/Pages/equipmanger/FaultUp')
  58. const FaulList = () => import( /* webpackChunkName: "equipmanger" */ '@/Pages/equipmanger/FaultList')
  59. //---------------------------------------系统管理----------------------------------------------------
  60. const UserManger = () => import('@/Pages/systemmanger/UserManger')
  61. const UserGroupManger = () => import('@/Pages/systemmanger/UserGroupManger')
  62. const Role = () => import('@/Pages/systemmanger/Role')
  63. const AgentDistribute = () => import('@/Pages/systemmanger/AgentDistribute')
  64. const CbdDistinguish = () => import('@/Pages/systemmanger/CbdDistinguish')
  65. const DayRecord = () => import('@/Pages/systemmanger/DayRecord')
  66. const Warning = () => import('@/Pages/systemmanger/Warning')
  67. //---------------------------------------溯源模块------------------------------农场管理----------------------
  68. const FarmUserManger = () => import('@/Pages/symanger/farm/User')
  69. const FarmFieldsManger = () => import('@/Pages/symanger/farm/Fields')
  70. const FarmBaseManger = () => import( /* webpackChunkName: "syFarmBase" */ '@/Pages/symanger/farm/Base')
  71. const FarmAddBase = () => import( /* webpackChunkName: "syFarmBase" */ '@/Pages/symanger/farm/AddBase')
  72. const FarmEditBase = () => import( /* webpackChunkName: "syFarmBase" */ '@/Pages/symanger/farm/EditBase')
  73. //---------------------------------------溯源模块------------------------------溯源信息----------------------
  74. const ResultInfoList = () => import( /* webpackChunkName: "resultInfo" */ '@/Pages/symanger/resultInfo/resultInfoList')
  75. const ResultInfoEdit = () => import( /* webpackChunkName: "resultInfo" */ '@/Pages/symanger/resultInfo/resultInfoEdit')
  76. const TracebackDetail = () => import( /* webpackChunkName: "resultInfo" */ '@/Pages/symanger/resultInfo/tracebackDetail')
  77. const TracebackDetailApp = () => import( /* webpackChunkName: "resultInfo" */ '@/Pages/symanger/resultInfo/tracebackDetailApp')
  78. //---------------------------------------溯源模块------------------------------农事管理----------------------
  79. const FarmThingPlant = () => import('@/Pages/symanger/farmThing/plant')
  80. const FarmThingspray = () => import('@/Pages/symanger/farmThing/spray')
  81. const FarmThingApplyFertilizer = () => import('@/Pages/symanger/farmThing/applyFertilizer')
  82. const FarmThingWatering = () => import('@/Pages/symanger/farmThing/watering')
  83. const FarmThingHarvest = () => import('@/Pages/symanger/farmThing/harvest')
  84. const FarmThingMore = () => import('@/Pages/symanger/farmThing/more')
  85. const FarmThingSale = () => import('@/Pages/symanger/farmThing/sale')
  86. const FarmThingTransport = () => import('@/Pages/symanger/farmThing/transport')
  87. //---------------------------------------四情基地管理----------------------------------------------------
  88. const FourMoodBase = () => import('@/Pages/fourMoodBase/BaseManage')
  89. const BaseShow = () => import('@/Pages/fourMoodBase/BaseShow')
  90. //---------------------------------------专家诊断----------------------------------------------------
  91. import ExpertAnswers from '@/pages/expertDiagnosis/expertAnswers/ExpertAnswers'
  92. import ExpertDatabase from '@/pages/expertDiagnosis/expertDatabase/ExpertDatabase'
  93. import ExpertIntr from '@/pages/expertDiagnosis/expertIntr/ExpertIntr'
  94. import PicRec from '@/pages/expertDiagnosis/picRec/PicRec'
  95. import expertAudit from '@/pages/expertDiagnosis/expertAudit/expertAudit'
  96. import expertWriteBack from '@/pages/expertDiagnosis/expertWriteBack/expertWriteBack'
  97. import expertPostList from '@/pages/expertDiagnosis/posts/PostList'
  98. import expertPostDetail from '@/pages/expertDiagnosis/posts/PostDetail'
  99. //---------------------------------------售后服务----------------------------------------------------
  100. import SaleAppli from '@/pages/afterSale/SaleAppli'
  101. import SaleAfterDetail from '@/pages/afterSale/SaleAfterdetail'
  102. import SaleAllotPeople from '@/pages/afterSale/AllotPeople'
  103. import ProgressInquiry from '@/pages/afterSale/ProgressInquiry'
  104. import MRecords from '@/pages/afterSale/MRecords'
  105. //---------------------------------------农林植保----------------------------------------------------
  106. const PlantGuard = () => import('@/components/index')
  107. const Page1 = () => import('@/Pages/plantGuard/page1')
  108. const Page2 = () => import('@/Pages/plantGuard/page2')
  109. const Page3 = () => import('@/Pages/plantGuard/page3')
  110. const Page4 = () => import('@/Pages/plantGuard/page4') //系统管理-用户管理
  111. const Page5 = () => import('@/Pages/plantGuard/page5') //系统管理-设备分配
  112. const Page6 = () => import('@/Pages/plantGuard/page6') //系统管理-角色管理
  113. const Page7 = () => import('@/Pages/plantGuard/page7') //系统管理-主题定制
  114. const Page8 = () => import('@/Pages/plantGuard/page8') //设备管理-设备列表
  115. const CbdPhoto = () => import('@/Pages/plantGuard/cbdphoto/cbdphoto') //测报灯图片
  116. const CbdPestStats = () => import('@/Pages/plantGuard/cbdPestStats') //测报灯图片
  117. const Monitor = () => import('@/Pages/monitor/monitorSystem/Monitor')
  118. const BaseAll = () => import('@/Pages/plantGuard/baseAll') //管理员查看项目基地
  119. const PhotoView = () => import( /* webpackChunkName: "monitor" */ '@/Pages/monitor/monitorSystem/PhotoView')
  120. const Page9 = () => import('@/Pages/plantGuard/page9') //水价管理-地图展示
  121. const Page10 = () => import('@/Pages/plantGuard/page10') //水价管理-地图展示
  122. const Page11 = () => import('@/Pages/plantGuard/page11') //水价管理-地图展示
  123. Vue.use(Router)
  124. export default new Router({
  125. routes: [{
  126. path: '',
  127. redirect: '/login'
  128. },
  129. {
  130. path: '/login',
  131. component: Login
  132. },
  133. // -----------------农林植保------------------------
  134. {
  135. path: '/plantGuard',
  136. name:'PlantGuard',
  137. component: PlantGuard,
  138. children:[
  139. {
  140. path: 'baseAll',
  141. name: 'BaseAll',
  142. component: BaseAll,
  143. meta: { title: '数据监测',order:1,navname: '项目基地', }
  144. },
  145. {
  146. path: 'page1',
  147. name:'page1',
  148. component: Page1,
  149. meta: { title: '数据监测',order:0, navname:'设备列表',}
  150. },
  151. {
  152. path: 'page2',
  153. name: 'page2',
  154. component: Page2,
  155. meta: { title: '数据监测',order:0 ,navname:'数据目录管理',}
  156. },
  157. {
  158. path: 'page3',
  159. name: 'page3',
  160. component: Page3,
  161. meta: { title: '智能灌溉系统',order:2 ,navname:'系统管理',}
  162. },
  163. {
  164. path: 'page4',
  165. name: 'page4',
  166. component: Page4,
  167. meta: { title: '系统管理',order:6, navname: '用户管理',}
  168. },
  169. {
  170. path: 'page5',
  171. name: 'page5',
  172. component: Page5,
  173. meta: { title: '系统管理',order:6,navname: '设备分配', }
  174. },
  175. {
  176. path: 'page6',
  177. name: 'page6',
  178. component: Page6,
  179. meta: { title: '系统管理',order:6,navname: '角色管理', }
  180. },
  181. {
  182. path: 'page7',
  183. name: 'page7',
  184. component: Page7,
  185. meta: { title: '系统管理',order:6,navname: '主题定制', }
  186. },
  187. {
  188. path: 'page8',
  189. name: 'page8',
  190. component: Page8,
  191. meta: { title: '设备管理',order:7,navname: '设备管理', }
  192. },
  193. {
  194. path: 'cbdPhoto',
  195. name: 'cbdPhoto',
  196. component: CbdPhoto,
  197. meta: { title: '',order:0,navname: '测报灯图片', }
  198. },
  199. {
  200. path: 'cbdPestStats',
  201. name: 'CbdPestStats',
  202. component: CbdPestStats,
  203. meta: { title: '',order:0,navname: '害虫统计', }
  204. },
  205. {
  206. path: 'monitor',
  207. name: 'Monitor',
  208. component: Monitor,
  209. meta: { title: '',order:1,navname: '可视化系统', }
  210. },
  211. {
  212. path: 'photoView/:id',
  213. name: 'PhotoView',
  214. component: PhotoView,
  215. meta: { title: '',order:0,navname: '图片详情', }
  216. },
  217. {
  218. path: 'page9',
  219. name: 'page9',
  220. component: Page9,
  221. meta: { title: '水价管理',order:3,navname: '地图展示', }
  222. },
  223. {
  224. path: 'page10',
  225. name: 'page10',
  226. component: Page10,
  227. meta: { title: '水价管理',order:3,navname: '消费记录', }
  228. },
  229. {
  230. path: 'page11',
  231. name: 'page11',
  232. component: Page11,
  233. meta: { title: '水价管理',order:3,navname: '充值记录', }
  234. },
  235. ]
  236. },
  237. // -----------------大数据平台------------------------
  238. {
  239. path: '/bFourSituations',
  240. component: BfourSituations
  241. },
  242. {
  243. path: '/equipDistribute',
  244. component: BequipDistribute
  245. },
  246. {
  247. path: '/bCbd',
  248. component: Bcbd,
  249. },
  250. {
  251. path: '/bQxz',
  252. component: Bqxz
  253. },
  254. {
  255. path: '/bSy',
  256. component: Bsy
  257. },
  258. {
  259. path: '/bBzy',
  260. component: Bbzy
  261. },
  262. {
  263. path: '/bHome',
  264. component: Bhome
  265. },
  266. {
  267. path: '/index',
  268. component: Index,
  269. children: [{
  270. path: '',
  271. redirect: (window.sessionStorage.getItem('activePath') || '/index/home')
  272. }, {
  273. path: 'home',
  274. component: Home01
  275. },
  276. {
  277. path: 'home02',
  278. component: Home02
  279. },
  280. {
  281. path: 'mapView',
  282. component: MapView
  283. },
  284. {
  285. path: 'personMsg',
  286. name:'PersonMsg',
  287. component: PersonMsg
  288. },
  289. // -----------------环境监测模块------------------------
  290. {
  291. path: 'envi',
  292. component: EnvironmentMonitor
  293. },
  294. {
  295. path: 'historyData/:id',
  296. component: HistoryData
  297. },
  298. {
  299. path: 'data24/:id',
  300. component: Data24
  301. },
  302. // -----------------测报模块------------测报灯------------
  303. {
  304. path: 'cbd',
  305. component: Cbd,
  306. meta: {
  307. keepAlive: true //留存数据
  308. }
  309. },
  310. {
  311. path: 'cbdDataDetails/:e_id/:d_id',
  312. name:"CbdDataDetails",
  313. component: CbdDataDetails
  314. },
  315. {
  316. path: 'cbdDataPhotos/:id',
  317. name:'cbdDataPhotos',
  318. component: cbdDataPhotos
  319. },
  320. {
  321. path: 'pestsStats/:d_id/:id',
  322. name:'PestsStats',
  323. component: PestsStats
  324. },
  325. {
  326. path: 'messageWarn/:id',
  327. name:'MessageWarn',
  328. component: MessageWarn
  329. },
  330. //------------------测报模块-------------监控-------------
  331. // {
  332. // path: 'monitor',
  333. // component: Monitor,
  334. // },
  335. // {
  336. // path: 'photoView/:id',
  337. // component: PhotoView
  338. // },
  339. //------------------测报模块-------------孢子仪-------------
  340. {
  341. path: 'bzy',
  342. component: Bzy,
  343. meta: {
  344. keepAlive: true //留存数据
  345. }
  346. },
  347. {
  348. path: 'bzyPhotos/:id',
  349. name:'BzyPhotos',
  350. component: BzyPhotos
  351. },
  352. {
  353. path: 'dataDetail/:e_id/:d_id',
  354. name:'DataDetail',
  355. component: DataDetail
  356. },
  357. //------------------测报模块-------------性诱测报-------------
  358. {
  359. path: 'xycb',
  360. component: Xycb,
  361. meta: {
  362. keepAlive: true //留存数据
  363. }
  364. },
  365. {
  366. path: 'xycbDataPhotos/:id',
  367. name:'xycbDataPhotos',
  368. component: xycbDataPhotos
  369. },
  370. {
  371. path: 'xycbDataDetail/:e_id/:d_id',
  372. name:'xycbDataDetail',
  373. component: xycbDataDetail
  374. },
  375. //------------------测报模块-------------糖醋测报-------------
  376. {
  377. path: 'tccb',
  378. component: Tccb,
  379. meta: {
  380. keepAlive: true //留存数据
  381. }
  382. },
  383. {
  384. path: 'tcDataPhotos/:id',
  385. component: TcDataPhotos
  386. },
  387. {
  388. path: 'tcDataDetail/:e_id/:d_id',
  389. component: TcDataDetail
  390. },
  391. //------------------防治模块-------------杀虫灯-------------
  392. {
  393. path: 'scd',
  394. component: Scd,
  395. meta: {
  396. keepAlive: true //留存数据
  397. }
  398. },
  399. {
  400. path: 'scdDetail/:e_id/:d_id',
  401. name:'ScdDetail',
  402. component: ScdDetail
  403. },
  404. //------------------设备管理--------------------------
  405. {
  406. path: 'equipdis/:id',
  407. component: EquipDistribute
  408. },
  409. {
  410. path: 'equipList',
  411. component: EquipList
  412. },
  413. {
  414. path: 'userList',
  415. component: UserList
  416. },
  417. //------------------售后模块--------------------------
  418. {
  419. path:'faulList',
  420. component:FaulList
  421. },
  422. //------------------系统管理--------------------------
  423. {
  424. path: 'userManger',
  425. component: UserManger,
  426. },
  427. {
  428. path: 'userGroupManger',
  429. component: UserGroupManger
  430. },
  431. {
  432. path: 'role',
  433. component: Role
  434. },
  435. {
  436. path: 'agentDistribute',
  437. component: AgentDistribute
  438. },
  439. {
  440. path: 'cbdDistinguish',
  441. component: CbdDistinguish
  442. },
  443. {
  444. path: 'dayRecord',
  445. component: DayRecord
  446. },
  447. {
  448. path: 'warning',
  449. component: Warning
  450. },
  451. //-------------------溯源模块-----------农场管理----------
  452. {
  453. path: 'farmUserManger',
  454. component: FarmUserManger
  455. },
  456. {
  457. path: 'farmFieldsManger',
  458. component: FarmFieldsManger
  459. },
  460. {
  461. path: 'farmBaseManger',
  462. component: FarmBaseManger
  463. },
  464. {
  465. path: 'farmAddBase',
  466. component: FarmAddBase
  467. },
  468. {
  469. path: 'farmEditBase',
  470. component: FarmEditBase
  471. },
  472. //-------------------溯源模块-----------溯源信息----------
  473. {
  474. path: 'resultInfoList',
  475. component: ResultInfoList
  476. },
  477. {
  478. path: 'resultInfoEdit',
  479. component: ResultInfoEdit
  480. },
  481. //-------------------溯源模块-----------农事管理----------
  482. {
  483. path: 'farmThingPlant',
  484. component: FarmThingPlant
  485. },
  486. {
  487. path: 'farmThingspray',
  488. component: FarmThingspray
  489. },
  490. {
  491. path: 'farmThingApplyFerti',
  492. component: FarmThingApplyFertilizer
  493. },
  494. {
  495. path: 'farmThingWatering',
  496. component: FarmThingWatering
  497. },
  498. {
  499. path: 'farmThingHarvest',
  500. component: FarmThingHarvest
  501. },
  502. {
  503. path: 'farmThingMore',
  504. component: FarmThingMore
  505. },
  506. {
  507. path: 'farmThingSale',
  508. component: FarmThingSale
  509. },
  510. {
  511. path: 'farmThingTransport',
  512. component: FarmThingTransport
  513. },
  514. // {
  515. // path: 'table',
  516. // name: 'table',
  517. // component: resolve=>(require(["@/pages/symanger/table.vue"],resolve))
  518. // },
  519. //-------------------四情基地管理---------------------
  520. {
  521. path: 'fourMoodBase',
  522. component: FourMoodBase
  523. },
  524. {
  525. path: 'baseShow',
  526. component: BaseShow
  527. },
  528. //-------------------专家诊断---------------------
  529. {
  530. path: 'expertAnswers',
  531. component: ExpertAnswers
  532. },
  533. {
  534. path: 'expertDatabase',
  535. component: ExpertDatabase
  536. },
  537. {
  538. path: 'expertIntr',
  539. component: ExpertIntr
  540. },
  541. {
  542. path: 'picRec',
  543. component: PicRec
  544. },
  545. {
  546. path: 'expertAudit',
  547. component: expertAudit
  548. },
  549. {
  550. path: 'expertWriteBack',
  551. component: expertWriteBack
  552. },
  553. {
  554. path: 'expertPostList',
  555. component: expertPostList
  556. },
  557. {
  558. path: 'expertPostDetail',
  559. component: expertPostDetail
  560. },
  561. //-------------------售后管理---------------------
  562. {
  563. path: 'saleAppli',
  564. component: SaleAppli
  565. },
  566. {
  567. path: 'saleAfterDetail',
  568. component: SaleAfterDetail
  569. },
  570. {
  571. path: 'saleAllotPeople',
  572. component: SaleAllotPeople
  573. },
  574. {
  575. path: 'progressInquiry',
  576. component: ProgressInquiry
  577. },
  578. {
  579. path: 'mRecords',
  580. component: MRecords
  581. },
  582. ]
  583. },
  584. //-------------------溯源模块-----------溯源中心----------
  585. {
  586. path: '/tracebackDetail/:backcode',
  587. name:'TracebackDetail',
  588. component: TracebackDetail,
  589. },
  590. {
  591. path: '/tracebackDetailApp/:backcode',
  592. name:'TracebackDetailApp',
  593. component: TracebackDetailApp,
  594. },
  595. {
  596. path: '/faultUp',
  597. name:'FaultUp',
  598. component: FaultUp,
  599. },
  600. ],
  601. // mode:'history'
  602. })