From 5e7c96c004a0c52acd20ca443078e04bd9d647cc Mon Sep 17 00:00:00 2001 From: dingtalk_umvbsp Date: Mon, 13 Feb 2023 11:44:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/massif/collectList.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pages/massif/collectList.vue b/pages/massif/collectList.vue index 368c4a2..f840260 100644 --- a/pages/massif/collectList.vue +++ b/pages/massif/collectList.vue @@ -73,6 +73,9 @@ export default { data(){ return{ searchVal:{ + baseId: this.$store.state.plantBaseInfoId, + userId: this.$store.getters['userInfo'].id, + enterpriseId: this.$store.getters['userInfo'].companyId, pageNo:1, pageSize:6, search:"", @@ -93,11 +96,12 @@ export default { this.searchVal.pageNo=1 }, async search(){ - var res=await request("/api/plantFarming/listAgrMaterials",{ - params: this.searchVal + var res=await request("/api/OutInManageApi/queryCollectingList",{ + method:"post", + body: this.searchVal }) if(res.statu){ - this.list=this.list.concat(res.data.list) + this.list=this.list.concat(res.data.records) this.total=res.data.total this.searchVal.pageNo++ if(this.list.length==this.total)uni.showToast({title:"加载完成!",icon:"none"})