Browse Source

fix:修补被监审单位返回数据的bug

cb_luzhixia 1 tháng trước cách đây
mục cha
commit
5735cf16de
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/views/costAudit/baseInfo/auditEntityManage/index.vue

+ 2 - 2
src/views/costAudit/baseInfo/auditEntityManage/index.vue

@@ -228,8 +228,8 @@
         getAuditedUnitList(params)
           .then(async (res) => {
             this.loading = false
-            this.tableData = res.value.records || []
-            this.pagination.total = res.value.total || 0
+            this.tableData = res.rows || []
+            this.pagination.total = res.total || 0
             // 安全地预处理区域名称
             if (this.tableData && this.tableData.length > 0) {
               try {