Browse Source

查询优化

zhanghui 1 year ago
parent
commit
9aa9bb1177
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/platform/userapp.vue

+ 2 - 2
src/views/platform/userapp.vue

@@ -386,7 +386,7 @@
       },
       getCurrentChange(e){
         console.log(e)
-        getSelfTakeList(e,10,{}).then(res =>{
+        getSelfTakeList(e,10,{status:1}).then(res =>{
           console.log(res)
           this.selfTakeListTotal = res.data.data.total
           this.selfTakeList = res.data.data.records
@@ -397,7 +397,7 @@
       addSelftake(row){
         this.row =row;
         this.dialogVisible = true;
-        getSelfTakeList().then(res =>{
+        getSelfTakeList(1,10,{status:1}).then(res =>{
           console.log(res)
           this.selfTakeListTotal = res.data.data.total
           this.selfTakeList = res.data.data.records