Jelajahi Sumber

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

cb_luzhixia 1 bulan lalu
induk
melakukan
2d00b45f3e
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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,
             ...this.searchForm,
           }
           }
           const response = await getData(params)
           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')
           this.fetchRegionNames(this.tableData, 'areaCode')
         } catch (error) {
         } catch (error) {
           console.error('获取数据失败:', error)
           console.error('获取数据失败:', error)