浏览代码

任务看板9.28

caojunjie 1 年之前
父节点
当前提交
93731a03d3
共有 1 个文件被更改,包括 10 次插入10 次删除
  1. 10 10
      src/views/TaskKanban/index.vue

+ 10 - 10
src/views/TaskKanban/index.vue

@@ -42,7 +42,7 @@
       return {
         form: {},
         query: {},
-        loading: true,
+        loading: false,
         page: {
           pageSize: 10,
           currentPage: 1,
@@ -219,7 +219,7 @@
       };
     },
       created() {
-        this.getPostListfun(website.tenantId)
+        // this.getPostListfun(website.tenantId)
       },
       computed: {
       ...mapGetters(["permission"]),
@@ -347,14 +347,14 @@
         this.onLoad(this.page, this.query);
       },
       onLoad(page, params = {}) {
-        this.loading = true;
-        getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
-          const data = res.data.data;
-          this.page.total = data.total;
-          this.data = data.records;
-          this.loading = false;
-          this.selectionClear();
-        });
+        // this.loading = true;
+        // getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
+        //   const data = res.data.data;
+        //   this.page.total = data.total;
+        //   this.data = data.records;
+        //   this.loading = false;
+        //   this.selectionClear();
+        // });
       }
     }
   };