configdata.js 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471
  1. export const monthLabel = [
  2. {
  3. label: "未来一个月",
  4. },
  5. {
  6. label: "未来2个月",
  7. },
  8. {
  9. label: "未来3个月",
  10. },
  11. ];
  12. /* 即将到期表格列 */
  13. export const expringTableColums = [
  14. {
  15. label: "客户名称",
  16. align: "center",
  17. key: "CompanyName",
  18. widthsty: "300px",
  19. textsty: "color:#409EFF;cursor:pointer;",
  20. link: true,
  21. },
  22. {
  23. label: "客户类型",
  24. align: "center",
  25. key: "ProductName",
  26. widthsty: "100px",
  27. },
  28. {
  29. label: "所属销售",
  30. align: "center",
  31. key: "SellerName",
  32. },
  33. // {
  34. // label:"合同编号",
  35. // align:"center",
  36. // key:"ContractCode"
  37. // },
  38. // {
  39. // label:"合同金额",
  40. // align:"center",
  41. // key:"Money"
  42. // },
  43. {
  44. label: "服务期限",
  45. align: "center",
  46. key: "",
  47. },
  48. {
  49. label: "剩余天数",
  50. align: "center",
  51. key: "ExpireDay",
  52. widthsty: "100px",
  53. sort: true,
  54. },
  55. ];
  56. /* 增量客户表格列 */
  57. export const incrementTableColums = [
  58. {
  59. label: "客户名称",
  60. key: "CompanyName",
  61. widthsty: "300px",
  62. textsty: "color:#409EFF;cursor:pointer;",
  63. link: true,
  64. },
  65. {
  66. label: "不续约归因",
  67. key: "AscribeContent",
  68. dataType: "未续约客户",
  69. notRenewedConfirm: 1,
  70. sort: true,
  71. },
  72. {
  73. label: "客户状态",
  74. key: "Status",
  75. dataType: "未续约客户",
  76. sort: true,
  77. },
  78. {
  79. label: "所属销售",
  80. key: "SellerName",
  81. widthsty: "150px",
  82. },
  83. {
  84. label: "新增时间",
  85. key: "CreateTime",
  86. dataType: "新增试用客户",
  87. sort: true,
  88. },
  89. {
  90. label: "合同金额",
  91. key: "Money",
  92. dataType: "新签客户",
  93. sort: true,
  94. },
  95. {
  96. label: "签约时间",
  97. key: "StartDate",
  98. dataType: "新签客户",
  99. sort: true,
  100. },
  101. {
  102. label: "合同金额",
  103. key: "Money",
  104. dataType: "续约客户",
  105. sort: true,
  106. },
  107. {
  108. label: "续约时间",
  109. key: "StartDate",
  110. dataType: "续约客户",
  111. sort: true,
  112. },
  113. {
  114. label: "最近合同到期时间",
  115. key: "EndDate",
  116. dataType: "未续约客户",
  117. sort: true,
  118. },
  119. {
  120. label: "备注",
  121. key: "Remark",
  122. dataType: "未续约客户",
  123. widthsty: "100px",
  124. sort: true,
  125. },
  126. {
  127. label: "未续约说明",
  128. key: "RenewalReason",
  129. dataType: "未续约客户",
  130. widthsty: "300px",
  131. sort: true,
  132. },
  133. ];
  134. export const stockTableColums = [
  135. {
  136. label: "客户名称",
  137. key: "CompanyName",
  138. widthsty: "300px",
  139. textsty: "color:#409EFF;cursor:pointer;",
  140. link: true,
  141. },
  142. {
  143. label: "客户类型",
  144. key: "ProductName",
  145. widthsty: "100px",
  146. },
  147. {
  148. label: "不续约归因",
  149. key: "AscribeContent",
  150. dataType: "未续约客户",
  151. notRenewedConfirm: 1,
  152. sort: true,
  153. },
  154. {
  155. label: "客户状态",
  156. key: "Status",
  157. dataType: "未续约客户",
  158. },
  159. {
  160. label: "所属销售",
  161. key: "SellerName",
  162. widthsty: "150px",
  163. },
  164. {
  165. label: "服务期限",
  166. dataType: "新签客户,续约客户",
  167. },
  168. {
  169. label: "剩余天数",
  170. key: "ExpireDay",
  171. widthsty: "150px",
  172. dataType: "新签客户,续约客户",
  173. },
  174. {
  175. label: "最近合同到期时间",
  176. key: "EndDate",
  177. dataType: "未续约客户",
  178. },
  179. {
  180. label: "备注",
  181. key: "Remark",
  182. dataType: "未续约客户",
  183. widthsty: "100px",
  184. sort: true,
  185. },
  186. {
  187. label: "未续约说明",
  188. key: "RenewalReason",
  189. dataType: "未续约客户",
  190. widthsty: "300px",
  191. },
  192. {
  193. label: "超出到期时间(天)",
  194. key: "ExpireDay",
  195. widthsty: "150px",
  196. dataType: "未续约客户",
  197. },
  198. ];
  199. /* 存量客户表格列 */
  200. export const RaiStockTableColums = [
  201. {
  202. label: "客户名称",
  203. key: "CompanyName",
  204. widthsty: "300px",
  205. textsty: "color:#409EFF;cursor:pointer;",
  206. link: true,
  207. },
  208. {
  209. label: "不续约归因",
  210. key: "AscribeContent",
  211. dataType: "未续约客户",
  212. notRenewedConfirm: 1,
  213. sort: true,
  214. },
  215. {
  216. label: "客户状态",
  217. key: "Status",
  218. dataType: "未续约客户",
  219. },
  220. {
  221. label: "所属销售",
  222. key: "SellerName",
  223. widthsty: "150px",
  224. },
  225. {
  226. label: "服务销售",
  227. key: "ShareSeller",
  228. dataType: "新签客户,续约客户",
  229. },
  230. {
  231. label: "合同期限",
  232. dataType: "新签客户,续约客户",
  233. key: "StartDate"
  234. },
  235. {
  236. label: "合同金额",
  237. dataType: "新签客户,续约客户",
  238. key: "Money",
  239. },
  240. {
  241. label: "签约套餐",
  242. dataType: "新签客户,续约客户",
  243. key: "PermissionName",
  244. },
  245. {
  246. label: "最近合同到期时间",
  247. key: "EndDate",
  248. dataType: "未续约客户",
  249. },
  250. {
  251. label: "备注",
  252. key: "Remark",
  253. dataType: "未续约客户",
  254. widthsty: "100px",
  255. sort: true,
  256. },
  257. {
  258. label: "未续约说明",
  259. key: "RenewalReason",
  260. dataType: "未续约客户",
  261. widthsty: "300px",
  262. },
  263. {
  264. label: "超出到期时间(天)",
  265. key: "ExpireDay",
  266. widthsty: "150px",
  267. dataType: "未续约客户",
  268. },
  269. ];
  270. /* 合同列表表格列 */
  271. export const contractTableColums = [
  272. {
  273. label: "客户名称",
  274. key: "CompanyName",
  275. widthsty: "300px",
  276. textsty: "color:#409EFF;cursor:pointer;",
  277. link: true,
  278. },
  279. {
  280. label: "客户类型",
  281. key: "ProductName",
  282. widthsty: "100px",
  283. },
  284. {
  285. label: "所属销售",
  286. key: "SellerName",
  287. widthsty: "150px",
  288. },
  289. {
  290. label: "有效合同数",
  291. key: "Count",
  292. widthsty: "150px",
  293. dataType: "有效合同总数,有效合同总金额,正式客户数",
  294. },
  295. {
  296. label: "有效合同总金额",
  297. key: "SumMoney",
  298. widthsty: "150px",
  299. dataType: "有效合同总数,有效合同总金额,正式客户数",
  300. },
  301. {
  302. label: "生成方式",
  303. key: "Source",
  304. widthsty: "150px",
  305. dataType: "系统合同/上传附件",
  306. },
  307. {
  308. label: "提交时间",
  309. key: "CreateTime",
  310. widthsty: "180px",
  311. dataType: "系统合同/上传附件",
  312. },
  313. {
  314. label: "操作",
  315. textsty: "color:#409EFF;cursor:pointer;",
  316. action: {
  317. name: "合同详情",
  318. },
  319. },
  320. ];
  321. /* 收入列表表格列 */
  322. export const incomeTableColums = [
  323. {
  324. label: "合同编号",
  325. key: "ContractCode",
  326. },
  327. {
  328. label: "客户名称",
  329. key: "CompanyName",
  330. widthsty: "200px",
  331. textsty: "color:#409EFF;cursor:pointer;",
  332. link: true,
  333. },
  334. {
  335. label: "客户类型",
  336. key: "ProductName",
  337. },
  338. {
  339. label: "所属销售",
  340. key: "SellerName",
  341. },
  342. {
  343. label: "合同金额",
  344. key: "Money",
  345. },
  346. {
  347. label: "付款方式",
  348. key: "PayMethod",
  349. },
  350. {
  351. label: "付款渠道",
  352. key: "PayChannel",
  353. },
  354. {
  355. label: "服务期限",
  356. widthsty: "200px",
  357. },
  358. {
  359. label: "操作",
  360. textsty: "color:#409EFF;cursor:pointer;",
  361. action: {
  362. name: "合同详情",
  363. },
  364. },
  365. ];
  366. /* 权益客户统计表格列 */
  367. export const equityTableColums = (type) => {
  368. return type === "新签客户" || type === "续约客户"
  369. ? [
  370. {
  371. label: "客户名称",
  372. key: "CompanyName",
  373. widthsty: "300px",
  374. textsty: "color:#409EFF;cursor:pointer;",
  375. link: true,
  376. },
  377. {
  378. label: "所属销售",
  379. key: "SellerName",
  380. widthsty: "150px",
  381. },
  382. {
  383. label: "服务销售",
  384. key: "ShareSeller",
  385. widthsty: "150px",
  386. },
  387. {
  388. label: "合同期限",
  389. align: "center",
  390. key: "StartDate",
  391. },
  392. {
  393. label: "合同金额",
  394. key: "Money",
  395. dataType: "新签客户",
  396. },
  397. {
  398. label: type === "新签客户" ? "签约套餐" : "续约套餐",
  399. align: "center",
  400. key: "PermissionName",
  401. },
  402. ]
  403. : type === "未续约客户"
  404. ? [
  405. {
  406. label: "客户名称",
  407. key: "CompanyName",
  408. widthsty: "300px",
  409. textsty: "color:#409EFF;cursor:pointer;",
  410. link: true,
  411. },
  412. {
  413. label: "客户状态",
  414. key: "Status",
  415. sort: true,
  416. },
  417. {
  418. label: "所属销售",
  419. key: "SellerName",
  420. widthsty: "150px",
  421. },
  422. {
  423. label: "服务销售",
  424. key: "ShareSeller ",
  425. widthsty: "150px",
  426. },
  427. {
  428. label: "合同期限",
  429. key: "StartDate",
  430. dataType: "未续约客户",
  431. sort: true,
  432. },
  433. {
  434. label: "签约套餐",
  435. align: "center",
  436. key: "PermissionName",
  437. },
  438. {
  439. label: "合同金额",
  440. key: "Money",
  441. dataType: "新签客户",
  442. },
  443. {
  444. label: "不续约归因",
  445. key: "AscribeContent",
  446. notRenewedConfirm: 1,
  447. sort: true,
  448. },
  449. ]
  450. : type === "新增试用客户"
  451. ? [ {
  452. label: "客户名称",
  453. key: "CompanyName",
  454. widthsty: "300px",
  455. textsty: "color:#409EFF;cursor:pointer;",
  456. link: true,
  457. },
  458. {
  459. label: "所属销售",
  460. key: "SellerName",
  461. widthsty: "150px",
  462. },
  463. {
  464. label: "新增时间",
  465. key: "CreateTime",
  466. }]
  467. :[];
  468. };