diff --git a/src/views/paper/question/WpsPptxForm.vue b/src/views/paper/question/WpsPptxForm.vue index 4289334..7d4f4da 100644 --- a/src/views/paper/question/WpsPptxForm.vue +++ b/src/views/paper/question/WpsPptxForm.vue @@ -407,7 +407,7 @@ const formData = ref({ // 定义 pptxPoints 类型 interface PptxPoints { firstName: string; - index: string; + slideIndex: string; function: string; examName: string; examCode: string; @@ -458,7 +458,7 @@ const handleCheckChange = (data: any, _checked: boolean, _indeterminate: boolean console.log(data) const pptxPoints: PptxPoints = { firstName: '', - index: '', + slideIndex: '', function: '', examName: '', examCode: '', @@ -466,7 +466,7 @@ const handleCheckChange = (data: any, _checked: boolean, _indeterminate: boolean } if (data.functions != null && data.functions != '') { pptxPoints.firstName = chineseName.value - pptxPoints.index = textIndex.value + pptxPoints.slideIndex = textIndex.value pptxPoints.function = data.functions pptxPoints.examName = data.chineseName pptxPoints.examCode = '111' diff --git a/src/views/paper/question/WpsWordForm.vue b/src/views/paper/question/WpsWordForm.vue index 2892a1a..82c5886 100644 --- a/src/views/paper/question/WpsWordForm.vue +++ b/src/views/paper/question/WpsWordForm.vue @@ -515,9 +515,9 @@ const submitWordPoints = async () => { wordPointsInfosList = [] console.log(res) for (let i = 0; i < res.data.length; i++) { + res.data[i].scoreRate='1' var indexFlag = false for (let x = 0; x < list.value.length; x++) { - list.value[x].scoreRate='1' if (res.data[i].content == list.value[x].content) { // 如果存在相同的数据话 不进入 indexFlag = true diff --git a/src/views/paper/question/WpsXlsxForm.vue b/src/views/paper/question/WpsXlsxForm.vue index 4cdeb05..1c7bbb9 100644 --- a/src/views/paper/question/WpsXlsxForm.vue +++ b/src/views/paper/question/WpsXlsxForm.vue @@ -308,7 +308,7 @@