田源
2023-11-06 bf1e938e3111404d63e046df3a2403bbd7001931
主数据分页完善
已修改1个文件
9 ■■■■■ 文件已修改
Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
@@ -693,25 +693,24 @@
      });
      const endTime = performance.now();
      this.elapsedTime = Math.floor(endTime - startTime) * 1;
      console.log(this.elapsedTime)
      this.page.total = res.data.total;
      this.data = res.data.data;
      this.tableData = res.data.data;
    },
    async handleSizeChange(val) {
      this.isLoading = true;
      await this.CrudRend();
      this.page.pageSize = val;
      this.$emit("pageSize", val);
      this.isLoading = true;
      await this.CrudRend();
      this.isLoading = false;
    },
    async handleCurrentChange(val) {
      this.isLoading = true;
      await this.CrudRend();
      this.page.currentPage = val;
      this.$emit("currentPage", val);
      this.isLoading = true;
      await this.CrudRend();
      this.isLoading = false;
    },
    // 监听单元格点击事件并存储正在编辑的行