【新增】 PPT出题页面更新

This commit is contained in:
dlaren
2025-08-16 16:36:15 +08:00
parent f148ea9938
commit 51799eb43b

View File

@@ -407,7 +407,7 @@ const formData = ref({
// 定义 pptxPoints 类型 // 定义 pptxPoints 类型
interface PptxPoints { interface PptxPoints {
firstName: string; firstName: string;
index: string; slideIndex: string;
function: string; function: string;
examName: string; examName: string;
examCode: string; examCode: string;
@@ -458,7 +458,7 @@ const handleCheckChange = (data: any, _checked: boolean, _indeterminate: boolean
console.log(data) console.log(data)
const pptxPoints: PptxPoints = { const pptxPoints: PptxPoints = {
firstName: '', firstName: '',
index: '', slideIndex: '',
function: '', function: '',
examName: '', examName: '',
examCode: '', examCode: '',
@@ -466,7 +466,7 @@ const handleCheckChange = (data: any, _checked: boolean, _indeterminate: boolean
} }
if (data.functions != null && data.functions != '') { if (data.functions != null && data.functions != '') {
pptxPoints.firstName = chineseName.value pptxPoints.firstName = chineseName.value
pptxPoints.index = textIndex.value pptxPoints.slideIndex = textIndex.value
pptxPoints.function = data.functions pptxPoints.function = data.functions
pptxPoints.examName = data.chineseName pptxPoints.examName = data.chineseName
pptxPoints.examCode = '111' pptxPoints.examCode = '111'