|
@@ -1099,13 +1099,13 @@ export default {
|
|
|
{name:"温度", id:'Tdb',weeknormalProprotion:'',weekAvg:'--',img:'happy',init:1,assess:'',weekcoldProprotion:'',weekhotProprotion:'',unit:'°C',assessHotTable:[
|
|
|
{name:'偏冷',min:-50},{name:"舒适",min:20},{name:"偏热",min:25}
|
|
|
],assessColdTable:[
|
|
|
- {name:'偏冷',min:-50},{name:"舒适",min:24},{name:"偏热",min:27}
|
|
|
+ {name:'偏冷',min:-50},{name:"舒适",min:20},{name:"偏热",min:25}
|
|
|
]},
|
|
|
{name:"CO₂",id:"CO2",weeknormalProprotion:'',weekAvg:'',assess:'',img:'happy',init:0,unit:'ppm',assessTable:[
|
|
|
{name:"新鲜空气",min:400,type:"happy"},{name:"达标",min:800,type:"happy"},{name:"新风轻微不足",min:1000,type:"happy"},{name:"新风明显不足",min:1500,type:"hot"},{name:"新风严重不足",min:2000,type:"hot"}
|
|
|
]},
|
|
|
{name:"甲醛",id:"HCHO",weeknormalProprotion:'',weekAvg:'',assess:'',img:'happy',init:2,unit:'mg/m3',assessTable:[
|
|
|
- {name:"符合国标",type:"happy"},{name:"超标",min:0.1,type:"hot"}
|
|
|
+ {name:"符合国标",type:"happy",min:0},{name:"超标",min:0.1,type:"hot"}
|
|
|
]},
|
|
|
{name:"相对湿度", id:"RH",weeknormalProprotion:'',weekAvg:'',init:0,img:'happy',assess:'',unit:'%',assessTable:[
|
|
|
{name:"干燥",type:"hot"},{name:"舒适",min:30,type:"happy"},{name:"湿润",min:70,type:"cold"}
|
|
@@ -1440,7 +1440,7 @@ export default {
|
|
|
item.min&&assessList.push(item.min)
|
|
|
})
|
|
|
assessList.sort((a,b)=>a-b);
|
|
|
- let index = assessList.findIndex(item=>item ==Number(value.weekAvg)) || 1;
|
|
|
+ let index = assessList.lastIndexOf(Number(value.weekAvg)) || 1;
|
|
|
|
|
|
if(value.name=="温度"){
|
|
|
this.surveyTable[sgin].img = this.imgList[index-1];
|