route.js 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476
  1. import Layout from '@/layout/index';
  2. const contractManagementRouter = {
  3. path: '/contractManagement',
  4. component: Layout,
  5. redirect: '/contractManagement',
  6. name: 'contractManagement',
  7. alwaysShow: true, // will always show the root menu
  8. meta: {
  9. title: 'contractManagement',
  10. module: 'contractManagement',
  11. icon: '-hetongguanli'
  12. },
  13. children: [
  14. // 现货采购合同
  15. {
  16. path: 'buyContract',
  17. component: () =>
  18. import(/* webpackChunkName: "sparepartList" */ '@/views/contractManagement/purchaseContract'),
  19. name: 'buyContract',
  20. meta: {
  21. title: 'purchaseContract',
  22. shortcutEntrance: 'contractManagement',
  23. module: 'contractManagement.buyContract',
  24. permissicon: [],
  25. keepAlive: true
  26. }
  27. },
  28. //现货采购合同查看
  29. {
  30. path: 'purchaseContractExamine',
  31. component: () =>
  32. import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/purchaseContractExamine'),
  33. name: 'purchaseContractExamine',
  34. meta: {
  35. title: 'purchaseContractExamine',
  36. shortcutEntrance: 'contractManagement',
  37. module: 'contractManagement.buyContract.buyContractInfo.view',
  38. permissicon: [],
  39. keepAlive: true
  40. // module: 'procurement.sparepart.applDetail'
  41. },
  42. hidden: true
  43. },
  44. //现货采购合同编辑
  45. {
  46. path: 'purchaseContractEdit',
  47. component: () =>
  48. import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/purchaseContractEdit'),
  49. name: 'purchaseContractEdit',
  50. meta: {
  51. title: 'purchaseContractEdit',
  52. shortcutEntrance: 'contractManagement',
  53. module: 'contractManagement.buyContract.buyContractInfo.edit',
  54. permissicon: [],
  55. keepAlive: true
  56. // module: 'procurement.sparepart.applDetail'
  57. },
  58. hidden: true
  59. },
  60. //现货采购合同添加
  61. {
  62. path: 'purchaseContractAdd',
  63. component: () =>
  64. import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/purchaseContractAdd'),
  65. name: 'purchaseContractAdd',
  66. meta: {
  67. title: 'purchaseContractAdd',
  68. shortcutEntrance: 'contractManagement',
  69. module: 'contractManagement.buyContract.buyContractInfo.add',
  70. permissicon: [],
  71. keepAlive: true
  72. // module: 'procurement.sparepart.applDetail'
  73. },
  74. hidden: true
  75. },
  76. // 期货采购合同
  77. {
  78. path: 'futuresPurchaseContract',
  79. component: () =>
  80. import(/* webpackChunkName: "sparepartList" */ '@/views/contractManagement/futuresPurchaseContract'),
  81. name: 'futuresPurchaseContract',
  82. meta: {
  83. title: 'futuresPurchaseContract',
  84. shortcutEntrance: 'contractManagement',
  85. module: 'contractManagement.buyContract',
  86. permissicon: [],
  87. keepAlive: true
  88. }
  89. },
  90. //期货采购合同查看
  91. {
  92. path: 'futuresPurchaseContractExamine',
  93. component: () =>
  94. import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/futuresPurchaseContractExamine'),
  95. name: 'futuresPurchaseContractExamine',
  96. meta: {
  97. title: 'futuresPurchaseContractExamine',
  98. shortcutEntrance: 'contractManagement',
  99. module: 'contractManagement.buyContract.buyContractInfo.view',
  100. permissicon: [],
  101. keepAlive: true
  102. // module: 'procurement.sparepart.applDetail'
  103. },
  104. hidden: true
  105. },
  106. //期货采购合同编辑
  107. {
  108. path: 'futuresPurchaseContractEdit',
  109. component: () =>
  110. import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/futuresPurchaseContractEdit'),
  111. name: 'futuresPurchaseContractEdit',
  112. meta: {
  113. title: 'futuresPurchaseContractEdit',
  114. shortcutEntrance: 'contractManagement',
  115. module: 'contractManagement.buyContract.buyContractInfo.edit',
  116. permissicon: [],
  117. keepAlive: true
  118. // module: 'procurement.sparepart.applDetail'
  119. },
  120. hidden: true
  121. },
  122. //期货采购合同添加
  123. {
  124. path: 'futuresPurchaseContractAdd',
  125. component: () =>
  126. import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/futuresPurchaseContractAdd'),
  127. name: 'futuresPurchaseContractAdd',
  128. meta: {
  129. title: 'futuresPurchaseContractAdd',
  130. shortcutEntrance: 'contractManagement',
  131. module: 'contractManagement.buyContract.buyContractInfo.add',
  132. permissicon: [],
  133. keepAlive: true
  134. // module: 'procurement.sparepart.applDetail'
  135. },
  136. hidden: true
  137. },
  138. //现货销售合同
  139. {
  140. path: 'salesContract',
  141. component: () =>
  142. import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/salesContract'),
  143. name: 'salesContract',
  144. meta: {
  145. title: 'salesContract',
  146. shortcutEntrance: 'contractManagement',
  147. module: 'contractManagement.salesContract',
  148. permissicon: [],
  149. keepAlive: true
  150. // module: 'procurement.sparepart.applDetail'
  151. }
  152. },
  153. //现货销售合同查看
  154. {
  155. path: 'salesContractExamine',
  156. component: () =>
  157. import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/salesContractExamine'),
  158. name: 'salesContractExamine',
  159. meta: {
  160. title: 'salesContractExamine',
  161. shortcutEntrance: 'contractManagement',
  162. module: 'contractManagement.salesContract.salesContractInfo.view',
  163. permissicon: [],
  164. keepAlive: true
  165. // module: 'procurement.sparepart.applDetail'
  166. },
  167. hidden: true
  168. },
  169. //现货销售合同编辑
  170. {
  171. path: 'salesContractEdit',
  172. component: () =>
  173. import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/salesContractEdit'),
  174. name: 'salesContractEdit',
  175. meta: {
  176. title: 'salesContractEdit',
  177. shortcutEntrance: 'contractManagement',
  178. module: 'contractManagement.salesContract.salesContractInfo.edit',
  179. permissicon: [],
  180. keepAlive: true
  181. // module: 'procurement.sparepart.applDetail'
  182. },
  183. hidden: true
  184. },
  185. //现货销售合同添加
  186. {
  187. path: 'salesContractAdd',
  188. component: () =>
  189. import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/salesContractAdd'),
  190. name: 'salesContractAdd',
  191. meta: {
  192. title: 'salesContractAdd',
  193. shortcutEntrance: 'contractManagement',
  194. module: 'contractManagement.salesContract.salesContractInfo.add',
  195. permissicon: [],
  196. keepAlive: true
  197. // module: 'procurement.sparepart.applDetail'
  198. },
  199. hidden: true
  200. },
  201. //期货销售合同
  202. {
  203. path: 'futuresSalesContract',
  204. component: () =>
  205. import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/futuresSalesContract'),
  206. name: 'futuresSalesContract',
  207. meta: {
  208. title: 'futuresSalesContract',
  209. shortcutEntrance: 'contractManagement',
  210. module: 'contractManagement.salesContract',
  211. permissicon: [],
  212. keepAlive: true
  213. // module: 'procurement.sparepart.applDetail'
  214. }
  215. },
  216. //期货销售合同查看
  217. {
  218. path: 'futuresSalesContractExamine',
  219. component: () =>
  220. import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/futuresSalesContractExamine'),
  221. name: 'futuresSalesContractExamine',
  222. meta: {
  223. title: 'futuresSalesContractExamine',
  224. shortcutEntrance: 'contractManagement',
  225. module: 'contractManagement.salesContract.salesContractInfo.view',
  226. permissicon: [],
  227. keepAlive: true
  228. // module: 'procurement.sparepart.applDetail'
  229. },
  230. hidden: true
  231. },
  232. //期货销售合同编辑
  233. {
  234. path: 'futuresSalesContractEdit',
  235. component: () =>
  236. import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/futuresSalesContractEdit'),
  237. name: 'futuresSalesContractEdit',
  238. meta: {
  239. title: 'futuresSalesContractEdit',
  240. shortcutEntrance: 'contractManagement',
  241. module: 'contractManagement.salesContract.salesContractInfo.edit',
  242. permissicon: [],
  243. keepAlive: true
  244. // module: 'procurement.sparepart.applDetail'
  245. },
  246. hidden: true
  247. },
  248. //期货销售合同添加
  249. {
  250. path: 'futuresSalesContractAdd',
  251. component: () =>
  252. import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/futuresSalesContractAdd'),
  253. name: 'futuresSalesContractAdd',
  254. meta: {
  255. title: 'futuresSalesContractAdd',
  256. shortcutEntrance: 'contractManagement',
  257. module: 'contractManagement.salesContract.salesContractInfo.add',
  258. permissicon: [],
  259. keepAlive: true
  260. // module: 'procurement.sparepart.applDetail'
  261. },
  262. hidden: true
  263. },
  264. //点价确认单
  265. {
  266. path: 'priceConfirmationSheet',
  267. component: () =>
  268. import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/priceConfirmationSheet'),
  269. name: 'priceConfirmationSheet',
  270. meta: {
  271. title: 'priceConfirmationSheet',
  272. shortcutEntrance: 'contractManagement',
  273. module: 'contractManagement.salesContract',
  274. permissicon: [],
  275. keepAlive: true
  276. // module: 'procurement.sparepart.applDetail'
  277. },
  278. hidden: true
  279. },
  280. //创建点价确认单
  281. {
  282. path: 'priceConfirmationSheetAdd',
  283. component: () =>
  284. import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/priceConfirmationSheetAdd'),
  285. name: 'priceConfirmationSheetAdd',
  286. meta: {
  287. title: 'priceConfirmationSheetAdd',
  288. shortcutEntrance: 'contractManagement',
  289. module: 'contractManagement.salesContract',
  290. permissicon: [],
  291. keepAlive: true
  292. // module: 'procurement.sparepart.applDetail'
  293. },
  294. hidden: true
  295. },
  296. //编辑点价确认单
  297. {
  298. path: 'priceConfirmationSheetEdit',
  299. component: () =>
  300. import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/priceConfirmationSheetEdit'),
  301. name: 'priceConfirmationSheetEdit',
  302. meta: {
  303. title: 'priceConfirmationSheetEdit',
  304. shortcutEntrance: 'contractManagement',
  305. module: 'contractManagement.salesContract',
  306. permissicon: [],
  307. keepAlive: true
  308. // module: 'procurement.sparepart.applDetail'
  309. },
  310. hidden: true
  311. },
  312. // 代收合同
  313. {
  314. path: 'collectionContract',
  315. component: () =>
  316. import(/* webpackChunkName: "sparepartList" */ '@/views/contractManagement/collectionContract'),
  317. name: 'collectionContract',
  318. meta: {
  319. title: 'collectionContract',
  320. shortcutEntrance: 'contractManagement',
  321. module: 'contractManagement.dsContract',
  322. permissicon: [],
  323. keepAlive: true
  324. }
  325. },
  326. //代收合同添加
  327. {
  328. path: 'collectionContractAdd',
  329. component: () =>
  330. import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/collectionContractAdd'),
  331. name: 'collectionContractAdd',
  332. meta: {
  333. title: 'collectionContractAdd',
  334. shortcutEntrance: 'contractManagement',
  335. module: 'contractManagement.dsContract.dsContractInfo.add',
  336. permissicon: [],
  337. keepAlive: true
  338. // module: 'procurement.sparepart.applDetail'
  339. },
  340. hidden: true
  341. },
  342. //代收合同编辑
  343. {
  344. path: 'collectionContractEdit',
  345. component: () =>
  346. import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/collectionContractEdit'),
  347. name: 'collectionContractEdit',
  348. meta: {
  349. title: 'collectionContractEdit',
  350. shortcutEntrance: 'contractManagement',
  351. module: 'contractManagement.dsContract.dsContractInfo.edit',
  352. permissicon: [],
  353. keepAlive: true
  354. // module: 'procurement.sparepart.applDetail'
  355. },
  356. hidden: true
  357. },
  358. //代收合同查看
  359. {
  360. path: 'collectionContractExamine',
  361. component: () =>
  362. import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/collectionContractExamine'),
  363. name: 'collectionContractExamine',
  364. meta: {
  365. title: 'collectionContractExamine',
  366. shortcutEntrance: 'contractManagement',
  367. module: 'contractManagement.dsContract.dsContractInfo.view',
  368. permissicon: [],
  369. keepAlive: true
  370. // module: 'procurement.sparepart.applDetail'
  371. },
  372. hidden: true
  373. },
  374. //代收合同记录
  375. {
  376. path: 'collectionContractRecord',
  377. component: () =>
  378. import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/collectionContractRecord'),
  379. name: 'collectionContractRecord',
  380. meta: {
  381. title: 'collectionContractRecord',
  382. shortcutEntrance: 'contractManagement',
  383. module: 'contractManagement.dsContract.dsContractInfo.list',
  384. permissicon: [],
  385. keepAlive: true
  386. // module: 'procurement.sparepart.applDetail'
  387. },
  388. hidden: true
  389. },// 代收合同
  390. {
  391. path: 'storageContract',
  392. component: () =>
  393. import(/* webpackChunkName: "sparepartList" */ '@/views/contractManagement/storageContract'),
  394. name: 'storageContract',
  395. meta: {
  396. title: 'storageContract',
  397. shortcutEntrance: 'contractManagement',
  398. module: 'contractManagement.dsContract',
  399. permissicon: [],
  400. keepAlive: true
  401. }
  402. },
  403. //代收合同添加
  404. {
  405. path: 'storageContractAdd',
  406. component: () =>
  407. import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/storageContractAdd'),
  408. name: 'storageContractAdd',
  409. meta: {
  410. title: 'storageContractAdd',
  411. shortcutEntrance: 'contractManagement',
  412. module: 'contractManagement.dsContract.dsContractInfo.add',
  413. permissicon: [],
  414. keepAlive: true
  415. // module: 'procurement.sparepart.applDetail'
  416. },
  417. hidden: true
  418. },
  419. //代收合同编辑
  420. {
  421. path: 'storageContractEdit',
  422. component: () =>
  423. import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/storageContractEdit'),
  424. name: 'storageContractEdit',
  425. meta: {
  426. title: 'storageContractEdit',
  427. shortcutEntrance: 'contractManagement',
  428. module: 'contractManagement.dsContract.dsContractInfo.edit',
  429. permissicon: [],
  430. keepAlive: true
  431. // module: 'procurement.sparepart.applDetail'
  432. },
  433. hidden: true
  434. },
  435. //代收合同查看
  436. {
  437. path: 'storageContractExamine',
  438. component: () =>
  439. import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/storageContractExamine'),
  440. name: 'storageContractExamine',
  441. meta: {
  442. title: 'storageContractExamine',
  443. shortcutEntrance: 'contractManagement',
  444. module: 'contractManagement.dsContract.dsContractInfo.view',
  445. permissicon: [],
  446. keepAlive: true
  447. // module: 'procurement.sparepart.applDetail'
  448. },
  449. hidden: true
  450. },
  451. //代收合同记录
  452. {
  453. path: 'storageContractRecord',
  454. component: () =>
  455. import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/storageContractRecord'),
  456. name: 'storageContractRecord',
  457. meta: {
  458. title: 'storageContractRecord',
  459. shortcutEntrance: 'contractManagement',
  460. module: 'contractManagement.dsContract.dsContractInfo.list',
  461. permissicon: [],
  462. keepAlive: false
  463. // module: 'procurement.sparepart.applDetail'
  464. },
  465. hidden: true
  466. },
  467. ],
  468. };
  469. export default contractManagementRouter;