BUG 29162

This commit is contained in:
aixianling
2022-04-18 18:22:07 +08:00
parent fb33d84784
commit 52da9be2fc

View File

@@ -2,9 +2,11 @@
<section class="loanSta mar-t16">
<ai-search-bar>
<template #left>
<ai-area-get :instance="instance" v-model="search.areaId" @change="getStaData"
:root="user.info.areaId" :clearable="false"/>
<ai-select v-model="search.organizationId" placeholder="金融机构" clearable :prop="{label:'organizationName'}"
:action='"/appfinancialorganization/list?id="+financeOrgId'
@change="page.current=1,getTableData()" :instance="instance"/>
@change="getStaData" :instance="instance"/>
</template>
</ai-search-bar>
<div class="col-row">
@@ -166,7 +168,7 @@ export default {
},
data() {
return {
search: {status: 1},
search: {},
overviews: [],
productTop10: [],
tradeTrend: [],
@@ -179,9 +181,8 @@ export default {
this.getTradeTrend()
},
getOverviews() {
let {organizationId} = this.search
this.instance.post("/appfinancialloanapply/staticFinancialLoanApplyByOrganization", null, {
params: {organizationId}
params: {...this.search}
}).then(res => {
if (res?.data) {
this.overviews = res.data
@@ -189,9 +190,8 @@ export default {
})
},
getProductTop10() {
let {organizationId} = this.search
this.instance.post("/appfinancialloanapply/queryHotFinancialProduct", null, {
params: {organizationId}
params: {...this.search}
}).then(res => {
if (res?.data) {
this.productTop10 = res.data.map(e => [e.productName, e.applyNumber])
@@ -199,9 +199,8 @@ export default {
})
},
getTradeTrend() {
let {organizationId} = this.search
this.instance.post("/appfinancialloanapply/queryFinancialLoanApplyByMonth", null, {
params: {organizationId}
params: {...this.search}
}).then(res => {
if (res?.data) {
this.tradeTrend = res.data.map(e => [e.month, e.applyNumber, e.auditNumber])