From ea9f17d43bd2141a96a6c655f198be7330ee9d7d Mon Sep 17 00:00:00 2001 From: zhenhui <1276357500@qq.com> Date: Tue, 3 Mar 2026 13:47:25 +0800 Subject: [PATCH] =?UTF-8?q?[=E8=89=B2=E5=AD=90=E6=B8=B8=E6=88=8F]=E5=A5=96?= =?UTF-8?q?=E6=B1=A0=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dice/lottery_config/index/index.vue | 6 +- .../index/modules/edit-dialog.vue | 111 ++++++++++++++---- .../index/modules/table-search.vue | 12 +- .../lottery_config/DiceLotteryConfigLogic.php | 2 +- .../lottery_config/DiceLotteryConfig.php | 20 ++-- .../DiceLotteryConfigValidate.php | 28 +++-- server/app/functions.php | 12 ++ 7 files changed, 148 insertions(+), 43 deletions(-) diff --git a/saiadmin-artd/src/views/plugin/dice/lottery_config/index/index.vue b/saiadmin-artd/src/views/plugin/dice/lottery_config/index/index.vue index 95a0401..363cdcb 100644 --- a/saiadmin-artd/src/views/plugin/dice/lottery_config/index/index.vue +++ b/saiadmin-artd/src/views/plugin/dice/lottery_config/index/index.vue @@ -110,9 +110,13 @@ columnsFactory: () => [ { type: 'selection' }, { prop: 'name', label: '名称' }, - { prop: 'weight', label: '权重' }, { prop: 'type', label: '奖池类型' }, { prop: 'safety_line', label: '安全线' }, + { prop: 't1_wight', label: 'T1池权重' }, + { prop: 't2_wight', label: 'T2池权重' }, + { prop: 't3_wight', label: 'T3池权重' }, + { prop: 't4_wight', label: 'T4池权重' }, + { prop: 't5_wight', label: 'T5池权重' }, { prop: 'operation', label: '操作', width: 100, fixed: 'right', useSlot: true } ] } diff --git a/saiadmin-artd/src/views/plugin/dice/lottery_config/index/modules/edit-dialog.vue b/saiadmin-artd/src/views/plugin/dice/lottery_config/index/modules/edit-dialog.vue index 9c3e483..1b44d47 100644 --- a/saiadmin-artd/src/views/plugin/dice/lottery_config/index/modules/edit-dialog.vue +++ b/saiadmin-artd/src/views/plugin/dice/lottery_config/index/modules/edit-dialog.vue @@ -2,7 +2,7 @@ - - - - + - + + + + + - + + + + + + + + + + + + + + + + + + +
+ 五个池权重总和:{{ + weightsSum + }}% / 100%(不可超过100%) +