综合查询相关接口不再使用中文categoryName统一使用deviceCategory
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
<el-row>
|
||||
<el-col v-for="(tempDataItem,tempDataIndex) in tempData" :key="tempDataIndex+'ylTempData'" :span="8">
|
||||
<span class="pointer" @click="showChart(tempDataItem.title,item.deviceName,item.deviceId)">
|
||||
<span class="pointer" @click="showChart(tempDataItem.title,item.deviceId)">
|
||||
{{tempDataItem.title}}:{{item[tempDataItem.attr]}}<span v-html="tempDataItem.unit"></span>
|
||||
</span>
|
||||
</el-col>
|
||||
@ -48,9 +48,8 @@ export default {
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
showChart(pointName,deviceName,deviceId){
|
||||
console.log('点击查询图表',pointName,deviceName,deviceId)
|
||||
pointName && this.$refs.pointChart.showChart({pointName,deviceName,deviceId})
|
||||
showChart(pointName,deviceId){
|
||||
pointName && this.$refs.pointChart.showChart({pointName,deviceCategory:'COOLING',deviceId})
|
||||
},
|
||||
updateData(){
|
||||
this.loading = true
|
||||
|
||||
Reference in New Issue
Block a user