Auto Submit

dev_aliyun_xibeigongye
autosubmit 3 years ago
parent 948096e496
commit 4943dc7cbe

@ -94,9 +94,9 @@ var TipsButton = function TipsButton(_ref) {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u63D0\u793A\uFF1A"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u672C\u5F20\u8BD5\u5377\u5DF2\u5F00\u542F\u96C6\u4E2D\u9605\u5377\uFF0C\u4E3A\u4E86\u4E0D\u5F71\u54CD\u6210\u7EE9\u8BC4\u5B9A\uFF0C\u4E0D\u53EF\u8FDB\u884C\u6B64\u64CD\u4F5C\u3002"
children: "\u672C\u573A\u8003\u8BD5\u5DF2\u5F00\u542F\u96C6\u4E2D\u9605\u5377\uFF0C\u4E3A\u4E86\u4E0D\u5F71\u54CD\u6210\u7EE9\u8BC4\u5B9A\uFF0C\u4E0D\u53EF\u8FDB\u884C\u6B64\u64CD\u4F5C\u3002"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\uFF08\u5982\u9700\u53D1\u5E03\u65B0\u73ED\u7EA7\u8003\u8BD5\uFF0C\u8BF7\u53D1\u5E03\u65B0\u8BD5\u5377\uFF09"
children: "\uFF08\u5982\u9700\u53D1\u5E03\u65B0\u73ED\u7EA7\u8003\u8BD5\uFF0C\u8BF7\u521B\u5EFA\u65B0\u8BD5\u5377\u540E\u53D1\u5E03\uFF09"
})]
});
if (children && tips) {

@ -406,7 +406,7 @@ var Crumbs = function Crumbs(_ref) {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {
title: e.name,
style: {
color: i === 0 ? '#333333' : '#999999'
color: i === 0 ? '#999999' : '#333333'
},
onClick: function onClick() {
return _onClick(e.id);
@ -470,11 +470,20 @@ var Crumbs = function Crumbs(_ref) {
return dom;
});
};
return /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
style: {
overflowX: 'auto'
},
children: (data === null || data === void 0 ? void 0 : data.length) > 5 ? renderMuch() : renderFew()
children: [data.length > 1 && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
cursor: "pointer",
color: "#afaaaa"
},
className: "iconfont icon-zuoshangjiaofanhui",
onClick: function onClick() {
return data.length === 1 ? "" : _onClick(data[data.length - 2].id);
}
}), (data === null || data === void 0 ? void 0 : data.length) > 5 ? renderMuch() : renderFew()]
});
};
/* harmony default export */ var components_Crumbs = (Crumbs);
@ -529,7 +538,7 @@ var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
var react = __webpack_require__(67294);
;// CONCATENATED MODULE: ./src/pages/Problemset/components/NewFolder/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var NewFoldermodules = ({"list":"list___Ur31H","btns":"btns___ITJo0","name":"name___FtR_V","folderWrapper":"folderWrapper___szWWk","folderIcon":"folderIcon___MdKkF"});
/* harmony default export */ var NewFoldermodules = ({"list":"list___Ur31H","btns":"btns___ITJo0","name":"name___FtR_V","folderWrapper":"folderWrapper___szWWk","folderIcon":"folderIcon___MdKkF","subject":"subject___lELqJ"});
// EXTERNAL MODULE: ./src/utils/fetch.ts
var fetch = __webpack_require__(84519);
;// CONCATENATED MODULE: ./src/assets/images/problemset/folder-closed.png
@ -714,7 +723,10 @@ var FolderItems = function FolderItems(_ref) {
},
className: NewFoldermodules.name,
children: folderName
}), isProblemset && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
}), itemBanksCount ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: NewFoldermodules.subject,
children: ["\u8BD5\u9898\u6570 ", itemBanksCount]
}) : "", isProblemset && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: NewFoldermodules.btns,
children: [visible ? /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
@ -775,6 +787,7 @@ var FolderItems = function FolderItems(_ref) {
message/* default.warn */.ZP.warn('该目录下没有试题');
return;
}
console.log(id, "文件夹id");
onShare(Math.abs(id));
},
type: "link",
@ -809,28 +822,43 @@ var NewFolder = function NewFolder(_ref3) {
_useState8 = slicedToArray_default()(_useState7, 2),
treeData = _useState8[0],
setTreeData = _useState8[1];
var _useState9 = (0,react.useState)([]),
_useState10 = slicedToArray_default()(_useState9, 2),
loadedKeys = _useState10[0],
setLoadedKeys = _useState10[1];
var _useState11 = (0,react.useState)([]),
_useState12 = slicedToArray_default()(_useState11, 2),
expandedKeys = _useState12[0],
setExpandedKeys = _useState12[1];
(0,react.useEffect)(function () {
setTreeData(data === null || data === void 0 ? void 0 : data.map(function (item) {
return {
title: /*#__PURE__*/(0,jsx_runtime.jsx)(FolderItems, {
isProblemset: isProblemset,
name: item.name,
id: item.id,
itemBanksCount: item.item_banks_count,
onMove: handleMove,
onOpen: onOpen,
onShare: onShare,
onDeleteOk: handleDelete
}),
key: item.id,
icon: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: folder_closed_namespaceObject,
className: NewFoldermodules.folderIcon
}),
isLeaf: false
};
}));
//点击导航(或者是外部触发的文件数据更新时,需要重置记录展开状态和加载状态的数组)
setExpandedKeys([]);
setLoadedKeys([]);
}, [data]);
(0,react.useEffect)(function () {
if (expandedKeys.length === 0 && loadedKeys.length === 0) {
setTreeData(data === null || data === void 0 ? void 0 : data.map(function (item) {
return {
title: /*#__PURE__*/(0,jsx_runtime.jsx)(FolderItems, {
isProblemset: isProblemset,
name: item.name,
id: item.id,
itemBanksCount: item.item_banks_count,
onMove: handleMove,
onOpen: onOpen,
onShare: onShare,
onDeleteOk: handleDelete
}),
key: item.id,
icon: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: folder_closed_namespaceObject,
className: NewFoldermodules.folderIcon
}),
isLeaf: false
};
}));
}
}, [expandedKeys, loadedKeys, data]);
var moveTreeNode = function moveTreeNode(list, key, direction) {
//最顶部和最底部的边界条件后端会处理
var listCopy = (0,lodash.cloneDeep)(list);
@ -940,8 +968,10 @@ var NewFolder = function NewFolder(_ref3) {
});
case 3:
res = _context4.sent;
// setlodeKeys(pre => [...pre, key])
_ref8 = res || {}, item_banks_group = _ref8.item_banks_group, item_banks_group_count = _ref8.item_banks_group_count;
if (item_banks_group_count > 0) {
console.log("触发");
setTreeData(function (originData) {
return updateTreeData(originData, key, {
children: item_banks_group.map(function (item) {
@ -950,7 +980,8 @@ var NewFolder = function NewFolder(_ref3) {
isProblemset: isProblemset,
name: item.name,
id: item.id,
itemBanksCount: item.item_banks_count,
itemBanksCount: item.item_banks_count //试题数
,
onMove: handleMove,
onOpen: onOpen,
onShare: onShare,
@ -986,6 +1017,7 @@ var NewFolder = function NewFolder(_ref3) {
var onExpand = function onExpand(expandedKeys, info) {
var node = info.node,
expanded = info.expanded;
setExpandedKeys(expandedKeys);
setTreeData(function (originData) {
return updateTreeData(originData, node.key, {
icon: expanded ? /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
@ -998,17 +1030,30 @@ var NewFolder = function NewFolder(_ref3) {
});
});
};
return (treeData === null || treeData === void 0 ? void 0 : treeData.length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(tree/* default */.Z, {
showLine: {
showLeafIcon: false
},
showIcon: true,
treeData: treeData,
loadData: onLoadData,
onExpand: onExpand,
className: NewFoldermodules.folderWrapper,
selectable: false
});
return (
// <></>
(treeData === null || treeData === void 0 ? void 0 : treeData.length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(tree/* default */.Z, {
style: (treeData === null || treeData === void 0 ? void 0 : treeData.length) > 5 ? {
maxHeight: "153px"
} : {
overflowY: "hidden"
},
showLine: {
showLeafIcon: false
},
showIcon: true,
treeData: treeData,
loadData: onLoadData,
onExpand: onExpand,
onLoad: function onLoad(keys) {
setLoadedKeys(keys);
},
className: NewFoldermodules.folderWrapper,
selectable: false,
expandedKeys: expandedKeys,
loadedKeys: loadedKeys
})
);
};
/* harmony default export */ var components_NewFolder = (NewFolder);

@ -563,10 +563,10 @@ a.ant-btn-disabled:active > a:only-child::after {background: transparent;}
.ant-comment-actions > li > span {color: @text-color-secondary;}
.ant-comment-actions > li > span:hover {color: #595959;}
.ant-picker-status-error.ant-picker, .ant-picker-status-error.ant-picker:not([disabled]):hover {background-color: #fff;border-color: @error-color;}
.ant-picker-status-error.ant-picker-focused, .ant-picker-status-error.ant-picker:focus {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(210, 173, 14, 0.2);border-right-width: 1px;}
.ant-picker-status-error.ant-picker-focused, .ant-picker-status-error.ant-picker:focus {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(166, 98, 124, 0.2);border-right-width: 1px;}
.ant-picker-status-error.ant-picker .ant-picker-active-bar {background: color(~`colorPalette("@{error-color}", 5)`);}
.ant-picker-status-warning.ant-picker, .ant-picker-status-warning.ant-picker:not([disabled]):hover {background-color: #fff;border-color: @warning-color;}
.ant-picker-status-warning.ant-picker-focused, .ant-picker-status-warning.ant-picker:focus {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(226, 156, 247, 0.2);border-right-width: 1px;}
.ant-picker-status-warning.ant-picker-focused, .ant-picker-status-warning.ant-picker:focus {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 163, 110, 0.2);border-right-width: 1px;}
.ant-picker-status-warning.ant-picker .ant-picker-active-bar {background: color(~`colorPalette("@{warning-color}", 5)`);}
.ant-picker {color: @text-color;background: #fff;border: 1px solid @border-color-base;border-radius: 2px;}
.ant-picker:hover, .ant-picker-focused {border-color: color(~`colorPalette("@{primary-color}", 5)`);border-right-width: 1px;}
@ -788,16 +788,16 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.anticon.ant-input-clear-icon:hover, .ant-input-clear-icon:hover {color: @text-color-secondary;}
.anticon.ant-input-clear-icon:active, .ant-input-clear-icon:active {color: @text-color;}
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input, .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {background: #fff;border-color: @error-color;}
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(210, 173, 14, 0.2);border-right-width: 1px;}
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(166, 98, 124, 0.2);border-right-width: 1px;}
.ant-input-status-error .ant-input-prefix {color: @error-color;}
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input, .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {background: #fff;border-color: @warning-color;}
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(226, 156, 247, 0.2);border-right-width: 1px;}
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 163, 110, 0.2);border-right-width: 1px;}
.ant-input-status-warning .ant-input-prefix {color: @warning-color;}
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper, .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {background: #fff;border-color: @error-color;}
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(210, 173, 14, 0.2);border-right-width: 1px;}
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(166, 98, 124, 0.2);border-right-width: 1px;}
.ant-input-affix-wrapper-status-error .ant-input-prefix {color: @error-color;}
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper, .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {background: #fff;border-color: @warning-color;}
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(226, 156, 247, 0.2);border-right-width: 1px;}
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 163, 110, 0.2);border-right-width: 1px;}
.ant-input-affix-wrapper-status-warning .ant-input-prefix {color: @warning-color;}
.ant-input-group-wrapper-status-error .ant-input-group-addon {color: @error-color;border-color: @error-color;}
.ant-input-group-wrapper-status-warning .ant-input-group-addon {color: @warning-color;border-color: @warning-color;}
@ -894,16 +894,16 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.ant-input-number-affix-wrapper > div.ant-input-number {border: none;}
.ant-input-number-affix-wrapper > div.ant-input-number.ant-input-number-focused {box-shadow: none !important;}
.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number, .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:hover {background: #fff;border-color: @error-color;}
.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(210, 173, 14, 0.2);border-right-width: 1px;}
.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(166, 98, 124, 0.2);border-right-width: 1px;}
.ant-input-number-status-error .ant-input-number-prefix {color: @error-color;}
.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number, .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:hover {background: #fff;border-color: @warning-color;}
.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(226, 156, 247, 0.2);border-right-width: 1px;}
.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 163, 110, 0.2);border-right-width: 1px;}
.ant-input-number-status-warning .ant-input-number-prefix {color: @warning-color;}
.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper, .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:hover {background: #fff;border-color: @error-color;}
.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(210, 173, 14, 0.2);border-right-width: 1px;}
.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(166, 98, 124, 0.2);border-right-width: 1px;}
.ant-input-number-affix-wrapper-status-error .ant-input-number-prefix {color: @error-color;}
.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper, .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:hover {background: #fff;border-color: @warning-color;}
.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(226, 156, 247, 0.2);border-right-width: 1px;}
.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 163, 110, 0.2);border-right-width: 1px;}
.ant-input-number-affix-wrapper-status-warning .ant-input-number-prefix {color: @warning-color;}
.ant-input-number-group-wrapper-status-error .ant-input-number-group-addon {color: @error-color;border-color: @error-color;}
.ant-input-number-group-wrapper-status-warning .ant-input-number-group-addon {color: @warning-color;border-color: @warning-color;}
@ -1024,10 +1024,10 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.ant-list-grid .ant-col > .ant-list-item {border-bottom: none;}
.ant-list-bordered {border: 1px solid @border-color-base;border-radius: 2px;}
.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions, .ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:hover {background: #fff;border-color: @error-color;}
.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(210, 173, 14, 0.2);border-right-width: 1px;}
.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(166, 98, 124, 0.2);border-right-width: 1px;}
.ant-mentions-status-error .ant-input-prefix {color: @error-color;}
.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions, .ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:hover {background: #fff;border-color: @warning-color;}
.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(226, 156, 247, 0.2);border-right-width: 1px;}
.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 163, 110, 0.2);border-right-width: 1px;}
.ant-mentions-status-warning .ant-input-prefix {color: @warning-color;}
.ant-mentions {color: @text-color;background-color: #fff;background-image: none;border: 1px solid @border-color-base;border-radius: 2px;}
.ant-mentions::placeholder {color: #bfbfbf;}
@ -1058,10 +1058,10 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.ant-mentions-dropdown-menu-item-active {background-color: #f5f5f5;}
.ant-menu-item-danger.ant-menu-item {color: @error-color;}
.ant-menu-item-danger.ant-menu-item:hover, .ant-menu-item-danger.ant-menu-item-active {color: @error-color;}
.ant-menu-item-danger.ant-menu-item:active {background: #fff1f0;}
.ant-menu-item-danger.ant-menu-item:active {background: color(~`colorPalette("@{modal-heading-color}", 3)`);}
.ant-menu-item-danger.ant-menu-item-selected {color: @error-color;}
.ant-menu-item-danger.ant-menu-item-selected > a, .ant-menu-item-danger.ant-menu-item-selected > a:hover {color: @error-color;}
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected {background-color: #fff1f0;}
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected {background-color: color(~`colorPalette("@{modal-heading-color}", 3)`);}
.ant-menu-inline .ant-menu-item-danger.ant-menu-item::after {border-right-color: @error-color;}
.ant-menu-dark .ant-menu-item-danger.ant-menu-item, .ant-menu-dark .ant-menu-item-danger.ant-menu-item:hover, .ant-menu-dark .ant-menu-item-danger.ant-menu-item > a {color: @error-color;}
.ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected {color: #fff;background-color: @error-color;}
@ -1360,9 +1360,9 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.ant-select-multiple .ant-select-selection-item-remove {color: inherit;color: @text-color-secondary;}
.ant-select-multiple .ant-select-selection-item-remove:hover {color: rgba(0, 0, 0, 0.75);}
.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer) .ant-select-selector {background-color: #fff;border-color: @error-color !important;}
.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(210, 173, 14, 0.2);border-right-width: 1px;}
.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(166, 98, 124, 0.2);border-right-width: 1px;}
.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer) .ant-select-selector {background-color: #fff;border-color: @warning-color !important;}
.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(226, 156, 247, 0.2);border-right-width: 1px;}
.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 163, 110, 0.2);border-right-width: 1px;}
.ant-select {color: @text-color;}
.ant-select:not(.ant-select-customize-input) .ant-select-selector {background-color: #fff;border: 1px solid @border-color-base;border-radius: 2px;}
.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {border-color: color(~`colorPalette("@{primary-color}", 5)`);box-shadow: 0 0 0 2px fade(@primary-color, 20%);border-right-width: 1px;}
@ -1640,7 +1640,7 @@ tr.ant-table-expanded-row:hover > td {background: #fbfbfb;}
.ant-tag-pink-inverse {color: #fff;background: #eb2f96;border-color: #eb2f96;}
.ant-tag-magenta {color: #c41d7f;background: #fff0f6;border-color: #ffadd2;}
.ant-tag-magenta-inverse {color: #fff;background: #eb2f96;border-color: #eb2f96;}
.ant-tag-red {color: #cf1322;background: #fff1f0;border-color: #ffa39e;}
.ant-tag-red {color: #cf1322;background: color(~`colorPalette("@{modal-heading-color}", 3)`);border-color: #ffa39e;}
.ant-tag-red-inverse {color: #fff;background: #f5222d;border-color: #f5222d;}
.ant-tag-volcano {color: #d4380d;background: #fff2e8;border-color: #ffbb96;}
.ant-tag-volcano-inverse {color: #fff;background: #fa541c;border-color: #fa541c;}

@ -10,12 +10,12 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1">
<meta http-equiv="Cache-Control" content="no-transform">
<title>头歌实践教学平台</title>
<link rel="stylesheet" href="https://www-cdn.educoder.net/umi.230ac8e3.css">
<link rel="stylesheet" href="https://www-cdn.educoder.net/umi.08187610.css">
<script src="/js/polyfill.min.js"></script>
</head>
<body>
<div id="root"></div><link rel="stylesheet/less" type="text/css" href="https://www-cdn.educoder.net/color.less"><script>window.ENV = 'newBuild'</script><script src="https://www-cdn.educoder.net/js/less.min.js"></script><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="https://www-cdn.educoder.net/umi.758ecc2f.js"></script>
<script src="https://www-cdn.educoder.net/umi.c5cbfa6c.js"></script>
<script src="https://www-cdn.educoder.net/js/officeapi.js"></script>
<script src="https://www-cdn.educoder.net/js/public.js"></script>

@ -3801,7 +3801,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
var _v$author;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Attachmentmodules.listItem,
children: [(0,authority/* isAdmin */.GJ)() && batchStatus && /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
children: [(0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
checked: selectArrs.includes(v.id),
value: v.id,
className: "mr20",
@ -3937,7 +3937,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
total: detailAttachmentList.attachments_count
})
})]
}), batchStatus && (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(affix/* default */.Z, {
}), selectArrs.length > 0 && (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(affix/* default */.Z, {
offsetBottom: 0,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(BottomControl/* default */.Z, {
buttonDataSource: actionsArr,
@ -3947,6 +3947,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
return v.type === "attachment";
})) === null || _detailLeftMenus$cour2 === void 0 ? void 0 : _detailLeftMenus$cour2.second_category) || [],
allSelect: selectArrs.length ? selectArrs.length === ((_detailAttachmentList2 = detailAttachmentList.files) === null || _detailAttachmentList2 === void 0 ? void 0 : _detailAttachmentList2.length) : false,
setSeleArr: setSelectArrs,
setAllSelect: function setAllSelect(e) {
if (e.target.checked) {
setSelectArrs(detailAttachmentList.files.map(function (v) {
@ -4049,6 +4050,7 @@ var BottomControl = function BottomControl(_ref) {
setAllSelect = _ref.setAllSelect,
selectArrs = _ref.selectArrs,
onMenuClick = _ref.onMenuClick,
setSeleArr = _ref.setSeleArr,
catalogue = _ref.catalogue,
addCatalogue = _ref.addCatalogue;
var _useState = (0,react.useState)(false),
@ -4147,7 +4149,8 @@ var BottomControl = function BottomControl(_ref) {
type: "primary",
ghost: true,
onClick: function onClick() {
return useBatchStatus(false);
useBatchStatus(false);
setSeleArr([]);
},
children: "\u53D6\u6D88\u64CD\u4F5C"
})
@ -4228,18 +4231,7 @@ var SearchSortController = function SearchSortController(_ref) {
var isDefault = SortMenuName === '默认排序';
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: SearchSortControllermodules.searchSortControllerContainer,
children: [isAdmin && !!dataSource.length && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
onClick: function onClick() {
onBatch(!batchStatus);
},
className: SearchSortControllermodules.btn,
style: {
cursor: 'pointer'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-piliangcaozuo font14 mr5"
}), batchStatus ? '取消' : '批量', "\u64CD\u4F5C"]
}), !!(SortMenus !== null && SortMenus !== void 0 && SortMenus.length) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: [!!(SortMenus !== null && SortMenus !== void 0 && SortMenus.length) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
dropdownRender: function dropdownRender() {
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, {

@ -1038,7 +1038,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
current: paginationData.page || 1,
total: detailBoardList.total_count
})
}), batchStatus && (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(affix/* default */.Z, {
}), selectArrs.length > 0 && (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(affix/* default */.Z, {
offsetBottom: 0,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(BottomControl/* default */.Z, {
buttonDataSource: actionsArr,
@ -1048,6 +1048,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
return r.category_name !== '未分配目录';
}) || [],
allSelect: selectArrs.length ? selectArrs.length === (detailBoardList === null || detailBoardList === void 0 ? void 0 : (_detailBoardList$mess = detailBoardList.messages) === null || _detailBoardList$mess === void 0 ? void 0 : _detailBoardList$mess.length) : false,
setSeleArr: setSelectArrs,
setAllSelect: function setAllSelect(e) {
if (e.target.checked) {
setSelectArrs(detailBoardList.messages.map(function (v) {
@ -1231,6 +1232,7 @@ var BottomControl = function BottomControl(_ref) {
setAllSelect = _ref.setAllSelect,
selectArrs = _ref.selectArrs,
onMenuClick = _ref.onMenuClick,
setSeleArr = _ref.setSeleArr,
catalogue = _ref.catalogue,
addCatalogue = _ref.addCatalogue;
var _useState = (0,react.useState)(false),
@ -1329,7 +1331,8 @@ var BottomControl = function BottomControl(_ref) {
type: "primary",
ghost: true,
onClick: function onClick() {
return useBatchStatus(false);
useBatchStatus(false);
setSeleArr([]);
},
children: "\u53D6\u6D88\u64CD\u4F5C"
})
@ -1410,18 +1413,7 @@ var SearchSortController = function SearchSortController(_ref) {
var isDefault = SortMenuName === '默认排序';
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: SearchSortControllermodules.searchSortControllerContainer,
children: [isAdmin && !!dataSource.length && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
onClick: function onClick() {
onBatch(!batchStatus);
},
className: SearchSortControllermodules.btn,
style: {
cursor: 'pointer'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-piliangcaozuo font14 mr5"
}), batchStatus ? '取消' : '批量', "\u64CD\u4F5C"]
}), !!(SortMenus !== null && SortMenus !== void 0 && SortMenus.length) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: [!!(SortMenus !== null && SortMenus !== void 0 && SortMenus.length) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
dropdownRender: function dropdownRender() {
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, {

@ -476,18 +476,7 @@ var SearchSortController = function SearchSortController(_ref) {
var isDefault = SortMenuName === '默认排序';
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: SearchSortControllermodules.searchSortControllerContainer,
children: [isAdmin && !!dataSource.length && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
onClick: function onClick() {
onBatch(!batchStatus);
},
className: SearchSortControllermodules.btn,
style: {
cursor: 'pointer'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-piliangcaozuo font14 mr5"
}), batchStatus ? '取消' : '批量', "\u64CD\u4F5C"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
dropdownRender: function dropdownRender() {
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, {
@ -2718,7 +2707,8 @@ var BottomControl = function BottomControl(_ref) {
type: "primary",
ghost: true,
onClick: function onClick() {
return useBatchStatus(false);
setSelectArrs([]);
useBatchStatus(false);
},
children: "\u53D6\u6D88\u64CD\u4F5C"
})
@ -2917,7 +2907,7 @@ var List = function List(_ref) {
event.stopPropagation();
(0,util/* openNewWindow */.xg)("/classrooms/".concat(params.coursesId, "/common_homework/").concat(dataSource.homework_id, "/detail"));
},
children: [(0,authority/* isAdmin */.GJ)() && batchStatus && /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
children: [(0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
onClick: function onClick(e) {
e.stopPropagation();
},
@ -4123,7 +4113,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(SearchSortController/* default */.Z, {
dataSource: detailCommonHomeworksList.homeworks || [],
isAdmin: (0,authority/* isAdmin */.GJ)(),
batchStatus: batchStatus,
batchStatus: true,
SortMenuName: SortMenuName,
setSortMenuName: setSortMenuName,
onSearch: function onSearch(value) {
@ -4169,7 +4159,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
total: detailCommonHomeworksList.query_total_count
})
})]
}), batchStatus && (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(affix/* default */.Z, {
}), selectArrs.length > 0 && (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(affix/* default */.Z, {
offsetBottom: 0,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(components_BottomControl, {
buttonDataSource: getButtomControlButtonDataSource(),

@ -5027,7 +5027,7 @@ var WorkList_excluded = ["exercise", "loading", "dispatch", "globalSetting", "ch
var WorkList = function WorkList(_ref) {
var _exerciseList$exercis4, _exerciseList$exercis5, _exerciseList$exercis6, _exerciseList$exercis7, _exerciseList$exercis8, _exerciseList$exercis9, _exerciseList$exercis10, _exerciseList$exercis11, _exerciseList$exercis12, _globalSetting$settin, _globalSetting$settin2, _exerciseList$exercis15, _exerciseList$exercis16, _exerciseList$exercis17, _exerciseList$exercis18, _exerciseList$exercis19, _exerciseList$exercis20, _exerciseList$exercis21, _exerciseList$exercis22, _exerciseList$exercis23, _ref8, _filterSelect$course_, _filterSelect$commit_, _filterSelect$review, _exerciseList$exercis26, _filterSelect$is_make, _exerciseList$exercis28, _exerciseList$exercis29, _exerciseList$exercis30, _params, _exerciseList$exercis31, _exerciseList$exercis32, _exerciseList$total_e, _exerciseList$total_e2;
var _exerciseList$exercis4, _exerciseList$exercis5, _exerciseList$exercis6, _exerciseList$exercis7, _exerciseList$exercis8, _exerciseList$exercis9, _exerciseList$exercis10, _exerciseList$exercis11, _exerciseList$exercis12, _globalSetting$settin, _globalSetting$settin2, _exerciseList$exercis24, _exerciseList$exercis25, _exerciseList$exercis26, _exerciseList$exercis27, _exerciseList$exercis28, _exerciseList$exercis29, _exerciseList$exercis30, _exerciseList$exercis31, _exerciseList$exercis32, _ref8, _filterSelect$course_, _filterSelect$commit_, _filterSelect$review, _exerciseList$exercis35, _filterSelect$is_make, _exerciseList$exercis37, _exerciseList$exercis38, _exerciseList$exercis39, _params, _exerciseList$exercis40, _exerciseList$exercis41, _exerciseList$total_e, _exerciseList$total_e2;
var exercise = _ref.exercise,
loading = _ref.loading,
dispatch = _ref.dispatch,
@ -5111,11 +5111,6 @@ var WorkList = function WorkList(_ref) {
_useState32 = slicedToArray_default()(_useState31, 2),
commitStatus = _useState32[0],
setCommitStatus = _useState32[1];
// console.log("是否具有强制交卷权限", classroomList?.AssistantObject?.exercise?.can_forcing_commit);
// console.log("是否具有延时权限", classroomList?.AssistantObject?.exercise?.can_delay);
// console.log("是否具有评阅权限", classroomList?.AssistantObject?.exercise?.can_appraise);
(0,react.useEffect)(function () {
var _exerciseList$exercis2;
if ((0,authority/* isAdmin */.GJ)()) {
@ -5247,6 +5242,7 @@ var WorkList = function WorkList(_ref) {
payload: objectSpread2_default()({}, params)
});
};
var date = new Date().getTime();
var columns = [{
title: '序号',
dataIndex: 'name',
@ -5734,6 +5730,14 @@ var WorkList = function WorkList(_ref) {
dataIndex: 'has_comment',
align: 'center',
render: function render(text, record) {
var _exerciseList$exercis13, _exerciseList$exercis14, _exerciseList$exercis15, _exerciseList$exercis16, _exerciseList$exercis17, _exerciseList$exercis18;
console.log(exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis13 = exerciseList.exercise_types) === null || _exerciseList$exercis13 === void 0 ? void 0 : _exerciseList$exercis13.appraise_setting, "appraise_setting是否为true");
console.log(exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis14 = exerciseList.exercise_types) === null || _exerciseList$exercis14 === void 0 ? void 0 : _exerciseList$exercis14.sealed_review, "sealed_review是否为true");
console.log(new Date(exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis15 = exerciseList.exercise_types) === null || _exerciseList$exercis15 === void 0 ? void 0 : _exerciseList$exercis15.appraise_end_time).getTime() > date, "当前时间是否小于截止时间");
// console.log(date);
if (exerciseList !== null && exerciseList !== void 0 && (_exerciseList$exercis16 = exerciseList.exercise_types) !== null && _exerciseList$exercis16 !== void 0 && _exerciseList$exercis16.appraise_setting && exerciseList !== null && exerciseList !== void 0 && (_exerciseList$exercis17 = exerciseList.exercise_types) !== null && _exerciseList$exercis17 !== void 0 && _exerciseList$exercis17.sealed_review && new Date(exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis18 = exerciseList.exercise_types) === null || _exerciseList$exercis18 === void 0 ? void 0 : _exerciseList$exercis18.appraise_end_time).getTime() > date) {
return "--";
}
if (!text && record.review_status) {
return '评阅中';
}
@ -5752,13 +5756,14 @@ var WorkList = function WorkList(_ref) {
// width:"8%",
// width: 236,
render: function render(text, record) {
var _exerciseList$exercis19, _exerciseList$exercis20, _exerciseList$exercis21;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [(0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, {
ghost: true,
type: "primary",
size: "small",
disabled: record.commit_status < 2,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("a", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
className: record.commit_status > 1 ? 'c-blue' : 'c-black',
onClick: /*#__PURE__*/function () {
var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(e) {
@ -5818,7 +5823,7 @@ var WorkList = function WorkList(_ref) {
return _ref5.apply(this, arguments);
};
}(),
children: [record.has_comment && '更改评阅', !record.has_comment && '评阅']
children: exerciseList !== null && exerciseList !== void 0 && (_exerciseList$exercis19 = exerciseList.exercise_types) !== null && _exerciseList$exercis19 !== void 0 && _exerciseList$exercis19.appraise_setting && exerciseList !== null && exerciseList !== void 0 && (_exerciseList$exercis20 = exerciseList.exercise_types) !== null && _exerciseList$exercis20 !== void 0 && _exerciseList$exercis20.sealed_review && new Date(exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis21 = exerciseList.exercise_types) === null || _exerciseList$exercis21 === void 0 ? void 0 : _exerciseList$exercis21.appraise_end_time).getTime() > date ? '评阅' : record.has_comment ? '更改评阅' : !record.has_comment && '评阅'
})
}), !(0,authority/* isStudent */.dE)() && ['考试中'].includes(util/* ExerciseStatus */.ju[commonHeader.exercise_status]) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, {
ghost: true,
@ -5894,11 +5899,11 @@ var WorkList = function WorkList(_ref) {
cursor: 'pointer'
},
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee8() {
var _exerciseList$exercis13;
var _exerciseList$exercis22;
return regeneratorRuntime_default()().wrap(function _callee8$(_context8) {
while (1) switch (_context8.prev = _context8.next) {
case 0:
if (exerciseList !== null && exerciseList !== void 0 && (_exerciseList$exercis13 = exerciseList.exercise_types) !== null && _exerciseList$exercis13 !== void 0 && _exerciseList$exercis13.answered_open) {
if (exerciseList !== null && exerciseList !== void 0 && (_exerciseList$exercis22 = exerciseList.exercise_types) !== null && _exerciseList$exercis22 !== void 0 && _exerciseList$exercis22.answered_open) {
_context8.next = 3;
break;
}
@ -5992,12 +5997,12 @@ var WorkList = function WorkList(_ref) {
cursor: 'pointer'
},
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee9() {
var _exerciseList$exercis14, _exerciseList$current2, _exerciseList$current3;
var _exerciseList$exercis23, _exerciseList$current2, _exerciseList$current3;
var url;
return regeneratorRuntime_default()().wrap(function _callee9$(_context9) {
while (1) switch (_context9.prev = _context9.next) {
case 0:
if (exerciseList !== null && exerciseList !== void 0 && (_exerciseList$exercis14 = exerciseList.exercise_types) !== null && _exerciseList$exercis14 !== void 0 && _exerciseList$exercis14.answered_open) {
if (exerciseList !== null && exerciseList !== void 0 && (_exerciseList$exercis23 = exerciseList.exercise_types) !== null && _exerciseList$exercis23 !== void 0 && _exerciseList$exercis23.answered_open) {
_context9.next = 3;
break;
}
@ -6032,7 +6037,7 @@ var WorkList = function WorkList(_ref) {
};
return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
className: "minH500 bg-white mb50 inline-block w100",
children: [(exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis15 = exerciseList.exercise_types) === null || _exerciseList$exercis15 === void 0 ? void 0 : _exerciseList$exercis15.score_open) && (0,authority/* isStudent */.dE)() && /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
children: [(exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis24 = exerciseList.exercise_types) === null || _exerciseList$exercis24 === void 0 ? void 0 : _exerciseList$exercis24.score_open) && (0,authority/* isStudent */.dE)() && /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
hideOnSinglePage: true,
pagination: false,
showHeader: false,
@ -6043,26 +6048,26 @@ var WorkList = function WorkList(_ref) {
}
}), !(0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "bg-white pt10 pl25 mt15",
children: [!!(exerciseList !== null && exerciseList !== void 0 && (_exerciseList$exercis16 = exerciseList.exercise_types) !== null && _exerciseList$exercis16 !== void 0 && _exerciseList$exercis16.answer_users) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [!!(exerciseList !== null && exerciseList !== void 0 && (_exerciseList$exercis25 = exerciseList.exercise_types) !== null && _exerciseList$exercis25 !== void 0 && _exerciseList$exercis25.answer_users) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "mr10",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {
color: '#FF954C'
},
children: [exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis17 = exerciseList.exercise_types) === null || _exerciseList$exercis17 === void 0 ? void 0 : _exerciseList$exercis17.answer_users, ' ']
children: [exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis26 = exerciseList.exercise_types) === null || _exerciseList$exercis26 === void 0 ? void 0 : _exerciseList$exercis26.answer_users, ' ']
}), "\u5DF2\u4EA4"]
}), !!(exerciseList !== null && exerciseList !== void 0 && (_exerciseList$exercis18 = exerciseList.exercise_types) !== null && _exerciseList$exercis18 !== void 0 && _exerciseList$exercis18.unanswer_users) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
}), !!(exerciseList !== null && exerciseList !== void 0 && (_exerciseList$exercis27 = exerciseList.exercise_types) !== null && _exerciseList$exercis27 !== void 0 && _exerciseList$exercis27.unanswer_users) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "mr10",
children: [exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis19 = exerciseList.exercise_types) === null || _exerciseList$exercis19 === void 0 ? void 0 : _exerciseList$exercis19.unanswer_users, "\u672A\u4EA4"]
}), (exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis20 = exerciseList.exercise_types) === null || _exerciseList$exercis20 === void 0 ? void 0 : _exerciseList$exercis20.exercise_end_time) !== '--' && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis28 = exerciseList.exercise_types) === null || _exerciseList$exercis28 === void 0 ? void 0 : _exerciseList$exercis28.unanswer_users, "\u672A\u4EA4"]
}), (exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis29 = exerciseList.exercise_types) === null || _exerciseList$exercis29 === void 0 ? void 0 : _exerciseList$exercis29.exercise_end_time) !== '--' && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: ["\u5269\u4F59\u63D0\u4EA4\u65F6\u95F4\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: '#FF954C'
},
children: exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis21 = exerciseList.exercise_types) === null || _exerciseList$exercis21 === void 0 ? void 0 : _exerciseList$exercis21.exercise_end_time
children: exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis30 = exerciseList.exercise_types) === null || _exerciseList$exercis30 === void 0 ? void 0 : _exerciseList$exercis30.exercise_end_time
})]
})]
}), !((_exerciseList$exercis22 = exerciseList.exercise_types) !== null && _exerciseList$exercis22 !== void 0 && _exerciseList$exercis22.exercise_all_users) && !(0,authority/* isStudent */.dE)() && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {}), (!!((_exerciseList$exercis23 = exerciseList.exercise_types) !== null && _exerciseList$exercis23 !== void 0 && _exerciseList$exercis23.exercise_all_users) || (0,authority/* isStudent */.dE)()) && /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
}), !((_exerciseList$exercis31 = exerciseList.exercise_types) !== null && _exerciseList$exercis31 !== void 0 && _exerciseList$exercis31.exercise_all_users) && !(0,authority/* isStudent */.dE)() && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {}), (!!((_exerciseList$exercis32 = exerciseList.exercise_types) !== null && _exerciseList$exercis32 !== void 0 && _exerciseList$exercis32.exercise_all_users) || (0,authority/* isStudent */.dE)()) && /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
children: [(0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
className: "pt20",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
@ -6119,11 +6124,11 @@ var WorkList = function WorkList(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: '1',
children: CommitStatusData.map(function (v, k) {
var _exerciseList$exercis24;
var _exerciseList$exercis33;
return /*#__PURE__*/(0,jsx_runtime.jsxs)(es_checkbox/* default */.Z, {
name: "commit_status",
value: v.id,
children: [v.name, "(", exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis24 = exerciseList.exercise_types) === null || _exerciseList$exercis24 === void 0 ? void 0 : _exerciseList$exercis24[v.type], ")"]
children: [v.name, "(", exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis33 = exerciseList.exercise_types) === null || _exerciseList$exercis33 === void 0 ? void 0 : _exerciseList$exercis33[v.type], ")"]
}, v.id);
})
})]
@ -6149,16 +6154,16 @@ var WorkList = function WorkList(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: '1',
children: ReviewData === null || ReviewData === void 0 ? void 0 : ReviewData.map(function (v, k) {
var _exerciseList$exercis25;
var _exerciseList$exercis34;
return /*#__PURE__*/(0,jsx_runtime.jsxs)(es_checkbox/* default */.Z, {
value: v.id,
children: [v.name, "(", exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis25 = exerciseList.exercise_types) === null || _exerciseList$exercis25 === void 0 ? void 0 : _exerciseList$exercis25[v.type], ")"]
children: [v.name, "(", exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis34 = exerciseList.exercise_types) === null || _exerciseList$exercis34 === void 0 ? void 0 : _exerciseList$exercis34[v.type], ")"]
}, k);
})
})]
})
})
}), (exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis26 = exerciseList.exercise_types) === null || _exerciseList$exercis26 === void 0 ? void 0 : _exerciseList$exercis26.open_make_up) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
}), (exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis35 = exerciseList.exercise_types) === null || _exerciseList$exercis35 === void 0 ? void 0 : _exerciseList$exercis35.open_make_up) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
name: "is_make_up",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default.Group */.Z.Group, {
value: [],
@ -6179,11 +6184,11 @@ var WorkList = function WorkList(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: '1',
children: MakeupStatusData.map(function (v, k) {
var _exerciseList$exercis27;
var _exerciseList$exercis36;
return /*#__PURE__*/(0,jsx_runtime.jsxs)(es_checkbox/* default */.Z, {
name: "is_make_up",
value: v.id,
children: [v.name, "(", exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis27 = exerciseList.exercise_types) === null || _exerciseList$exercis27 === void 0 ? void 0 : _exerciseList$exercis27[v.type], ")"]
children: [v.name, "(", exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis36 = exerciseList.exercise_types) === null || _exerciseList$exercis36 === void 0 ? void 0 : _exerciseList$exercis36[v.type], ")"]
});
})
})]
@ -6216,13 +6221,13 @@ var WorkList = function WorkList(_ref) {
})
}), !(commonHeader !== null && commonHeader !== void 0 && commonHeader.is_random) && /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
className: ['tr', WorkListmodules.rightFilter].join(' '),
children: [((_exerciseList$exercis28 = exerciseList.exercise_types) === null || _exerciseList$exercis28 === void 0 ? void 0 : _exerciseList$exercis28.objective) === 1 && ((_exerciseList$exercis29 = exerciseList.exercise_types) === null || _exerciseList$exercis29 === void 0 ? void 0 : _exerciseList$exercis29.subjective) === 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [((_exerciseList$exercis37 = exerciseList.exercise_types) === null || _exerciseList$exercis37 === void 0 ? void 0 : _exerciseList$exercis37.objective) === 1 && ((_exerciseList$exercis38 = exerciseList.exercise_types) === null || _exerciseList$exercis38 === void 0 ? void 0 : _exerciseList$exercis38.subjective) === 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: ["\u6309\u5BA2\u89C2\u9898\u5F97\u5206\u5206\u7EC4", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
name: "objective_score_gte",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
min: 0,
max: exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis30 = exerciseList.exercise_types) === null || _exerciseList$exercis30 === void 0 ? void 0 : _exerciseList$exercis30.objective_score,
max: exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis39 = exerciseList.exercise_types) === null || _exerciseList$exercis39 === void 0 ? void 0 : _exerciseList$exercis39.objective_score,
placeholder: "\u6700\u4F4E"
})
})
@ -6231,12 +6236,12 @@ var WorkList = function WorkList(_ref) {
name: "objective_score_lte",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
min: ((_params = params) === null || _params === void 0 ? void 0 : _params.objective_score_gte) || 0,
max: exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis31 = exerciseList.exercise_types) === null || _exerciseList$exercis31 === void 0 ? void 0 : _exerciseList$exercis31.objective_score,
max: exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis40 = exerciseList.exercise_types) === null || _exerciseList$exercis40 === void 0 ? void 0 : _exerciseList$exercis40.objective_score,
placeholder: "\u6700\u9AD8"
})
})
})]
}), ((_exerciseList$exercis32 = exerciseList.exercise_types) === null || _exerciseList$exercis32 === void 0 ? void 0 : _exerciseList$exercis32.subjective) === 1 && checkDomainAuthority && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
}), ((_exerciseList$exercis41 = exerciseList.exercise_types) === null || _exerciseList$exercis41 === void 0 ? void 0 : _exerciseList$exercis41.subjective) === 1 && checkDomainAuthority && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, {
style: {
marginBottom: 15
@ -12228,11 +12233,11 @@ var DistinguishExerciseSettings_PublishSettings = function PublishSettings(_ref)
var _useState23 = (0,react.useState)({
select_appraise: false,
//启用集中
//启用集中
sealed_review: false,
//封卷
//封卷
review_type: 0,
//模式
//阅模式
end_time: '' //禁止进入考试时长
}),
_useState24 = slicedToArray_default()(_useState23, 2),
@ -12241,10 +12246,10 @@ var DistinguishExerciseSettings_PublishSettings = function PublishSettings(_ref)
// select_appraise为前端存储的值作为选中的效果因为后端说不需要这个值
// 用initData.end_time来判断是否提交过数据
// 用initData.can_open_appraise来判断是否可以开启集中 true能开启
// 用initData.can_open_appraise来判断是否可以开启集中阅 true能开启
// 用initData.start_appraise来判断是否有老师开始了集中评阅
// 用initData.exercise_author考试创建者
// 用initData.change_sealed_review来判断是否禁用封卷 true可以点击封卷阅操作
// 用initData.change_sealed_review来判断是否禁用封卷阅 true可以点击封卷阅操作
// 用initData.finish_total
(0,react.useEffect)(function () {
@ -12266,6 +12271,8 @@ var DistinguishExerciseSettings_PublishSettings = function PublishSettings(_ref)
Object.keys(data).forEach(function (item) {
data[item] = res === null || res === void 0 ? void 0 : res[item];
});
//在这里拿新数据--可能不是
console.log(res, "res");
setInitData(objectSpread2_default()({}, res));
setQuestionTableData((res === null || res === void 0 ? void 0 : res.exercise_questions) || []);
setPaperTableData((res === null || res === void 0 ? void 0 : res.exercises) || []);
@ -12277,7 +12284,7 @@ var DistinguishExerciseSettings_PublishSettings = function PublishSettings(_ref)
setFinishTotal((res === null || res === void 0 ? void 0 : res.finish_total) || 0);
// setUnfinishedTotal(res?.total - res?.finish_total)
setPageLoading(false);
case 13:
case 14:
case "end":
return _context.stop();
}
@ -12299,13 +12306,13 @@ var DistinguishExerciseSettings_PublishSettings = function PublishSettings(_ref)
return;
}
if (!bodyData.review_type && !paperTableData.length) {
message/* default.warn */.ZP.warn('请至少添加一位教师');
message/* default.warn */.ZP.warn('请至少添加一位阅教师');
return;
}
if (bodyData.review_type && !questionTableData.some(function (e) {
return !!e.appraise_teachers.length;
})) {
message/* default.warn */.ZP.warn('请至少添加一位教师');
message/* default.warn */.ZP.warn('请至少添加一位阅教师');
return;
}
if (bodyData.review_type === 0) {
@ -12349,7 +12356,7 @@ var DistinguishExerciseSettings_PublishSettings = function PublishSettings(_ref)
title: '提示',
content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: ["\u56E0\u96C6\u4E2D\u9605\u5377\u6A21\u5F0F\u662F\u5C06\u5B66\u751F\u8BD5\u5377\u6216\u8BD5\u9898\u5206\u914D\u7ED9\u8BC4\u9605\u7684\u6559\u5E08\uFF0C\u4E3A\u4E86\u4E0D\u5F71\u54CD\u5224\u5206\u6210\u7EE9\uFF0C\u5224\u5377\u8BBE\u7F6E\u63D0\u4EA4\u4FDD\u5B58\u540E\u672C\u573A\u8003\u8BD5", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: ["\u56E0\u96C6\u4E2D\u8BC4\u9605\u6A21\u5F0F\u662F\u5C06\u5B66\u751F\u8BD5\u5377\u6216\u8BD5\u9898\u5206\u914D\u7ED9\u8BC4\u9605\u7684\u6559\u5E08\uFF0C\u4E3A\u4E86\u4E0D\u5F71\u54CD\u8BC4\u9605\u6210\u7EE9\uFF0C\u8BC4\u9605\u8BBE\u7F6E\u63D0\u4EA4\u4FDD\u5B58\u540E\u672C\u573A\u8003\u8BD5", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-orange-ff9",
children: "\u4E0D\u53EF\u8FDB\u884C"
}), "\u4EE5\u4E0B\u64CD\u4F5C\uFF1A"]
@ -12384,17 +12391,21 @@ var DistinguishExerciseSettings_PublishSettings = function PublishSettings(_ref)
});
case 3:
res = _context2.sent;
setPageLoading(false);
if (!(res.status === 0)) {
_context2.next = 9;
_context2.next = 11;
break;
}
message/* default.success */.ZP.success('更新成功');
getDefaultData();
setDisabled(true);
// 触发一次commheader
dispatch({
type: 'exercise/getCommonHeader',
payload: objectSpread2_default()({}, params)
});
return _context2.abrupt("return");
case 9:
setPageLoading(false);
case 10:
case 11:
case "end":
return _context2.stop();
}
@ -12446,7 +12457,7 @@ var DistinguishExerciseSettings_PublishSettings = function PublishSettings(_ref)
};
var dealModalData = function dealModalData() {
if (!teacherIds.length) {
message/* default.warn */.ZP.warn('请至少添加一位教师');
message/* default.warn */.ZP.warn('请至少添加一位阅教师');
return;
}
if (visible[0]) {
@ -12529,7 +12540,7 @@ var DistinguishExerciseSettings_PublishSettings = function PublishSettings(_ref)
},
width: 70
}, {
title: '教师',
title: '阅教师',
align: 'center',
dataIndex: 'appraise_teachers',
className: ConfigWorksmodules.padding,
@ -12564,7 +12575,7 @@ var DistinguishExerciseSettings_PublishSettings = function PublishSettings(_ref)
okText: '确定',
cancelText: '取消',
title: '提示',
content: '删除此阅卷教师,试卷将重新均分给其他阅教师;如需添加指定阅卷教师,请点击“+阅教师”按钮。',
content: '删除此教师,试卷将重新均分给其他阅教师;如需添加指定教师,请点击“+阅教师”按钮。',
onOk: function onOk() {
var items = paperTableData === null || paperTableData === void 0 ? void 0 : paperTableData.filter(function (_, i) {
return i !== index;
@ -12627,7 +12638,7 @@ var DistinguishExerciseSettings_PublishSettings = function PublishSettings(_ref)
align: 'center',
width: 100
}, {
title: '教师',
title: '阅教师',
align: 'center',
className: ConfigWorksmodules.padding,
dataIndex: 'appraise_teachers',
@ -12704,15 +12715,17 @@ var DistinguishExerciseSettings_PublishSettings = function PublishSettings(_ref)
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u8BF4\u660E\uFF1A"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u9002\u7528\u4E8E\u5927\u578B\u4E25\u8083\u9605\u5377\uFF0C\u5BF9\u5B66\u751F\u7684\u8BD5\u5377\u6216\u8BD5\u9898\u8FDB\u884C\u8BC4\u9605\u7684\u573A\u666F\u3002"
children: "\u9002\u7528\u4E8E\u5927\u578B\u4E25\u8083\u8BC4\u9605\uFF0C\u5BF9\u5B66\u751F\u7684\u8BD5\u5377\u6216\u8BD5\u9898\u8FDB\u884C\u8BC4\u9605\u7684\u573A\u666F\u3002"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u5F00\u542F\u89C4\u5219\uFF1A"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "1.\u8BD5\u5377\u72B6\u6001\u4E3A\"\u5DF2\u7ED3\u675F\";"
children: "1.\u6709\u5B66\u751F\u4EA4\u5377;"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "2.\u8003\u8BD5\u72B6\u6001\u4E3A\"\u5DF2\u7ED3\u675F\";"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "2.\u8BD5\u5377\u542B\u6709\u586B\u7A7A\u3001\u7F16\u7A0B\u3001\u5B9E\u8BAD\u3001\u7B80\u7B54\u9898\u4E2D\u4EFB\u610F\u9898\u578B\u3002"
children: "3.\u8BD5\u5377\u542B\u6709\u586B\u7A7A\u3001\u7F16\u7A0B\u3001\u5B9E\u8BAD\u3001\u7B80\u7B54\u9898\u4E2D\u4EFB\u610F\u9898\u578B\u3002"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u540C\u65F6\u6EE1\u8DB32\u4E2A\u6761\u4EF6\u624D\u53EF\u5F00\u542F\u96C6\u4E2D\u9605\u5377\uFF0C\u5F00\u542F\u540E\u4E0D\u53EF\u5173\u95ED\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002"
children: "\u540C\u65F6\u6EE1\u8DB33\u4E2A\u6761\u4EF6\u624D\u53EF\u5F00\u542F\u96C6\u4E2D\u8BC4\u9605\uFF0C\u5F00\u542F\u540E\u4E0D\u53EF\u5173\u95ED\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002"
})]
}),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
@ -12786,10 +12799,10 @@ var DistinguishExerciseSettings_PublishSettings = function PublishSettings(_ref)
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "font14",
children: "\u5C01\u5377\u9605\u5377"
children: "\u5C01\u5377\u8BC4\u9605"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "font12 c-grey-c",
children: "\uFF08\u9009\u4E2D\uFF0C\u5F00\u542F\u540E\u96C6\u4E2D\u9605\u5377\u754C\u9762\u4E0D\u663E\u793A\u5B66\u751F\u4FE1\u606F\uFF09"
children: "\uFF08\u9009\u4E2D\uFF0C\u5F00\u542F\u540E\u96C6\u4E2D\u8BC4\u9605\u754C\u9762\u4E0D\u663E\u793A\u5B66\u751F\u4FE1\u606F\uFF09"
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
@ -12797,7 +12810,7 @@ var DistinguishExerciseSettings_PublishSettings = function PublishSettings(_ref)
className: "mt15 pl30",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "mr10",
children: "\u9605\u5377\u6A21\u5F0F\uFF1A"
children: "\u8BC4\u9605\u6A21\u5F0F\uFF1A"
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, {
value: data.review_type,
disabled: disabled || !!(initData !== null && initData !== void 0 && initData.end_time),
@ -12817,7 +12830,7 @@ var DistinguishExerciseSettings_PublishSettings = function PublishSettings(_ref)
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "1.\u5C06\u5B66\u751F\u8BD5\u5377\u5747\u5300\u5206\u914D\u7ED9\u8BC4\u9605\u7684\u6559\u5E08\uFF0C\u82E5\u65E0\u6CD5\u5747\u5206\u5219\u591A\u51FA\u7684\u8BD5\u5377\u968F\u673A\u5206\u7ED9\u6559\u5E08\uFF1B"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "2.\u9605\u5377\u6A21\u5F0F\u5F00\u542F\u540E\u4E0D\u53EF\u518D\u5207\u6362\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"
children: "2.\u8BC4\u9605\u6A21\u5F0F\u5F00\u542F\u540E\u4E0D\u53EF\u518D\u5207\u6362\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u793A\u4F8B\uFF1A\u82E5\u8BD5\u5377\u4E3A51\u5F20\uFF0C\u7531A\u3001B\u6559\u5E08\u8BC4\u9605\uFF0C\u5219A\u6559\u5E08\u8BC4\u960525\u5F20\uFF0CB\u6559\u5E08\u8BC4\u960526\u5F20\u3002"
})]
@ -12839,7 +12852,7 @@ var DistinguishExerciseSettings_PublishSettings = function PublishSettings(_ref)
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "1.\u5C06\u5355\u4E2A\u8BD5\u9898\u6307\u5B9A\u7ED9\u591A\u4E2A\u6559\u5E08\u5171\u540C\u8BC4\u9605\uFF1B"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "2.\u9605\u5377\u6A21\u5F0F\u5F00\u542F\u540E\u4E0D\u53EF\u518D\u5207\u6362\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"
children: "2.\u8BC4\u9605\u6A21\u5F0F\u5F00\u542F\u540E\u4E0D\u53EF\u518D\u5207\u6362\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF01"
})]
}),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
@ -12851,9 +12864,14 @@ var DistinguishExerciseSettings_PublishSettings = function PublishSettings(_ref)
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
span: 24,
className: "mt15 pl30",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "mr10",
children: "\u622A\u6B62\u65F6\u95F4\uFF1A"
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: "red"
},
children: "*"
}), "\u622A\u6B62\u65F6\u95F4\uFF1A"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(date_picker/* default */.Z, {
style: {
width: 234
@ -12881,9 +12899,14 @@ var DistinguishExerciseSettings_PublishSettings = function PublishSettings(_ref)
style: {
width: '100%'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "ml30 mr10",
children: "\u9605\u5377\u6559\u5E08\uFF1A"
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: "red"
},
children: "*"
}), "\u8BC4\u9605\u6559\u5E08\uFF1A"]
}), data.review_type === 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
flex: 1
@ -12901,7 +12924,7 @@ var DistinguishExerciseSettings_PublishSettings = function PublishSettings(_ref)
onClick: function onClick() {
return dealModal([true, null]);
},
children: "+\xA0\u9605\u5377\u6559\u5E08"
children: "+\xA0\u8BC4\u9605\u6559\u5E08"
})]
}), data.review_type === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
@ -12924,13 +12947,13 @@ var DistinguishExerciseSettings_PublishSettings = function PublishSettings(_ref)
closable: false,
destroyOnClose: true,
open: !!visible,
title: (visible === null || visible === void 0 ? void 0 : visible[1]) === null ? "指定教师" : '共同教师',
title: (visible === null || visible === void 0 ? void 0 : visible[1]) === null ? "指定阅教师" : '共同阅教师',
bodyStyle: {
padding: '0 16px'
},
okText: "\u786E\u8BA4",
cancelText: "\u53D6\u6D88",
width: "400px",
width: "800px",
onOk: dealModalData,
afterClose: function afterClose() {
setTeacherIds([]);
@ -12939,6 +12962,11 @@ var DistinguishExerciseSettings_PublishSettings = function PublishSettings(_ref)
setVisible(false);
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
pagination: {
hideOnSinglePage: true
} //只有一页时,隐藏分页器
,
bordered: true,
rowSelection: {
type: 'checkbox',
@ -12951,7 +12979,22 @@ var DistinguishExerciseSettings_PublishSettings = function PublishSettings(_ref)
columns: [{
title: '教师姓名',
align: 'center',
dataIndex: 'name'
dataIndex: 'name',
width: "25%"
}, {
title: '手机',
align: 'center',
dataIndex: 'phone',
width: "18%"
}, {
title: '邮箱',
align: 'center',
dataIndex: 'email',
width: "28%"
}, {
title: '角色',
align: 'center',
dataIndex: 'identity'
}]
})
})]
@ -15003,10 +15046,6 @@ var ExerciseDetail = function ExerciseDetail(_ref) {
function getparams(items) {
setexercise_group_id(objectSpread2_default()({}, items));
}
// console.log("是否具有试卷预览权限:", classroomList?.AssistantObject?.exercise?.can_preview);
// console.log("是否具有打回重做权限:", classroomList?.AssistantObject?.exercise?.can_redo)
// console.log("是否具有结束考试权限:", classroomList?.AssistantObject?.exercise?.can_stop);
// console.log("是否具有编辑试卷权限:", classroomList?.AssistantObject?.exercise?.can_create);
var tabsArr = [{
name: '答题列表',
id: 0,

@ -1711,6 +1711,8 @@ var List = function List(_ref) {
_useState4 = slicedToArray_default()(_useState3, 2),
isshow = _useState4[0],
setisshow = _useState4[1];
// 是否为集中阅卷:
var concentrate = false;
var format = 'YYYY-MM-DD';
var endTime = moment_default()('2020-11-15', format);
function getlist() {
@ -1749,6 +1751,14 @@ var List = function List(_ref) {
})
});
};
{
console.log(v, "vvvvv");
console.log(v === null || v === void 0 ? void 0 : v.appraise_label, "是否有集中阅卷");
if (v !== null && v !== void 0 && v.appraise_label) {
//判断如果有集中阅卷
concentrate = true;
}
}
var enterExam = function enterExam(v) {
var _userInfo;
var notFirstTime = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
@ -1903,6 +1913,24 @@ var List = function List(_ref) {
}
}];
var renderTips = function renderTips(v) {
console.log(v, "zhuangtai");
if (concentrate) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
backgroundColor: '#f59a23'
},
className: "tag-style mr10",
children: "\u96C6\u4E2D\u9605\u5377"
});
} else {
/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
backgroundColor: '#FC2D6B'
},
className: "tag-style mr10",
children: "\u5DF2\u7ED3\u675F"
});
}
if (v !== null && v !== void 0 && v.includes('未开始')) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
@ -1936,7 +1964,7 @@ var List = function List(_ref) {
onClick: function onClick() {
(0,util/* openNewWindow */.xg)("/classrooms/".concat(params.coursesId, "/exercise/").concat(v.id, "/detail?random=").concat(v.is_random));
},
children: [(0,authority/* isAdmin */.GJ)() && batchStatus && /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
children: [(0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
checked: selectArrs.includes(v.id),
value: v.id,
className: "mr20",
@ -2522,7 +2550,7 @@ var Exercise_excluded = ["user", "classroomList", "globalSetting", "loading", "d
var ShixunsListPage = function ShixunsListPage(_ref) {
var _user$userInfo4, _detailExerciseList$e, _detailExerciseList$e2, _detailExerciseList$e3, _detailExerciseList$e4, _detailExerciseList$e7, _detailExerciseList$e8, _detailLeftMenus$cour, _detailLeftMenus$cour2, _detailExerciseList$e10;
var _user$userInfo4, _detailExerciseList$e, _detailExerciseList$e2, _detailExerciseList$e3, _detailExerciseList$e4, _detailExerciseList$e5, _detailExerciseList$e8, _detailExerciseList$e9, _detailLeftMenus$cour, _detailLeftMenus$cour2, _detailExerciseList$e11;
var user = _ref.user,
classroomList = _ref.classroomList,
globalSetting = _ref.globalSetting,
@ -2676,9 +2704,15 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
id: 2,
total: (_detailExerciseList$e3 = detailExerciseList.exercises_counts) === null || _detailExerciseList$e3 === void 0 ? void 0 : _detailExerciseList$e3.publish_counts
}, {
name: '集中评阅',
id: 4,
total: (_detailExerciseList$e4 = detailExerciseList.exercises_counts) === null || _detailExerciseList$e4 === void 0 ? void 0 : _detailExerciseList$e4.appraise_exercise_count
},
//新增集中评阅tab
{
name: '已结束',
id: 3,
total: (_detailExerciseList$e4 = detailExerciseList.exercises_counts) === null || _detailExerciseList$e4 === void 0 ? void 0 : _detailExerciseList$e4.end_counts
total: (_detailExerciseList$e5 = detailExerciseList.exercises_counts) === null || _detailExerciseList$e5 === void 0 ? void 0 : _detailExerciseList$e5.end_counts
}];
if (!(0,authority/* isAdmin */.GJ)()) Menus.splice(1, 1);
var actionsArr = [{
@ -2778,14 +2812,14 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
};
var handleBottomControlClick = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(item) {
var _detailExerciseList$e5;
var val, randomArr, txt, _detailExerciseList$e6, _classroomList$Assist5, _classroomList$Assist6, bool, publish, _res$cover_exercises, res;
var _detailExerciseList$e6;
var val, randomArr, txt, _detailExerciseList$e7, _classroomList$Assist5, _classroomList$Assist6, bool, publish, _res$cover_exercises, res;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
val = item.name;
randomArr = [];
(_detailExerciseList$e5 = detailExerciseList.exercises) === null || _detailExerciseList$e5 === void 0 ? void 0 : _detailExerciseList$e5.map(function (v) {
(_detailExerciseList$e6 = detailExerciseList.exercises) === null || _detailExerciseList$e6 === void 0 ? void 0 : _detailExerciseList$e6.map(function (v) {
if (selectArrs.includes(v.id) && v.is_random) {
var startTime = moment_default()(v.created_at, format);
var diff3 = moment_default()(endTime).diff(moment_default()(startTime), 'days');
@ -2874,7 +2908,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
payload: {
key: val,
selectArrs: selectArrs,
selectArrsAll: (_detailExerciseList$e6 = detailExerciseList.exercises) === null || _detailExerciseList$e6 === void 0 ? void 0 : _detailExerciseList$e6.filter(function (item) {
selectArrsAll: (_detailExerciseList$e7 = detailExerciseList.exercises) === null || _detailExerciseList$e7 === void 0 ? void 0 : _detailExerciseList$e7.filter(function (item) {
return selectArrs.includes(item.id);
}),
params: params,
@ -2919,7 +2953,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
onBatch: function onBatch(status) {
return useBatchStatus(status);
}
}), detailExerciseList.exercises_counts && ((_detailExerciseList$e7 = detailExerciseList.exercises_counts) === null || _detailExerciseList$e7 === void 0 ? void 0 : _detailExerciseList$e7.exercises_all_counts) === 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {}), /*#__PURE__*/(0,jsx_runtime.jsxs)(skeleton/* default */.Z, {
}), detailExerciseList.exercises_counts && ((_detailExerciseList$e8 = detailExerciseList.exercises_counts) === null || _detailExerciseList$e8 === void 0 ? void 0 : _detailExerciseList$e8.exercises_all_counts) === 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {}), /*#__PURE__*/(0,jsx_runtime.jsxs)(skeleton/* default */.Z, {
loading: loading['classroomList/getClassroomExercisesList'],
active: true,
avatar: {
@ -2942,10 +2976,10 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
}, k);
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
className: "tc mb50 mt30",
children: ((_detailExerciseList$e8 = detailExerciseList.exercises_counts) === null || _detailExerciseList$e8 === void 0 ? void 0 : _detailExerciseList$e8.exercises_all_counts) > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, {
children: ((_detailExerciseList$e9 = detailExerciseList.exercises_counts) === null || _detailExerciseList$e9 === void 0 ? void 0 : _detailExerciseList$e9.exercises_all_counts) > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, {
showTotal: function showTotal(total) {
var _detailExerciseList$e9;
return "\u5171 ".concat(detailExerciseList === null || detailExerciseList === void 0 ? void 0 : (_detailExerciseList$e9 = detailExerciseList.exercises_counts) === null || _detailExerciseList$e9 === void 0 ? void 0 : _detailExerciseList$e9.exercises_all_counts, " \u6761");
var _detailExerciseList$e10;
return "\u5171 ".concat(detailExerciseList === null || detailExerciseList === void 0 ? void 0 : (_detailExerciseList$e10 = detailExerciseList.exercises_counts) === null || _detailExerciseList$e10 === void 0 ? void 0 : _detailExerciseList$e10.exercises_all_counts, " \u6761");
}
// hideOnSinglePage
,
@ -2957,12 +2991,13 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
total: detailExerciseList.exercises_counts && detailExerciseList.exercises_counts.exercises_all_counts
})
})]
}), batchStatus && (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(affix/* default */.Z, {
}), selectArrs.length > 0 && (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(affix/* default */.Z, {
offsetBottom: 0,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(BottomControl/* default */.Z, {
buttonDataSource: actionsArr,
onButtonClick: handleBottomControlClick,
useBatchStatus: useBatchStatus,
setSeleArr: setSelectArrs,
catalogue: (detailLeftMenus === null || detailLeftMenus === void 0 ? void 0 : (_detailLeftMenus$cour = detailLeftMenus.course_modules) === null || _detailLeftMenus$cour === void 0 ? void 0 : (_detailLeftMenus$cour2 = _detailLeftMenus$cour.find(function (v) {
return v.type === "exercise";
})) === null || _detailLeftMenus$cour2 === void 0 ? void 0 : _detailLeftMenus$cour2.second_category) || [],
@ -2980,11 +3015,11 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
}
});
},
allSelect: selectArrs.length ? selectArrs.length === ((_detailExerciseList$e10 = detailExerciseList.exercises) === null || _detailExerciseList$e10 === void 0 ? void 0 : _detailExerciseList$e10.length) : false,
allSelect: selectArrs.length ? selectArrs.length === ((_detailExerciseList$e11 = detailExerciseList.exercises) === null || _detailExerciseList$e11 === void 0 ? void 0 : _detailExerciseList$e11.length) : false,
setAllSelect: function setAllSelect(e) {
if (e.target.checked) {
var _detailExerciseList$e11;
setSelectArrs(detailExerciseList === null || detailExerciseList === void 0 ? void 0 : (_detailExerciseList$e11 = detailExerciseList.exercises) === null || _detailExerciseList$e11 === void 0 ? void 0 : _detailExerciseList$e11.map(function (v) {
var _detailExerciseList$e12;
setSelectArrs(detailExerciseList === null || detailExerciseList === void 0 ? void 0 : (_detailExerciseList$e12 = detailExerciseList.exercises) === null || _detailExerciseList$e12 === void 0 ? void 0 : _detailExerciseList$e12.map(function (v) {
return v.id;
}));
} else {
@ -3232,6 +3267,7 @@ var BottomControl = function BottomControl(_ref) {
setAllSelect = _ref.setAllSelect,
selectArrs = _ref.selectArrs,
onMenuClick = _ref.onMenuClick,
setSeleArr = _ref.setSeleArr,
catalogue = _ref.catalogue,
addCatalogue = _ref.addCatalogue;
var _useState = (0,react.useState)(false),
@ -3330,7 +3366,8 @@ var BottomControl = function BottomControl(_ref) {
type: "primary",
ghost: true,
onClick: function onClick() {
return useBatchStatus(false);
useBatchStatus(false);
setSeleArr([]);
},
children: "\u53D6\u6D88\u64CD\u4F5C"
})
@ -3411,18 +3448,7 @@ var SearchSortController = function SearchSortController(_ref) {
var isDefault = SortMenuName === '默认排序';
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: SearchSortControllermodules.searchSortControllerContainer,
children: [isAdmin && !!dataSource.length && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
onClick: function onClick() {
onBatch(!batchStatus);
},
className: SearchSortControllermodules.btn,
style: {
cursor: 'pointer'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-piliangcaozuo font14 mr5"
}), batchStatus ? '取消' : '批量', "\u64CD\u4F5C"]
}), !!(SortMenus !== null && SortMenus !== void 0 && SortMenus.length) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: [!!(SortMenus !== null && SortMenus !== void 0 && SortMenus.length) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
dropdownRender: function dropdownRender() {
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, {

@ -655,18 +655,7 @@ var SearchSortController = function SearchSortController(_ref) {
var isDefault = SortMenuName === '默认排序';
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: SearchSortControllermodules.searchSortControllerContainer,
children: [isAdmin && !!dataSource.length && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
onClick: function onClick() {
onBatch(!batchStatus);
},
className: SearchSortControllermodules.btn,
style: {
cursor: 'pointer'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-piliangcaozuo font14 mr5"
}), batchStatus ? '取消' : '批量', "\u64CD\u4F5C"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
dropdownRender: function dropdownRender() {
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, {
@ -3034,7 +3023,7 @@ var List = function List(_ref) {
event.stopPropagation();
(0,util/* openNewWindow */.xg)("/classrooms/".concat(params.coursesId, "/group_homework/").concat(dataSource.homework_id, "/detail"));
},
children: [(0,authority/* isAdmin */.GJ)() && batchStatus && /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
children: [(0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
onClick: function onClick(e) {
e.stopPropagation();
},
@ -3754,7 +3743,8 @@ var BottomControl = function BottomControl(_ref) {
type: "primary",
ghost: true,
onClick: function onClick() {
return useBatchStatus(false);
setSelectArrs([]);
useBatchStatus(false);
},
children: "\u53D6\u6D88\u64CD\u4F5C"
})
@ -4337,7 +4327,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
total: detailCommonHomeworksList.query_total_count
})
})]
}), batchStatus && (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(affix/* default */.Z, {
}), selectArrs.length > 0 && (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(affix/* default */.Z, {
offsetBottom: 0,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(components_BottomControl, {
buttonDataSource: getButtomControlButtonDataSource(),

@ -2304,7 +2304,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(Items, {
v: v,
k: k,
batchStatus: batchStatus,
batchStatus: true,
selectArrs: selectArrs,
setSelectArrs: setSelectArrs,
dispatch: dispatch,
@ -2325,12 +2325,13 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
total: detailPollsList.polls_counts && detailPollsList.polls_counts.polls_all_counts
})
})]
}), batchStatus && (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(affix/* default */.Z, {
}), selectArrs.length > 0 && (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(affix/* default */.Z, {
offsetBottom: 0,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(BottomControl/* default */.Z, {
buttonDataSource: actionsArr,
onButtonClick: handleBottomControlClick,
useBatchStatus: useBatchStatus,
setSeleArr: setSelectArrs,
allSelect: selectArrs.length ? selectArrs.length === ((_detailPollsList$poll7 = detailPollsList.polls) === null || _detailPollsList$poll7 === void 0 ? void 0 : _detailPollsList$poll7.length) : false,
setAllSelect: function setAllSelect(e) {
if (e.target.checked) {
@ -2438,6 +2439,7 @@ var BottomControl = function BottomControl(_ref) {
setAllSelect = _ref.setAllSelect,
selectArrs = _ref.selectArrs,
onMenuClick = _ref.onMenuClick,
setSeleArr = _ref.setSeleArr,
catalogue = _ref.catalogue,
addCatalogue = _ref.addCatalogue;
var _useState = (0,react.useState)(false),
@ -2536,7 +2538,8 @@ var BottomControl = function BottomControl(_ref) {
type: "primary",
ghost: true,
onClick: function onClick() {
return useBatchStatus(false);
useBatchStatus(false);
setSeleArr([]);
},
children: "\u53D6\u6D88\u64CD\u4F5C"
})
@ -2617,18 +2620,7 @@ var SearchSortController = function SearchSortController(_ref) {
var isDefault = SortMenuName === '默认排序';
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: SearchSortControllermodules.searchSortControllerContainer,
children: [isAdmin && !!dataSource.length && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
onClick: function onClick() {
onBatch(!batchStatus);
},
className: SearchSortControllermodules.btn,
style: {
cursor: 'pointer'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-piliangcaozuo font14 mr5"
}), batchStatus ? '取消' : '批量', "\u64CD\u4F5C"]
}), !!(SortMenus !== null && SortMenus !== void 0 && SortMenus.length) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: [!!(SortMenus !== null && SortMenus !== void 0 && SortMenus.length) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
dropdownRender: function dropdownRender() {
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, {

@ -2807,18 +2807,7 @@ var SearchSortController = function SearchSortController(_ref) {
var isDefault = SortMenuName === '默认排序';
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: SearchSortControllermodules.searchSortControllerContainer,
children: [isAdmin && !!dataSource.length && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
onClick: function onClick() {
onBatch(!batchStatus);
},
className: SearchSortControllermodules.btn,
style: {
cursor: 'pointer'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-piliangcaozuo font14 mr5"
}), batchStatus ? '取消' : '批量', "\u64CD\u4F5C"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
dropdownRender: function dropdownRender() {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_menu/* default */.Z, {
@ -3113,7 +3102,8 @@ var BottomControl = function BottomControl(_ref) {
type: "primary",
ghost: true,
onClick: function onClick() {
return useBatchStatus(false);
useBatchStatus(false);
setSelectArrs([]);
},
children: "\u53D6\u6D88\u64CD\u4F5C"
})
@ -3322,7 +3312,7 @@ var List = function List(_ref) {
(0,util/* openNewWindow */.xg)("/classrooms/".concat(params.coursesId, "/program_homework/").concat(dataSource.homework_id, "/detail"));
}
},
children: [(0,authority/* isAdmin */.GJ)() && batchStatus && /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
children: [(0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
onClick: function onClick(e) {
e.stopPropagation();
},
@ -4741,7 +4731,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
total: (0,authority/* isAdmin */.GJ)() ? detailCommonHomeworksList.query_total_count : detailCommonHomeworksList.student_all_count
})
})]
}), batchStatus && (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(affix/* default */.Z, {
}), selectArrs.length > 0 && (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(affix/* default */.Z, {
offsetBottom: 0,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(components_BottomControl, {
buttonDataSource: getButtomControlButtonDataSource(),

@ -4204,7 +4204,7 @@ var ShixunHomeworks_excluded = ["classroomList", "globalSetting", "shixunHomewor
var ShixunsListPage = function ShixunsListPage(_ref) {
var _user$userInfo4, _detailShixunsList$ho, _detailShixunsList$ho2;
var _user$userInfo4, _detailShixunsList$ho;
var classroomList = _ref.classroomList,
globalSetting = _ref.globalSetting,
shixunHomeworks = _ref.shixunHomeworks,
@ -4818,18 +4818,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ShixunHomeworksmodules.action,
children: [(0,authority/* isAdmin */.GJ)() && !!(detailShixunsList !== null && detailShixunsList !== void 0 && (_detailShixunsList$ho = detailShixunsList.homeworks) !== null && _detailShixunsList$ho !== void 0 && _detailShixunsList$ho.length) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
onClick: function onClick() {
return setBatchState(!batchState);
},
className: ShixunHomeworksmodules.btn,
style: {
cursor: 'pointer'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-piliangcaozuo font14 mr5"
}), batchState ? '取消' : '批量', "\u64CD\u4F5C"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
dropdownRender: function dropdownRender() {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_menu/* default */.Z, {
@ -4927,7 +4916,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
className: "animated fadeIn",
children: [detailShixunsList.homeworks && detailShixunsList.homeworks.map(function (v, k) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(components_ShixunList, {
batchState: batchState,
batchState: true,
v: v,
k: k,
match: match,
@ -4956,8 +4945,9 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ShixunHomeworksmodules.fixedBottom,
style: {
bottom: batchState ? 0 : -60,
position: batchState ? positionValue : 'fixed',
// bottom: batchState ? 0 : -60,
bottom: selectArrs.length ? 0 : -60,
position: selectArrs.length ? positionValue : 'fixed',
left: positionValue === 'fixed' ? '50%' : '317px'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
@ -4971,7 +4961,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
width: 130
},
children: (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
checked: ((_detailShixunsList$ho2 = detailShixunsList.homeworks) === null || _detailShixunsList$ho2 === void 0 ? void 0 : _detailShixunsList$ho2.length) === (selectArrs === null || selectArrs === void 0 ? void 0 : selectArrs.length),
checked: ((_detailShixunsList$ho = detailShixunsList.homeworks) === null || _detailShixunsList$ho === void 0 ? void 0 : _detailShixunsList$ho.length) === (selectArrs === null || selectArrs === void 0 ? void 0 : selectArrs.length),
onChange: function onChange(e) {
if (e.target.checked) {
setSelectArrs(detailShixunsList.homeworks.map(function (v) {
@ -5052,7 +5042,10 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ShixunHomeworksmodules.cancel,
onClick: function onClick() {
return setBatchState(false);
if (setSelectArrs) {
setSelectArrs([]);
}
setBatchState(false);
},
children: "\u53D6\u6D88\u64CD\u4F5C"
})]

@ -1201,7 +1201,13 @@ var Page = function Page(_ref) {
title: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
title: org === null || org === void 0 ? void 0 : org.name,
className: StepTwomodules.name,
children: [org === null || org === void 0 ? void 0 : org.name, "\uFF08".concat(org === null || org === void 0 ? void 0 : org.count, "\uFF09")]
children: [org === null || org === void 0 ? void 0 : org.name, /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {
fontSize: "12px",
color: "gray"
},
children: [" \u8BD5\u9898\u6570: ", "".concat(org === null || org === void 0 ? void 0 : org.count)]
})]
}),
value: key,
name: org === null || org === void 0 ? void 0 : org.name,
@ -1234,6 +1240,7 @@ var Page = function Page(_ref) {
return (0,problemset/* getPaperList */.NZ)({});
case 2:
res = _context.sent;
console.log(res, "res");
signData.current = [{
id: 0,
name: '根目录',
@ -1244,7 +1251,13 @@ var Page = function Page(_ref) {
title: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
title: '根目录',
className: StepTwomodules.name,
children: ["\u6839\u76EE\u5F55", "\uFF08".concat((res === null || res === void 0 ? void 0 : res.root_count) || 0, "\uFF09")]
children: ["\u6839\u76EE\u5F55", /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {
fontSize: "12px",
color: "gray"
},
children: [" \u8BD5\u9898\u6570: ", "".concat((res === null || res === void 0 ? void 0 : res.root_count) || 0)]
})]
}),
value: 0,
id: 0,
@ -1262,7 +1275,7 @@ var Page = function Page(_ref) {
setSelectedNodes(signData.current);
setTreeData(item);
}
case 5:
case 6:
case "end":
return _context.stop();
}

@ -69,7 +69,7 @@
color: #6a7283;
cursor: pointer;
margin-right: 16px;
margin-bottom: 20px;
margin-bottom: 16px;
flex-shrink: 0;
display: inline-block;
padding: 4px 8px;
@ -1495,7 +1495,10 @@ span.ant-radio + * {
color: #d2ddf5;
}
.folderWrapper___szWWk div[class~='ant-tree-treenode'] {
padding: 0 0 10px 0;
padding: 10px 0 10px 0;
}
.folderWrapper___szWWk div[class~='ant-tree-treenode-switcher-close'] {
padding-left: 5px;
}
.folderWrapper___szWWk span[class~='ant-tree-switcher-leaf-line']::after {
border-bottom: 1px dotted #d9d9d9 !important;
@ -1516,6 +1519,17 @@ span.ant-radio + * {
height: 20px;
width: 20px;
}
.subject___lELqJ {
color: #A4A8B1;
font-size: 12px;
width: 72px;
height: 16px;
background: #F6F7F9;
text-align: center;
line-height: 16px;
margin-left: 5px;
flex-shrink: 0;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */

@ -69,7 +69,7 @@
color: #6a7283;
cursor: pointer;
margin-right: 16px;
margin-bottom: 20px;
margin-bottom: 16px;
flex-shrink: 0;
display: inline-block;
padding: 4px 8px;

@ -1582,7 +1582,7 @@ var Completion = function Completion(_ref) {
var Crumbs = __webpack_require__(94906);
;// CONCATENATED MODULE: ./src/pages/Problemset/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Problemsetmodules = ({"flex_box_center":"flex_box_center___oxvGV","flex_space_between":"flex_space_between___Pu_2g","flex_box_vertical_center":"flex_box_vertical_center____edsl","flex_box_center_end":"flex_box_center_end___ugvya","flex_box_column":"flex_box_column___B_Z0P","page":"page____U6m6","wrap":"wrap___Njoy9","title":"title___PCz5o","select":"select___MAQbm","contentWrap":"contentWrap___USVj3","pngIcon":"pngIcon___Sclgo","tabsWrap":"tabsWrap___xuKJS","searchWrap":"searchWrap___Z4nZX","addQuestionBtn":"addQuestionBtn___PwVCH","search":"search___pIDJi","searchIcon":"searchIcon___I_kVC","batchWrap":"batchWrap___OzbVH","customTable":"customTable___A_Uxs","row":"row___Sm61J","contentListWrap":"contentListWrap___o6fbG","li":"li___dAjon","bottom":"bottom___kfHPh","actionLeftItem":"actionLeftItem___gA062","questionTypeName":"questionTypeName___neVDt","more":"more___oTnCf","btnAdd":"btnAdd___Qdj8O","cancelC":"cancelC___ZCe2I","addC":"addC___yWAgq","actonBtn":"actonBtn___QmXSC","batch":"batch___wvp7O","btns":"btns___Nox9G","btn":"btn___AEGwM","treeWrapper":"treeWrapper___OS1_K","treeHeader":"treeHeader___T86dH","treeContent":"treeContent___AvQsn","action":"action___TlJrk","sendModal":"sendModal___HDDrU","line":"line___vWGHS","del":"del___I2neN","divider":"divider___ao5se","headerWrapper":"headerWrapper___KS6nP","exportBtn":"exportBtn___uePYs"});
/* harmony default export */ var Problemsetmodules = ({"flex_box_center":"flex_box_center___oxvGV","flex_space_between":"flex_space_between___Pu_2g","flex_box_vertical_center":"flex_box_vertical_center____edsl","flex_box_center_end":"flex_box_center_end___ugvya","flex_box_column":"flex_box_column___B_Z0P","page":"page____U6m6","wrap":"wrap___Njoy9","title":"title___PCz5o","select":"select___MAQbm","contentWrap":"contentWrap___USVj3","pngIcon":"pngIcon___Sclgo","tabsWrap":"tabsWrap___xuKJS","searchWrap":"searchWrap___Z4nZX","addQuestionBtn":"addQuestionBtn___PwVCH","search":"search___pIDJi","searchIcon":"searchIcon___I_kVC","batchWrap":"batchWrap___OzbVH","customTable":"customTable___A_Uxs","row":"row___Sm61J","contentListWrap":"contentListWrap___o6fbG","li":"li___dAjon","bottom":"bottom___kfHPh","actionLeftItem":"actionLeftItem___gA062","questionTypeName":"questionTypeName___neVDt","more":"more___oTnCf","btnAdd":"btnAdd___Qdj8O","cancelC":"cancelC___ZCe2I","addC":"addC___yWAgq","actonBtn":"actonBtn___QmXSC","batch":"batch___wvp7O","btns":"btns___Nox9G","btn":"btn___AEGwM","treeWrapper":"treeWrapper___OS1_K","treeHeader":"treeHeader___T86dH","treeContent":"treeContent___AvQsn","action":"action___TlJrk","sendModal":"sendModal___HDDrU","line":"line___vWGHS","del":"del___I2neN","divider":"divider___ao5se","headerWrapper":"headerWrapper___KS6nP","exportBtn":"exportBtn___uePYs","tips":"tips___xnRXZ"});
// EXTERNAL MODULE: ./node_modules/antd/es/drawer/style/index.js + 1 modules
var drawer_style = __webpack_require__(11400);
// EXTERNAL MODULE: ./node_modules/antd/es/drawer/index.js + 6 modules

@ -153,7 +153,7 @@ li:last-child > .ant-breadcrumb-separator {
color: #6a7283;
cursor: pointer;
margin-right: 16px;
margin-bottom: 20px;
margin-bottom: 16px;
flex-shrink: 0;
display: inline-block;
padding: 4px 8px;
@ -639,8 +639,8 @@ span[class~='ant-checkbox-checked'] span[class~='ant-checkbox-inner']::after {
border-color: #165dff;
}
.select___MAQbm {
margin-bottom: 20px;
margin-top: 15px;
margin-bottom: 10px;
margin-top: 16px;
}
.select___MAQbm > div {
position: relative;
@ -737,7 +737,8 @@ span[class~='ant-checkbox-checked'] span[class~='ant-checkbox-inner']::after {
display: flex;
align-items: center;
justify-content: flex-end;
margin-bottom: 20px;
margin-bottom: 16px;
margin-top: 16px;
}
.customTable___A_Uxs {
padding: 0 30px;
@ -885,7 +886,6 @@ span[class~='ant-checkbox-checked'] span[class~='ant-checkbox-inner']::after {
}
.treeWrapper___OS1_K {
background: #fdfdfe;
margin-bottom: 40px;
border: 1px solid #ececec;
}
.treeWrapper___OS1_K .treeHeader___T86dH {
@ -899,9 +899,7 @@ span[class~='ant-checkbox-checked'] span[class~='ant-checkbox-inner']::after {
.treeWrapper___OS1_K .treeContent___AvQsn {
border-radius: 2px;
position: relative;
padding: 10px 20px 0 20px;
min-height: 160px;
max-height: 218px;
padding: 10px 20px 10px 20px;
overflow-y: auto;
}
.treeWrapper___OS1_K .treeContent___AvQsn .action___TlJrk {
@ -983,6 +981,12 @@ span[class~='ant-checkbox-checked'] span[class~='ant-checkbox-inner']::after {
.exportBtn___uePYs span {
color: #5f6368;
}
.tips___xnRXZ {
font-size: 12px;
background: #f6f7f9;
padding: 10px;
margin: 14px 0;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
@ -1888,7 +1892,10 @@ span[class~='ant-checkbox-checked'] span[class~='ant-checkbox-inner']::after {
color: #d2ddf5;
}
.folderWrapper___szWWk div[class~='ant-tree-treenode'] {
padding: 0 0 10px 0;
padding: 10px 0 10px 0;
}
.folderWrapper___szWWk div[class~='ant-tree-treenode-switcher-close'] {
padding-left: 5px;
}
.folderWrapper___szWWk span[class~='ant-tree-switcher-leaf-line']::after {
border-bottom: 1px dotted #d9d9d9 !important;
@ -1909,6 +1916,17 @@ span[class~='ant-checkbox-checked'] span[class~='ant-checkbox-inner']::after {
height: 20px;
width: 20px;
}
.subject___lELqJ {
color: #A4A8B1;
font-size: 12px;
width: 72px;
height: 16px;
background: #F6F7F9;
text-align: center;
line-height: 16px;
margin-left: 5px;
flex-shrink: 0;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */

@ -11074,6 +11074,9 @@ body .current-primary {
.bg-light-orange {
background-color: #e99695;
}
.bg-light-orangess {
background-color: #f59a23;
}
.bg-lightblue-purple {
background-color: #028d01;
}

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