Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
DG_FAF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
DG_FAF
Commits
f93e3ab1
Commit
f93e3ab1
authored
May 05, 2023
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补充提交表单
parent
54acf496
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
73 additions
and
2 deletions
+73
-2
main-es2015.js
form/main-es2015.js
+32
-0
main-es2015.js.map
form/main-es2015.js.map
+1
-1
main-es5.js
form/main-es5.js
+39
-0
main-es5.js.map
form/main-es5.js.map
+1
-1
No files found.
form/main-es2015.js
View file @
f93e3ab1
...
...
@@ -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
:
;
}
}
...
...
form/main-es2015.js.map
View file @
f93e3ab1
This diff is collapsed.
Click to expand it.
form/main-es5.js
View file @
f93e3ab1
...
...
@@ -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:
;
form/main-es5.js.map
View file @
f93e3ab1
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment