|
@@ -1136,17 +1136,47 @@ export default {
|
|
|
items.forEach((itemss, indexss) => {
|
|
|
if (itemss.data && itemss.data.type) {
|
|
|
if (
|
|
|
- this.previewType &&
|
|
|
- this.previewType == "previewCheckShow" &&
|
|
|
- (JSON.parse(this.previewGroupId).length == 0 ||
|
|
|
- this.previewGroupId.indexOf(item.group_id[0]) > -1)
|
|
|
+ (this.previewType &&
|
|
|
+ this.previewType == "previewCheckShow" &&
|
|
|
+ (JSON.parse(this.previewGroupId).length == 0 ||
|
|
|
+ this.previewGroupId.indexOf(item.group_id[0]) > -1)) ||
|
|
|
+ !this.previewType
|
|
|
) {
|
|
|
- item.showSubmit = true;
|
|
|
- } else if (
|
|
|
- !this.previewType ||
|
|
|
- this.previewType != "previewCheckShow"
|
|
|
- ) {
|
|
|
- item.showSubmit = true;
|
|
|
+ if (
|
|
|
+ itemss.type != "article_chs" &&
|
|
|
+ itemss.type != "NewWord_chs" &&
|
|
|
+ itemss.type != "dialogue_article_chs" &&
|
|
|
+ itemss.type != "notes_chs" &&
|
|
|
+ itemss.type != "voice_matrix" &&
|
|
|
+ itemss.type != "upload_control_chs" &&
|
|
|
+ itemss.type != "upload_control_preview_chs" &&
|
|
|
+ itemss.type != "record_control_mini" &&
|
|
|
+ itemss.type != "record_control_normal" &&
|
|
|
+ itemss.type != "record_control_pro" &&
|
|
|
+ itemss.type != "record_control_promax" &&
|
|
|
+ itemss.type != "text_problem_chs" &&
|
|
|
+ itemss.type != "newWord_preview_chs" &&
|
|
|
+ itemss.type != "CourseStart_chs" &&
|
|
|
+ itemss.type != "tinydemo_chs" &&
|
|
|
+ itemss.type != "video_chs" &&
|
|
|
+ itemss.type != "play_record_chs" &&
|
|
|
+ itemss.type != "upload_pdf_chs" &&
|
|
|
+ itemss.type != "options_list_chs" &&
|
|
|
+ itemss.type != "sentence_listen_read_chs" &&
|
|
|
+ itemss.type != "imgage_image" &&
|
|
|
+ itemss.type != "checkbox_self_assessment_chs"
|
|
|
+ ) {
|
|
|
+ setTimeout(() => {
|
|
|
+ let BookanswerStr = JSON.stringify(
|
|
|
+ itemss.data.Bookanswer
|
|
|
+ );
|
|
|
+ let errReg = /\[JUDGE##F##JUDGE\]/g;
|
|
|
+ if (errReg.test(BookanswerStr)) {
|
|
|
+ item.showSubmit = true;
|
|
|
+ }
|
|
|
+ this.$forceUpdate();
|
|
|
+ }, 100);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
if (itemss.data && itemss.data.type == "NewWord_chs") {
|