同步优化企业客户流程模型展示
This commit is contained in:
@@ -92,6 +92,7 @@
|
||||
<!-- 模型输出卡片 -->
|
||||
<ModelOutputDisplay
|
||||
:cust-type="detailData.custType"
|
||||
:guar-type="detailData.guarType"
|
||||
:retail-output="null"
|
||||
:corp-output="corpOutput"
|
||||
/>
|
||||
|
||||
@@ -151,8 +151,12 @@
|
||||
<thead><tr><th>模型输出结果</th><th>影响BP</th></tr></thead>
|
||||
<tbody>
|
||||
<tr v-for="(row, index) in corporateRelevanceRows" :key="`corporate-relevance-${index}`" :class="{ 'is-total-row': row.total }">
|
||||
<td><span v-if="row.summary">汇总</span><template v-else><div v-if="row.category" class="result-category">{{ row.category }}</div><div v-for="item in row.results" :key="item.label" class="result-item"><span class="result-label">{{ item.label }}</span><span class="result-value">{{ item.value }}</span></div></template></td>
|
||||
<td><span :class="row.total ? 'total-bp-value' : 'bp-value'">{{ row.bpLabel }}:{{ row.bpValue }}</span></td>
|
||||
<td><span v-if="row.summary">汇总</span><template v-else><div v-if="row.category" class="result-category">{{ row.category }}</div><div v-for="item in row.results" :key="item.label" class="result-item"><span class="result-label">{{ item.label }}</span><span v-if="item.showValue !== false" class="result-value">{{ item.value }}</span></div></template></td>
|
||||
<td>
|
||||
<span :class="row.total ? 'total-bp-value' : 'bp-value'">
|
||||
<template v-if="row.bpLabel">{{ row.bpLabel }}:</template>{{ row.bpValue }}
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -275,15 +279,13 @@ export default {
|
||||
},
|
||||
corporateRelevanceRows() {
|
||||
return [
|
||||
this.groupedAnalysisRow([
|
||||
this.resultItem('中间业务_企业_企业互联', this.corpOutput.midEntConnect),
|
||||
this.resultItem('中间业务_企业_有效价值客户', this.corpOutput.midEntEffect),
|
||||
this.resultItem('中间业务_企业_国际业务', this.corpOutput.midEntInter),
|
||||
this.resultItem('中间业务_企业_承兑', this.corpOutput.midEntAccept),
|
||||
this.resultItem('中间业务_企业_贴现', this.corpOutput.midEntDiscount),
|
||||
this.resultItem('中间业务_企业_电费代扣', this.corpOutput.midEntEleDdc),
|
||||
this.resultItem('中间业务_企业_水费代扣', this.corpOutput.midEntWaterDdc)
|
||||
], 'BP_中间业务', this.corpOutput.bpMid, false, '中间业务'),
|
||||
this.middleBusinessRow('中间业务_企业_企业互联', this.corpOutput.midEntConnect),
|
||||
this.middleBusinessRow('中间业务_企业_有效价值客户', this.corpOutput.midEntEffect),
|
||||
this.middleBusinessRow('中间业务_企业_国际业务', this.corpOutput.midEntInter),
|
||||
this.middleBusinessRow('中间业务_企业_承兑', this.corpOutput.midEntAccept),
|
||||
this.middleBusinessRow('中间业务_企业_贴现', this.corpOutput.midEntDiscount),
|
||||
this.middleBusinessRow('中间业务_企业_电费代扣', this.corpOutput.midEntEleDdc),
|
||||
this.middleBusinessRow('中间业务_企业_水费代扣', this.corpOutput.midEntWaterDdc),
|
||||
this.groupedAnalysisRow([
|
||||
this.resultItem('代发工资户数', this.corpOutput.payroll),
|
||||
this.resultItem('存量贷款余额', this.corpOutput.invLoanAmount)
|
||||
@@ -299,21 +301,27 @@ export default {
|
||||
]
|
||||
},
|
||||
corporateRiskRows() {
|
||||
return [
|
||||
const rows = [
|
||||
this.analysisRow('借款期限', this.corpOutput.loanTerm, 'BP_贷款期限', this.corpOutput.bpLoanTerm),
|
||||
this.analysisRow('申请金额', this.corpOutput.applyAmt, 'BP_贷款额度', this.corpOutput.bpLoanAmount),
|
||||
this.groupedAnalysisRow([
|
||||
this.analysisRow('申请金额', this.corpOutput.applyAmt, 'BP_贷款额度', this.corpOutput.bpLoanAmount)
|
||||
]
|
||||
if (this.guarType === '抵押' || this.guarType === '质押') {
|
||||
rows.push(this.groupedAnalysisRow([
|
||||
this.resultItem('抵质押类型', this.corpOutput.collType),
|
||||
this.resultItem('抵质押物三方所有', this.formatBoolean(this.corpOutput.collThirdParty))
|
||||
], 'BP_抵押物', this.corpOutput.bpCollateral),
|
||||
], 'BP_抵押物', this.corpOutput.bpCollateral))
|
||||
}
|
||||
rows.push(
|
||||
this.groupedAnalysisRow([
|
||||
this.resultItem('灰名单客户', this.formatBoolean(this.corpOutput.greyCust)),
|
||||
this.resultItem('黑名单客户', this.formatBoolean(this.corpOutput.blackCust)),
|
||||
this.resultItem('本金逾期', this.formatBoolean(this.corpOutput.prinOverdue)),
|
||||
this.resultItem('利息逾期', this.corpOutput.interestOverdue)
|
||||
this.resultItem('黑名单客户', this.formatBoolean(this.corpOutput.blackCust))
|
||||
], 'BP_灰名单与逾期', this.corpOutput.bpGreyOverdue),
|
||||
this.analysisRow('本金逾期', this.formatBoolean(this.corpOutput.prinOverdue), 'BP_本金逾期', this.corpOutput.bpPrinOverdue),
|
||||
this.analysisRow('利息逾期', this.corpOutput.interestOverdue, 'BP_利息逾期', this.corpOutput.bpIinterestOverdue),
|
||||
this.analysisRow('信用卡逾期', this.formatBoolean(this.corpOutput.cardOverdue), 'BP_信用卡逾期', this.corpOutput.bpCardOverdue),
|
||||
this.totalRow('TOTAL_BP_风险度', this.corpOutput.totalBpRisk)
|
||||
]
|
||||
)
|
||||
return rows
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user