route_crm.php 27KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | Description: 基础框架路由配置文件
  4. // +----------------------------------------------------------------------
  5. // | Author: Michael_xu <gengxiaoxu@5kcrm.com>
  6. // +----------------------------------------------------------------------
  7. return [
  8. // 定义资源路由
  9. '__rest__' => [
  10. // 'crm/customer' =>'crm/customer',
  11. ],
  12. // 【仪表盘】销售简报
  13. 'crm/index/index' => ['crm/index/index', ['method' => 'POST']],
  14. 'crm/index/indexList' => ['crm/index/indexList', ['method' => 'POST']],
  15. 'crm/index/getRecordList' => ['crm/index/getRecordList', ['method' => 'POST']],
  16. // 【客户】列表
  17. 'crm/customer/index' => ['crm/customer/index', ['method' => 'POST']],
  18. // 【客户】创建
  19. 'crm/customer/save' => ['crm/customer/save', ['method' => 'POST']],
  20. // 【客户】编辑
  21. 'crm/customer/update' => ['crm/customer/update', ['method' => 'POST']],
  22. // 【客户】详情
  23. 'crm/customer/read' => ['crm/customer/read', ['method' => 'POST']],
  24. // 【客户】转移
  25. 'crm/customer/transfer' => ['crm/customer/transfer', ['method' => 'POST']],
  26. // 【客户】放入公海
  27. 'crm/customer/putInPool' => ['crm/customer/putInPool', ['method' => 'POST']],
  28. // 【客户】锁定
  29. 'crm/customer/lock' => ['crm/customer/lock', ['method' => 'POST']],
  30. // 【客户】导出
  31. 'crm/customer/excelExport' => ['crm/customer/excelExport', ['method' => 'POST']],
  32. // 【客户】导入模板下载
  33. 'crm/customer/excelDownload' => ['crm/customer/excelDownload', ['method' => 'GET']],
  34. // 【客户】导入
  35. 'crm/customer/excelImport' => ['crm/customer/excelImport', ['method' => 'POST']],
  36. // 【客户】删除
  37. 'crm/customer/delete' => ['crm/customer/delete', ['method' => 'POST']],
  38. // 【客户】领取
  39. 'crm/customer/receive' => ['crm/customer/receive', ['method' => 'POST']],
  40. // 【客户】分配
  41. 'crm/customer/distribute' => ['crm/customer/distribute', ['method' => 'POST']],
  42. // 【客户】公海
  43. 'crm/customer/pool' => ['crm/customer/pool', ['method' => 'POST']],
  44. // 【客户】设置关注
  45. 'crm/customer/star' => ['crm/customer/star', ['method' => 'POST']],
  46. // 【客户】附近
  47. 'crm/customer/nearby' => ['crm/customer/nearby', ['method' => 'POST']],
  48. // 【客户】系统信息
  49. 'crm/customer/system' => ['crm/customer/system', ['method' => 'POST']],
  50. // 【客户】菜单数量
  51. 'crm/customer/count' => ['crm/customer/count', ['method' => 'POST']],
  52. // 【客户】公海权限
  53. 'crm/customer/poolAuthority' => ['crm/customer/poolAuthority', ['method' => 'POST']],
  54. // 【客户】级别列表
  55. 'crm/customer/level' => ['crm/customer/level', ['method' => 'POST']],
  56. // 【客户】公海列表
  57. 'crm/customerPool/index' => ['crm/customerPool/index', ['method' => 'POST']],
  58. // 【客户】公海详情
  59. 'crm/customerPool/read' => ['crm/customerPool/read', ['method' => 'POST']],
  60. // 【客户】公海池列表
  61. 'crm/customerPool/pondList' => ['crm/customerPool/pondList', ['method' => 'POST']],
  62. // 【客户】公海字段
  63. 'crm/customerPool/field' => ['crm/customerPool/field', ['method' => 'POST']],
  64. // 【客户】公海高级筛选字段列表
  65. 'crm/customerPool/advanced' => ['crm/customerPool/advanced', ['method' => 'POST']],
  66. // 【客户】公海权限
  67. 'crm/customerPool/authority' => ['crm/customerPool/authority', ['method' => 'POST']],
  68. // 【客户】领取公海客户
  69. 'crm/customerPool/receive' => ['crm/customerPool/receive', ['method' => 'POST']],
  70. // 【客户】分配公海客户
  71. 'crm/customerPool/distribute' => ['crm/customerPool/distribute', ['method' => 'POST']],
  72. // 【客户】删除公海客户
  73. 'crm/customerPool/delete' => ['crm/customerPool/delete', ['method' => 'POST']],
  74. // 【客户】公海客户导入模板下载
  75. 'crm/customerPool/excelDownload' => ['crm/customerPool/excelDownload', ['method' => 'POST']],
  76. // 【客户】公海导入
  77. 'crm/customerPool/import' => ['crm/customerPool/import', ['method' => 'POST']],
  78. // 【客户】公海导出
  79. 'crm/customerPool/export' => ['crm/customerPool/export', ['method' => 'POST']],
  80. // 【客户】公海字段配置列表
  81. 'crm/customerPool/fieldConfig' => ['crm/customerPool/fieldConfig', ['method' => 'POST']],
  82. // 【客户】设置公海字段列宽
  83. 'crm/customerPool/setFieldWidth' => ['crm/customerPool/setFieldWidth', ['method' => 'POST']],
  84. // 【客户】设置公海字段配置
  85. 'crm/customerPool/setFieldConfig' => ['crm/customerPool/setFieldConfig', ['method' => 'POST']],
  86. // 【客户】回访
  87. 'crm/visit/index' => ['crm/visit/index', ['method' => 'POST']],
  88. // 【客户】创建
  89. 'crm/visit/save' => ['crm/visit/save', ['method' => 'POST']],
  90. // 【客户】编辑
  91. 'crm/visit/update' => ['crm/visit/update', ['method' => 'POST']],
  92. // 【客户】详情
  93. 'crm/visit/read' => ['crm/visit/read', ['method' => 'POST']],
  94. // 【客户】删除
  95. 'crm/visit/delete' => ['crm/visit/delete', ['method' => 'POST']],
  96. // 【客户】当前账户信息
  97. 'crm/visit/visitUser' => ['crm/visit/visitUser', ['method' => 'POST']],
  98. // 【回访】系统信息
  99. 'crm/visit/system' => ['crm/visit/system', ['method' => 'POST']],
  100. // 【回访】菜单数量
  101. 'crm/visit/count' => ['crm/visit/count', ['method' => 'POST']],
  102. // 【线索】列表
  103. 'crm/leads/index' => ['crm/leads/index', ['method' => 'POST']],
  104. // 【线索】创建
  105. 'crm/leads/save' => ['crm/leads/save', ['method' => 'POST']],
  106. // 【线索】编辑
  107. 'crm/leads/update' => ['crm/leads/update', ['method' => 'POST']],
  108. // 【线索】详情
  109. 'crm/leads/read' => ['crm/leads/read', ['method' => 'POST']],
  110. // 【线索】转移
  111. 'crm/leads/transfer' => ['crm/leads/transfer', ['method' => 'POST']],
  112. // 【线索】转化
  113. 'crm/leads/transform' => ['crm/leads/transform', ['method' => 'POST']],
  114. // 【线索】导出
  115. 'crm/leads/excelExport' => ['crm/leads/excelExport', ['method' => 'POST']],
  116. // 【线索】导入模板下载
  117. 'crm/leads/excelDownload' => ['crm/leads/excelDownload', ['method' => 'GET']],
  118. // 【线索】导入
  119. 'crm/leads/excelImport' => ['crm/leads/excelImport', ['method' => 'POST']],
  120. // 【线索】删除
  121. 'crm/leads/delete' => ['crm/leads/delete', ['method' => 'POST']],
  122. // 【线索】设置关注
  123. 'crm/leads/star' => ['crm/leads/star', ['method' => 'POST']],
  124. // 【线索】系统信息
  125. 'crm/leads/system' => ['crm/leads/system', ['method' => 'POST']],
  126. // 【线索】菜单数量
  127. 'crm/leads/count' => ['crm/leads/count', ['method' => 'POST']],
  128. // 【联系人】列表
  129. 'crm/contacts/index' => ['crm/contacts/index', ['method' => 'POST']],
  130. // 【联系人】创建
  131. 'crm/contacts/save' => ['crm/contacts/save', ['method' => 'POST']],
  132. // 【联系人】编辑
  133. 'crm/contacts/update' => ['crm/contacts/update', ['method' => 'POST']],
  134. // 【联系人】详情
  135. 'crm/contacts/read' => ['crm/contacts/read', ['method' => 'POST']],
  136. // 【联系人】转移
  137. 'crm/contacts/transfer' => ['crm/contacts/transfer', ['method' => 'POST']],
  138. // 【联系人】删除
  139. 'crm/contacts/delete' => ['crm/contacts/delete', ['method' => 'POST']],
  140. // 【联系人】导出
  141. 'crm/contacts/excelExport' => ['crm/contacts/excelExport', ['method' => 'POST']],
  142. // 【联系人】导入模板下载
  143. 'crm/contacts/excelDownload' => ['crm/contacts/excelDownload', ['method' => 'GET']],
  144. // 【联系人】导入
  145. 'crm/contacts/excelImport' => ['crm/contacts/excelImport', ['method' => 'POST']],
  146. // 【联系人】设置关注
  147. 'crm/contacts/star' => ['crm/contacts/star', ['method' => 'POST']],
  148. // 【联系人】设置首要联系人
  149. 'crm/contacts/setPrimary' => ['crm/contacts/setPrimary', ['method' => 'POST']],
  150. // 【联系人】获取联系人列表
  151. 'crm/contacts/getContactsList' => ['crm/contacts/getContactsList', ['method' => 'POST']],
  152. // 【联系人】系统信息
  153. 'crm/contacts/system' => ['crm/contacts/system', ['method' => 'POST']],
  154. // 【联系人】菜单数量
  155. 'crm/contacts/count' => ['crm/contacts/count', ['method' => 'POST']],
  156. // 【商机】列表
  157. 'crm/business/index' => ['crm/business/index', ['method' => 'POST']],
  158. // 【商机】创建
  159. 'crm/business/save' => ['crm/business/save', ['method' => 'POST']],
  160. // 【商机】编辑
  161. 'crm/business/update' => ['crm/business/update', ['method' => 'POST']],
  162. // 【商机】详情
  163. 'crm/business/read' => ['crm/business/read', ['method' => 'POST']],
  164. // 【商机】状态组
  165. 'crm/business/statusList' => ['crm/business/statusList', ['method' => 'POST']],
  166. // 【商机】转移
  167. 'crm/business/transfer' => ['crm/business/transfer', ['method' => 'POST']],
  168. // 【商机】相关产品
  169. 'crm/business/product' => ['crm/business/product', ['method' => 'POST']],
  170. // 【商机】商机状态推进
  171. 'crm/business/advance' => ['crm/business/advance', ['method' => 'POST']],
  172. // 【商机】删除
  173. 'crm/business/delete' => ['crm/business/delete', ['method' => 'POST']],
  174. // 【商机】导出
  175. 'crm/business/excelExport' => ['crm/business/excelExport', ['method' => 'POST']],
  176. // 【商机】设置关注
  177. 'crm/business/star' => ['crm/business/star', ['method' => 'POST']],
  178. // 【商机】系统设置
  179. 'crm/business/system' => ['crm/business/system', ['method' => 'POST']],
  180. // 【商机】菜单数量
  181. 'crm/business/count' => ['crm/business/count', ['method' => 'POST']],
  182. // 【商机】菜单数量
  183. 'crm/business/setPrimary' => ['crm/business/setPrimary', ['method' => 'POST']],
  184. // 【合同】列表
  185. 'crm/contract/index' => ['crm/contract/index', ['method' => 'POST']],
  186. // 【合同】创建
  187. 'crm/contract/save' => ['crm/contract/save', ['method' => 'POST']],
  188. // 【合同】编辑
  189. 'crm/contract/update' => ['crm/contract/update', ['method' => 'POST']],
  190. // 【合同】详情
  191. 'crm/contract/read' => ['crm/contract/read', ['method' => 'POST']],
  192. // 【合同】转移
  193. 'crm/contract/transfer' => ['crm/contract/transfer', ['method' => 'POST']],
  194. // 【合同】关联产品
  195. 'crm/contract/product' => ['crm/contract/product', ['method' => 'POST']],
  196. // 【合同】审核
  197. 'crm/contract/check' => ['crm/contract/check', ['method' => 'POST']],
  198. // 【合同】撤销审核
  199. 'crm/contract/revokeCheck' => ['crm/contract/revokeCheck', ['method' => 'POST']],
  200. // 【合同】删除
  201. 'crm/contract/delete' => ['crm/contract/delete', ['method' => 'POST']],
  202. // 【合同】导出
  203. 'crm/contract/excelExport' => ['crm/contract/excelExport', ['method' => 'POST']],
  204. // 【合同】作废
  205. 'crm/contract/cancel' => ['crm/contract/cancel', ['method' => 'POST']],
  206. // 【合同】系统信息
  207. 'crm/contract/system' => ['crm/contract/system', ['method' => 'POST']],
  208. // 【合同】菜单数量
  209. 'crm/contract/count' => ['crm/contract/count', ['method' => 'POST']],
  210. // 【合同】复制合同
  211. 'crm/contract/copy' => ['crm/contract/copy', ['method' => 'POST']],
  212. // 【产品】列表
  213. 'crm/product/index' => ['crm/product/index', ['method' => 'POST']],
  214. // 【产品】创建
  215. 'crm/product/save' => ['crm/product/save', ['method' => 'POST']],
  216. // 【产品】编辑
  217. 'crm/product/update' => ['crm/product/update', ['method' => 'POST']],
  218. // 【产品】详情
  219. 'crm/product/read' => ['crm/product/read', ['method' => 'POST']],
  220. // 【产品】上架/下架
  221. 'crm/product/status' => ['crm/product/status', ['method' => 'POST']],
  222. // 【产品】导出
  223. 'crm/product/excelExport' => ['crm/product/excelExport', ['method' => 'POST']],
  224. // 【产品】导入模板下载
  225. 'crm/product/excelDownload' => ['crm/product/excelDownload', ['method' => 'GET']],
  226. // 【产品】导入
  227. 'crm/product/excelImport' => ['crm/product/excelImport', ['method' => 'POST']],
  228. // 【产品】删除
  229. 'crm/product/delete' => ['crm/product/delete', ['method' => 'POST']],
  230. // 【产品】系统信息
  231. 'crm/product/system' => ['crm/product/system', ['method' => 'POST']],
  232. // 【产品】菜单数量
  233. 'crm/product/count' => ['crm/product/count', ['method' => 'POST']],
  234. // 【产品】转移
  235. 'crm/product/transfer' => ['crm/product/transfer', ['method' => 'POST']],
  236. // 【回款】列表
  237. 'crm/receivables/index' => ['crm/receivables/index', ['method' => 'POST']],
  238. // 【回款】创建
  239. 'crm/receivables/save' => ['crm/receivables/save', ['method' => 'POST']],
  240. // 【回款】编辑
  241. 'crm/receivables/update' => ['crm/receivables/update', ['method' => 'POST']],
  242. // 【回款】详情
  243. 'crm/receivables/read' => ['crm/receivables/read', ['method' => 'POST']],
  244. // 【回款】删除
  245. 'crm/receivables/delete' => ['crm/receivables/delete', ['method' => 'POST']],
  246. // 【回款】审核
  247. 'crm/receivables/check' => ['crm/receivables/check', ['method' => 'POST']],
  248. // 【回款】撤销审核
  249. 'crm/receivables/revokeCheck' => ['crm/receivables/revokeCheck', ['method' => 'POST']],
  250. // 【回款】转移
  251. 'crm/receivables/transfer' => ['crm/receivables/transfer', ['method' => 'POST']],
  252. // 【回款】系统信息
  253. 'crm/receivables/system' => ['crm/receivables/system', ['method' => 'POST']],
  254. // 【回款】菜单数量
  255. 'crm/receivables/count' => ['crm/receivables/count', ['method' => 'POST']],
  256. //【回款】导出
  257. 'crm/receivables/excelExport' => ['crm/receivables/excelExport', ['method' => 'POST']],
  258. // 【回款计划】列表
  259. 'crm/receivables_plan/index' => ['crm/receivables_plan/index', ['method' => 'POST']],
  260. // 【回款计划】创建
  261. 'crm/receivables_plan/save' => ['crm/receivables_plan/save', ['method' => 'POST']],
  262. // 【回款计划】编辑
  263. 'crm/receivables_plan/update' => ['crm/receivables_plan/update', ['method' => 'POST']],
  264. // 【回款计划】删除
  265. 'crm/receivables_plan/delete' => ['crm/receivables_plan/delete', ['method' => 'POST']],
  266. // 【发票】列表
  267. 'crm/invoice/index' => ['crm/invoice/index', ['method' => 'POST']],
  268. // 【发票】创建
  269. 'crm/invoice/save' => ['crm/invoice/save', ['method' => 'POST']],
  270. // 【发票】详情
  271. 'crm/invoice/read' => ['crm/invoice/read', ['method' => 'POST']],
  272. // 【发票】编辑
  273. 'crm/invoice/update' => ['crm/invoice/update', ['method' => 'POST']],
  274. // 【发票】删除
  275. 'crm/invoice/delete' => ['crm/invoice/delete', ['method' => 'POST']],
  276. // 【发票】变更负责人
  277. 'crm/invoice/transfer' => ['crm/invoice/transfer', ['method' => 'POST']],
  278. // 【发票】设置开票
  279. 'crm/invoice/setInvoice' => ['crm/invoice/setInvoice', ['method' => 'POST']],
  280. // 【发票】审核
  281. 'crm/invoice/check' => ['crm/invoice/check', ['method' => 'POST']],
  282. // 【发票】撤回审核
  283. 'crm/invoice/revokeCheck' => ['crm/invoice/revokeCheck', ['method' => 'POST']],
  284. // 【发票】菜单数量
  285. 'crm/invoice/count' => ['crm/invoice/count', ['method' => 'POST']],
  286. // 【发票】重置开票信息
  287. 'crm/invoice/resetInvoiceStatus' => ['crm/invoice/resetInvoiceStatus', ['method' => 'POST']],
  288. // 【发票】导出
  289. 'crm/invoice/excelExport' => ['crm/invoice/excelExport', ['method' => 'POST']],
  290. // 【发票-开户行】列表
  291. 'crm/invoiceInfo/index' => ['crm/invoiceInfo/index', ['method' => 'POST']],
  292. // 【发票-开户行】详情
  293. 'crm/invoiceInfo/read' => ['crm/invoiceInfo/read', ['method' => 'POST']],
  294. // 【发票-开户行】创建
  295. 'crm/invoiceInfo/save' => ['crm/invoiceInfo/save', ['method' => 'POST']],
  296. // 【发票-开户行】编辑
  297. 'crm/invoiceInfo/update' => ['crm/invoiceInfo/update', ['method' => 'POST']],
  298. // 【发票-开户行】删除
  299. 'crm/invoiceInfo/delete' => ['crm/invoiceInfo/delete', ['method' => 'POST']],
  300. // 【相关团队】列表
  301. 'crm/setting/team' => ['crm/setting/team', ['method' => 'POST']],
  302. // 【相关团队】创建
  303. 'crm/setting/teamSave' => ['crm/setting/teamSave', ['method' => 'POST']],
  304. // 【相关团队】退出
  305. 'crm/setting/quitTeam' => ['crm/setting/quitTeam', ['method' => 'POST']],
  306. // 【客户保护规则】保存
  307. 'crm/setting/config' => ['crm/setting/config', ['method' => 'POST']],
  308. // 【客户保护规则】详情
  309. 'crm/setting/configData' => ['crm/setting/configData', ['method' => 'POST']],
  310. // 【合同到期提醒】
  311. 'crm/setting/contractDay' => ['crm/setting/contractDay', ['method' => 'POST']],
  312. // 【设置回访提醒】
  313. 'crm/setting/setVisitDay' => ['crm/setting/setVisitDay', ['method' => 'POST']],
  314. // 【获取回访提醒】
  315. 'crm/setting/getVisitDay' => ['crm/setting/getVisitDay', ['method' => 'POST']],
  316. // 【设置自动编号】
  317. 'crm/setting/setNumber' => ['crm/setting/setNumber', ['method' => 'POST']],
  318. // 【商机状态组】列表
  319. 'crm/business_status/type' => ['crm/business_status/type', ['method' => 'POST']],
  320. // 【商机状态组】创建
  321. 'crm/business_status/save' => ['crm/business_status/save', ['method' => 'POST']],
  322. // 【商机状态组】编辑
  323. 'crm/business_status/update' => ['crm/business_status/update', ['method' => 'POST']],
  324. // 【商机状态组】详情
  325. 'crm/business_status/read' => ['crm/business_status/read', ['method' => 'POST']],
  326. // 【商机状态组】停用
  327. 'crm/business_status/enables' => ['crm/business_status/enables', ['method' => 'POST']],
  328. // 【商机状态组】删除
  329. 'crm/business_status/delete' => ['crm/business_status/delete', ['method' => 'POST']],
  330. // 【产品分类】列表
  331. 'crm/product_category/index' => ['crm/product_category/index', ['method' => 'POST']],
  332. // 【产品分类】创建
  333. 'crm/product_category/save' => ['crm/product_category/save', ['method' => 'POST']],
  334. // 【产品分类】编辑
  335. 'crm/product_category/update' => ['crm/product_category/update', ['method' => 'POST']],
  336. // 【产品分类】删除
  337. 'crm/product_category/delete' => ['crm/product_category/delete', ['method' => 'POST']],
  338. // 【业绩目标】
  339. 'crm/achievement/save' => ['crm/achievement/save', ['method' => 'POST']],
  340. 'crm/achievement/update' => ['crm/achievement/update', ['method' => 'POST']],
  341. 'crm/achievement/index' => ['crm/achievement/index', ['method' => 'POST']],
  342. 'crm/achievement/delete' => ['crm/achievement/delete', ['method' => 'POST']],
  343. 'crm/achievement/indexForuser' => ['crm/achievement/indexForuser', ['method' => 'POST']],
  344. // 【工作台】业绩指标
  345. 'crm/index/achievementData' => ['crm/index/achievementData', ['method' => 'POST']],
  346. // 【工作台】销售漏斗
  347. 'crm/index/funnel' => ['crm/index/funnel', ['method' => 'POST']],
  348. // 【工作台】销售趋势
  349. 'crm/index/saletrend' => ['crm/index/saletrend', ['method' => 'POST']],
  350. // 【工作台】查重
  351. 'crm/index/search' => ['crm/index/search', ['method' => 'POST']],
  352. // 【工作台】查重(新)
  353. 'crm/index/queryRepeat' => ['crm/index/queryRepeat', ['method' => 'POST']],
  354. // 【工作台】遗忘提醒
  355. 'crm/index/forgottenCustomerCount' => ['crm/index/forgottenCustomerCount', ['method' => 'POST']],
  356. // 【工作台】遗忘提醒列表
  357. 'crm/index/forgottenCustomerPageList' => ['crm/index/forgottenCustomerPageList', ['method' => 'POST']],
  358. // 【工作台】排行榜
  359. 'crm/index/ranking' => ['crm/index/ranking', ['method' => 'POST']],
  360. // 【工作台】数据汇总
  361. 'crm/index/queryDataInfo' => ['crm/index/queryDataInfo', ['method' => 'POST']],
  362. // 【获取自动编号开启状态】
  363. 'crm/index/autoNumberStatus' => ['crm/index/autoNumberStatus', ['method' => 'POST']],
  364. // 【商机阶段列表】
  365. 'crm/index/businessList' => ['crm/index/businessList', ['method' => 'POST']],
  366. // 【获取仪表盘布局】
  367. 'crm/index/dashboard' => ['crm/index/dashboard', ['method' => 'POST']],
  368. // 【修改仪表盘布局】
  369. 'crm/index/updateDashboard' => ['crm/index/updateDashboard', ['method' => 'POST']],
  370. // 【待办事项】今日需联系
  371. 'crm/message/todayLeads' => ['crm/message/todayLeads', ['method' => 'POST']],
  372. 'crm/message/todayCustomer' => ['crm/message/todayCustomer', ['method' => 'POST']],
  373. 'crm/message/todayBusiness' => ['crm/message/todayBusiness', ['method' => 'POST']],
  374. 'crm/message/num' => ['crm/message/num', ['method' => 'POST']],
  375. 'crm/message/followLeads' => ['crm/message/followLeads', ['method' => 'POST']],
  376. 'crm/message/followCustomer' => ['crm/message/followCustomer', ['method' => 'POST']],
  377. 'crm/message/checkContract' => ['crm/message/checkContract', ['method' => 'POST']],
  378. 'crm/message/checkReceivables' => ['crm/message/checkReceivables', ['method' => 'POST']],
  379. 'crm/message/remindReceivablesPlan' => ['crm/message/remindReceivablesPlan', ['method' => 'POST']],
  380. 'crm/message/endContract' => ['crm/message/endContract', ['method' => 'POST']],
  381. 'crm/message/remindCustomer' => ['crm/message/remindCustomer', ['method' => 'POST']],
  382. 'crm/message/checkInvoice' => ['crm/message/checkInvoice', ['method' => 'POST']],
  383. 'crm/message/visitContract' => ['crm/message/visitContract', ['method' => 'POST']],
  384. 'crm/message/allDeal' => ['crm/message/allDeal', ['method' => 'POST']],
  385. // 【客户】标记跟进
  386. 'crm/customer/setFollow' => ['crm/customer/setFollow', ['method' => 'POST']],
  387. // 【线索】标记跟进
  388. 'crm/leads/setFollow' => ['crm/leads/setFollow', ['method' => 'POST']],
  389. // 【跟进记录类型设置】列表
  390. 'crm/setting/recordList' => ['crm/setting/recordList', ['method' => 'POST']],
  391. // 【跟进记录类型设置】记录类型编辑
  392. 'crm/setting/recordEdit' => ['crm/setting/recordEdit', ['method' => 'POST']],
  393. // 【联系人】联系人商机关联/取消关联
  394. 'crm/contacts/relation' => ['crm/contacts/relation', ['method' => 'POST']],
  395. //【编号】列表
  396. 'crm/setting/numberSequenceList' => ['crm/setting/numberSequenceList', ['method' => 'POST']],
  397. //【编号】添加
  398. 'crm/setting/numberSequenceAdd' => ['crm/setting/numberSequenceAdd', ['method' => 'POST']],
  399. //【编号】修改
  400. 'crm/setting/numberSequenceUpdate' => ['crm/setting/numberSequenceUpdate', ['method' => 'POST']],
  401. //【编号】删除
  402. 'crm/setting/numberSequenceDel' => ['crm/setting/numberSequenceDel', ['method' => 'POST']],
  403. // 【公海】数据统计 导出
  404. 'crm/customer/poolExcelExport' => ['crm/customer/poolExcelExport', ['method' => 'POST']],
  405. // 【CRM设置】拥有、锁定客户数限制列表
  406. 'crm/setting/customerConfigList' => ['crm/setting/customerConfigList', ['method' => 'POST']],
  407. // 【CRM设置】拥有、锁定客户数限制创建
  408. 'crm/setting/customerConfigSave' => ['crm/setting/customerConfigSave', ['method' => 'POST']],
  409. // 【CRM设置】拥有、锁定客户数限制编辑
  410. 'crm/setting/customerConfigUpdate' => ['crm/setting/customerConfigUpdate', ['method' => 'POST']],
  411. // 【CRM设置】拥有、锁定客户数限制删除
  412. 'crm/setting/customerConfigDel' => ['crm/setting/customerConfigDel', ['method' => 'POST']],
  413. // 【客户成交】
  414. 'crm/customer/deal_status' => ['crm/customer/deal_status', ['method' => 'POST']],
  415. // 【待进入客户池】
  416. 'crm/message/remindCustomer' => ['crm/message/remindCustomer', ['method' => 'POST']],
  417. // 【活动】列表
  418. 'crm/activity/index' => ['crm/activity/index', ['method' => 'POST']],
  419. // 【活动】创建跟进记录
  420. 'crm/activity/save' => ['crm/activity/save', ['method' => 'POST']],
  421. // 【活动】跟进记录详情
  422. 'crm/activity/read' => ['crm/activity/read', ['method' => 'POST']],
  423. // 【活动】编辑跟进记录
  424. 'crm/activity/update' => ['crm/activity/update', ['method' => 'POST']],
  425. // 【活动】删除跟进记录
  426. 'crm/activity/delete' => ['crm/activity/delete', ['method' => 'POST']],
  427. // 【活动】获取常用语
  428. 'crm/activity/getPhrase' => ['crm/activity/getPhrase', ['method' => 'POST']],
  429. // 【活动】设置常用语
  430. 'crm/activity/setPhrase' => ['crm/activity/setPhrase', ['method' => 'POST']],
  431. // 【活动】获取跟进记录权限
  432. 'crm/activity/getRecordAuth' => ['crm/activity/getRecordAuth', ['method' => 'POST']],
  433. // 【活动】获取跟进记录列表
  434. 'crm/index/activityList' => ['crm/index/activityList', ['method' => 'POST']],
  435. //【打印】获取打印数据
  436. 'crm/printing/printingData' => ['crm/printing/printingData', ['method' => 'POST']],
  437. //【打印】获取打印模板
  438. 'crm/printing/template' => ['crm/printing/template', ['method' => 'POST']],
  439. //【打印】创建打印记录
  440. 'crm/printing/setRecord' => ['crm/printing/setRecord', ['method' => 'POST']],
  441. //【打印】获取打印记录
  442. 'crm/printing/getRecord' => ['crm/printing/getRecord', ['method' => 'POST']],
  443. //【打印】创建打印预览数据
  444. 'crm/printing/preview' => ['crm/printing/preview', ['method' => 'POST']],
  445. //【打印】显示打印预览
  446. 'crm/preview/previewPdf' => ['crm/preview/previewPdf', ['method' => 'POST']],
  447. //【打印】下载打印文件
  448. 'crm/printing/down' => ['crm/printing/down', ['method' => 'POST']],
  449. //跟进记录导入模板
  450. 'crm/activity/excelDownload' => ['crm/activity/excelDownload', ['method' => 'POST']],
  451. //跟进记录导入
  452. 'crm/activity/excelImport' => ['crm/activity/excelImport', ['method' => 'POST']],
  453. //跟进记录导出
  454. 'crm/activity/excelExport' => ['crm/activity/excelExport', ['method' => 'POST']],
  455. //市场活动列表
  456. 'crm/market/index' => ['crm/market/index', ['method' => 'POST']],
  457. //市场活动添加
  458. 'crm/market/save' => ['crm/market/save', ['method' => 'POST']],
  459. //市场活动修改
  460. 'crm/market/update' => ['crm/market/update', ['method' => 'POST']],
  461. //市场活动详情
  462. 'crm/market/read' => ['crm/market/read', ['method' => 'POST']],
  463. //市场活动状态修改
  464. 'crm/market/enables' => ['crm/market/enables', ['method' => 'POST']],
  465. //市场活动状态删除
  466. 'crm/market/delete' => ['crm/market/delete', ['method' => 'POST']],
  467. //市场活动对象列表
  468. 'crm/market/marketList' => ['crm/market/marketList', ['method' => 'POST']],
  469. //市场活动手机页面信息
  470. 'crm/market/marketId' => ['crm/market/marketId', ['method' => 'POST']],
  471. //市场活动表单列表
  472. 'crm/market/marketFormList' => ['crm/market/marketFormList', ['method' => 'POST']],
  473. //市场活动表单添加
  474. 'crm/market/marketFormSave' => ['crm/market/marketFormSave', ['method' => 'POST']],
  475. //市场活动表单同步数据
  476. 'crm/market/marketFormUpdate' => ['crm/market/marketFormUpdate', ['method' => 'POST']],
  477. //市场活动表单下载
  478. 'crm/market/importDown' => ['crm/market/importDown', ['method' => 'POST']],
  479. //市场活动表单字段
  480. 'crm/market/marketGetField' => ['crm/market/marketGetField', ['method' => 'POST']],
  481. //【通用】快捷编辑
  482. 'crm/common/quickEdit' => ['crm/common/quickEdit', ['method' => 'POST']],
  483. //手机导航列表
  484. 'crm/setting/appMenuConfig' => ['crm/setting/appMenuConfig', ['method' => 'POST']],
  485. //办公数量
  486. 'crm/setting/oaNumber' => ['crm/setting/oaNumber', ['method' => 'POST']],
  487. // MISS路由
  488. '__miss__' => 'admin/base/miss',
  489. ];