|
|
@ -314,7 +314,7 @@ export default {
|
|
|
|
console.log("电压-公司");
|
|
|
|
console.log("电压-公司");
|
|
|
|
weatherParams = {
|
|
|
|
weatherParams = {
|
|
|
|
dyId: data.id,
|
|
|
|
dyId: data.id,
|
|
|
|
pageNum: this.page,
|
|
|
|
pageNum: 1,
|
|
|
|
pageSize: this.pageSize,
|
|
|
|
pageSize: this.pageSize,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
this.getWeatherData(weatherParams);
|
|
|
|
this.getWeatherData(weatherParams);
|
|
|
@ -322,14 +322,14 @@ export default {
|
|
|
|
console.log("线路-电压");
|
|
|
|
console.log("线路-电压");
|
|
|
|
weatherParams = {
|
|
|
|
weatherParams = {
|
|
|
|
lineId: data.id,
|
|
|
|
lineId: data.id,
|
|
|
|
pageNum: this.page,
|
|
|
|
pageNum: 1,
|
|
|
|
pageSize: this.pageSize,
|
|
|
|
pageSize: this.pageSize,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
this.getWeatherData(weatherParams);
|
|
|
|
this.getWeatherData(weatherParams);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
console.log("装置-杆塔");
|
|
|
|
console.log("装置-杆塔");
|
|
|
|
weatherParams = {
|
|
|
|
weatherParams = {
|
|
|
|
pageNum: this.page,
|
|
|
|
pageNum: 1,
|
|
|
|
pageSize: this.pageSize,
|
|
|
|
pageSize: this.pageSize,
|
|
|
|
towerId: data.towerid,
|
|
|
|
towerId: data.towerid,
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -356,14 +356,68 @@ export default {
|
|
|
|
//点击分页
|
|
|
|
//点击分页
|
|
|
|
handleCurrentChange(val) {
|
|
|
|
handleCurrentChange(val) {
|
|
|
|
this.page = val;
|
|
|
|
this.page = val;
|
|
|
|
|
|
|
|
let data = this.paramsData;
|
|
|
|
|
|
|
|
let weatherParams;
|
|
|
|
this.tableData = [];
|
|
|
|
this.tableData = [];
|
|
|
|
this.getWeatherData(this.paramsData);
|
|
|
|
if (data.dyValue) {
|
|
|
|
|
|
|
|
console.log("电压-公司");
|
|
|
|
|
|
|
|
weatherParams = {
|
|
|
|
|
|
|
|
dyId: data.id,
|
|
|
|
|
|
|
|
pageNum: this.page,
|
|
|
|
|
|
|
|
pageSize: this.pageSize,
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
this.getWeatherData(weatherParams);
|
|
|
|
|
|
|
|
} else if (data.bsManufacturer) {
|
|
|
|
|
|
|
|
console.log("线路-电压");
|
|
|
|
|
|
|
|
weatherParams = {
|
|
|
|
|
|
|
|
lineId: data.id,
|
|
|
|
|
|
|
|
pageNum: this.page,
|
|
|
|
|
|
|
|
pageSize: this.pageSize,
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
this.getWeatherData(weatherParams);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
console.log("装置-杆塔");
|
|
|
|
|
|
|
|
weatherParams = {
|
|
|
|
|
|
|
|
pageNum: this.page,
|
|
|
|
|
|
|
|
pageSize: this.pageSize,
|
|
|
|
|
|
|
|
towerId: data.towerid,
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
this.getWeatherData(weatherParams);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
//this.getCurrentData(this.paramsData);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
//每页条数
|
|
|
|
//每页条数
|
|
|
|
handleSizeChange(val) {
|
|
|
|
handleSizeChange(val) {
|
|
|
|
this.pageSize = val;
|
|
|
|
this.pageSize = val;
|
|
|
|
this.tableData = [];
|
|
|
|
this.tableData = [];
|
|
|
|
this.getWeatherData(this.paramsData);
|
|
|
|
let data = this.paramsData;
|
|
|
|
|
|
|
|
let weatherParams;
|
|
|
|
|
|
|
|
this.tableData = [];
|
|
|
|
|
|
|
|
if (data.dyValue) {
|
|
|
|
|
|
|
|
console.log("电压-公司");
|
|
|
|
|
|
|
|
weatherParams = {
|
|
|
|
|
|
|
|
dyId: data.id,
|
|
|
|
|
|
|
|
pageNum: this.page,
|
|
|
|
|
|
|
|
pageSize: this.pageSize,
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
this.getWeatherData(weatherParams);
|
|
|
|
|
|
|
|
} else if (data.bsManufacturer) {
|
|
|
|
|
|
|
|
console.log("线路-电压");
|
|
|
|
|
|
|
|
weatherParams = {
|
|
|
|
|
|
|
|
lineId: data.id,
|
|
|
|
|
|
|
|
pageNum: this.page,
|
|
|
|
|
|
|
|
pageSize: this.pageSize,
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
this.getWeatherData(weatherParams);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
console.log("装置-杆塔");
|
|
|
|
|
|
|
|
weatherParams = {
|
|
|
|
|
|
|
|
pageNum: this.page,
|
|
|
|
|
|
|
|
pageSize: this.pageSize,
|
|
|
|
|
|
|
|
towerId: data.towerid,
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
this.getWeatherData(weatherParams);
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
//点击查看更多历史数据
|
|
|
|
//点击查看更多历史数据
|
|
|
|
moreDataClick(row) {
|
|
|
|
moreDataClick(row) {
|
|
|
|