ProblemArea.vue 836 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* 问题区 */
  2. <template>
  3. <gy-card
  4. title="问题区"
  5. area-style="problem"
  6. circle-style="green"
  7. content-style="89"
  8. @parentRun="run">
  9. <div v-for="mc in datas" :key="mc">
  10. <MatrixCard title="故障"></MatrixCard>
  11. </div>
  12. </gy-card>
  13. </template>
  14. <script>
  15. import MatrixCard from "./windturbine/MatrixCard.vue";
  16. export default {
  17. name: "ProblemArea",
  18. components: {
  19. MatrixCard
  20. },
  21. props:{
  22. datas:Array,
  23. values:Array,
  24. },
  25. methods: {
  26. run() {
  27. },
  28. addCard() {
  29. }
  30. },
  31. created: function () {
  32. this.addCard({
  33. cardStyle: "card-style-1"
  34. });
  35. }
  36. };
  37. </script>