Explorar o código

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

cb_luzhixia hai 1 mes
pai
achega
2d00b45f3e
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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)