fix: 功能优化。

This commit is contained in:
tianyongbao
2024-06-15 15:54:31 +08:00
parent aef5c368f2
commit 291e968bf0
15 changed files with 33 additions and 41 deletions

View File

@@ -41,7 +41,7 @@
</div>
</div>
<div class="content-con" v-loading="loading">
<el-table v-loading="loading" :data="CreditQueryRecordList" @selection-change="handleSelectionChange" height="calc(100% - 0.62rem)">
<el-table v-loading="loading" :data="creditQueryRecordList" @selection-change="handleSelectionChange" height="calc(100% - 0.62rem)">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="查询日期" align="center" prop="queryDate" width="150">
<template #default="scope">
@@ -153,7 +153,7 @@ import { require } from '@/utils/require'
const { proxy } = getCurrentInstance()
const { credit_report_type, credit_query_type } = proxy.useDict('credit_report_type', 'credit_query_type')
const CreditQueryRecordList = ref([])
const creditQueryRecordList = ref([])
const open = ref(false)
const openAnalysis = ref(false)
const loading = ref(true)
@@ -221,7 +221,7 @@ function getInstitutionList() {
function getList() {
loading.value = true
listCreditQueryRecord(queryParams.value).then((response) => {
CreditQueryRecordList.value = response.rows
creditQueryRecordList.value = response.rows
total.value = response.total
loading.value = false
})