customRoutes.js 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431
  1. //客户管理路由模块
  2. const home = (r) => require.ensure([], () => r(require("@/views/Home.vue")), "Home"); //主页
  3. export default [
  4. {
  5. path: "/",
  6. component: home,
  7. name: "客户管理",
  8. hidden: true,
  9. icon_path: require("@/assets/img/home/custom_ico.png"),
  10. children: [
  11. {
  12. path: "customSearch",
  13. component: () => import("@/views/custom_manage/customSearch.vue"),
  14. name: "客户检索",
  15. hidden: false,
  16. meta: {
  17. keepAlive: false,
  18. },
  19. },
  20. {
  21. path: "customList",
  22. component: () => import("@/views/custom_manage/customList/customList.vue"),
  23. name: "客户列表",
  24. hidden: false,
  25. meta: {
  26. keepAlive: false,
  27. },
  28. },
  29. {
  30. path: "customShareList",
  31. component: () => import("@/views/custom_manage/customList/customShareList.vue"),
  32. name: "正式客户共享",
  33. hidden: false,
  34. },
  35. {
  36. path: 'customCityList',
  37. component: () => import('@/views/custom_manage/customList/customCityList.vue'),
  38. name: '查看同城客户',
  39. hidden: false,
  40. meta: {
  41. pathFrom: 'customShareList',
  42. pathName: '正式客户共享'
  43. }
  44. },
  45. {
  46. path: "customAllList",
  47. component: () => import("@/views/custom_manage/customList/customAllList.vue"),
  48. name: "全量客户列表",
  49. hidden: false,
  50. },
  51. {
  52. path: "customListEn",
  53. component: () => import("@/views/custom_manage/customList/customListEn.vue"),
  54. name: "英文客户列表",
  55. hidden: false,
  56. },
  57. {
  58. path: "trialContactListEn",
  59. component: () => import("@/views/custom_manage/customList/limitContactListEn.vue"),
  60. name: "临时权限列表",
  61. hidden: false,
  62. },
  63. {
  64. path: "freezeContactListEn",
  65. component: () => import("@/views/custom_manage/customList/limitContactListEn.vue"),
  66. name: "终止权限列表",
  67. hidden: false,
  68. },
  69. {
  70. path: "pickList",
  71. name: "领取列表",
  72. component: () => import("@/views/custom_manage/pickList.vue"),
  73. hidden: false,
  74. meta: {
  75. keepAlive: false,
  76. },
  77. },
  78. {
  79. path: "addCustom",
  80. name: "新增客户",
  81. component: () => import("@/views/custom_manage/customList/addCustom.vue"),
  82. hidden: true,
  83. meta: {
  84. pathFrom: "customList",
  85. pathName: "客户列表",
  86. keepAlive: false,
  87. },
  88. },
  89. {
  90. path: "editCustom",
  91. name: "编辑客户",
  92. component: () => import("@/views/custom_manage/customList/editCustom.vue"),
  93. hidden: true,
  94. meta: {
  95. pathFrom: "customList",
  96. pathName: "客户列表",
  97. keepAlive: false,
  98. },
  99. },
  100. {
  101. path: "addCustomEn",
  102. component: () => import("@/views/custom_manage/customList/editCustomEn.vue"),
  103. name: "新增英文客户",
  104. hidden: true,
  105. meta: {
  106. pathFrom: "customListEn",
  107. pathName: "英文客户列表",
  108. },
  109. },
  110. {
  111. path: "editCustomEn",
  112. component: () => import("@/views/custom_manage/customList/editCustomEn.vue"),
  113. name: "编辑英文客户",
  114. hidden: true,
  115. meta: {
  116. pathFrom: "customListEn",
  117. pathName: "英文客户列表",
  118. },
  119. },
  120. {
  121. path: "customDetail",
  122. name: "客户详情",
  123. component: () => import("@/views/custom_manage/customList/customDetail.vue"),
  124. hidden: true,
  125. meta: {
  126. pathFrom: "customList",
  127. pathName: "客户列表",
  128. keepAlive: false,
  129. },
  130. },
  131. {
  132. path: "detailCustomEn",
  133. component: () => import("@/views/custom_manage/customList/editCustomEn.vue"),
  134. name: "英文客户详情",
  135. hidden: true,
  136. meta: {
  137. pathFrom: "customListEn",
  138. pathName: "英文客户列表",
  139. },
  140. },
  141. {
  142. path: "pickCustom",
  143. name: "领取客户",
  144. component: () => import("@/views/custom_manage/customList/pickCustom.vue"),
  145. hidden: true,
  146. meta: {
  147. pathFrom: "pickList",
  148. pathName: "领取列表",
  149. keepAlive: false,
  150. },
  151. },
  152. // 服务更新差分为 续约申请和补充协议其中 权益无补充协议
  153. {
  154. path: "updateCustom",
  155. name: "续约申请",
  156. component: () => import("@/views/custom_manage/customList/updateServe.vue"),
  157. hidden: true,
  158. meta: {
  159. pathFrom: "customList",
  160. pathName: "客户列表",
  161. keepAlive: false,
  162. },
  163. },
  164. {
  165. path: "addAgreement",
  166. name: "补充协议",
  167. component: () => import("@/views/custom_manage/customList/updateServe.vue"),
  168. hidden: true,
  169. meta: {
  170. pathFrom: "customList",
  171. pathName: "客户列表",
  172. keepAlive: false,
  173. },
  174. },
  175. {
  176. path: "turnCustom",
  177. name: "申请转正",
  178. component: () => import("@/views/custom_manage/customList/applyTurn.vue"),
  179. hidden: true,
  180. meta: {
  181. pathFrom: "customList",
  182. pathName: "客户列表",
  183. keepAlive: false,
  184. },
  185. },
  186. // {
  187. // path: 'approvalList',
  188. // component: () => import('@/views/custom_manage/approvalList.vue'),
  189. // name: '审批列表',
  190. // hidden: false,
  191. // meta: {
  192. // keepAlive: false
  193. // }
  194. // },
  195. {
  196. path: "approvalUpdate",
  197. name: "续约审批",
  198. component: () => import("@/views/custom_manage/approvalUpdate.vue"),
  199. hidden: true,
  200. meta: {
  201. pathFrom: "approvalList",
  202. pathName: "审批列表",
  203. keepAlive: false,
  204. },
  205. },
  206. {
  207. path: "approvalTurn",
  208. name: "转正审批",
  209. component: () => import("@/views/custom_manage/approvalTurn.vue"),
  210. hidden: true,
  211. meta: {
  212. pathFrom: "approvalList",
  213. pathName: "审批列表",
  214. keepAlive: false,
  215. },
  216. },
  217. {
  218. path: "potentialList",
  219. component: () => import("@/views/custom_manage/potentialList.vue"),
  220. name: "潜在用户",
  221. hidden: false,
  222. meta: {
  223. keepAlive: false,
  224. },
  225. },
  226. {
  227. path: "trialApplication",
  228. component: () => import("@/views/custom_manage/trialApplication.vue"),
  229. name: "官网试用申请",
  230. hidden: false,
  231. meta: {
  232. keepAlive: false,
  233. },
  234. },
  235. {
  236. path: "userFiccApplyList",
  237. name: "用户申请列表",
  238. component: () => import("@/views/ficc_manage/userApplication.vue"),
  239. hidden: false,
  240. },
  241. {
  242. path: "regionCustomerList",
  243. component: () => import("@/views/custom_manage/customList/regionCustom.vue"),
  244. name: "客户区域统计",
  245. hidden: false,
  246. meta: {
  247. keepAlive: false,
  248. },
  249. },
  250. {
  251. path: "regionCustomerDetail",
  252. component: () => import("@/views/custom_manage/customList/regionCustomDetail.vue"),
  253. name: "正式客户列表",
  254. hidden: false,
  255. meta: {
  256. pathFrom: "regionCustomerList",
  257. pathName: "客户区域统计",
  258. keepAlive: false,
  259. },
  260. },
  261. {
  262. path: "contactsList",
  263. component: () => import("@/views/custom_manage/contacts/contactsList.vue"),
  264. name: "联系人列表",
  265. hidden: false,
  266. meta: {
  267. keepAlive: false,
  268. },
  269. },
  270. {
  271. path: "mutualList",
  272. name: "互动列表",
  273. component: () => import("@/views/custom_manage/contacts/mutualList.vue"),
  274. hidden: true,
  275. meta: {
  276. pathFrom: "contactsList",
  277. pathName: "联系人列表",
  278. keepAlive: false,
  279. },
  280. },
  281. {
  282. path: "organizationList",
  283. name: "机构互动列表",
  284. component: () => import("@/views/custom_manage/contacts/organizationList.vue"),
  285. hidden: true,
  286. meta: {
  287. pathFrom: "contactsList",
  288. pathName: "联系人列表",
  289. keepAlive: false,
  290. },
  291. },
  292. {
  293. path: "wholeOrganization",
  294. name: "全机构互动列表",
  295. component: () => import("@/views/custom_manage/contacts/wholeOrganization.vue"),
  296. hidden: true,
  297. meta: {
  298. pathFrom: "contactsList",
  299. pathName: "联系人列表",
  300. keepAlive: false,
  301. },
  302. },
  303. {
  304. path: "customerlistmatch",
  305. name: "客户名单匹配",
  306. component: () => import("@/views/custom_manage/listMatch.vue"),
  307. hidden: false,
  308. },
  309. {
  310. path: "etaTrialList",
  311. component: () => import("@/views/custom_manage/etaTrialList/etaTrialList.vue"),
  312. name: "ETA试用",
  313. hidden: false,
  314. meta: {
  315. keepAlive: false,
  316. },
  317. },
  318. {
  319. path: "etaApprovalList",
  320. component: () => import("@/views/custom_manage/etaTrialList/etaTrialList.vue"),
  321. name: "审批列表",
  322. hidden: false,
  323. meta: {
  324. pathFrom: "etaTrialList",
  325. pathName: "ETA试用",
  326. keepAlive: false,
  327. },
  328. },
  329. {
  330. path: "etaAddApproval",
  331. component: () => import("@/views/custom_manage/etaTrialList/addApproval.vue"),
  332. name: "新增申请",
  333. hidden: false,
  334. meta: {
  335. pathFrom: "etaTrialList",
  336. pathName: "ETA试用",
  337. keepAlive: false,
  338. },
  339. },
  340. {
  341. path: "questionnaireSurvey",
  342. component: () => import("@/views/custom_manage/etaTrialList/questionnaireSurvey.vue"),
  343. name: "问卷调研",
  344. hidden: false,
  345. meta: {
  346. pathFrom: "etaTrialList",
  347. pathName: "ETA试用",
  348. },
  349. },
  350. {
  351. path: "questionnaireOption",
  352. component: () => import("@/views/custom_manage/etaTrialList/questionnaireOption.vue"),
  353. name: "问卷配置",
  354. hidden: false,
  355. meta: {
  356. pathFrom: "etaTrialList",
  357. pathName: "ETA试用",
  358. },
  359. },
  360. {
  361. path: "textQuestionDetail",
  362. component: () => import("@/views/custom_manage/etaTrialList/textQuestionDetail.vue"),
  363. name: "统计详情",
  364. hidden: false,
  365. meta: {
  366. pathFrom: "etaTrialList",
  367. pathName: "ETA试用",
  368. },
  369. },
  370. {
  371. path: "customerContractStatistics",
  372. component: () => import("@/views/custom_manage/contractStatistics.vue"),
  373. name: "开票到款统计",
  374. hidden: false,
  375. },
  376. {
  377. path: "ficcApplyList",
  378. name: 'ficc申请记录',
  379. component: () => import('@/views/ficc_manage/apply/applyList.vue'),
  380. hidden: false,
  381. },
  382. {
  383. path:'businessETAList',
  384. name:"商家管理",
  385. component: () => import('@/views/business_ETA_manage/businessList.vue'),
  386. hidden: false,
  387. },
  388. {
  389. path:'addETABusiness',
  390. name:"新增商家",
  391. component: () => import('@/views/business_ETA_manage/addBusiness.vue'),
  392. hidden: false,
  393. meta:{
  394. pathFrom: "businessETAList",
  395. pathName: "商家管理",
  396. }
  397. },
  398. {
  399. path:'editETABusiness',
  400. name:"编辑商家",
  401. component: () => import('@/views/business_ETA_manage/businessEdit.vue'),
  402. hidden: false,
  403. meta:{
  404. pathFrom: "businessETAList",
  405. pathName: "商家管理",
  406. }
  407. },
  408. {
  409. path:'businessETADetail',
  410. name:"商家详情",
  411. component: () => import('@/views/business_ETA_manage/businessDetail.vue'),
  412. hidden: false,
  413. meta:{
  414. pathFrom: "businessETAList",
  415. pathName: "商家管理",
  416. }
  417. },
  418. {
  419. path:'businessETAAuth',
  420. name:"商家权限",
  421. component: () => import('@/views/business_ETA_manage/businessAuth.vue'),
  422. hidden: false,
  423. meta:{
  424. pathFrom: "businessETAList",
  425. pathName: "商家管理",
  426. }
  427. }
  428. ],
  429. },
  430. ];