1
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
<div v-for="rule in hitRules" :key="rule.ruleId"
|
||||
class="bg-white rounded-xl p-4 border border-gray-200 relative">
|
||||
<!-- <div class="absolute top-0 right-0">
|
||||
<div class="px-2 py-1 text-xs text-white rounded-bl-xl rounded-tr-xl bg-orange-500">
|
||||
<div class="px-2 py-1 text-sm text-white rounded-bl-xl rounded-tr-xl bg-orange-500">
|
||||
权重: {{ rule.weight }}
|
||||
</div>
|
||||
</div> -->
|
||||
@@ -49,7 +49,7 @@
|
||||
medium: '严重逾期',
|
||||
high: '无法收回',
|
||||
}" :key="key"
|
||||
class="px-2 py-3 text-center cursor-pointer transition-all duration-300 font-medium text-xs sm:text-sm relative border-b-2"
|
||||
class="px-2 py-3 text-center cursor-pointer transition-all duration-300 font-medium text-sm sm:text-sm relative border-b-2"
|
||||
:class="[
|
||||
key === 'summary'
|
||||
? activeTab === key
|
||||
@@ -73,7 +73,7 @@
|
||||
summaryData.byRiskLevel &&
|
||||
summaryData.byRiskLevel.find(level => level.id === key && level.triggered > 0)
|
||||
" :class="[
|
||||
'absolute -top-1 -right-1 inline-flex items-center justify-center w-4 h-4 text-xs font-bold leading-none text-white rounded-full',
|
||||
'absolute -top-1 -right-1 inline-flex items-center justify-center w-4 h-4 text-sm font-bold leading-none text-white rounded-full',
|
||||
key === 'low' ? 'bg-blue-500' : key === 'medium' ? 'bg-orange-500' : 'bg-red-500',
|
||||
]">
|
||||
{{summaryData.byRiskLevel.find(level => level.id === key).triggered}}
|
||||
@@ -97,7 +97,7 @@
|
||||
]" @click="handleRiskLevelClick(levelSummary.id)">
|
||||
<div class="absolute top-0 right-0">
|
||||
<div :class="[
|
||||
'px-2 py-1 text-xs text-white rounded-bl-xl rounded-tr-xl',
|
||||
'px-2 py-1 text-sm text-white rounded-bl-xl rounded-tr-xl',
|
||||
levelSummary.triggered > 0
|
||||
? levelSummary.id === 'low'
|
||||
? 'bg-blue-500'
|
||||
@@ -125,7 +125,7 @@
|
||||
</div>
|
||||
<div class="mt-3 flex items-end justify-between">
|
||||
<div>
|
||||
<p class="text-xs text-gray-600">命中项</p>
|
||||
<p class="text-sm text-gray-600">命中项</p>
|
||||
<p class="text-xl font-bold" :class="levelSummary.triggered > 0
|
||||
? levelSummary.id === 'low'
|
||||
? 'text-blue-600'
|
||||
@@ -138,7 +138,7 @@
|
||||
</p>
|
||||
</div>
|
||||
<button
|
||||
class="text-xs px-3 py-1.5 rounded-full focus:outline-none transition-all duration-300"
|
||||
class="text-sm px-3 py-1.5 rounded-full focus:outline-none transition-all duration-300"
|
||||
:class="levelSummary.id === 'low'
|
||||
? 'bg-blue-100 text-blue-600 hover:bg-blue-200'
|
||||
: levelSummary.id === 'medium'
|
||||
@@ -162,8 +162,8 @@
|
||||
{{ typeSummary.label }}
|
||||
</div>
|
||||
<div class="flex items-center space-x-1">
|
||||
<span class="text-xs text-gray-500">命中项</span>
|
||||
<span class="text-xs font-medium px-1.5 py-0.5 rounded-full" :class="[
|
||||
<span class="text-sm text-gray-500">命中项</span>
|
||||
<span class="text-sm font-medium px-1.5 py-0.5 rounded-full" :class="[
|
||||
typeSummary.triggered > 0
|
||||
? getRateColor(typeSummary.triggered, typeSummary.total) === 'red'
|
||||
? 'bg-red-100 text-red-700'
|
||||
@@ -174,8 +174,8 @@
|
||||
]">
|
||||
{{ typeSummary.triggered }}
|
||||
</span>
|
||||
<span class="text-xs text-gray-500">/</span>
|
||||
<span class="text-xs text-gray-500">{{ typeSummary.total }}</span>
|
||||
<span class="text-sm text-gray-500">/</span>
|
||||
<span class="text-sm text-gray-500">{{ typeSummary.total }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="w-full h-2 bg-gray-100 rounded-full mt-2 overflow-hidden">
|
||||
@@ -225,10 +225,10 @@
|
||||
</span>
|
||||
</div>
|
||||
<div class="flex flex-col">
|
||||
<h4 class="text-xs font-medium text-gray-900 truncate max-w-[100px]">
|
||||
<h4 class="text-sm font-medium text-gray-900 truncate max-w-[100px]">
|
||||
{{ institutionSummary.label }}
|
||||
</h4>
|
||||
<div class="flex items-center mt-1 text-xs text-gray-500">
|
||||
<div class="flex items-center mt-1 text-sm text-gray-500">
|
||||
<span>命中项:{{ institutionSummary.triggered }}/{{ institutionSummary.total
|
||||
}}</span>
|
||||
</div>
|
||||
@@ -259,7 +259,7 @@
|
||||
">
|
||||
{{ tabConfigs[activeTab].title }}
|
||||
</h3>
|
||||
<p class="text-xs text-gray-600 mt-1">
|
||||
<p class="text-sm text-gray-600 mt-1">
|
||||
{{ tabConfigs[activeTab].description }}
|
||||
</p>
|
||||
</div>
|
||||
@@ -283,7 +283,7 @@
|
||||
]">
|
||||
<div class="absolute top-0 right-0">
|
||||
<div :class="[
|
||||
'px-2 py-1 text-xs text-white rounded-bl-xl rounded-tr-xl',
|
||||
'px-2 py-1 text-sm text-white rounded-bl-xl rounded-tr-xl',
|
||||
item.isTriggered
|
||||
? item.levelType === 'low'
|
||||
? 'bg-blue-500'
|
||||
@@ -306,7 +306,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="grid grid-cols-2 gap-2 text-xs mt-3">
|
||||
<div class="grid grid-cols-2 gap-2 text-sm mt-3">
|
||||
<div>
|
||||
<span class="text-gray-500">发生次数:</span>
|
||||
<span
|
||||
@@ -349,7 +349,7 @@
|
||||
]">
|
||||
<div class="absolute top-0 right-0">
|
||||
<div :class="[
|
||||
'px-2 py-1 text-xs text-white rounded-bl-xl rounded-tr-xl',
|
||||
'px-2 py-1 text-sm text-white rounded-bl-xl rounded-tr-xl',
|
||||
item.isTriggered
|
||||
? item.levelType === 'low'
|
||||
? 'bg-blue-500'
|
||||
@@ -372,7 +372,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="grid grid-cols-2 gap-2 text-xs mt-3">
|
||||
<div class="grid grid-cols-2 gap-2 text-sm mt-3">
|
||||
<div>
|
||||
<span class="text-gray-500">发生次数:</span>
|
||||
<span
|
||||
|
||||
Reference in New Issue
Block a user