cloudroam
2024-11-26 e6421c4ece90615aa0333ec58a723979c978a62b
src/views/screen1/components/chart-itm.vue
@@ -58,8 +58,8 @@
        v1 += parseInt(item.areaStatic.normal || 0);
        v2 += parseInt(item.areaStatic.warn || 0);
        v3 += parseInt(item.areaStatic.alarm || 0);
        v4 += parseInt(item.areaStatic.beSomething || 0);
        v5 += parseInt(item.areaStatic.beNothing || 0);
        v4 += parseInt(item.areaStatic.beNothing || 0);
        v5 += parseInt(item.areaStatic.beSomething || 0);
      }
      this.total = v1 + v2 + v3 + v4 + v5
      console.log('v1', v1, 'v2', v2, 'v3', v3, 'v4', v4, 'v5', v5);
@@ -184,7 +184,7 @@
                      },
                      {
                        offset: 0,
                        color: "rgba(241, 76, 3, 1)",
                        color: "rgba(52, 90, 255, 1)",
                      },
                    ]),
                  },
@@ -201,7 +201,7 @@
                      },
                      {
                        offset: 0,
                        color: "rgba(241, 76, 3, 1)",
                        color: "rgba(128, 0, 128, 1)",
                      },
                    ]),
                  },