龚焕茏
2024-04-30 b76fd2fa93c2036d66e5142654cf66cf1e371531
改为连表查询
2个文件已修改
6 ■■■■ 已修改文件
src/views/system/report/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/work-order/distribute/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/report/index.vue
@@ -344,7 +344,7 @@
        this.queryParams["endAuditingTime"] = this.daterangeAuditingTime[1];
      }
      listReport(this.queryParams).then(response => {
        this.reportList = response.data;
        this.reportList = response.data.records;
        this.total = response.total;
        this.loading = false;
      });
src/views/system/work-order/distribute/index.vue
@@ -202,7 +202,7 @@
      queryParams: {
        unitId: null,
        pageNum: 1,
        pageSize: 20,
        pageSize: 10,
      },
      // 总条数
      total: 0,
@@ -266,7 +266,7 @@
      this.loading = true;
      this.selectUnit();
      distributeWorkOrder(this.queryParams).then(res => {
        this.workOrderList = res.data;
        this.workOrderList = res.data.records;
        this.total = res.total;
        this.loading = false;
      })