|
@@ -111,7 +111,7 @@ export default {
|
|
|
return
|
|
|
} else {
|
|
|
this.listParams.pageNum += 1;
|
|
|
- this.getList()
|
|
|
+ let result = this.getList(this.listParams.flag,'刷新')
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
@@ -152,7 +152,14 @@ export default {
|
|
|
},
|
|
|
search(){
|
|
|
this.listParams.titleName = this.searchValue
|
|
|
- this.getList()
|
|
|
+ this.listParams.pageNum=1
|
|
|
+ listWxs(this.listParams).then(res => {
|
|
|
+ this.qbwd = res.rows
|
|
|
+ this.total = res.total
|
|
|
+ uni.showToast({
|
|
|
+ title:`${toastVal}成功`
|
|
|
+ })
|
|
|
+ })
|
|
|
},
|
|
|
getList(val = null,toastVal = '加载',clear){
|
|
|
if(clear==1){this.listParams.pageNum=1}
|