浏览代码

feat: 预测效果增加4个选项

sunxiao 2 月之前
父节点
当前提交
fc39936151
共有 2 个文件被更改,包括 5 次插入2 次删除
  1. 0 1
      src/views/business/comparison/components/echartConfig.js
  2. 5 1
      src/views/business/comparison/index.vue

+ 0 - 1
src/views/business/comparison/components/echartConfig.js

@@ -1,5 +1,4 @@
 export const getEchartLineOption = ({ xAxisData, echartData, specificData }) => {
-  console.log("echartData", echartData);
   const colors = ["#5B8FF9", "#82c370", "#ffbf59"];
   const series = echartData.map(({ name, val: data }, index) => ({
     name,

+ 5 - 1
src/views/business/comparison/index.vue

@@ -188,7 +188,11 @@ export default {
         { label: "PO₄³⁻ ", value: 'zlsy' },
         { label: "NH₃-N ", value: 'nh3' },
         { label: "COD ", value: 'cod' },
-        { label: "SS ", value: 'ss' }
+        { label: "SS ", value: 'ss' },
+        { label: "#1缺氧硝酸盐 ", value: 'qyxsy1' },
+        { label: "#2缺氧硝酸盐 ", value: 'qyxsy2' },
+        { label: "#1缺氧氨氮 ", value: 'qynh31' },
+        { label: "#2缺氧氨氮 ", value: 'qynh32' }
       ],
       // 查询参数
       queryParams: {