Browse Source

fix:修补监审文书号接口返回数据不显示的bug

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

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

@@ -546,8 +546,8 @@
             ...this.searchForm,
           }
           const response = await getData(params)
-          this.tableData = response.value.records || []
-          this.total = response.value.total || 0
+          this.tableData = response.rows || []
+          this.total = response.total || 0
           this.fetchRegionNames(this.tableData, 'areaCode')
         } catch (error) {
           console.error('获取数据失败:', error)