|
|
|
@ -642,9 +642,36 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
onSubmit() {
|
|
|
|
|
console.log(this.formdata.starttime, this.formdata.endtime);
|
|
|
|
|
|
|
|
|
|
this.getIcingData(this.paramsData);
|
|
|
|
|
const sTime = Math.floor(this.formdata.starttime / 1000);
|
|
|
|
|
const eTime = Math.floor(this.formdata.endtime / 1000);
|
|
|
|
|
if (this.dyFlag) {
|
|
|
|
|
let pullParams = {
|
|
|
|
|
dyId: this.paramsData.id,
|
|
|
|
|
pageNum: this.page,
|
|
|
|
|
pageSize: this.pageSize,
|
|
|
|
|
};
|
|
|
|
|
this.getIcingData(pullParams);
|
|
|
|
|
} else if (this.lineFlag) {
|
|
|
|
|
let pullParams = {
|
|
|
|
|
lineId: this.paramsData.id,
|
|
|
|
|
pageNum: this.page,
|
|
|
|
|
pageSize: this.pageSize,
|
|
|
|
|
};
|
|
|
|
|
this.getIcingData(pullParams);
|
|
|
|
|
} else if (this.termalFlag) {
|
|
|
|
|
let pullParams = {
|
|
|
|
|
lineId: this.paramsData.lineid,
|
|
|
|
|
termId: this.paramsData.id,
|
|
|
|
|
towerId: this.paramsData.towerid,
|
|
|
|
|
start: sTime,
|
|
|
|
|
end: eTime,
|
|
|
|
|
pageNum: this.page,
|
|
|
|
|
pageSize: this.pageSize,
|
|
|
|
|
};
|
|
|
|
|
this.getIcingListData(pullParams);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
//点击分页
|
|
|
|
|
handleCurrentChange(val) {
|
|
|
|
|
this.page = val;
|
|
|
|
|