Browse Source

成本分配列表-分页参数修改

jingbb 5 months ago
parent
commit
c771d07eec
1 changed files with 6 additions and 3 deletions
  1. 6 3
      src/views/cost-allocation-total/list.vue

+ 6 - 3
src/views/cost-allocation-total/list.vue

@@ -247,7 +247,7 @@ export default {
       dateFormat: 'YYYY-MM-DD',
       // 查询条件
       queryParam: {
-        
+        pageSize:50,
       },
       apply:"",
       dateFormat: 'YYYY-MM-DD',
@@ -274,7 +274,8 @@ export default {
             this.ipagination = {
               total: res.result.total,
               current: res.result.current,
-              pageSize: res.result.size
+              pageSize: res.result.size,
+              pageSizeOptions: ["50","100","150", "500"],
             }
           }else{
             this.$message.error(res.message);
@@ -431,7 +432,9 @@ export default {
     },
     searchReset() {
       this.queryParam.pageNo = ''
-      this.queryParam = {}
+      this.queryParam = {
+        pageSize:50,
+      }
       this.getCostList()
     },
     handleChange(value){