Auto Submit

dev_local_v9_haijunshiguan_net
autosubmit 2 years ago
parent 348bd558c5
commit 8dccf9c162

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

@ -1589,7 +1589,7 @@ var tooltip = __webpack_require__(6848);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
var es_button = __webpack_require__(3113);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.3.6@@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules
var ExclamationCircleOutlined = __webpack_require__(23717);
var icons_ExclamationCircleOutlined = __webpack_require__(23717);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.3.6@@ant-design/icons/es/icons/MinusSquareOutlined.js + 1 modules
var MinusSquareOutlined = __webpack_require__(4917);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.3.6@@ant-design/icons/es/icons/PlusSquareOutlined.js + 1 modules
@ -2522,7 +2522,7 @@ var Fill_scoreStatusMapping = {
1: 'c-green'
};
var Fill = function Fill(_ref) {
var _answerData$exercise, _answerData$exercise2, _item$standard_answer, _item$standard_answer2;
var _answerData$exercise, _answerData$exercise2, _item$standard_answer2, _answerData$exercise3, _item$standard_answer3;
var sign = _ref.sign,
item = _ref.item,
answerData = _ref.answerData,
@ -2557,7 +2557,7 @@ var Fill = function Fill(_ref) {
}, [item === null || item === void 0 ? void 0 : item.user_answer]);
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [userAnswer === null || userAnswer === void 0 ? void 0 : userAnswer.map(function (answer, index) {
var _item$user_answer2, _saveStatusArr$index, _saveStatusArr$index2, _saveStatusArr$index3;
var _item$standard_answer, _saveStatusArr$index, _saveStatusArr$index2, _saveStatusArr$index3;
return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
className: "".concat(componentsmodules.baseMargin, " ").concat(componentsmodules.fill),
align: "middle",
@ -2569,7 +2569,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.repeat_answer && (item === null || item === void 0 || (_item$user_answer2 = item.user_answer) === null || _item$user_answer2 === void 0 ? void 0 : _item$user_answer2.length) > 0 && item.ques_status !== 0 || !!(answerData !== null && answerData !== void 0 && answerData.exercise.commit_status),
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,
value: answer === null || answer === void 0 ? void 0 : answer.answer_text,
onChange: function onChange(e) {
userAnswer[index].answer_text = e.target.value;
@ -2668,38 +2668,97 @@ var Fill = function Fill(_ref) {
children: "\u672A\u8BC4"
})]
})]
}), !!(item !== null && item !== void 0 && (_item$standard_answer = item.standard_answer) !== null && _item$standard_answer !== void 0 && _item$standard_answer.length) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: componentsmodules.analysisWrap,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: componentsmodules.greyBg,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
className: "mb20",
align: "middle",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "font14 mr10",
style: {
color: '#6A7283'
},
children: "\u3010\u7B54\u6848\u3011"
}), item === null || item === void 0 || (_item$standard_answer2 = item.standard_answer) === null || _item$standard_answer2 === void 0 ? void 0 : _item$standard_answer2.map(function (answer, index) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
className: "mr40",
children: ["\u586B\u7A7A\u9879", index + 1, ":", answer === null || answer === void 0 ? void 0 : answer.answer_text[0]]
}, index);
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "font14 mr10",
}), !!(item !== null && item !== void 0 && (_item$standard_answer2 = item.standard_answer) !== null && _item$standard_answer2 !== void 0 && _item$standard_answer2.length) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
fontSize: '16px',
marginBottom: 14,
display: 'flex',
justifyContent: 'space-between',
alignItems: 'center'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: ["\u7B54\u9898\u7ED3\u679C", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: '#6A7283'
marginLeft: 12,
color: (item === null || item === void 0 ? void 0 : item.user_score) === (item === null || item === void 0 ? void 0 : item.question_score) ? '#29A64F' : '#E53333'
},
children: "\u3010\u89E3\u6790\u3011"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
className: componentsmodules.renderHtml,
value: item === null || item === void 0 ? void 0 : item.analysis
children: (item === null || item === void 0 ? void 0 : item.user_score) === (item === null || item === void 0 ? void 0 : item.question_score) ? "\u7B54\u5BF9\u4E86" : "\u7B54\u9519\u4E86"
})]
}), (answerData === null || answerData === void 0 || (_answerData$exercise3 = answerData.exercise) === null || _answerData$exercise3 === void 0 ? void 0 : _answerData$exercise3.error_push) && (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)("span", {
style: {
cursor: 'pointer',
color: '#3061D0',
fontSize: '14px'
},
onClick: function onClick() {
setKnowledgeDialog(true);
},
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", {
style: {
color: '#FF8C29',
marginBottom: 14
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ExclamationCircleOutlined, {
style: {
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", {
className: componentsmodules.analysisWrap,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: componentsmodules.greyBg,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
className: "mb20",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "font14 mr10",
style: {
color: '#6A7283',
lineHeight: '30px'
},
children: "\u3010\u7B54\u6848\u3011"
}), item === null || item === void 0 || (_item$standard_answer3 = item.standard_answer) === null || _item$standard_answer3 === void 0 ? void 0 : _item$standard_answer3.map(function (answer, index) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
className: "mr40",
style: {
fontSize: 16,
lineHeight: '30px'
},
children: ["\u586B\u7A7A\u9879", index + 1, ":", answer === null || answer === void 0 ? void 0 : answer.answer_text[0]]
}, index);
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "font14 mr10 mb20",
style: {
color: '#6A7283',
lineHeight: '30px'
},
children: "\u3010\u89E3\u6790\u3011"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
className: componentsmodules.renderHtml,
value: item === null || item === void 0 ? void 0 : item.analysis
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "font14 mr10",
style: {
color: '#6A7283',
lineHeight: '30px'
},
children: "\u3010\u77E5\u8BC6\u70B9\u3011"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
style: {
fontSize: 16,
lineHeight: '30px'
},
children: item === null || item === void 0 ? void 0 : item.tag_disciplines
})]
})]
})
})]
})]
});
};
@ -2828,7 +2887,7 @@ var BFill = function BFill(_ref) {
fontSize: 14,
color: '#FF0000'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ExclamationCircleOutlined/* default */.Z, {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(icons_ExclamationCircleOutlined/* default */.Z, {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
marginLeft: 5
},
@ -3694,7 +3753,7 @@ var Answer = function Answer(_ref) {
color: '#FF8C29',
marginBottom: 14
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ExclamationCircleOutlined/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(icons_ExclamationCircleOutlined/* default */.Z, {
style: {
marginRight: 10
}
@ -3989,7 +4048,7 @@ var Answer = function Answer(_ref) {
color: '#FF8C29',
marginBottom: 14
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ExclamationCircleOutlined/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(icons_ExclamationCircleOutlined/* default */.Z, {
style: {
marginRight: 10
}

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