Commit f93e3ab1 authored by 李维's avatar 李维

补充提交表单

parent 54acf496
......@@ -8762,6 +8762,20 @@ let FormComponent = /*@__PURE__*/ (() => {
scoreConfigErr.push(`内容${hotZoneConfigIndex + 1}: 分数配置为0或者有异常`);
}
break;
// 音频播放题型
case this.AUDIO_PLAY:
// 热区配置检查
if (hotZoneConfg.linkHotZoneIndex == null || hotZoneConfg.linkHotZoneIndex == undefined || hotZoneConfg.linkHotZoneIndex < 0) {
hotZoneIndexErr.push(`内容${hotZoneConfigIndex + 1}: 关联热区为空`);
}
break;
// 视频播放题型
case this.VIDEO_PLAY:
// 热区配置检查
if (hotZoneConfg.linkHotZoneIndex == null || hotZoneConfg.linkHotZoneIndex == undefined || hotZoneConfg.linkHotZoneIndex < 0) {
hotZoneIndexErr.push(`内容${hotZoneConfigIndex + 1}: 关联热区为空`);
}
break;
// 连线组
case this.CONNECTION:
hotZoneConfg.contentList.forEach((contentItem, contentIndex) => {
......@@ -8902,6 +8916,24 @@ let FormComponent = /*@__PURE__*/ (() => {
}
});
break;
// 涂色题(评分)
case this.DRAWING_CHECK:
// 热区配置检查
if (hotZoneConfg.linkHotZoneIndex == null || hotZoneConfg.linkHotZoneIndex == undefined || hotZoneConfg.linkHotZoneIndex < 0) {
hotZoneIndexErr.push(`内容${hotZoneConfigIndex + 1}: 关联热区为空`);
}
// 结果显示热区配置检查
if (hotZoneConfg.linkResultShowHotZoneIndex == null || hotZoneConfg.linkResultShowHotZoneIndex == undefined || hotZoneConfg.linkResultShowHotZoneIndex < 0) {
hotZoneIndexErr.push(`内容${hotZoneConfigIndex + 1}: 结果显示热区为空`);
}
// 分数检查
if (hotZoneConfg.score != null && !isNaN(Number(hotZoneConfg.score)) && Number(hotZoneConfg.score) > 0) {
totalScore += Number(hotZoneConfg.score);
}
else {
scoreConfigErr.push(`内容${hotZoneConfigIndex + 1}: 分数配置为0或者有异常`);
}
break;
default: ;
}
}
......
This diff is collapsed.
......@@ -15636,6 +15636,24 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
scoreConfigErr.push("\u5185\u5BB9".concat(hotZoneConfigIndex + 1, ": \u5206\u6570\u914D\u7F6E\u4E3A0\u6216\u8005\u6709\u5F02\u5E38"));
}
break;
// 音频播放题型
case _this55.AUDIO_PLAY:
// 热区配置检查
if (hotZoneConfg.linkHotZoneIndex == null || hotZoneConfg.linkHotZoneIndex == undefined || hotZoneConfg.linkHotZoneIndex < 0) {
hotZoneIndexErr.push("\u5185\u5BB9".concat(hotZoneConfigIndex + 1, ": \u5173\u8054\u70ED\u533A\u4E3A\u7A7A"));
}
break;
// 视频播放题型
case _this55.VIDEO_PLAY:
// 热区配置检查
if (hotZoneConfg.linkHotZoneIndex == null || hotZoneConfg.linkHotZoneIndex == undefined || hotZoneConfg.linkHotZoneIndex < 0) {
hotZoneIndexErr.push("\u5185\u5BB9".concat(hotZoneConfigIndex + 1, ": \u5173\u8054\u70ED\u533A\u4E3A\u7A7A"));
}
break;
// 连线组
......@@ -15794,6 +15812,27 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
}
});
break;
// 涂色题(评分)
case _this55.DRAWING_CHECK:
// 热区配置检查
if (hotZoneConfg.linkHotZoneIndex == null || hotZoneConfg.linkHotZoneIndex == undefined || hotZoneConfg.linkHotZoneIndex < 0) {
hotZoneIndexErr.push("\u5185\u5BB9".concat(hotZoneConfigIndex + 1, ": \u5173\u8054\u70ED\u533A\u4E3A\u7A7A"));
} // 结果显示热区配置检查
if (hotZoneConfg.linkResultShowHotZoneIndex == null || hotZoneConfg.linkResultShowHotZoneIndex == undefined || hotZoneConfg.linkResultShowHotZoneIndex < 0) {
hotZoneIndexErr.push("\u5185\u5BB9".concat(hotZoneConfigIndex + 1, ": \u7ED3\u679C\u663E\u793A\u70ED\u533A\u4E3A\u7A7A"));
} // 分数检查
if (hotZoneConfg.score != null && !isNaN(Number(hotZoneConfg.score)) && Number(hotZoneConfg.score) > 0) {
totalScore += Number(hotZoneConfg.score);
} else {
scoreConfigErr.push("\u5185\u5BB9".concat(hotZoneConfigIndex + 1, ": \u5206\u6570\u914D\u7F6E\u4E3A0\u6216\u8005\u6709\u5F02\u5E38"));
}
break;
default:
;
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment