index.js 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. import Vue from 'vue'
  2. import Router from 'vue-router'
  3. import login from '@/components/login'
  4. import getproject from '@/components/getproject'
  5. import saleindex from '@/components/saleindex'
  6. import getoverduesummary from '@/components/GetOverDueSummary'
  7. import getremindsigncontract from '@/components/getremindsigncontract'
  8. import getremindbuycontract from '@/components/getremindbuycontract'
  9. import getremindvisit from '@/components/getremindvisit'
  10. import getremindarrearage from '@/components/getremindarrearage'
  11. import gettodaytodosummary from '@/components/gettodaytodosummary'
  12. import getsabuildingselectlist from '@/components/getsabuildingselectlist'
  13. import getsabuildingstruct from '@/components/getsabuildingstruct'
  14. import getsaroominfo from '@/components/getsaroominfo'
  15. import getsaclientcontactlist from '@/components/getsaclientcontactlist'
  16. import getsaclientcontactinfo from '@/components/getsaclientcontactinfo'
  17. import getsaclientsummary from '@/components/getsaclientsummary'
  18. import getsaclientsummarylist from '@/components/getsaclientsummarylist'
  19. import filterhouse from '@/components/filterhouse'
  20. import getsaroomlist from '@/components/getsaroomlist'
  21. import clientdetail from '@/components/clientdetail'
  22. import addsaclientcontact from '@/components/addsaclientcontact'
  23. Vue.use(Router)
  24. export default new Router({
  25. routes: [
  26. { //登录页
  27. path: '/',
  28. name: 'login',
  29. component: login
  30. },
  31. { //项目选项
  32. path: '/getproject',
  33. name: 'getproject',
  34. component: getproject
  35. },
  36. { //销售首页
  37. path: '/saleindex',
  38. name: 'saleindex',
  39. component: saleindex
  40. },
  41. { //逾期提醒
  42. path: '/getoverduesummary',
  43. name: 'getoverduesummary',
  44. component: getoverduesummary
  45. },
  46. { //逾期待签约客户
  47. path: '/getremindsigncontract',
  48. name: 'getremindsigncontract',
  49. component: getremindsigncontract
  50. },
  51. { //逾期待认购客户
  52. path: '/getremindbuycontract',
  53. name: 'getremindbuycontract',
  54. component: getremindbuycontract
  55. },
  56. { //逾期待回访客户
  57. path: '/getremindvisit',
  58. name: 'getremindvisit',
  59. component: getremindvisit
  60. },
  61. { //逾期待缴款客户
  62. path: '/getremindarrearage',
  63. name: 'getremindarrearage',
  64. component: getremindarrearage
  65. },
  66. { //催办
  67. path: '/gettodaytodosummary',
  68. name: 'gettodaytodosummary',
  69. component: gettodaytodosummary
  70. },
  71. { //楼栋
  72. path: '/getsabuildingselectlist',
  73. name: 'getsabuildingselectlist',
  74. component: getsabuildingselectlist
  75. },
  76. { //楼栋详情
  77. path: '/getsabuildingstruct',
  78. name: 'getsabuildingstruct',
  79. component: getsabuildingstruct
  80. },
  81. { //房源信息
  82. path: '/getsaroominfo',
  83. name: 'getsaroominfo',
  84. component: getsaroominfo
  85. },
  86. { //联系记录
  87. path: '/getsaclientcontactlist',
  88. name: 'getsaclientcontactlist',
  89. component: getsaclientcontactlist
  90. },
  91. { //联系记录详情
  92. path: '/getsaclientcontactinfo',
  93. name: 'getsaclientcontactinfo',
  94. component: getsaclientcontactinfo
  95. },
  96. { //客户分类汇总
  97. path: '/getsaclientsummary',
  98. name: 'getsaclientsummary',
  99. component: getsaclientsummary
  100. },
  101. { //客户分类清单
  102. path: '/getsaclientsummarylist',
  103. name: 'getsaclientsummarylist',
  104. component: getsaclientsummarylist
  105. },
  106. { //筛选房源
  107. path: '/filterhouse',
  108. name: 'filterhouse',
  109. component: filterhouse
  110. },
  111. { //房源查询
  112. path: '/getsaroomlist',
  113. name: 'getsaroomlist',
  114. component: getsaroomlist
  115. },
  116. { //客户详情
  117. path: '/clientdetail',
  118. name: 'clientdetail',
  119. component: clientdetail
  120. },
  121. { //新增客户跟进
  122. path: '/addsaclientcontact',
  123. name: 'addsaclientcontact',
  124. component: addsaclientcontact
  125. },
  126. ]
  127. })