增加开启自动候补

This commit is contained in:
筱野
2025-08-18 23:34:24 +08:00
parent 4dea0f7b29
commit 3c91ee0e88
19 changed files with 629 additions and 190 deletions

View File

@@ -143,8 +143,11 @@ export const publishBallFormSchema: FormFieldConfig[] = [
placeholder: '请选择开始时间',
required: true,
props: {
min: 2.0,
max: 4.0,
showTitle: false,
className: 'ntrp-range',
step: 0.5,
min: 1.0,
max: 5.0,
}
},
{
@@ -165,11 +168,15 @@ export const publishBallFormSchema: FormFieldConfig[] = [
},
{
key: 'autoDegrade',
label: '开启自动候补逻辑',
label: '',
type: FieldType.CHECKBOX,
placeholder: '开启自动候补逻辑',
required: true,
description: '开启后,当活动人数不足时,系统会自动将活动状态改为“候补”,并通知用户。',
required: true,
props:{
subTitle: '开启自动候补逻辑',
showToast: true,
description: '开启后,当活动人数不足时,系统会自动将活动状态改为“候补”,并通知用户。',
},
rules: [
{ required: true, message: '请选择开启自动候补逻辑' }
]