applyTableColums.js 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483
  1. //表格列
  2. export const tableColums = (type) => {
  3. return type === 1
  4. ? [
  5. {
  6. label: "姓名",
  7. key: "RealName",
  8. },
  9. {
  10. label: "手机号码",
  11. key: "Mobile",
  12. },
  13. {
  14. label: "外呼号码",
  15. key: "OutboundMobile",
  16. },
  17. {
  18. label: "公司名称",
  19. key: "CompanyName",
  20. },
  21. {
  22. label: "所属销售",
  23. key: "SellerName",
  24. },
  25. {
  26. label: "报名时间",
  27. key: "CreateTime",
  28. },
  29. ]
  30. : type === 2
  31. ? [
  32. {
  33. label: "姓名",
  34. key: "RealName",
  35. },
  36. {
  37. label: "公司名称",
  38. key: "CompanyName",
  39. },
  40. {
  41. label: "所属销售",
  42. key: "SellerName",
  43. },
  44. {
  45. label: "报名时间",
  46. key: "CreateTime",
  47. },
  48. ]
  49. : type === 3
  50. ? [
  51. {
  52. label: "姓名",
  53. key: "RealName",
  54. },
  55. {
  56. label: "公司名称",
  57. key: "CompanyName",
  58. },
  59. {
  60. label: "所属销售",
  61. key: "SellerName",
  62. },
  63. {
  64. label: "报名时间",
  65. key: "CreateTime",
  66. },
  67. {
  68. label: "失败原因",
  69. key: "FailType",
  70. },
  71. ]
  72. : [
  73. {
  74. label: "姓名",
  75. key: "RealName",
  76. },
  77. {
  78. label: "手机号码",
  79. key: "Mobile",
  80. },
  81. {
  82. label: "公司名称",
  83. key: "CompanyName",
  84. },
  85. {
  86. label: "所属销售",
  87. key: "SellerName",
  88. },
  89. {
  90. label: "报名时间",
  91. key: "CreateTime",
  92. },
  93. {
  94. label: "失败原因",
  95. key: "FailType",
  96. },
  97. ];
  98. };
  99. export const ListTitle = [
  100. {
  101. PermissionName: "专家/分析师电话会",
  102. ChartPermissionId: 1,
  103. },
  104. {
  105. PermissionName: "分析师电话会(C类)",
  106. ChartPermissionId: 4,
  107. },
  108. {
  109. PermissionName: "专家/分析师线下沙龙",
  110. ChartPermissionId: 2,
  111. },
  112. {
  113. PermissionName: "公司调研",
  114. ChartPermissionId: 3,
  115. },
  116. ];
  117. export const purchaserListTitle = [
  118. {
  119. PermissionName: "专家电话会",
  120. ChartPermissionId: 1,
  121. },
  122. {
  123. PermissionName: "专家线下沙龙",
  124. ChartPermissionId: 4,
  125. },
  126. {
  127. PermissionName: "买方线下交流",
  128. ChartPermissionId: 2,
  129. },
  130. {
  131. PermissionName: "公司调研",
  132. ChartPermissionId: 3,
  133. },
  134. ];
  135. //表格列
  136. export const TableApplyColums = (type) => {
  137. return type === 1
  138. ? [
  139. {
  140. label: "活动名称",
  141. key: "ActivityName",
  142. minwidthsty: "300",
  143. },
  144. {
  145. label: "行业",
  146. key: "ChartPermissionName",
  147. },
  148. {
  149. label: "活动类型",
  150. key: "ActivityTypeName",
  151. minwidthsty: "110",
  152. },
  153. {
  154. label: "活动标签",
  155. key: "Label",
  156. minwidthsty: "120",
  157. },
  158. {
  159. label: "活动状态",
  160. key: "ActiveState",
  161. minwidthsty: "80",
  162. },
  163. {
  164. label: "发布状态",
  165. key: "PublishStatus",
  166. minwidthsty: "80",
  167. },
  168. {
  169. label: "活动时间",
  170. key: "ActivityTimeText",
  171. minwidthsty: "200",
  172. },
  173. {
  174. label: "报名人数限制",
  175. key: "LimitPeopleNum",
  176. minwidthsty: "105",
  177. },
  178. {
  179. label: "当前报名人数",
  180. key: "SignupPeopleNum",
  181. minwidthsty: "105",
  182. },
  183. {
  184. label: "报名失败人数",
  185. key: "SignupFailPeopleNum",
  186. minwidthsty: "130",
  187. },
  188. {
  189. label: "消息提醒人数",
  190. key: "ReminderPeopleNum",
  191. minwidthsty: "105",
  192. },
  193. {
  194. label: "预约纪要人数",
  195. key: "AppointmentPeopleNum",
  196. minwidthsty: "105",
  197. },
  198. {
  199. label: "带问",
  200. key: "AskNum",
  201. minwidthsty: "70",
  202. },
  203. ]
  204. : type === 2
  205. ? [
  206. {
  207. label: "活动名称",
  208. key: "ActivityName",
  209. minwidthsty: "350",
  210. },
  211. {
  212. label: "行业",
  213. key: "ChartPermissionName",
  214. },
  215. {
  216. label: "活动类型",
  217. key: "ActivityTypeName",
  218. minwidthsty: "120",
  219. },
  220. {
  221. label: "活动标签",
  222. key: "Label",
  223. minwidthsty: "120",
  224. },
  225. {
  226. label: "活动时间",
  227. key: "ActivityTimeText",
  228. minwidthsty: "219",
  229. },
  230. {
  231. label: "活动状态",
  232. key: "ActiveState",
  233. minwidthsty: "80",
  234. },
  235. {
  236. label: "发布状态",
  237. key: "PublishStatus",
  238. minwidthsty: "80",
  239. },
  240. {
  241. label: "报名人数限制",
  242. key: "LimitPeopleNum",
  243. minwidthsty: "130",
  244. },
  245. {
  246. label: "当前报名人数",
  247. key: "SignupPeopleNum",
  248. minwidthsty: "130",
  249. },
  250. {
  251. label: "报名失败人数",
  252. key: "SignupFailPeopleNum",
  253. minwidthsty: "130",
  254. },
  255. {
  256. label: "预约纪要人数",
  257. key: "AppointmentPeopleNum",
  258. minwidthsty: "130",
  259. },
  260. ]
  261. : type === 3
  262. ? [
  263. {
  264. label: "活动名称",
  265. key: "ActivityName",
  266. minwidthsty: "300",
  267. },
  268. {
  269. label: "行业",
  270. key: "ChartPermissionName",
  271. },
  272. {
  273. label: "活动类型",
  274. key: "ActivityTypeName",
  275. minwidthsty: "120",
  276. },
  277. {
  278. label: "活动标签",
  279. key: "Label",
  280. minwidthsty: "120",
  281. },
  282. {
  283. label: "活动时间",
  284. key: "ActivityTimeText",
  285. minwidthsty: "219",
  286. },
  287. {
  288. label: "活动状态",
  289. key: "ActiveState",
  290. minwidthsty: "80",
  291. },
  292. {
  293. label: "发布状态",
  294. key: "PublishStatus",
  295. minwidthsty: "80",
  296. },
  297. {
  298. label: "报名人数限制",
  299. key: "LimitPeopleNum",
  300. minwidthsty: "105",
  301. },
  302. {
  303. label: "当前报名人数",
  304. key: "SignupPeopleNum",
  305. minwidthsty: "105",
  306. },
  307. {
  308. label: "报名失败人数",
  309. key: "SignupFailPeopleNum",
  310. minwidthsty: "130",
  311. },
  312. {
  313. label: "会议提醒人数",
  314. key: "ReminderPeopleNum",
  315. minwidthsty: "105",
  316. },
  317. {
  318. label: "预约纪要人数",
  319. key: "AppointmentPeopleNum",
  320. minwidthsty: "105",
  321. },
  322. ]
  323. : [
  324. {
  325. label: "活动名称",
  326. key: "ActivityName",
  327. minwidthsty: "350",
  328. },
  329. {
  330. label: "行业",
  331. key: "ChartPermissionName",
  332. },
  333. {
  334. label: "活动类型",
  335. key: "ActivityTypeName",
  336. minwidthsty: "150",
  337. },
  338. {
  339. label: "活动标签",
  340. key: "Label",
  341. minwidthsty: "120",
  342. },
  343. {
  344. label: "活动时间",
  345. key: "ActivityTimeText",
  346. minwidthsty: "219",
  347. },
  348. {
  349. label: "活动状态",
  350. key: "ActiveState",
  351. minwidthsty: "80",
  352. },
  353. {
  354. label: "发布状态",
  355. key: "PublishStatus",
  356. minwidthsty: "80",
  357. },
  358. {
  359. label: "报名人数限制",
  360. key: "LimitPeopleNum",
  361. minwidthsty: "130",
  362. },
  363. {
  364. label: "当前报名人数",
  365. key: "SignupPeopleNum",
  366. minwidthsty: "130",
  367. },
  368. {
  369. label: "报名失败人数",
  370. key: "SignupFailPeopleNum",
  371. minwidthsty: "130",
  372. },
  373. {
  374. label: "消息提醒人数",
  375. key: "ReminderPeopleNum",
  376. minwidthsty: "130",
  377. },
  378. {
  379. label: "预约纪要人数",
  380. key: "AppointmentPeopleNum",
  381. minwidthsty: "105",
  382. },
  383. ];
  384. };
  385. export const StatusSelect = [
  386. {
  387. name: "未开始",
  388. value: 1,
  389. },
  390. {
  391. name: "进行中",
  392. value: 2,
  393. },
  394. {
  395. name: "已结束",
  396. value: 3,
  397. },
  398. ];
  399. export const PublishSelect = [
  400. {
  401. name: "已发布",
  402. value: "1",
  403. },
  404. {
  405. name: "未发布",
  406. value: "0",
  407. },
  408. {
  409. name: "已取消",
  410. value: "3",
  411. },
  412. ];
  413. export const SearchResultTable = [
  414. {
  415. label: "姓名",
  416. key: "RealName",
  417. },
  418. {
  419. label: "手机号码",
  420. key: "Mobile",
  421. },
  422. {
  423. label: "参会次数",
  424. key: "TotalMeeting",
  425. },
  426. ];
  427. export const DetailedTable = [
  428. {
  429. label: "活动名称",
  430. key: "ActivityName",
  431. minwidthsty: "300",
  432. },
  433. {
  434. label: "活动时间",
  435. key: "ActivityTimeText",
  436. widthsty: "215",
  437. },
  438. {
  439. label: "首次入会时间",
  440. key: "FirstMeetingTime",
  441. widthsty: 160,
  442. },
  443. {
  444. label: "最后退出时间",
  445. key: "LastMeetingTime",
  446. widthsty: 160,
  447. },
  448. {
  449. label: "参与总时长",
  450. key: "Duration",
  451. widthsty: 96,
  452. },
  453. {
  454. label: "参会方式",
  455. key: "MeetingTypeStr",
  456. widthsty: 80,
  457. },
  458. {
  459. label: "参会鉴权",
  460. key: "MeetingAuthentication",
  461. widthsty: 80,
  462. },
  463. {
  464. label: "参会状态",
  465. key: "MeetingStatusStr",
  466. widthsty: 80,
  467. },
  468. ];
  469. export const NameListDownload = [
  470. { type: "全部名单", value: 0 },
  471. { type: "预约外呼名单", value: 1 },
  472. { type: "自主入会(自主拨入)名单", value: 2 },
  473. ];