config.js 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. export const zzForm = [
  2. [
  3. {
  4. label: '',
  5. prop: 'type',
  6. span: 10
  7. },
  8. {
  9. label: '',
  10. prop: 'xmmc',
  11. span: 10,
  12. component: 'ElInput',
  13. componentProps: {
  14. placeholder: '项目名称'
  15. }
  16. },
  17. {
  18. prop: 'action',
  19. span: 4
  20. }
  21. ]
  22. ]
  23. export const legends = [
  24. { label: "试点区域", color: '#caf982' },
  25. { label: "整治区域", color: '#80ffff' },
  26. { label: "整治项目", color: '#facd91' }
  27. ]
  28. export const reasonList = [
  29. { name: "农用地整理项目", code: 0 },
  30. { name: "建设用地整治项目", code: 1 },
  31. { name: "乡村生态保护修复项目", code: 2 },
  32. { name: "乡村历史文化保护项目", code: 3 },
  33. ]
  34. export const TableHeader = [
  35. { label: "项目名称", prop: "xmmc" },
  36. { label: "主管部门", prop: "zgbm", width: '80px' },// slot: "mj"
  37. { label: "建设规模", prop: "tygm", },
  38. { label: "操作", slot: "action" },
  39. ]
  40. export const xzForm = [
  41. [
  42. {
  43. label: '',
  44. prop: 'key',
  45. span: 20,
  46. component: 'ElInput',
  47. componentProps: {
  48. placeholder: '请输入地块编号'
  49. }
  50. },
  51. {
  52. prop: 'action',
  53. span: 4
  54. }
  55. ]
  56. ]
  57. export const xzTableHeader = [
  58. { label: "地块编号", prop: "xmmc" },
  59. { label: "面积(亩)", prop: "crmj", slot: "mj" },
  60. { label: "等别", prop: "ydkgsj", },
  61. { label: "操作", slot: "action", width: '80px', },
  62. ]