|
|
|
|
@ -1203,7 +1203,7 @@ export default {
|
|
|
|
|
this.isFetching = false;
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
this.getJobList().then(() => {
|
|
|
|
|
this.getJobList({isScroll:1}).then(() => {
|
|
|
|
|
this.isFetching = false;
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
@ -1250,7 +1250,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
async getJobList(newdata) {
|
|
|
|
|
// this.isspinning = true;
|
|
|
|
|
console.log("this.formvalue", this.formvalue);
|
|
|
|
|
console.log('newdata',newdata);
|
|
|
|
|
try {
|
|
|
|
|
newdata = {
|
|
|
|
|
district: "",
|
|
|
|
|
@ -1261,6 +1261,7 @@ export default {
|
|
|
|
|
pageNum: this.formvalue.pageNum, // 使用当前页码
|
|
|
|
|
pageSize: 8,
|
|
|
|
|
total: null, //分页配置
|
|
|
|
|
isScroll: newdata && newdata.isScroll == 1 ? 1 : 0,
|
|
|
|
|
};
|
|
|
|
|
for (var k in this.formvalue) {
|
|
|
|
|
if (Array.isArray(this.formvalue[k])) {
|
|
|
|
|
@ -1281,7 +1282,12 @@ export default {
|
|
|
|
|
this.isStop = false;
|
|
|
|
|
this.speed = 1;
|
|
|
|
|
}
|
|
|
|
|
this.jobMainList = this.jobMainList.concat(disposeJobListData(data.data.recordList)); // 追加数据
|
|
|
|
|
if(newdata.isScroll == 1){
|
|
|
|
|
this.jobMainList = this.jobMainList.concat(disposeJobListData(data.data.recordList)); // 追加数据
|
|
|
|
|
}else{
|
|
|
|
|
this.jobMainList = disposeJobListData(data.data.recordList)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.formvalue.total = data.data.recordCount;
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.info("数据获取失败");
|
|
|
|
|
|