This commit is contained in:
许允枞 2024-11-18 16:49:54 +08:00
parent 8020018118
commit 1f23d682de
3 changed files with 18 additions and 18 deletions

View File

@ -38,20 +38,20 @@
</el-form-item>
</el-form>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button
type="success"
plain
icon="el-icon-download"
size="mini"
@click="handleExport"
:loading="exportLoading"
>导出
</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<!-- <el-row :gutter="10" class="mb8">-->
<!-- <el-col :span="1.5">-->
<!-- <el-button-->
<!-- type="success"-->
<!-- plain-->
<!-- icon="el-icon-download"-->
<!-- size="mini"-->
<!-- @click="handleExport"-->
<!-- :loading="exportLoading"-->
<!-- >导出-->
<!-- </el-button>-->
<!-- </el-col>-->
<!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>-->
<!-- </el-row>-->
<div style="display: flex;justify-content:right;font-weight: bold;font-size: 16px">
@ -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 {

View File

@ -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;
});

View File

@ -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;
});