仲裁规则配置问题修复
continuous-integration/drone/push Build is passing Details

uat_us
wangxiaoshuang 2024-05-24 15:27:32 +08:00
parent 59fe18fe34
commit 0baa90d86f
1 changed files with 16 additions and 1 deletions

View File

@ -617,7 +617,7 @@ export default {
});
},
applySync(ReadingQuestionTrialId, index) {
return new Promise((resolve, reject) => {
return new Promise(async (resolve, reject) => {
console.log(this.QuestionList[index].JudgeType);
if (this.QuestionList[index].JudgeType === 0) {
reject(false);
@ -637,6 +637,21 @@ export default {
reject(false);
return;
}
if (
this.QuestionList[index].JudgeType === 4 ||
this.QuestionList[index].JudgeType === 5
) {
try {
let validate = await this.$refs[
"JudgeDifferenceValue" +
this.QuestionList[index].JudgeType +
index
][0].validate();
if (!validate) return reject(false);
} catch (err) {
return reject(false);
}
}
this.btnLoading = true;
this.loading = true;
setTrialCriterionJudgeQuestionAnswerGroup({