feat(admin,api,player): smart score solver, disable settlement UI, misc fixes

This commit is contained in:
2026-06-04 17:56:32 +08:00
parent 9fcee31a9a
commit 6264b8806c
12 changed files with 356 additions and 16 deletions

View File

@@ -59,6 +59,8 @@ const preview = ref<Record<string, unknown> | null>(null);
const stats = ref<SettlementBetStats | null>(null);
const statsLoading = ref(false);
// 智能比分推荐已暂时关闭(后端 smart-score.solver.ts 保留,恢复时接回 UI 与 POST /settlement/smart-score
const matchId = computed(() => String(route.params.id ?? ''));
const statusSummary = computed(() => {
@@ -263,6 +265,11 @@ onMounted(() => {
</div>
</div>
<div class="action-row">
<!-- 智能比分入口已关闭
<el-button size="small" type="warning" plain @click="openSmartDialog">
{{ t('settlement.smart.btn') }}
</el-button>
-->
<el-button size="small" @click="recordScore">{{ t('settlement.record_score') }}</el-button>
<el-button type="primary" size="small" @click="previewSettlement">
{{ t('settlement.preview_btn') }}
@@ -272,6 +279,8 @@ onMounted(() => {
</div>
</el-card>
<!-- 智能比分弹窗已关闭 Settlement.vue git 历史 -->
<el-card v-if="preview" class="preview-card" shadow="never">
<div class="preview-title">{{ t('settlement.preview_title') }}</div>
<el-row :gutter="20">
@@ -665,4 +674,8 @@ onMounted(() => {
.confirm-btn {
margin-top: 24px;
}
/* 智能比分弹窗样式(功能已关闭,保留便于恢复)
.smart-hint { ... }
*/
</style>