cockpitHealthData.js 1.1 KB

1234567891011121314151617181920212223
  1. /** 驾驶舱健康展示 mock(布局占位,不影响原有业务接口) */
  2. export const healthScoreDistribution = [
  3. { value: 40, name: "优", itemStyle: { color: "#7ECF51" } },
  4. { value: 10, name: "良", itemStyle: { color: "#2979ff" } },
  5. { value: 45, name: "中", itemStyle: { color: "#EECB5F" } },
  6. { value: 5, name: "差", itemStyle: { color: "#E16757" } },
  7. ];
  8. export const healthTableColumns = [
  9. { prop: "fieldName", label: "风场名称", minWidth: 108 },
  10. { prop: "excellent", label: "优", width: 40 },
  11. { prop: "good", label: "良", width: 40 },
  12. { prop: "medium", label: "中", width: 40 },
  13. { prop: "poor", label: "差", width: 40 },
  14. ];
  15. export const healthTableData = [
  16. { fieldName: "马宗山风电场", excellent: 3, good: 10, medium: 10, poor: 9 },
  17. { fieldName: "桥西第一风电场", excellent: 5, good: 8, medium: 6, poor: 2 },
  18. { fieldName: "桥西第二风电场", excellent: 4, good: 9, medium: 7, poor: 3 },
  19. { fieldName: "王团风电场", excellent: 6, good: 7, medium: 5, poor: 1 },
  20. { fieldName: "示范风电场", excellent: 50, good: 200, medium: 100, poor: 100 },
  21. ];