Auto Submit

dev_local_v9_haijunshiguan_net
autosubmit 2 years ago
parent 7a545d3e76
commit 600dd61cba

File diff suppressed because one or more lines are too long

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

@ -181,6 +181,7 @@ var Statistics = function Statistics(_ref) {
var _useState = (0,_react_17_0_2_react.useState)({
showIncorrect: false,
showsub: false,
question_type: undefined,
AnswerOpen: false,
answer_record: [],
RecommendOpen: false,
@ -284,7 +285,8 @@ var Statistics = function Statistics(_ref) {
onClick: function onClick() {
setUrlData(objectSpread2_default()(objectSpread2_default()({}, urlData), {}, {
AnswerOpen: true,
answer_record: (item === null || item === void 0 ? void 0 : item.answer_record) || []
answer_record: (item === null || item === void 0 ? void 0 : item.answer_record) || [],
question_type: item === null || item === void 0 ? void 0 : item.question_type
}));
},
children: " \u67E5\u770B\u4F5C\u7B54\u8BB0\u5F55"
@ -293,7 +295,8 @@ var Statistics = function Statistics(_ref) {
onClick: function onClick() {
setUrlData(objectSpread2_default()(objectSpread2_default()({}, urlData), {}, {
RecommendOpen: true,
recommend_item_banks: (item === null || item === void 0 ? void 0 : item.recommend_item_banks) || []
recommend_item_banks: (item === null || item === void 0 ? void 0 : item.recommend_item_banks) || [],
question_type: item === null || item === void 0 ? void 0 : item.question_type
}));
},
children: "\u63A8\u8350\u9898\u76EE\u4F5C\u7B54\u8BE6\u60C5"
@ -383,7 +386,8 @@ var Statistics = function Statistics(_ref) {
onClick: function onClick() {
setUrlData(objectSpread2_default()(objectSpread2_default()({}, urlData), {}, {
AnswerOpen: true,
answer_record: (jte === null || jte === void 0 ? void 0 : jte.answer_record) || []
answer_record: (jte === null || jte === void 0 ? void 0 : jte.answer_record) || [],
question_type: jte === null || jte === void 0 ? void 0 : jte.question_type
}));
},
children: " \u67E5\u770B\u4F5C\u7B54\u8BB0\u5F55"
@ -392,7 +396,8 @@ var Statistics = function Statistics(_ref) {
onClick: function onClick() {
setUrlData(objectSpread2_default()(objectSpread2_default()({}, urlData), {}, {
RecommendOpen: true,
recommend_item_banks: (jte === null || jte === void 0 ? void 0 : jte.recommend_item_banks) || []
recommend_item_banks: (jte === null || jte === void 0 ? void 0 : jte.recommend_item_banks) || [],
question_type: jte === null || jte === void 0 ? void 0 : jte.question_type
}));
},
children: "\u63A8\u8350\u9898\u76EE\u4F5C\u7B54\u8BE6\u60C5"
@ -440,7 +445,8 @@ var Statistics = function Statistics(_ref) {
onClick: function onClick() {
setUrlData(objectSpread2_default()(objectSpread2_default()({}, urlData), {}, {
AnswerOpen: true,
answer_record: (item === null || item === void 0 ? void 0 : item.answer_record) || []
answer_record: (item === null || item === void 0 ? void 0 : item.answer_record) || [],
question_type: item === null || item === void 0 ? void 0 : item.question_type
}));
},
children: " \u67E5\u770B\u4F5C\u7B54\u8BB0\u5F55"
@ -449,7 +455,8 @@ var Statistics = function Statistics(_ref) {
onClick: function onClick() {
setUrlData(objectSpread2_default()(objectSpread2_default()({}, urlData), {}, {
RecommendOpen: true,
recommend_item_banks: (item === null || item === void 0 ? void 0 : item.recommend_item_banks) || []
recommend_item_banks: (item === null || item === void 0 ? void 0 : item.recommend_item_banks) || [],
question_type: item === null || item === void 0 ? void 0 : item.question_type
}));
},
children: "\u63A8\u8350\u9898\u76EE\u4F5C\u7B54\u8BE6\u60C5"
@ -972,7 +979,8 @@ var Statistics = function Statistics(_ref) {
onCancel: function onCancel() {
setUrlData(objectSpread2_default()(objectSpread2_default()({}, urlData), {}, {
AnswerOpen: false,
answer_record: []
answer_record: [],
question_type: undefined
}));
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
@ -988,7 +996,19 @@ var Statistics = function Statistics(_ref) {
}, {
title: '提交内容',
dataIndex: 'answer_content',
ellipsis: true
ellipsis: true,
render: function render(value, record) {
return (urlData === null || urlData === void 0 ? void 0 : urlData.question_type) == 3 ? value === null || value === void 0 ? void 0 : value.map(function (item, i) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
wrap: false,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
children: ["\u586B\u7A7A", i + 1]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: item === null || item === void 0 ? void 0 : item.answer_text
})]
});
}) : value;
}
}, {
title: '提交时间',
dataIndex: 'created_at',
@ -1006,7 +1026,8 @@ var Statistics = function Statistics(_ref) {
onCancel: function onCancel() {
setUrlData(objectSpread2_default()(objectSpread2_default()({}, urlData), {}, {
RecommendOpen: false,
recommend_item_banks: []
recommend_item_banks: [],
question_type: undefined
}));
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {

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