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-item>
</el-form> </el-form>
<el-row :gutter="10" class="mb8"> <!-- <el-row :gutter="10" class="mb8">-->
<el-col :span="1.5"> <!-- <el-col :span="1.5">-->
<el-button <!-- <el-button-->
type="success" <!-- type="success"-->
plain <!-- plain-->
icon="el-icon-download" <!-- icon="el-icon-download"-->
size="mini" <!-- size="mini"-->
@click="handleExport" <!-- @click="handleExport"-->
:loading="exportLoading" <!-- :loading="exportLoading"-->
>导出 <!-- >导出-->
</el-button> <!-- </el-button>-->
</el-col> <!-- </el-col>-->
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> <!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>-->
</el-row> <!-- </el-row>-->
<div style="display: flex;justify-content:right;font-weight: bold;font-size: 16px"> <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.pageNo = 1
this.queryParams.pageSize = 500 this.queryParams.pageSize = 500
this.$modal.msgError("系统故障,联系管理员") this.$modal.msgError("系统故障,联系管理员")
// const data = await exportManagement(this.queryParams) const data = await exportManagement(this.queryParams)
// this.$download.excel(data, `_${new Date().getTime()}.xlsx`) // this.$download.excel(data, `_${new Date().getTime()}.xlsx`)
} catch { } catch {
} finally { } finally {

View File

@ -238,7 +238,7 @@
this.queryParams.params["endNextCheckTime"] = this.daterangeNextCheckTime[1]; this.queryParams.params["endNextCheckTime"] = this.daterangeNextCheckTime[1];
} }
listEquInfo(this.queryParams).then(response => { listEquInfo(this.queryParams).then(response => {
this.equInfoList = response.rows; this.equInfoList = response.data.records;
this.total = response.total; this.total = response.total;
this.loading = false; this.loading = false;
}); });

View File

@ -232,8 +232,8 @@
this.queryParams.params["endWarnTime"] = this.daterangeWarnTime[1]; this.queryParams.params["endWarnTime"] = this.daterangeWarnTime[1];
} }
listInspectionFile(this.queryParams).then(response => { listInspectionFile(this.queryParams).then(response => {
this.inspectionFileList = response.rows; this.inspectionFileList = response.data.records;
this.queryParams.fatherId = response.rows[0].fatherId; this.queryParams.fatherId = response.data.records[0].fatherId;
this.total = response.total; this.total = response.total;
this.loading = false; this.loading = false;
}); });