Auto Submit

dev_local_v9_haijunshiguan_net
autosubmit 2 years ago
parent e3d74df75b
commit 25167258e1

@ -27,7 +27,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.91e07c81.js"></script>
<script src="/react/build/umi.2d2a342b.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -1711,7 +1711,7 @@ var Simple = function Simple(_ref) {
};
}, []);
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [(item === null || item === void 0 || (_item$standard_answer = item.standard_answer) === null || _item$standard_answer === void 0 ? void 0 : _item$standard_answer.length) > 0 && ((item === null || item === void 0 ? void 0 : item.can_answer_num) == 0 || !showBtn) || (item === null || item === void 0 ? void 0 : item.user_score) === (item === null || item === void 0 ? void 0 : item.question_score) ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [(item === null || item === void 0 || (_item$standard_answer = item.standard_answer) === null || _item$standard_answer === void 0 ? void 0 : _item$standard_answer.length) > 0 && ((item === null || item === void 0 ? void 0 : item.can_answer_num) == 0 || !showBtn) || (item === null || item === void 0 ? void 0 : item.user_score) === (item === null || item === void 0 ? void 0 : item.question_score) && !showBtn ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "mb20",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
justify: "space-between",
@ -2669,7 +2669,7 @@ var Fill = function Fill(_ref) {
className: "ml20 mr20",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
placeholder: "\u8BF7\u8F93\u5165\u7B54\u6848",
disabled: (item === null || item === void 0 || (_item$standard_answer = item.standard_answer) === null || _item$standard_answer === void 0 ? void 0 : _item$standard_answer.length) > 0 && ((item === null || item === void 0 ? void 0 : item.can_answer_num) == 0 || !showBtn) || (item === null || item === void 0 ? void 0 : item.user_score) === (item === null || item === void 0 ? void 0 : item.question_score),
disabled: (item === null || item === void 0 || (_item$standard_answer = item.standard_answer) === null || _item$standard_answer === void 0 ? void 0 : _item$standard_answer.length) > 0 && ((item === null || item === void 0 ? void 0 : item.can_answer_num) == 0 || !showBtn) || (item === null || item === void 0 ? void 0 : item.user_score) === (item === null || item === void 0 ? void 0 : item.question_score) && !showBtn,
value: answer === null || answer === void 0 ? void 0 : answer.answer_text,
onChange: function onChange(e) {
userAnswer[index].answer_text = e.target.value;
@ -3286,9 +3286,12 @@ var Answer = function Answer(_ref) {
item.user_answer = item === null || item === void 0 ? void 0 : item.answer_content;
}
});
console.log('banks2---------', banks);
setItemBankData(banks);
} else {
banks.forEach(function (item) {
item.user_score = 0;
item.question_score = 1;
});
setItemBankData(banks);
setShowBtn(true);
}
@ -3824,7 +3827,7 @@ var Answer = function Answer(_ref) {
}).map(function (choice) {
return choice.choice_id;
})) || [];
var disabled = (item === null || item === void 0 || (_item$standard_answer = item.standard_answer) === null || _item$standard_answer === void 0 ? void 0 : _item$standard_answer.length) > 0 && ((item === null || item === void 0 ? void 0 : item.can_answer_num) == 0 || !showBtn) || (item === null || item === void 0 ? void 0 : item.user_score) === (item === null || item === void 0 ? void 0 : item.question_score);
var disabled = (item === null || item === void 0 || (_item$standard_answer = item.standard_answer) === null || _item$standard_answer === void 0 ? void 0 : _item$standard_answer.length) > 0 && ((item === null || item === void 0 ? void 0 : item.can_answer_num) == 0 || !showBtn) || (item === null || item === void 0 ? void 0 : item.user_score) === (item === null || item === void 0 ? void 0 : item.question_score) && !showBtn;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Answermodules.baseMargin,
@ -4059,7 +4062,7 @@ var Answer = function Answer(_ref) {
}).map(function (choice) {
return choice.choice_id;
})) || [];
var disabled = (item === null || item === void 0 || (_item$standard_answer2 = item.standard_answer) === null || _item$standard_answer2 === void 0 ? void 0 : _item$standard_answer2.length) > 0 && ((item === null || item === void 0 ? void 0 : item.can_answer_num) == 0 || !showBtn) || (item === null || item === void 0 ? void 0 : item.user_score) === (item === null || item === void 0 ? void 0 : item.question_score);
var disabled = (item === null || item === void 0 || (_item$standard_answer2 = item.standard_answer) === null || _item$standard_answer2 === void 0 ? void 0 : _item$standard_answer2.length) > 0 && ((item === null || item === void 0 ? void 0 : item.can_answer_num) == 0 || !showBtn) || (item === null || item === void 0 ? void 0 : item.user_score) === (item === null || item === void 0 ? void 0 : item.question_score) && !showBtn;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Answermodules.baseMargin,
@ -4237,7 +4240,8 @@ var Answer = function Answer(_ref) {
return _setKnowledgeDialog(true);
},
onBlur: function onBlur(value, hideLoading) {
return handleBlurSimple(value, item === null || item === void 0 ? void 0 : item.question_id, item, hideLoading);
handleBlurSimple(value, item === null || item === void 0 ? void 0 : item.question_id, item, hideLoading);
signConfigFuc();
},
isEducation: isEducation,
sign: sign

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save