修改: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>
|
||||
|
||||
<!-- 银行类机构申请情况(近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
|
||||
|
||||
Reference in New Issue
Block a user