|
|
|
|
@ -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);
|