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