修改:JRZQ6F2A

This commit is contained in:
2025-12-18 18:45:09 +08:00
parent ccc9fffe89
commit 5d713e1d74
8 changed files with 442 additions and 21 deletions

View File

@@ -8,7 +8,7 @@
</div>
<!-- 详细列表在图表下方展示所有项并带颜色标识 -->
<div class="space-y-2">
<div class="space-y-2 mb-2">
<div v-for="(item, index) in detailList" :key="index" class="flex justify-between items-center text-sm">
<div class="flex items-center">
<span class="w-2 h-2 rounded-full mr-2" :style="{ backgroundColor: item.color }" />
@@ -17,8 +17,13 @@
<span class="text-[#333333] font-bold">{{ item.value }}</span>
</div>
</div>
</div>
</div>
<!-- 银行类机构申请情况近1年 / 近3个月仅在12个月tab下展示 -->
<Remark v-if="period === 'm12' && applyRemarks.bankSituation" :title="'银行类机构申请情况'"
:content="applyRemarks.bankSituation" :default-expanded="true" />
</template>
<script setup>
@@ -33,7 +38,8 @@ import {
LegendComponent
} from 'echarts/components'
import LTitle from '@/components/LTitle.vue'
import { getBankApplicationDetails, FIELD_LABELS } from '../utils/dataParser'
import Remark from '@/components/Remark.vue'
import { getBankApplicationDetails, FIELD_LABELS, getApplyRemarks } from '../utils/dataParser'
// 注册ECharts组件
use([
@@ -78,6 +84,11 @@ const bankDetails = computed(() =>
getBankApplicationDetails(props.data, props.period, props.dimension)
)
// 申请情况与建议(使用整体数据 + 当前维度)
const applyRemarks = computed(() => {
return getApplyRemarks(props.data || {}, props.dimension)
})
// 计算银行机构总次数
const bankTotal = computed(() => {
const details = bankDetails.value