route-eam-v3.js 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. import {
  2. HelloWorld,
  3. AssetBasicSet,
  4. DepreciationDetailList,
  5. DepreciationDistribution,
  6. AssetWorkLoadInput,
  7. SettleAccountAtTheEndOfMonth,
  8. InventoryCheckLoss,
  9. ConsolidatedAssetInventory,
  10. AutoGenerateAsset,
  11. AssetCheck,
  12. CustomPrintAssetInstance,
  13. CopyProperty,
  14. DataSync,
  15. DataSyncEdit,
  16. AssetDetailList,
  17. AssetByRfid,
  18. AssetInventorySearch,
  19. AssetInventoryLostConfirm,
  20. PrintAsset,
  21. AssetBatchOperationQuery,
  22. AssetBatchOperationOrganization,
  23. AssetBatchOperationScrap,
  24. AssetInstancePrint,
  25. AssetInstanceSearchDetail,
  26. GenerateDocumentTool,
  27. ExportPictureLibrary,
  28. AssetBatchOperationModifyUseStatus,
  29. AssetBatchOperationModifyContact,
  30. PrintPreview,
  31. AssetInventory,
  32. AssetInventoryStep1,
  33. ManuallyConfirmCountingData,
  34. PerformInventoryTasks,
  35. InventoryDataProcessing,
  36. AssetLabelPrint,
  37. InventoryAssetInstanceSearch,
  38. RunDataArchive,
  39. } from 'client-eam-v3/dist/client-eam-v3.js';
  40. const routes = [
  41. { path: '/eam/hello-world', component: HelloWorld },
  42. {
  43. path: '/eam/assetBasicSet', component: AssetBasicSet,
  44. meta: {
  45. 'loginRequired': true,
  46. 'functionAccessArray': [
  47. {
  48. 'functionNo': '20220322_095049',
  49. 'itemNo': '1',
  50. },
  51. ],
  52. },
  53. },
  54. {
  55. path: '/eam/depreciationDetailList', component: DepreciationDetailList,
  56. meta: {
  57. 'loginRequired': true,
  58. 'functionAccessArray': [
  59. {
  60. 'functionNo': '20220322_095822',
  61. 'itemNo': '1',
  62. },
  63. ],
  64. },
  65. },
  66. {
  67. path: '/eam/depreciationDistribution', component: DepreciationDistribution,
  68. meta: {
  69. 'loginRequired': true,
  70. 'functionAccessArray': [
  71. {
  72. 'functionNo': '20220322_095822',
  73. 'itemNo': '1',
  74. },
  75. ],
  76. },
  77. },
  78. {
  79. path: '/eam/assetWorkLoadInput', component: AssetWorkLoadInput,
  80. meta: {
  81. 'loginRequired': true,
  82. 'functionAccessArray': [
  83. {
  84. 'functionNo': '20220322_095822',
  85. 'itemNo': '1',
  86. },
  87. ],
  88. },
  89. },
  90. {
  91. path: '/eam/settleAccountAtTheEndOfMonth', component: SettleAccountAtTheEndOfMonth,
  92. meta: {
  93. 'loginRequired': true,
  94. 'functionAccessArray': [
  95. {
  96. 'functionNo': '20220322_095822',
  97. 'itemNo': '1',
  98. },
  99. ],
  100. },
  101. },
  102. {
  103. path: '/eam/asset-inventory-check-lose/:uuid', component: InventoryCheckLoss,
  104. },
  105. {
  106. path: '/eam/consolidated-AssetInventory/:uuid', component: ConsolidatedAssetInventory,
  107. },
  108. // // 自动生成资产
  109. {
  110. path: '/eam/auto-generate-asset', component: AutoGenerateAsset,
  111. },
  112. {
  113. path: '/eam/auto-assetCheck-asset', component: AssetCheck,
  114. },
  115. {
  116. path: '/eam/custom-print-assetInstance', component: CustomPrintAssetInstance,
  117. },
  118. // //复制资产
  119. {
  120. path: '/eam/copy-property/:uuid', component: CopyProperty,
  121. },
  122. {
  123. path: '/eam/data-sync', component: DataSync,
  124. },
  125. {
  126. path: '/eam/data-sync-edit', component: DataSyncEdit,
  127. },
  128. {
  129. path: '/eam/assetDetailList', component: AssetDetailList,
  130. meta: {
  131. 'loginRequired': true,
  132. 'functionAccessArray': [
  133. {
  134. 'functionNo': '20220412_094415',
  135. 'itemNo': [
  136. '1',
  137. '2',
  138. ],
  139. },
  140. ],
  141. },
  142. },
  143. //资产进出记录
  144. {
  145. path: '/eam/AssetByRfid', component: AssetByRfid,
  146. meta: {
  147. 'loginRequired': true,
  148. 'functionAccessArray': [
  149. {
  150. 'functionNo': '20220322_095845',
  151. 'itemNo': '1',
  152. },
  153. ],
  154. },
  155. },
  156. // 资产卡片查询生成盘点单详情
  157. {
  158. path: '/eam/assetInventorySearch/:uuid', component: AssetInventorySearch,
  159. },
  160. // 人工确认盘亏数据
  161. {
  162. path: '/eam/AssetInventoryLostConfirm/:uuid', component: AssetInventoryLostConfirm,
  163. },
  164. //资产打印
  165. { path: '/eam/printAsset/:uuid', component: PrintAsset },
  166. //批量转移
  167. { path: '/eam/assetBatchOperationQuery/:changeType', component: AssetBatchOperationQuery },
  168. //批量待转移
  169. {
  170. path: '/eam/assetBatchOperation/organizationChange', component: AssetBatchOperationOrganization,
  171. meta: {
  172. 'loginRequired': true,
  173. 'functionAccessArray': [
  174. {
  175. 'functionNo': '20220412_105926',
  176. 'itemNo': '1',
  177. },
  178. ],
  179. },
  180. },
  181. //批量待报废
  182. {
  183. path: '/eam/assetBatchOperation/assetInstanceScrap', component: AssetBatchOperationScrap,
  184. meta: {
  185. 'loginRequired': true,
  186. 'functionAccessArray': [
  187. {
  188. 'functionNo': '20220412_105926',
  189. 'itemNo': '2',
  190. },
  191. ],
  192. },
  193. },
  194. //打开资产卡片打印队列
  195. {
  196. path: '/eam/assetInstancePrint', component: AssetInstancePrint,
  197. },
  198. {
  199. path: '/eam/assetInstanceSearchDetail', component: AssetInstanceSearchDetail,
  200. },
  201. // 生单组件
  202. {
  203. path: '/eam/generate-document/:type/:infoWindowNo/:uuid', component: GenerateDocumentTool,
  204. },
  205. //导出图片库
  206. {
  207. path: '/eam/exportPictureLibrary/:uuid', component: ExportPictureLibrary,
  208. },
  209. //批量待修改使用状态
  210. {
  211. path: '/eam/assetBatchOperation/assetInstanceModifyUseStatus', component: AssetBatchOperationModifyUseStatus,
  212. meta: {
  213. 'loginRequired': true,
  214. 'functionAccessArray': [
  215. {
  216. 'functionNo': '20220412_105926',
  217. 'itemNo': '3',
  218. },
  219. ],
  220. },
  221. },
  222. //批量待修改联系人
  223. {
  224. path: '/eam/assetBatchOperation/assetInstanceModifyContact', component: AssetBatchOperationModifyContact,
  225. meta: {
  226. 'loginRequired': true,
  227. 'functionAccessArray': [
  228. {
  229. 'functionNo': '20220412_105926',
  230. 'itemNo': '4',
  231. },
  232. ],
  233. },
  234. },
  235. {
  236. path: '/eam/printPreview', component: PrintPreview,
  237. },
  238. {
  239. path: '/eam/assetInventory', component: AssetInventory,
  240. },
  241. {
  242. path: '/eam/assetInventoryStep1', component: AssetInventoryStep1,
  243. },
  244. // 人工确认盘亏数据
  245. {
  246. path: '/eam/manuallyConfirmCountingData', component: ManuallyConfirmCountingData,
  247. },
  248. {
  249. path: '/eam/performInventoryTasks/:id', component: PerformInventoryTasks,
  250. },
  251. {
  252. path: '/eam/inventoryDataProcessing', component: InventoryDataProcessing,
  253. },
  254. {
  255. path: '/eam/assetLabelPrint', component: AssetLabelPrint,
  256. },
  257. { path: '/eam/inventoryAssetInstanceSearch', component: InventoryAssetInstanceSearch },
  258. { path: '/eam/runDataArchive', component: RunDataArchive },
  259. ];
  260. export default routes;