|
|
@@ -573,6 +573,52 @@
|
|
|
{{ record.daily_calls_limit }}
|
|
|
</a-tag>
|
|
|
</template>
|
|
|
+ <template #aiopen_risk="{ record }">
|
|
|
+ <span v-if="!record.aiopen_risk?.applicable">-</span>
|
|
|
+ <a-popover
|
|
|
+ v-else-if="record.aiopen_risk.triggered"
|
|
|
+ position="left"
|
|
|
+ >
|
|
|
+ <a-tag bordered color="red">调用已达上限</a-tag>
|
|
|
+ <template #content>
|
|
|
+ <a-descriptions
|
|
|
+ :column="1"
|
|
|
+ size="small"
|
|
|
+ style="min-width: 320px"
|
|
|
+ >
|
|
|
+ <a-descriptions-item label="首次触发">
|
|
|
+ {{
|
|
|
+ formatDateTime(
|
|
|
+ record.aiopen_risk.first_trigger_time
|
|
|
+ )
|
|
|
+ }}
|
|
|
+ </a-descriptions-item>
|
|
|
+ <a-descriptions-item label="成功 / 请求">
|
|
|
+ {{
|
|
|
+ record.aiopen_risk
|
|
|
+ .success_count_at_trigger
|
|
|
+ }}
|
|
|
+ /
|
|
|
+ {{
|
|
|
+ record.aiopen_risk
|
|
|
+ .request_count_at_trigger
|
|
|
+ }}
|
|
|
+ </a-descriptions-item>
|
|
|
+ <a-descriptions-item label="预计释放">
|
|
|
+ {{
|
|
|
+ formatDateTime(
|
|
|
+ record.aiopen_risk.release_time
|
|
|
+ )
|
|
|
+ }}
|
|
|
+ </a-descriptions-item>
|
|
|
+ <a-descriptions-item label="原因">
|
|
|
+ {{ record.aiopen_risk.reason }}
|
|
|
+ </a-descriptions-item>
|
|
|
+ </a-descriptions>
|
|
|
+ </template>
|
|
|
+ </a-popover>
|
|
|
+ <a-tag v-else bordered color="green">正常</a-tag>
|
|
|
+ </template>
|
|
|
</a-table>
|
|
|
</a-card>
|
|
|
</div>
|
|
|
@@ -698,6 +744,13 @@
|
|
|
align: 'right',
|
|
|
width: 150,
|
|
|
},
|
|
|
+ {
|
|
|
+ title: 'AI风控',
|
|
|
+ slotName: 'aiopen_risk',
|
|
|
+ dataIndex: 'aiopen_risk',
|
|
|
+ align: 'center',
|
|
|
+ width: 140,
|
|
|
+ },
|
|
|
{
|
|
|
title: '每日收益限额',
|
|
|
slotName: 'daily_income_limit',
|