|
@@ -78,11 +78,11 @@
|
|
|
|
|
|
|
|
isEnd = false
|
|
isEnd = false
|
|
|
const res = await workorderPage(params)
|
|
const res = await workorderPage(params)
|
|
|
-
|
|
|
|
|
|
|
|
|
|
if (params.pageNum === 1) {
|
|
if (params.pageNum === 1) {
|
|
|
this.dataList = []
|
|
this.dataList = []
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
|
|
|
this.dataList.push(...res.list)
|
|
this.dataList.push(...res.list)
|
|
|
isEnd = this.dataList.length >= res.count
|
|
isEnd = this.dataList.length >= res.count
|
|
@@ -91,6 +91,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
doSearch() {
|
|
doSearch() {
|
|
|
|
|
+ this.page = 1
|
|
|
this.getList()
|
|
this.getList()
|
|
|
},
|
|
},
|
|
|
|
|
|