修改:JRZQ6F2A
This commit is contained in:
@@ -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>
|
||||
|
||||
<!-- 银行类机构申请建议(仅在12个月tab下展示) -->
|
||||
<Remark v-if="period === 'm12' && applyRemarks.bankAdvice" :title="'银行类机构申请建议'" :content="applyRemarks.bankAdvice"
|
||||
:default-expanded="false" />
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
@@ -33,7 +38,8 @@ import {
|
||||
LegendComponent
|
||||
} from 'echarts/components'
|
||||
import LTitle from '@/components/LTitle.vue'
|
||||
import { getBankOrgDetails, FIELD_LABELS } from '../utils/dataParser'
|
||||
import Remark from '@/components/Remark.vue'
|
||||
import { getBankOrgDetails, FIELD_LABELS, getApplyRemarks } from '../utils/dataParser'
|
||||
|
||||
// 注册ECharts组件
|
||||
use([
|
||||
@@ -78,6 +84,11 @@ const bankOrgs = computed(() =>
|
||||
getBankOrgDetails(props.data, props.period, props.dimension)
|
||||
)
|
||||
|
||||
// 申请情况与建议(使用整体数据 + 当前维度)
|
||||
const applyRemarks = computed(() => {
|
||||
return getApplyRemarks(props.data || {}, props.dimension)
|
||||
})
|
||||
|
||||
// 计算银行机构总数
|
||||
const bankTotal = computed(() => {
|
||||
const orgs = bankOrgs.value
|
||||
|
||||
Reference in New Issue
Block a user