he wei
2025-03-28 270b91a54b19907aa8964c942f972923b3b14602
U 电导图加上参考线
1个文件已修改
35 ■■■■■ 已修改文件
src/pages/xmlResult.vue 35 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/xmlResult.vue
@@ -200,6 +200,26 @@
          color: "#0f0",
        },
      ],
      condVisiable: [
        {
          name: '电导告警',
          y: 0,
          type: "low",
          color: "#ff0",
        },
        {
          name: '电导更换',
          y: 0,
          type: "low",
          color: "#d9001b",
        },
        {
          name: '平均值',
          y: 0,
          type: "agv",
          color: "#0f0",
        },
      ],
    };
    return {
      fileInfoVisible: false,
@@ -533,6 +553,8 @@
            vol6LowCoeK1,
            vol12HighCoeK2,
            vol12LowCoeK1,
            serGoodCoeK6,
            serBadCoeK7,
          } = this.params;
          this.marks.resVisiable[0].y = toFixed(
@@ -543,6 +565,19 @@
            (resBadCoeK4 * fileParam.battRes) / 100,
            BIT
          );
          if (fileParam.battRes) {
            let _num = 1 / (fileParam.battRes / 1000);
            this.marks.condVisiable[0].y = toFixed(
              (serGoodCoeK6 * _num) / 100,
              BIT
            );
            this.marks.condVisiable[1].y = toFixed(
              (serBadCoeK7 * _num) / 100,
              BIT
            );
          }
          if (!this.marks.volVisiable.length) {
            this.marks.volVisiable = [
              {