Auto Submit

dev_local_v9_haijunshiguan_net
autosubmit 2 years ago
parent 975632b3e2
commit 7cb7ce16e5

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

@ -1662,6 +1662,7 @@ var Simple = function Simple(_ref) {
answerData = _ref.answerData,
isEducation = _ref.isEducation,
sign = _ref.sign,
knowledgeDialog = _ref.knowledgeDialog,
setKnowledgeDialog = _ref.setKnowledgeDialog,
_ref$onBlur = _ref.onBlur,
onBlur = _ref$onBlur === void 0 ? function () {} : _ref$onBlur;
@ -1827,7 +1828,7 @@ var Simple = function Simple(_ref) {
},
children: ["\u4E3A\u4F60\u63A8\u8350\u540C\u77E5\u8BC6\u70B9\u9898\u76EE\uFF0C\u7ACB\u5373\u5DE9\u56FA", " >"]
})]
}), (item === null || item === void 0 ? void 0 : item.can_answer_num) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
}), (item === null || item === void 0 ? void 0 : item.can_answer_num) > 0 && (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", {
style: {
color: '#FF8C29',
marginBottom: 14
@ -1837,7 +1838,7 @@ var Simple = function Simple(_ref) {
marginRight: 10
}
}), "\u6E29\u99A8\u63D0\u793A\uFF1A\u8FD8\u6709 ", item === null || item === void 0 ? void 0 : item.can_answer_num, " \u6B21\u673A\u4F1A\u53EF\u5C1D\u8BD5\u8FDB\u884C\u91CD\u65B0\u7B54\u9898\uFF0C\u91CD\u65B0\u7B54\u9898\u6B63\u786E\u540E\u4E5F\u4F1A\u8BA1\u5165\u603B\u6210\u7EE9\u3002"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
}), ((item === null || item === void 0 ? void 0 : item.can_answer_num) == 0 || knowledgeDialog) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Answermodules.analysisWrap,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Answermodules.greyBg,
@ -2621,6 +2622,7 @@ var Fill = function Fill(_ref) {
var sign = _ref.sign,
item = _ref.item,
answerData = _ref.answerData,
knowledgeDialog = _ref.knowledgeDialog,
setKnowledgeDialog = _ref.setKnowledgeDialog,
_ref$onBlur = _ref.onBlur,
onBlur = _ref$onBlur === void 0 ? function () {} : _ref$onBlur;
@ -2777,7 +2779,7 @@ var Fill = function Fill(_ref) {
},
children: ["\u4E3A\u4F60\u63A8\u8350\u540C\u77E5\u8BC6\u70B9\u9898\u76EE\uFF0C\u7ACB\u5373\u5DE9\u56FA", " >"]
})]
}), (item === null || item === void 0 ? void 0 : item.can_answer_num) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
}), (item === null || item === void 0 ? void 0 : item.can_answer_num) > 0 && (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", {
style: {
color: '#FF8C29',
marginBottom: 14
@ -2787,7 +2789,7 @@ var Fill = function Fill(_ref) {
marginRight: 10
}
}), "\u6E29\u99A8\u63D0\u793A\uFF1A\u8FD8\u6709 ", item === null || item === void 0 ? void 0 : item.can_answer_num, " \u6B21\u673A\u4F1A\u53EF\u5C1D\u8BD5\u8FDB\u884C\u91CD\u65B0\u7B54\u9898\uFF0C\u91CD\u65B0\u7B54\u9898\u6B63\u786E\u540E\u4E5F\u4F1A\u8BA1\u5165\u603B\u6210\u7EE9\u3002"]
}), (item === null || item === void 0 ? void 0 : item.can_answer_num) == 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
}), ((item === null || item === void 0 ? void 0 : item.can_answer_num) == 0 || knowledgeDialog) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: componentsmodules.analysisWrap,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: componentsmodules.greyBg,
@ -3270,6 +3272,9 @@ var Answer = function Answer(_ref) {
setShowBtn(true);
}
}, [knowledgeDialog]);
(0,_react_17_0_2_react.useEffect)(function () {
// showConfirm ? sign.current = true : signConfigFuc()
}, [showConfirm]);
var sendBeacon = function sendBeacon() {
var _exercise$exerciseUse;
if (!(answerCheckData !== null && answerCheckData !== void 0 && answerCheckData.is_commit) && (0,authority/* isStudent */.dE)()) {
@ -3472,14 +3477,14 @@ var Answer = function Answer(_ref) {
};
var handleJoinShixun = /*#__PURE__*/function () {
var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(item) {
var _exercise$exerciseUse2;
var _user$userInfo3;
var checkRes;
return regeneratorRuntime_default()().wrap(function _callee6$(_context6) {
while (1) switch (_context6.prev = _context6.next) {
case 0:
_context6.next = 2;
return (0,service_exercise/* checkRedoStatus */.o3)({
exercise_user_id: (_exercise$exerciseUse2 = exercise.exerciseUserInfo) === null || _exercise$exerciseUse2 === void 0 ? void 0 : _exercise$exerciseUse2.exercise_user_id,
exercise_user_id: user === null || user === void 0 || (_user$userInfo3 = user.userInfo) === null || _user$userInfo3 === void 0 ? void 0 : _user$userInfo3.user_id,
shixun_id: item.shixun_id
});
case 2:
@ -3859,7 +3864,7 @@ var Answer = function Answer(_ref) {
},
children: ["\u4E3A\u4F60\u63A8\u8350\u540C\u77E5\u8BC6\u70B9\u9898\u76EE\uFF0C\u7ACB\u5373\u5DE9\u56FA", " >"]
})]
}), (item === null || item === void 0 ? void 0 : item.can_answer_num) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
}), (item === null || item === void 0 ? void 0 : item.can_answer_num) > 0 && (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", {
style: {
color: '#FF8C29',
marginBottom: 14
@ -4091,7 +4096,7 @@ var Answer = function Answer(_ref) {
},
children: ["\u4E3A\u4F60\u63A8\u8350\u540C\u77E5\u8BC6\u70B9\u9898\u76EE\uFF0C\u7ACB\u5373\u5DE9\u56FA", " >"]
})]
}), (item === null || item === void 0 ? void 0 : item.can_answer_num) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
}), (item === null || item === void 0 ? void 0 : item.can_answer_num) > 0 && (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", {
style: {
color: '#FF8C29',
marginBottom: 14
@ -4101,7 +4106,7 @@ var Answer = function Answer(_ref) {
marginRight: 10
}
}), "\u6E29\u99A8\u63D0\u793A\uFF1A\u8FD8\u6709 ", item === null || item === void 0 ? void 0 : item.can_answer_num, " \u6B21\u673A\u4F1A\u53EF\u5C1D\u8BD5\u8FDB\u884C\u91CD\u65B0\u7B54\u9898\uFF0C\u91CD\u65B0\u7B54\u9898\u6B63\u786E\u540E\u4E5F\u4F1A\u8BA1\u5165\u603B\u6210\u7EE9\u3002"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
}), ((item === null || item === void 0 ? void 0 : item.can_answer_num) == 0 || knowledgeDialog) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Answermodules.analysisWrap,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Answermodules.greyBg,
@ -4159,6 +4164,7 @@ var Answer = function Answer(_ref) {
item: item,
sign: sign,
answerData: answerData,
knowledgeDialog: knowledgeDialog,
setKnowledgeDialog: function setKnowledgeDialog() {
return _setKnowledgeDialog(true);
},
@ -4199,6 +4205,7 @@ var Answer = function Answer(_ref) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(components_Simple, {
item: item,
answerData: answerData,
knowledgeDialog: knowledgeDialog,
setKnowledgeDialog: function setKnowledgeDialog() {
return _setKnowledgeDialog(true);
},
@ -4553,7 +4560,9 @@ var Answer = function Answer(_ref) {
_umi_production_exports.history.push("/paths/".concat(params.pathId));
}
});
} else {
} else if (b == a) {
// console.log("!111");
_umi_production_exports.history.push("/paths/".concat(params.pathId));
}
};

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