huxinglu пре 4 година
родитељ
комит
6ac528cb10
2 измењених фајлова са 9 додато и 5 уклоњено
  1. +7
    -1
      src/views/command/quality/qualityLeft.vue
  2. +2
    -4
      src/views/command/quality/qualityRight.vue

+ 7
- 1
src/views/command/quality/qualityLeft.vue Прегледај датотеку

@@ -35,7 +35,7 @@
</div>
<div v-show="activeType==2">
<div @click="childTypeClick('COD')" :class="ruleForm.name=='COD'?'child-type-check':''">COD</div>
<div @click="childTypeClick('NH3N')" :class="ruleForm.name=='NH3N'?'child-type-check':''">NH3N</div>
<div @click="childTypeClick('NH3N')" :class="ruleForm.name=='NH3N'?'child-type-check':''">NH3-N</div>
<div @click="childTypeClick('TP')" :class="ruleForm.name=='TP'?'child-type-check':''">TP</div>
<div @click="childTypeClick('TN')" :class="ruleForm.name=='TN'?'child-type-check':''">TN</div>
<div @click="childTypeClick('DO')" :class="ruleForm.name=='DO'?'child-type-check':''">DO</div>
@@ -330,6 +330,9 @@
ruleForm.time = ''
}
api.getDriverWaterAlarmInfoList({driverId: this.ruleForm.driverId, time: ruleForm.time}).then(res => {
res.data.map(item=>{
item.month=item.month+'月'
})
this.oneBottomList = res.data ? res.data : []
}).catch(e => {
this.oneBottomList = []
@@ -366,6 +369,9 @@
time: ruleForm.time,
name: ruleForm.name
}).then(res => {
res.data.map(item=>{
item.month=item.month+'月'
})
this.oneBottomList = res.data ? res.data : []
}).catch(e => {
this.oneBottomList = []

+ 2
- 4
src/views/command/quality/qualityRight.vue Прегледај датотеку

@@ -75,13 +75,12 @@
return {
id:'',
waterAlarmList:[],
trendType:'',
visible: false,
trendList: [],
filterFrendList:[],
warnList:[],
trendType:'COD',
trendSelectList:['COD','NH3N','TP','TN','DO','TUB']
trendSelectList:['COD','NH3-N','TP','TN','DO','TUB']
}
},
computed: {
@@ -124,10 +123,9 @@
trendTypeChange(){
let filterFrendList=[]
let name = ''
'COD','NH3N','TP','TN','DO','TUB'
if(this.trendType=='COD'){
name='waterCod'
}else if(this.trendType=='NH3N'){
}else if(this.trendType=='NH3-N'){
name='waterNh3n'
}else if(this.trendType=='TP'){
name='waterTp'

Loading…
Откажи
Сачувај