columns.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. const config = {
  2. city: {
  3. name: "city_name",
  4. title: '活动城市',
  5. type: 'city',
  6. api: 'getArea'
  7. },
  8. act_time: {
  9. name: "act_time_name",
  10. oth_end_key: "act_day_end",
  11. oth_key: "act_day_count",
  12. title: '活动时间',
  13. type: 'time',
  14. api: '/aaa/33'
  15. },
  16. participant: {
  17. name: "participant_name",
  18. title: '活动人数',
  19. type: 'radio',
  20. api: 'attendance',
  21. },
  22. budget: {
  23. name: "budget_name",
  24. title: '活动预算',
  25. type: 'radio',
  26. api: 'getBudget',
  27. },
  28. require_item:{
  29. name: "require_item_name",
  30. title: '活动类型',
  31. type: 'radio',
  32. api: 'activityCat',
  33. },
  34. req_demand:{
  35. name: "req_demand_name",
  36. title: '其他需求',
  37. type: 'checkbox',
  38. api: 'getServiceitem',
  39. }
  40. }
  41. const formData= {
  42. city: "2",
  43. city_name: "北京市",
  44. phone: "",
  45. act_time_start: "",
  46. act_time_end: "",
  47. act_day_count: "",
  48. act_time_name: "",
  49. participant: "",
  50. participant_name: "",
  51. budget: "",
  52. budget_name: "",
  53. require_item: "",
  54. require_item_name: "",
  55. req_demand: [],
  56. req_demand_name: "",
  57. }
  58. export {
  59. config,
  60. formData
  61. }