feat(competition): 支持决赛环节并添加加时赛管理功能
- 扩展竞赛环节类型,支持决赛环节(RoundType=3) - 新增加时赛创建功能,支持多分组队伍选择 - 添加题目库禁用/启用功能,支持批量操作 - 优化用户端竞赛流程,区分常规赛和加时赛 - 重构操作按钮组件,提高代码复用性
This commit is contained in:
10
apps/admin/src/typings/api/question.d.ts
vendored
10
apps/admin/src/typings/api/question.d.ts
vendored
@ -20,6 +20,14 @@ declare namespace Api {
|
||||
data: T[]
|
||||
}
|
||||
|
||||
/** disable question library params */
|
||||
interface DisableQuestionLibraryParams {
|
||||
/** question library id */
|
||||
Id: number
|
||||
/** is disabled 0: no 1: yes */
|
||||
IsDisabled: boolean
|
||||
}
|
||||
|
||||
/** get question library list all params */
|
||||
interface GetQuestionLibraryListAllParams {
|
||||
/** question id */
|
||||
@ -60,6 +68,8 @@ declare namespace Api {
|
||||
type: QuestionScoreType
|
||||
/** is priority 0: no 1: yes */
|
||||
IsGood: number
|
||||
/** is disabled 0: no 1: yes */
|
||||
IsDisabled: number
|
||||
}
|
||||
|
||||
/** common search params of table */
|
||||
|
||||
Reference in New Issue
Block a user