Auto Submit

dev_local_v9_test4
autosubmit 2 years ago
parent f851c9f42d
commit 04fd844a02

@ -6761,7 +6761,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
okText: '确定',
cancelText: '取消',
content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: ["\u5F53\u524D\u5DF2\u9009\u62E9", preIds.length, "\u9053\u8BD5\u9898\uFF0C\u5DF2\u52A0\u5165\u8FC7\u7684\u8BD5\u9898\u6216\u672A\u53D1\u5E03\u7684\u7A0B\u5E8F\u8BBE\u8BA1\u9898\u3001\u7A0B\u5E8F\u6539\u9519\u9898\u3001\u7A0B\u5E8F\u586B\u7A7A\u9898\u5C06\u4E0D\u4F1A\u91CD\u590D\u52A0\u5165 "]
children: ["\u5F53\u524D\u5DF2\u9009\u62E9", preIds.length, "\u9053\u8BD5\u9898\uFF0C\u5DF2\u52A0\u5165\u8FC7\u7684\u8BD5\u9898\u6216\u672A\u53D1\u5E03\u7684/\u7A0B\u5E8F\u6539\u9519\u9898/\u7A0B\u5E8F\u586B\u7A7A\u9898\u5C06\u4E0D\u4F1A\u91CD\u590D\u52A0\u5165 "]
}),
onOk: function () {
var _onOk5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee23() {
@ -7266,7 +7266,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
var _x$program_attr;
return typeArr.includes(x.item_type) && ((_x$program_attr = x.program_attr) === null || _x$program_attr === void 0 ? void 0 : _x$program_attr.status) === 0;
})) {
return message/* default */.ZP.info('已选题中存在未发布的程序设计题、程序改错题、程序填空题');
return message/* default */.ZP.info('已选题中存在未发布的程序设计题/程序改错题/程序填空题');
}
window.localStorage.getItem('problemset-set-public-hint-flag') === "1" || user.userInfo.professional_certification ? handleBatchSetPublicRequest() : modal/* default */.Z.confirm({
centered: true,
@ -7549,7 +7549,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
modal/* default */.Z.error({
title: '错误',
content: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: "\u53D1\u5E03\u9519\u8BEF\uFF01\u8BF7\u9009\u62E9\u5C1A\u672A\u53D1\u5E03\u7684\u7A0B\u5E8F\u8BBE\u8BA1\u9898\u3001\u7A0B\u5E8F\u6539\u9519\u9898\u3001\u7A0B\u5E8F\u586B\u7A7A\u9898\u8FDB\u884C\u53D1\u5E03"
children: "\u53D1\u5E03\u9519\u8BEF\uFF01\u8BF7\u9009\u62E9\u5C1A\u672A\u53D1\u5E03\u7684\u7A0B\u5E8F\u8BBE\u8BA1\u9898/\u7A0B\u5E8F\u6539\u9519\u9898/\u7A0B\u5E8F\u586B\u7A7A\u9898\u8FDB\u884C\u53D1\u5E03"
}),
centered: true,
okText: '确认'
@ -7558,7 +7558,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
modal/* default */.Z.confirm({
title: '提示',
content: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: ["\u5F53\u524D\u9009\u4E2D", total_item_banks, "\u9898\uFF0C\u5176\u4E2D\u5305\u542B", unpublish_program_question_count, "\u9053\u672A\u53D1\u5E03\u7684\u7A0B\u5E8F\u8BBE\u8BA1\u9898\u3001\u7A0B\u5E8F\u6539\u9519\u9898\u3001\u7A0B\u5E8F\u586B\u7A7A\u9898\uFF0C \u8BF7\u786E\u8BA4\u662F\u5426\u53D1\u5E03\uFF1F"]
children: ["\u5F53\u524D\u9009\u4E2D", total_item_banks, "\u9898\uFF0C\u5176\u4E2D\u5305\u542B", unpublish_program_question_count, "\u9053\u672A\u53D1\u5E03\u7684\u7A0B\u5E8F\u8BBE\u8BA1\u9898/\u7A0B\u5E8F\u6539\u9519\u9898/\u7A0B\u5E8F\u586B\u7A7A\u9898\uFF0C \u8BF7\u786E\u8BA4\u662F\u5426\u53D1\u5E03\uFF1F"]
}),
centered: true,
onOk: function () {
@ -7855,7 +7855,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
document.getElementById("topicdom").scrollIntoView({
behavior: "smooth"
});
message/* default */.ZP.info('请选择程序设计题、程序改错题、程序填空题');
message/* default */.ZP.info('请选择程序设计题/程序改错题/程序填空题');
return _context37.abrupt("return");
case 8:
setAddLoading(true);

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

@ -1973,7 +1973,7 @@ var Answer = function Answer(_ref) {
}();
var handleVerifySave = /*#__PURE__*/function () {
var _ref7 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee11(isSave) {
var res, tip, _answerData$exercise_;
var res, _answerData$exercise_, tip, cxArr;
return regeneratorRuntime_default()().wrap(function _callee11$(_context11) {
while (1) switch (_context11.prev = _context11.next) {
case 0:
@ -1991,17 +1991,21 @@ var Answer = function Answer(_ref) {
case 5:
if (res.question_undo !== 0 || res.oj_undo !== 0) {
tip = '';
cxArr = []; //程序类型题型
answerData === null || answerData === void 0 || (_answerData$exercise_ = answerData.exercise_question_types) === null || _answerData$exercise_ === void 0 || _answerData$exercise_.forEach(function (item) {
if ([6, 8, 9].includes(item.question_type)) {
cxArr.push(item === null || item === void 0 ? void 0 : item.name);
}
});
if (res.question_undo !== 0 && res.oj_undo !== 0) {
tip = "\u6709 ".concat(res.question_undo, " \u9898\u672A\u5B8C\u6210\uFF0C\u5305\u542B ").concat(res.oj_undo, " \u4E2A").concat((answerData === null || answerData === void 0 || (_answerData$exercise_ = answerData.exercise_question_types) === null || _answerData$exercise_ === void 0 || (_answerData$exercise_ = _answerData$exercise_.find(function (item) {
return item.question_type == 6;
})) === null || _answerData$exercise_ === void 0 ? void 0 : _answerData$exercise_.name) || "程序设计题");
tip = "\u6709 ".concat(res.question_undo, " \u9898\u672A\u5B8C\u6210\uFF0C\u5305\u542B ").concat(res.oj_undo, " \u4E2A").concat(cxArr === null || cxArr === void 0 ? void 0 : cxArr.join("/"));
} else if (res.question_undo !== 0 && res.oj_undo === 0) {
tip = "\u6709 ".concat(res.question_undo, " \u9898\u672A\u5B8C\u6210");
} else if (res.question_undo === 0 && res.oj_undo !== 0) {
tip = "\u6709 ".concat(res.oj_undo, " \u7A0B\u5E8F\u8BBE\u8BA1\u9898\u672A\u5B8C\u6210");
tip = "\u6709 ".concat(res.oj_undo, " \u7A0B\u5E8F\u8BBE\u8BA1\u9898\u3001\u7A0B\u5E8F\u6539\u9519\u9898\u3001\u7A0B\u5E8F\u586B\u7A7A\u9898\u672A\u5B8C\u6210");
}
es_modal/* default */.Z.confirm({
width: 530,
width: 540,
title: '提示',
centered: true,
okText: '确定',

@ -6761,7 +6761,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
okText: '确定',
cancelText: '取消',
content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: ["\u5F53\u524D\u5DF2\u9009\u62E9", preIds.length, "\u9053\u8BD5\u9898\uFF0C\u5DF2\u52A0\u5165\u8FC7\u7684\u8BD5\u9898\u6216\u672A\u53D1\u5E03\u7684\u7A0B\u5E8F\u8BBE\u8BA1\u9898\u3001\u7A0B\u5E8F\u6539\u9519\u9898\u3001\u7A0B\u5E8F\u586B\u7A7A\u9898\u5C06\u4E0D\u4F1A\u91CD\u590D\u52A0\u5165 "]
children: ["\u5F53\u524D\u5DF2\u9009\u62E9", preIds.length, "\u9053\u8BD5\u9898\uFF0C\u5DF2\u52A0\u5165\u8FC7\u7684\u8BD5\u9898\u6216\u672A\u53D1\u5E03\u7684/\u7A0B\u5E8F\u6539\u9519\u9898/\u7A0B\u5E8F\u586B\u7A7A\u9898\u5C06\u4E0D\u4F1A\u91CD\u590D\u52A0\u5165 "]
}),
onOk: function () {
var _onOk5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee23() {
@ -7266,7 +7266,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
var _x$program_attr;
return typeArr.includes(x.item_type) && ((_x$program_attr = x.program_attr) === null || _x$program_attr === void 0 ? void 0 : _x$program_attr.status) === 0;
})) {
return message/* default */.ZP.info('已选题中存在未发布的程序设计题、程序改错题、程序填空题');
return message/* default */.ZP.info('已选题中存在未发布的程序设计题/程序改错题/程序填空题');
}
window.localStorage.getItem('problemset-set-public-hint-flag') === "1" || user.userInfo.professional_certification ? handleBatchSetPublicRequest() : modal/* default */.Z.confirm({
centered: true,
@ -7549,7 +7549,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
modal/* default */.Z.error({
title: '错误',
content: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: "\u53D1\u5E03\u9519\u8BEF\uFF01\u8BF7\u9009\u62E9\u5C1A\u672A\u53D1\u5E03\u7684\u7A0B\u5E8F\u8BBE\u8BA1\u9898\u3001\u7A0B\u5E8F\u6539\u9519\u9898\u3001\u7A0B\u5E8F\u586B\u7A7A\u9898\u8FDB\u884C\u53D1\u5E03"
children: "\u53D1\u5E03\u9519\u8BEF\uFF01\u8BF7\u9009\u62E9\u5C1A\u672A\u53D1\u5E03\u7684\u7A0B\u5E8F\u8BBE\u8BA1\u9898/\u7A0B\u5E8F\u6539\u9519\u9898/\u7A0B\u5E8F\u586B\u7A7A\u9898\u8FDB\u884C\u53D1\u5E03"
}),
centered: true,
okText: '确认'
@ -7558,7 +7558,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
modal/* default */.Z.confirm({
title: '提示',
content: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: ["\u5F53\u524D\u9009\u4E2D", total_item_banks, "\u9898\uFF0C\u5176\u4E2D\u5305\u542B", unpublish_program_question_count, "\u9053\u672A\u53D1\u5E03\u7684\u7A0B\u5E8F\u8BBE\u8BA1\u9898\u3001\u7A0B\u5E8F\u6539\u9519\u9898\u3001\u7A0B\u5E8F\u586B\u7A7A\u9898\uFF0C \u8BF7\u786E\u8BA4\u662F\u5426\u53D1\u5E03\uFF1F"]
children: ["\u5F53\u524D\u9009\u4E2D", total_item_banks, "\u9898\uFF0C\u5176\u4E2D\u5305\u542B", unpublish_program_question_count, "\u9053\u672A\u53D1\u5E03\u7684\u7A0B\u5E8F\u8BBE\u8BA1\u9898/\u7A0B\u5E8F\u6539\u9519\u9898/\u7A0B\u5E8F\u586B\u7A7A\u9898\uFF0C \u8BF7\u786E\u8BA4\u662F\u5426\u53D1\u5E03\uFF1F"]
}),
centered: true,
onOk: function () {
@ -7855,7 +7855,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
document.getElementById("topicdom").scrollIntoView({
behavior: "smooth"
});
message/* default */.ZP.info('请选择程序设计题、程序改错题、程序填空题');
message/* default */.ZP.info('请选择程序设计题/程序改错题/程序填空题');
return _context37.abrupt("return");
case 8:
setAddLoading(true);

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