Browse Source

修改统计图单位问题

Version1.0
YF-yuan 3 years ago
parent
commit
4b66c82611
2 changed files with 6 additions and 6 deletions
  1. +6
    -5
      src/views/Home.vue
  2. +0
    -1
      src/views/leftCompoents/pointQulity.vue

+ 6
- 5
src/views/Home.vue View File

@@ -29,9 +29,9 @@
v-for="(item, index) in paramsList"
:key="index"
:class="{ pointParamsActive: checkedPointParams == index }"
@click="choosePointItem(item, index)"
@click="choosePointItem(item.value, index)"
>
{{ item.toUpperCase() }}
{{ item.name }}
</p>
</div>
<div class="utilslist">
@@ -280,7 +280,7 @@ export default {
// 主题菜单
refList: ["排口", "采样点", "土地利用"],
// 采样点参数
paramsList: ["cod", "nh4_n", "tn", "tp"],
paramsList: [{value: "cod", name:'COD_Mn'},{value: "nh4_n", name:'NH4_N'},{value: "tn", name:'TN'},{value: "tp", name:'TP'}],
// 主题选中数据
checked: [
[
@@ -867,8 +867,8 @@ export default {
this.isPlace = false;
}
}
// 2.关闭色带
// this.showColor = false;
// 2.默认选中第一个参数
this.checkedPointParams = 0
},

// 选择反演参数
@@ -1170,6 +1170,7 @@ body {
.refcheck {
height: 100%;
margin-left: 8px;
/* display: block; */
line-height: 50px;
}
/* 数据统计弹框 */

+ 0
- 1
src/views/leftCompoents/pointQulity.vue View File

@@ -45,7 +45,6 @@ export default {

chart.data(data);
chart.scale("value", {
alias: "mg/L",
nice: true,
});
chart.axis("value", {

Loading…
Cancel
Save