Selaa lähdekoodia

获取项目修改

duy 1 viikko sitten
vanhempi
commit
aba1742065
1 muutettua tiedostoa jossa 6 lisäystä ja 11 poistoa
  1. 6 11
      src/views/exctab/exceltab.vue

+ 6 - 11
src/views/exctab/exceltab.vue

@@ -430,11 +430,15 @@ export default {
             });
 
     },
-    getProjectListPage() {
+    getProjectList() {
       let params = {};
       params.page = this.currentPage;
       params.size = this.pageSize;
-      getProjectListPage(params).then((res) => {
+      getProjectListPage({
+        size:999,
+        current:1,
+        isCollect:0,
+      }).then((res) => {
         this.projectList = res.data.data.records;
       });
     },
@@ -587,16 +591,7 @@ export default {
         this.selectionClear();
       });
     },
-    getProjectList () {
-      getProjectListPage({
-        current:1,
-        size:999,
-        ...this.searchForm
 
-      }).then((res) => {
-        this.projectList = res.data.data.records;
-      })
-    },
     //查看模板信息
     viewInfo(row,index){
       this.infoVisible = true;