Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
罗超
confucius
Commits
b9a0b047
Commit
b9a0b047
authored
Aug 19, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
370b8363
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
302 additions
and
154 deletions
+302
-154
paperEdit.vue
src/pages/exam/paperEdit.vue
+302
-154
No files found.
src/pages/exam/paperEdit.vue
View file @
b9a0b047
...
...
@@ -869,186 +869,334 @@
//验证
validateType
()
{
var
result
=
true
;
for
(
let
k
=
0
;
k
<
this
.
DataObj
.
GroupList
.
length
;
k
++
)
{
//连线题
if
(
this
.
DataObj
.
GroupList
[
k
].
QuestionTypeKey
==
'matching'
)
{
for
(
let
j
=
0
;
j
<
this
.
DataObj
.
GroupList
[
k
].
DetailsList
.
length
;
j
++
)
{
if
(
this
.
DataObj
.
GroupList
[
k
].
DetailsList
[
j
].
Title
==
''
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`
${
this
.
DataObj
.
GroupList
[
k
].
GroupName
}
第
${
j
+
1
}
题标题为空!`
})
result
=
false
;
return
;
if
(
this
.
DataObj
&&
this
.
DataObj
.
GroupList
&&
this
.
DataObj
.
GroupList
.
length
>
0
)
{
for
(
let
k
=
0
;
k
<
this
.
DataObj
.
GroupList
.
length
;
k
++
)
{
var
gIndex
=
k
;
var
newKey
=
this
.
DataObj
.
GroupList
[
k
].
QuestionTypeKey
;
var
gName
=
this
.
DataObj
.
GroupList
[
k
].
GroupName
;
var
detailsList
=
this
.
DataObj
.
GroupList
[
k
].
DetailsList
;
var
retMessage
=
""
;
switch
(
newKey
)
{
//单选题
case
"single"
:
retMessage
=
this
.
chooseValidate
(
gName
,
detailsList
);
break
;
//多选题
case
'multiple'
:
retMessage
=
this
.
chooseValidate
(
gName
,
detailsList
);
break
;
//填空题
case
"fill-in"
:
retMessage
=
this
.
fillInValidate
(
gName
,
detailsList
);
break
;
//判断题
case
"judge"
:
retMessage
=
this
.
judgeValidate
(
gName
,
detailsList
);
break
;
//简答题
case
"short-answer"
:
retMessage
=
this
.
shortanswerValidate
(
gName
,
detailsList
);
break
;
//名词解释
case
"noun-explanation"
:
retMessage
=
this
.
shortanswerValidate
(
gName
,
detailsList
);
break
;
//论述题
case
"essay-question"
:
retMessage
=
this
.
shortanswerValidate
(
gName
,
detailsList
);
break
;
//计算题
case
"calculation"
:
retMessage
=
this
.
shortanswerValidate
(
gName
,
detailsList
);
break
;
//分录题
case
"entry-problem"
:
retMessage
=
this
.
fillInValidate
(
gName
,
detailsList
);
break
;
//资料题
case
"data-question"
:
retMessage
=
this
.
fillInValidate
(
gName
,
detailsList
);
break
;
//连线题
case
"matching"
:
retMessage
=
this
.
matchingValidate
(
gName
,
detailsList
);
break
;
//排序题
case
"sorting-problem"
:
retMessage
=
this
.
sortingproblemValidate
(
gName
,
detailsList
);
break
;
//完型填空
case
"cloze"
:
retMessage
=
this
.
clozeValidate
(
gName
,
detailsList
);
break
;
//阅读理解
case
"reading-comprehensio"
:
retMessage
=
this
.
readingcomprehensioValidate
(
gName
,
detailsList
);
break
;
//口语题
case
"spoken"
:
retMessage
=
this
.
shortanswerValidate
(
gName
,
detailsList
);
break
;
//听力题
case
"listening"
:
retMessage
=
this
.
readingcomprehensioValidate
(
gName
,
detailsList
);
break
;
//公用选项题
case
"sharing-choose"
:
retMessage
=
this
.
sharingchooseValidate
(
gName
,
detailsList
);
break
;
//其它题
case
"other"
:
retMessage
=
this
.
shortanswerValidate
(
gName
,
detailsList
);
break
;
//单选题-数字
case
"single-number"
:
retMessage
=
this
.
chooseValidate
(
gName
,
detailsList
);
break
;
}
if
(
retMessage
!=
''
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
retMessage
});
result
=
false
;
return
;
}
}
}
return
result
;
},
//【单选题、多选题、数字选择题】验证
chooseValidate
(
gName
,
detailsList
)
{
var
message
=
""
;
//单选题 多选题
if
(
detailsList
&&
detailsList
.
length
>
0
)
{
for
(
let
i
=
0
;
i
<
detailsList
.
length
;
i
++
)
{
var
Num
=
0
;
if
(
detailsList
[
i
].
Title
==
''
)
{
message
=
`请填写【
${
gName
}
】第
${
i
+
1
}
题 问题内容!`
;
return
message
;
}
for
(
let
j
=
0
;
j
<
detailsList
[
i
].
QuestionContentObj
.
length
;
j
++
)
{
if
(
detailsList
[
i
].
QuestionContentObj
[
j
].
Content
==
''
)
{
message
=
`请填写【
${
gName
}
】第
${
i
+
1
}
题,选项
${
detailsList
[
i
].
QuestionContentObj
[
j
].
Name
}
内容!`
;
return
message
;
}
if
(
this
.
DataObj
.
GroupList
[
k
].
DetailsList
[
j
].
QuestionContentObj
.
length
>
0
)
{
for
(
let
p
=
0
;
p
<
this
.
DataObj
.
GroupList
[
k
].
DetailsList
[
j
].
QuestionContentObj
[
0
].
length
;
p
++
)
{
if
(
this
.
DataObj
.
GroupList
[
k
].
DetailsList
[
j
].
QuestionContentObj
[
0
][
p
].
Content
==
''
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`
${
this
.
DataObj
.
GroupList
[
k
].
GroupName
}
第
${
j
+
1
}
题第一组第
${
p
+
1
}
行数据内容为空!`
})
result
=
false
;
return
;
}
}
if
(
detailsList
[
i
].
QuestionContentObj
[
j
].
IsAnswer
)
{
Num
++
}
if
(
this
.
DataObj
.
GroupList
[
k
].
DetailsList
[
j
].
QuestionContentObj
.
length
>
0
)
{
for
(
let
p
=
0
;
p
<
this
.
DataObj
.
GroupList
[
k
].
DetailsList
[
j
].
QuestionContentObj
[
1
].
length
;
p
++
)
{
if
(
this
.
DataObj
.
GroupList
[
k
].
DetailsList
[
j
].
QuestionContentObj
[
1
][
p
].
Content
==
''
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`
${
this
.
DataObj
.
GroupList
[
k
].
GroupName
}
第
${
j
+
1
}
题第二组第
${
p
+
1
}
行数据内容为空!`
})
result
=
false
;
return
;
}
}
}
if
(
Num
==
0
)
{
message
=
`请设置【
${
gName
}
】第
${
i
+
1
}
题 正确答案!`
;
return
message
;
}
}
}
return
message
;
},
//【填空题、分录题、资料题】验证
fillInValidate
(
gName
,
detailsList
)
{
var
message
=
""
;
for
(
let
i
=
0
;
i
<
detailsList
.
length
;
i
++
)
{
if
(
detailsList
[
i
].
Title
==
''
)
{
message
=
`请填写【
${
gName
}
】第
${
i
+
1
}
题 问题内容!`
;
return
message
;
}
for
(
let
j
=
0
;
j
<
detailsList
[
i
].
QuestionContentObj
.
length
;
j
++
)
{
if
(
detailsList
[
i
].
QuestionContentObj
[
j
].
Content
==
''
)
{
message
=
`请填写【
${
gName
}
】第
${
i
+
1
}
题,第
${
j
+
1
}
空 答案!`
;
return
message
;
}
}
}
return
message
;
},
//【判断题】验证
judgeValidate
(
gName
,
detailsList
)
{
var
message
=
""
;
for
(
let
i
=
0
;
i
<
detailsList
.
length
;
i
++
)
{
if
(
detailsList
[
i
].
Title
==
''
)
{
message
=
`请填写【
${
gName
}
】第
${
i
+
1
}
题 问题内容!`
;
return
message
;
}
}
return
message
;
},
//【简答题、名词解释、论述题、计算题、其它题】验证
shortanswerValidate
(
gName
,
detailsList
)
{
var
message
=
""
;
for
(
let
i
=
0
;
i
<
detailsList
.
length
;
i
++
)
{
if
(
detailsList
[
i
].
Title
==
''
)
{
message
=
`请填写【
${
gName
}
】第
${
i
+
1
}
题 问题内容!`
;
return
message
;
}
if
(
detailsList
[
i
].
Answer
==
''
)
{
message
=
`请填写【
${
gName
}
】第
${
i
+
1
}
题 问题答案!`
;
return
message
;
}
}
return
message
;
},
//【连线题】验证
matchingValidate
(
gName
,
detailsList
)
{
var
message
=
""
;
for
(
let
i
=
0
;
i
<
detailsList
.
length
;
i
++
)
{
if
(
detailsList
[
i
].
Title
==
''
)
{
message
=
`请填写【
${
gName
}
】第
${
i
+
1
}
题 问题内容!`
;
return
message
;
}
if
(
detailsList
[
i
].
QuestionContentObj
.
length
>
0
)
{
for
(
let
p
=
0
;
p
<
detailsList
[
i
].
QuestionContentObj
[
0
].
length
;
p
++
)
{
if
(
detailsList
[
i
].
QuestionContentObj
[
0
][
p
].
Content
==
''
)
{
message
=
`请填写【
${
gName
}
】第
${
i
+
1
}
题 第一组 选项
${
detailsList
[
i
].
QuestionContentObj
[
0
][
p
].
Name
}
内容!`
return
message
;
}
}
}
//单选题 多选题
if
(
this
.
DataObj
.
GroupList
[
k
].
QuestionTypeKey
==
'single'
||
this
.
DataObj
.
GroupList
[
k
].
QuestionTypeKey
==
'multiple'
)
{
for
(
let
i
=
0
;
i
<
this
.
DataObj
.
GroupList
[
k
].
DetailsList
.
length
;
i
++
)
{
var
Num
=
0
;
if
(
this
.
DataObj
.
GroupList
[
k
].
DetailsList
[
i
].
Title
==
''
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`
${
this
.
DataObj
.
GroupList
[
k
].
GroupName
}
第
${
i
+
1
}
题标题为空!`
})
result
=
false
;
return
;
if
(
detailsList
[
i
].
QuestionContentObj
.
length
>
0
)
{
for
(
let
p
=
0
;
p
<
detailsList
[
i
].
QuestionContentObj
[
1
].
length
;
p
++
)
{
if
(
detailsList
[
i
].
QuestionContentObj
[
1
][
p
].
Content
==
''
)
{
message
=
`请填写【
${
gName
}
】第
${
i
+
1
}
题 第二组 选项
${
detailsList
[
i
].
QuestionContentObj
[
1
][
p
].
Name
}
内容!`
return
message
;
}
for
(
let
j
=
0
;
j
<
this
.
DataObj
.
GroupList
[
k
].
DetailsList
[
i
].
QuestionContentObj
.
length
;
j
++
)
{
if
(
this
.
DataObj
.
GroupList
[
k
].
DetailsList
[
i
].
QuestionContentObj
[
j
].
Content
==
''
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`请填写
${
this
.
DataObj
.
GroupList
[
k
].
GroupName
}
第
${
i
+
1
}
题选项!`
})
result
=
false
;
return
;
}
}
}
return
message
;
},
//【排序题】验证
sortingproblemValidate
(
gName
,
detailsList
)
{
var
message
=
""
;
if
(
detailsList
&&
detailsList
.
length
>
0
)
{
for
(
let
i
=
0
;
i
<
detailsList
.
length
;
i
++
)
{
if
(
detailsList
[
i
].
Title
==
''
)
{
message
=
`请填写【
${
gName
}
】第
${
i
+
1
}
题 问题内容!`
;
return
message
;
}
for
(
let
j
=
0
;
j
<
detailsList
[
i
].
QuestionContentObj
[
0
].
length
;
j
++
)
{
if
(
detailsList
[
i
].
QuestionContentObj
[
0
][
j
].
Content
==
''
)
{
message
=
`请填写【
${
gName
}
】第
${
i
+
1
}
题 选项
${
detailsList
[
i
].
QuestionContentObj
[
0
][
j
].
Name
}
内容!`
return
message
;
}
}
}
}
return
message
;
},
//【完型填空】验证
clozeValidate
(
gName
,
detailsList
)
{
var
message
=
""
;
if
(
detailsList
&&
detailsList
.
length
>
0
)
{
for
(
let
i
=
0
;
i
<
detailsList
.
length
;
i
++
)
{
if
(
detailsList
[
i
].
Title
==
''
)
{
message
=
`请填写【
${
gName
}
】第
${
i
+
1
}
题 问题内容!`
;
return
message
;
}
for
(
let
j
=
0
;
j
<
detailsList
[
i
].
QuestionContentObj
.
length
;
j
++
)
{
var
Num
=
0
;
for
(
var
k
=
0
;
k
<
detailsList
[
i
].
QuestionContentObj
[
j
].
length
;
k
++
)
{
if
(
detailsList
[
i
].
QuestionContentObj
[
j
][
k
].
Content
==
''
)
{
message
=
`请填写【
${
gName
}
】第
${
i
+
1
}
题,第
${
j
+
1
}
小题 选项
${
detailsList
[
i
].
QuestionContentObj
[
j
][
k
].
Name
}
内容!`
;
return
message
;
}
if
(
this
.
DataObj
.
GroupList
[
k
].
DetailsList
[
i
].
QuestionContentObj
[
j
].
IsAnswer
)
{
if
(
detailsList
[
i
].
QuestionContentObj
[
j
][
k
].
IsAnswer
)
{
Num
++
}
}
if
(
Num
==
0
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`请设置
${
this
.
DataObj
.
GroupList
[
k
].
GroupName
}
第
${
i
+
1
}
题答案选项`
})
result
=
false
;
return
;
message
=
`请设置【
${
gName
}
】第
${
i
+
1
}
题,第
${
j
+
1
}
小题 正确答案!`
;
return
message
;
}
}
}
//填空题
if
(
this
.
DataObj
.
GroupList
[
k
].
QuestionTypeKey
==
'fill-in'
)
{
for
(
let
i
=
0
;
i
<
this
.
DataObj
.
GroupList
[
k
].
DetailsList
.
length
;
i
++
)
{
if
(
this
.
DataObj
.
GroupList
[
k
].
DetailsList
[
i
].
Title
==
''
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`
${
this
.
DataObj
.
GroupList
[
k
].
GroupName
}
第
${
i
+
1
}
题标题为空!`
})
result
=
false
;
return
;
}
for
(
let
j
=
0
;
j
<
this
.
DataObj
.
GroupList
[
k
].
DetailsList
[
i
].
QuestionContentObj
.
length
;
j
++
)
{
if
(
this
.
DataObj
.
GroupList
[
k
].
DetailsList
[
i
].
QuestionContentObj
[
j
].
Content
==
''
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`请填写
${
this
.
DataObj
.
GroupList
[
k
].
GroupName
}
第
${
i
+
1
}
空!`
})
result
=
false
;
return
;
}
}
}
return
message
;
},
//【阅读理解、听力题】验证
readingcomprehensioValidate
(
gName
,
detailsList
)
{
var
message
=
""
;
if
(
detailsList
&&
detailsList
.
length
>
0
)
{
for
(
let
i
=
0
;
i
<
detailsList
.
length
;
i
++
)
{
if
(
detailsList
[
i
].
Title
==
''
)
{
message
=
`请填写【
${
gName
}
】第
${
i
+
1
}
题 问题内容!`
;
return
message
;
}
}
//判断题
if
(
this
.
DataObj
.
GroupList
[
k
].
QuestionTypeKey
==
'judge'
||
this
.
DataObj
.
GroupList
[
k
].
QuestionTypeKey
==
'reading-comprehensio'
||
this
.
DataObj
.
GroupList
[
k
].
QuestionTypeKey
==
'spoken'
||
this
.
DataObj
.
GroupList
[
k
].
QuestionTypeKey
==
'other'
||
this
.
DataObj
.
GroupList
[
k
].
QuestionTypeKey
==
'noun-explanation'
)
{
for
(
let
i
=
0
;
i
<
this
.
DataObj
.
GroupList
[
k
].
DetailsList
.
length
;
i
++
)
{
if
(
this
.
DataObj
.
GroupList
[
k
].
DetailsList
[
i
].
Title
==
''
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`
${
this
.
DataObj
.
GroupList
[
k
].
GroupName
}
第
${
i
+
1
}
题标题为空!`
})
result
=
false
;
return
;
for
(
let
j
=
0
;
j
<
detailsList
[
i
].
QuestionContentObj
.
length
;
j
++
)
{
var
subQuestion
=
detailsList
[
i
].
QuestionContentObj
[
j
];
if
(
subQuestion
)
{
if
(
subQuestion
.
SubTitle
==
''
)
{
message
=
`请填写【
${
gName
}
】第
${
i
+
1
}
题,第
${
j
+
1
}
小题 问题内容!`
;
return
message
;
}
//单选题、多选题
if
(
subQuestion
.
QuestionKey
==
'single'
||
subQuestion
.
QuestionKey
==
"multiple"
)
{
var
singleNum
=
0
;
for
(
var
k
=
0
;
k
<
subQuestion
.
SubAnwser
.
length
;
k
++
)
{
if
(
subQuestion
.
SubAnwser
[
k
].
Content
==
''
)
{
message
=
`请填写【
${
gName
}
】第
${
i
+
1
}
题,第
${
j
+
1
}
小题 选项
${
subQuestion
.
SubAnwser
[
k
].
Name
}
内容!`
;
return
message
;
}
if
(
subQuestion
.
SubAnwser
[
k
].
IsAnswer
)
{
singleNum
++
}
}
if
(
singleNum
==
0
)
{
message
=
`请设置【
${
gName
}
】第
${
i
+
1
}
题,第
${
j
+
1
}
小题 正确答案!`
;
return
message
;
}
}
//填空题
if
(
subQuestion
.
QuestionKey
==
"fill-in"
)
{
for
(
var
k
=
0
;
k
<
subQuestion
.
SubAnwser
.
length
;
k
++
)
{
if
(
subQuestion
.
SubAnwser
[
k
].
Content
==
''
)
{
message
=
`请填写【
${
gName
}
】第
${
i
+
1
}
题,第
${
j
+
1
}
小题 第
${
k
+
1
}
空答案!`
;
return
message
;
}
}
}
//简答题
if
(
subQuestion
.
QuestionKey
==
"short-answer"
)
{
for
(
var
k
=
0
;
k
<
subQuestion
.
SubAnwser
.
length
;
k
++
)
{
if
(
subQuestion
.
SubAnwser
[
k
].
Content
==
''
)
{
message
=
`请填写【
${
gName
}
】第
${
i
+
1
}
题,第
${
j
+
1
}
小题答案!`
;
return
message
;
}
}
}
}
}
}
//简答题 论述题
if
(
this
.
DataObj
.
GroupList
[
k
].
QuestionTypeKey
==
'short-answer'
||
this
.
DataObj
.
GroupList
[
k
].
QuestionTypeKey
==
'essay-question'
||
this
.
DataObj
.
GroupList
[
k
].
QuestionTypeKey
==
'calculation'
||
this
.
DataObj
.
GroupList
[
k
].
QuestionTypeKey
==
'entry-problem'
||
this
.
DataObj
.
GroupList
[
k
].
QuestionTypeKey
==
'data-question'
)
{
for
(
let
i
=
0
;
i
<
this
.
DataObj
.
GroupList
[
k
].
DetailsList
.
length
;
i
++
)
{
if
(
this
.
DataObj
.
GroupList
[
k
].
DetailsList
[
i
].
Title
==
''
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`
${
this
.
DataObj
.
GroupList
[
k
].
GroupName
}
第
${
i
+
1
}
题标题为空!`
})
result
=
false
;
return
;
}
if
(
this
.
DataObj
.
GroupList
[
k
].
DetailsList
[
i
].
Answer
==
''
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`请输入
${
this
.
DataObj
.
GroupList
[
k
].
GroupName
}
第
${
i
+
1
}
题答案`
})
result
=
false
;
return
;
}
return
message
;
},
//【公用选项题】验证
sharingchooseValidate
(
gName
,
detailsList
)
{
var
message
=
""
;
if
(
detailsList
&&
detailsList
.
length
>
0
)
{
for
(
var
i
=
0
;
i
<
detailsList
.
length
;
i
++
)
{
for
(
var
j
=
0
;
j
<
detailsList
[
i
].
QuestionContentObj
[
0
].
length
;
j
++
)
{
if
(
detailsList
[
i
].
QuestionContentObj
[
0
][
j
].
Content
==
''
)
{
message
=
`请填写【
${
gName
}
】第
${
i
+
1
}
题 第一组 选项
${
detailsList
[
i
].
QuestionContentObj
[
0
][
j
].
Name
}
内容!`
;
return
message
;
}
}
}
//排序题
if
(
this
.
DataObj
.
GroupList
[
k
].
QuestionTypeKey
==
'sorting-problem'
)
{
for
(
let
i
=
0
;
i
<
this
.
DataObj
.
GroupList
[
k
].
DetailsList
.
length
;
i
++
)
{
if
(
this
.
DataObj
.
GroupList
[
k
].
DetailsList
[
i
].
Title
==
''
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`
${
this
.
DataObj
.
GroupList
[
k
].
GroupName
}
第
${
i
+
1
}
题标题为空!`
})
result
=
false
;
return
;
for
(
var
j
=
0
;
j
<
detailsList
[
i
].
QuestionContentObj
[
1
].
length
;
j
++
)
{
if
(
detailsList
[
i
].
QuestionContentObj
[
1
][
j
].
Content
==
''
)
{
message
=
`请填写【
${
gName
}
】第
${
i
+
1
}
题 第二组 题干
${
j
+
1
}
内容!`
;
return
message
;
}
for
(
let
j
=
0
;
j
<
this
.
DataObj
.
GroupList
[
k
].
DetailsList
[
i
].
QuestionContentObj
[
0
].
length
;
j
++
)
{
if
(
this
.
DataObj
.
GroupList
[
k
].
DetailsList
[
i
].
QuestionContentObj
[
0
][
j
].
Content
==
''
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`请填写
${
this
.
DataObj
.
GroupList
[
k
].
GroupName
}
第
${
i
+
1
}
题选项!`
})
result
=
false
;
return
;
}
if
(
detailsList
[
i
].
QuestionContentObj
[
1
][
j
].
Name
==
''
)
{
message
=
`请选择【
${
gName
}
】第
${
i
+
1
}
题 第二组 题干
${
j
+
1
}
答案!`
;
return
message
;
}
}
}
}
return
result
;
return
message
;
},
//关闭弹窗
closeQuestForm
()
{
this
.
isShowQuestion
=
false
;
},
...
...
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