|
@@ -20,12 +20,12 @@
|
|
|
</el-select>
|
|
|
|
|
|
<span class="title2">设备名称:</span>
|
|
|
- <el-select ref="site" v-model="deviceType" style="display: inline-block; margin-right: 5px" size="small" placeholder="请选择" @change="bindTsNameChange" clearable>
|
|
|
+ <el-select ref="site" v-model="deviceType" style="display: inline-block; margin-right: 5px" size="small" placeholder="请选择" @change="bindTsNameChange">
|
|
|
<el-option v-for="item in isSeletcSite" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
</el-select>
|
|
|
|
|
|
<span class="title2">指标类型:</span>
|
|
|
- <el-select v-model="type" style="display: inline-block; margin-right: 5px" size="small" placeholder="请选择" @change="bindTstTypeChange" clearable>
|
|
|
+ <el-select v-model="type" style="display: inline-block; margin-right: 5px" size="small" placeholder="请选择" @change="bindTstTypeChange">
|
|
|
<el-option v-for="item in types" :key="item.type" :label="item.typeName" :value="item.type" />
|
|
|
</el-select>
|
|
|
|
|
@@ -171,7 +171,7 @@ export default {
|
|
|
// const endDate = nextDate.getFullYear() + '-' + (nextDate.getMonth() + 1) + '-' + (nextDate.getDate() > 9 ? nextDate.getDate() : '0' + nextDate.getDate()) + ' 00:00:00'
|
|
|
const data = {
|
|
|
type: this.categoryName,
|
|
|
- deviceId: this.deviceType,
|
|
|
+ deviceType: this.deviceType,
|
|
|
censusDate: this.monthTime,
|
|
|
censusDateType: '3', // 按天查询
|
|
|
indexId: this.indexName + ''
|
|
@@ -248,7 +248,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
queryIndexType() {
|
|
|
- queryIndexConfiguration({ deviceId: this.deviceType,size: 10000 }).then(res => {
|
|
|
+ queryIndexConfiguration({ deviceId: this.deviceType, size: 10000 }).then(res => {
|
|
|
const arr = this.process(res.result.records)
|
|
|
this.types = arr
|
|
|
console.log(this.types)
|