Selaa lähdekoodia

'模型文件增加每页查询数量'

zhangyu 4 vuotta sitten
vanhempi
commit
e446a7f53f

+ 3 - 1
src/api/model/file.js

@@ -89,7 +89,9 @@ let api = {
             Filters += `;Status in [${data.Status}]`
         }
         let params = {
-            Filters: Filters
+            Filters: Filters,
+            PageNumber: 1,
+            PageSize: 500
         }
         return httputils.postJson(`${baseUrl}/model-floor/query-list`, params, success)
     },

+ 1 - 0
src/views/data_admin/buildTask/addTask/addModelTask.vue

@@ -89,6 +89,7 @@
         let data = {
           FolderId: val,
           Status: '4',
+          
           ProjectId: this.projectId
         };
         request.queryFloorList(data, res => {

+ 1 - 1
src/views/model/report/index.vue

@@ -229,7 +229,7 @@
       },
       getModelFloorCount() {// 获取楼层模型文件数量,计算出检查出问题的模型文件
         let promise1 = new Promise(resolve => {
-          queryFloorList({Filters:"Status=4"}, res => {
+          queryFloorList({Filters:"Status=4",pageNumber:1,PageSize: 500}, res => {
             resolve(res);
           })
         })