|
@@ -339,13 +339,13 @@
|
|
|
<div class="numBot">总故障</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="warnItems" v-for="(it, index) in warnTypeData.dataColumn1" :key="index" @click="getwarnTableData(it)">
|
|
|
+ <div class="warnItems" v-for="(it, index) in warnTypeData.dataColumn1" :key="index" @click="getwarnTableDataFn(it)">
|
|
|
<div class="warnItemLeft">{{it.count}}</div>
|
|
|
<div class="warnItemRight">{{it.name}}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="warn" v-for="(it, index) in warnTypeData.dataColumnOther" :key="index">
|
|
|
- <div class="warnItems" v-for="(itv, index) in it" :key="index" @click="getwarnTableData(itv)">
|
|
|
+ <div class="warnItems" v-for="(itv, index) in it" :key="index" @click="getwarnTableDataFn(itv)">
|
|
|
<div class="warnItemLeft" :class="isRed(index)">{{itv.count}}</div>
|
|
|
<div class="warnItemRight" :class="isRed(index)">{{itv.name}}</div>
|
|
|
</div>
|
|
@@ -725,6 +725,9 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
+ getwarnTableDataFn(data) {
|
|
|
+ this.getwarnTableData(data, this.wind.wtid)
|
|
|
+ },
|
|
|
getwarnTableData(data, id) {
|
|
|
let that = this
|
|
|
let params = {
|