Commit 98dec08315d0299543e6410add56a49194cb306a
1 parent
ab315758
复制试卷问题,题干列表样式,题目解析上传问题
Showing
22 changed files
with
20 additions
and
20 deletions
public/Temp/js/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff
0 → 100644
No preview for this file type
public/Temp/js/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff
0 → 100644
No preview for this file type
public/Temp/js/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff
0 → 100644
No preview for this file type
public/Temp/js/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff
0 → 100644
No preview for this file type
public/Temp/js/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff
0 → 100644
No preview for this file type
public/Temp/js/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff
0 → 100644
No preview for this file type
public/Temp/js/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff
0 → 100644
No preview for this file type
public/Temp/js/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff
0 → 100644
No preview for this file type
public/Temp/js/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff
0 → 100644
No preview for this file type
public/Temp/js/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff
0 → 100644
No preview for this file type
public/Temp/js/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff
0 → 100644
No preview for this file type
public/Temp/js/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff
0 → 100644
No preview for this file type
public/Temp/js/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff
0 → 100644
No preview for this file type
public/Temp/js/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff
0 → 100644
No preview for this file type
public/Temp/js/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff
0 → 100644
No preview for this file type
public/Temp/js/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff
0 → 100644
No preview for this file type
public/Temp/js/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff
0 → 100644
No preview for this file type
public/Temp/js/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff
0 → 100644
No preview for this file type
src/views/examinationPaper/add.vue
| @@ -966,16 +966,17 @@ | @@ -966,16 +966,17 @@ | ||
| 966 | </div> | 966 | </div> |
| 967 | <div class="question-box"> | 967 | <div class="question-box"> |
| 968 | <template v-for="(question, index) in form.questionList"> | 968 | <template v-for="(question, index) in form.questionList"> |
| 969 | - <div | ||
| 970 | - class="screenshot-box" | ||
| 971 | - v-for="(subQuestions, indexs) in question.subQuestions" | ||
| 972 | - :key="index + '-' + indexs" | ||
| 973 | - > | ||
| 974 | - <iframe | ||
| 975 | - class="screenshot" | 969 | + <div v-for="(subQuestions, indexs) in question.subQuestions"> |
| 970 | + <div | ||
| 971 | + class="screenshot-box" | ||
| 976 | v-if="subQuestions.screenshot" | 972 | v-if="subQuestions.screenshot" |
| 977 | - :src="subQuestions.screenshot" | ||
| 978 | - ></iframe> | 973 | + :key="index + '-' + indexs" |
| 974 | + > | ||
| 975 | + <iframe | ||
| 976 | + class="screenshot" | ||
| 977 | + :src="subQuestions.screenshot" | ||
| 978 | + ></iframe> | ||
| 979 | + </div> | ||
| 979 | </div> | 980 | </div> |
| 980 | </template> | 981 | </template> |
| 981 | </div> | 982 | </div> |
src/views/examinationPaper/addQs.vue
| @@ -454,15 +454,13 @@ | @@ -454,15 +454,13 @@ | ||
| 454 | </div> | 454 | </div> |
| 455 | <div class="question-box"> | 455 | <div class="question-box"> |
| 456 | <template v-for="question in form.questionList"> | 456 | <template v-for="question in form.questionList"> |
| 457 | - <div | ||
| 458 | - class="screenshot-box" | ||
| 459 | - v-for="subQuestions in question.subQuestions" | ||
| 460 | - > | ||
| 461 | - <iframe | ||
| 462 | - class="screenshot" | ||
| 463 | - v-if="subQuestions.screenshot" | ||
| 464 | - :src="subQuestions.screenshot" | ||
| 465 | - ></iframe> | 457 | + <div v-for="subQuestions in question.subQuestions"> |
| 458 | + <div class="screenshot-box" v-if="subQuestions.screenshot"> | ||
| 459 | + <iframe | ||
| 460 | + class="screenshot" | ||
| 461 | + :src="subQuestions.screenshot" | ||
| 462 | + ></iframe> | ||
| 463 | + </div> | ||
| 466 | </div> | 464 | </div> |
| 467 | </template> | 465 | </template> |
| 468 | </div> | 466 | </div> |
src/views/examinationPaper/edit.vue
| @@ -614,8 +614,8 @@ export default { | @@ -614,8 +614,8 @@ export default { | ||
| 614 | //图片上传成功 | 614 | //图片上传成功 |
| 615 | upSuccess(res, file) { | 615 | upSuccess(res, file) { |
| 616 | if (res && res.status == 0) { | 616 | if (res && res.status == 0) { |
| 617 | - this.stem.screenshot = res.data.url; | ||
| 618 | if (this.stem.type == 1) { | 617 | if (this.stem.type == 1) { |
| 618 | + this.stem.screenshot = res.data.url; | ||
| 619 | if (this.questionList[0]?.subQuestions) { | 619 | if (this.questionList[0]?.subQuestions) { |
| 620 | this.questionList[this.stem.index].subQuestions[ | 620 | this.questionList[this.stem.index].subQuestions[ |
| 621 | this.stem.indexs | 621 | this.stem.indexs |
| @@ -625,6 +625,7 @@ export default { | @@ -625,6 +625,7 @@ export default { | ||
| 625 | this.stem.screenshot; | 625 | this.stem.screenshot; |
| 626 | } | 626 | } |
| 627 | } else { | 627 | } else { |
| 628 | + this.stem.answerScreenshot = res.data.url; | ||
| 628 | if (this.questionList[0]?.subQuestions) { | 629 | if (this.questionList[0]?.subQuestions) { |
| 629 | this.questionList[this.stem.index].subQuestions[ | 630 | this.questionList[this.stem.index].subQuestions[ |
| 630 | this.stem.indexs | 631 | this.stem.indexs |
src/views/examinationPaper/index.vue
| @@ -440,7 +440,7 @@ export default { | @@ -440,7 +440,7 @@ export default { | ||
| 440 | break; | 440 | break; |
| 441 | case 2: | 441 | case 2: |
| 442 | //复制 | 442 | //复制 |
| 443 | - if (that.type == 2) { | 443 | + if (that.query.type == 2) { |
| 444 | that.toAdd({ type: 2, paperId: item.id }); | 444 | that.toAdd({ type: 2, paperId: item.id }); |
| 445 | } else { | 445 | } else { |
| 446 | that.toAddQs({ type: 2, paperId: item.id }); | 446 | that.toAddQs({ type: 2, paperId: item.id }); |