From 1f23d682de6f95be7276103ccfce500d7317f688 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=85=81=E6=9E=9E?= <3422692813@qq.com> Date: Mon, 18 Nov 2024 16:49:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inspection/cw/inspectionCw.vue | 30 ++++++++++++------------ src/views/partner/device.vue | 2 +- src/views/partner/file/file.vue | 4 ++-- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/views/inspection/cw/inspectionCw.vue b/src/views/inspection/cw/inspectionCw.vue index baf1e6f..7371d1b 100644 --- a/src/views/inspection/cw/inspectionCw.vue +++ b/src/views/inspection/cw/inspectionCw.vue @@ -38,20 +38,20 @@ - - - 导出 - - - - + + + + + + + + + + + + + +
@@ -396,7 +396,7 @@ export default { this.queryParams.pageNo = 1 this.queryParams.pageSize = 500 this.$modal.msgError("系统故障,联系管理员") - // const data = await exportManagement(this.queryParams) + const data = await exportManagement(this.queryParams) // this.$download.excel(data, `救援财务报表_${new Date().getTime()}.xlsx`) } catch { } finally { diff --git a/src/views/partner/device.vue b/src/views/partner/device.vue index c7d2c64..991d589 100644 --- a/src/views/partner/device.vue +++ b/src/views/partner/device.vue @@ -238,7 +238,7 @@ this.queryParams.params["endNextCheckTime"] = this.daterangeNextCheckTime[1]; } listEquInfo(this.queryParams).then(response => { - this.equInfoList = response.rows; + this.equInfoList = response.data.records; this.total = response.total; this.loading = false; }); diff --git a/src/views/partner/file/file.vue b/src/views/partner/file/file.vue index 380bee7..71bd6c5 100644 --- a/src/views/partner/file/file.vue +++ b/src/views/partner/file/file.vue @@ -232,8 +232,8 @@ this.queryParams.params["endWarnTime"] = this.daterangeWarnTime[1]; } listInspectionFile(this.queryParams).then(response => { - this.inspectionFileList = response.rows; - this.queryParams.fatherId = response.rows[0].fatherId; + this.inspectionFileList = response.data.records; + this.queryParams.fatherId = response.data.records[0].fatherId; this.total = response.total; this.loading = false; });