points.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. export const pointsData = {
  2. align: 'center',
  3. menuAlign: 'center',
  4. indexLabel: '序号',
  5. index: true,
  6. selection: false,
  7. border: true,
  8. addBtn: false,
  9. editBtn: false,
  10. delBtn: false,
  11. viewBtn: false,
  12. menuLeft: true,
  13. searchMenuSpan: 5,
  14. searchLabelWidth: '90',
  15. menuWidth: 200,
  16. labelWidth: '130',
  17. needVal: '',
  18. column: [
  19. {
  20. type: 'input',
  21. label: '执行包名称',
  22. prop: 'scorePackageName',
  23. searchSpan: 6,
  24. search: true
  25. },
  26. {
  27. label: '执行包总值',
  28. prop: 'score'
  29. },
  30. {
  31. type: 'select',
  32. label: '承接对象',
  33. prop: 'acceptSug',
  34. search: true,
  35. searchSpan: 8,
  36. dicUrl: '/admin/wmdaagent/listCso',
  37. props: {
  38. label: 'gsmc',
  39. value: 'id'
  40. },
  41. },
  42. {
  43. type: 'select',
  44. label: '执行包状态',
  45. prop: 'packageFinishStatus',
  46. dicUrl: '/admin/dict/type/package_finish_status'
  47. },
  48. {
  49. label: '分配日期',
  50. prop: 'allocationDate',
  51. searchSpan: 10,
  52. search: true,
  53. searchslot: true
  54. },
  55. {
  56. type: 'input',
  57. label: '完成分值',
  58. prop: 'ysh'
  59. },
  60. {
  61. label: '完成百分比',
  62. prop: 'finishRate',
  63. formatter: function (row) {
  64. return Number(row.finishRate) + '%';
  65. }
  66. }
  67. ]
  68. };