feat(admin): 支持模板页码和题目类型细分,优化评分界面
- 在模板详情页添加页码(PageNo)字段,支持模板按页管理 - 将汉字听写和成语题型细分为多个子类型,提升题目分类精度 - 重构结果详情页的评分界面,区分客观题(网格布局)和主观题(分屏布局) - 添加AI评分推荐和人工校准功能,支持分数手动调整和快捷打分 - 实现活动复制功能,优化题目排序逻辑和界面间距 - 新增评委打分和状态更新接口,完善评分数据持久化机制
This commit is contained in:
16
apps/admin/src/typings/api/Competition.d.ts
vendored
16
apps/admin/src/typings/api/Competition.d.ts
vendored
@ -38,13 +38,15 @@ declare namespace Api {
|
||||
type QuestionTimeType = 5 | 10 | 15 | 20 | 30 | 45 | 60 | 90 /** 5s | 10s | 15s | 20s | 30s | 45s | 60s | 90s */
|
||||
|
||||
/** question template id */
|
||||
type QuestionCategoryName =
|
||||
| 'ChineseCharacterDictation' // 汉字听写-提示 (jiu)
|
||||
| 'CharacterRadicalAddition' // 汉字加一加 (车)
|
||||
| 'WordDictation' // 词语听写 (zhi re)
|
||||
| 'IdiomWriting' // 成语-文字要求 (反义字)
|
||||
// | 'TEMPLATE_IDIOM_IMAGE' // 成语-看图
|
||||
| 'PoetryComprehension' // 诗词理解-选择题
|
||||
type QuestionCategoryName =
|
||||
| 'ChineseCharacterDictation1' // 汉字听写-提示 (jiu表示小鸟的叫声)
|
||||
| 'ChineseCharacterDictation2' // 根据拼音写汉字-提示 (tang)
|
||||
| 'CharacterRadicalAddition' // 汉字加一加 (车)
|
||||
| 'WordDictation' // 词语听写 (zhi re)
|
||||
| 'IdiomWriting1' // 成语-文字要求 (反义字)
|
||||
| 'IdiomWriting2' // 成语-文字要求 (看图写成语)
|
||||
// | 'TEMPLATE_IDIOM_IMAGE' // 成语-看图
|
||||
| 'PoetryComprehension' // 诗词理解-选择题
|
||||
|
||||
/** question score type */
|
||||
type QuestionScoreType = 0 | 1 /** 固定分数 | 答题个数 */
|
||||
|
||||
2
apps/admin/src/typings/api/template.d.ts
vendored
2
apps/admin/src/typings/api/template.d.ts
vendored
@ -46,6 +46,8 @@ declare namespace Api {
|
||||
BackGroundUrl: string
|
||||
/** template content */
|
||||
TempContent: string
|
||||
/** page number */
|
||||
PageNo: string
|
||||
/** competition id */
|
||||
CompetitionId?: number
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user