Auto Submit

dev_aliyun_xibeigongye
autosubmit 3 years ago
parent 3534c3adf2
commit 8f0bfc78b6

@ -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(146, 197, 255, 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(208, 93, 188, 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(96, 125, 148, 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(141, 5, 75, 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(146, 197, 255, 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(208, 93, 188, 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(96, 125, 148, 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(141, 5, 75, 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(146, 197, 255, 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(208, 93, 188, 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(96, 125, 148, 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(141, 5, 75, 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(146, 197, 255, 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(208, 93, 188, 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(96, 125, 148, 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(141, 5, 75, 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(146, 197, 255, 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(208, 93, 188, 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(96, 125, 148, 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(141, 5, 75, 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(146, 197, 255, 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(208, 93, 188, 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(96, 125, 148, 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(141, 5, 75, 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;}
@ -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(146, 197, 255, 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(208, 93, 188, 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(96, 125, 148, 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(141, 5, 75, 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;}

@ -15,7 +15,7 @@
</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.a49d4a70.js"></script>
<script src="https://www-cdn.educoder.net/umi.110d63e0.js"></script>
<script src="https://www-cdn.educoder.net/js/officeapi.js"></script>
<script src="https://www-cdn.educoder.net/js/public.js"></script>

@ -5088,7 +5088,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$exercis21, _exerciseList$exercis22, _exerciseList$exercis23, _exerciseList$exercis24, _exerciseList$exercis25, _exerciseList$exercis26, _exerciseList$exercis27, _exerciseList$exercis28, _exerciseList$exercis29, _ref8, _filterSelect$course_, _filterSelect$commit_, _filterSelect$review, _exerciseList$exercis32, _filterSelect$is_make, _exerciseList$exercis34, _exerciseList$exercis35, _exerciseList$exercis36, _params, _exerciseList$exercis37, _exerciseList$exercis38, _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,
@ -5458,13 +5458,26 @@ var WorkList = function WorkList(_ref) {
if (!record.open_total_score && (0,authority/* isStudent */.dE)()) {
return '老师审核中';
} else {
var _exerciseList$exercis13, _exerciseList$exercis14, _exerciseList$exercis15;
var comment;
if (exerciseList !== null && exerciseList !== void 0 && (_exerciseList$exercis13 = exerciseList.exercise_types) !== null && _exerciseList$exercis13 !== void 0 && _exerciseList$exercis13.appraise_setting && exerciseList !== null && exerciseList !== void 0 && (_exerciseList$exercis14 = exerciseList.exercise_types) !== null && _exerciseList$exercis14 !== void 0 && _exerciseList$exercis14.sealed_review && 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) {
comment = "--";
}
if (!(record !== null && record !== void 0 && record.has_comment) && record.review_status) {
comment = '评阅中';
}
if (record !== null && record !== void 0 && record.has_comment) {
comment = '已评阅';
} else {
comment = '未评阅';
}
text = typeof text === 'number' ? Number(text) : text;
var renderText;
if (text === 0) {
renderText = /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [text, " ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: [text, " ", comment === '未评阅' && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-red",
children: " (\u5F85\u8BC4\u5BA1)"
children: " (\u5F85\u8BC4\u9605)"
})]
});
} else if (text > 0 && text <= 60) {
@ -5795,9 +5808,9 @@ var WorkList = function WorkList(_ref) {
dataIndex: 'has_comment',
align: 'center',
render: function render(text, record) {
var _exerciseList$exercis13, _exerciseList$exercis14, _exerciseList$exercis15;
var _exerciseList$exercis16, _exerciseList$exercis17, _exerciseList$exercis18;
// console.log(date);
if (exerciseList !== null && exerciseList !== void 0 && (_exerciseList$exercis13 = exerciseList.exercise_types) !== null && _exerciseList$exercis13 !== void 0 && _exerciseList$exercis13.appraise_setting && exerciseList !== null && exerciseList !== void 0 && (_exerciseList$exercis14 = exerciseList.exercise_types) !== null && _exerciseList$exercis14 !== void 0 && _exerciseList$exercis14.sealed_review && 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) {
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) {
@ -5818,7 +5831,7 @@ var WorkList = function WorkList(_ref) {
// width:"8%",
// width: 236,
render: function render(text, record) {
var _exerciseList$exercis16, _exerciseList$exercis17, _exerciseList$exercis18;
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,
@ -5885,7 +5898,7 @@ var WorkList = function WorkList(_ref) {
return _ref5.apply(this, arguments);
};
}(),
children: 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 ? '评阅' : 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,
@ -5961,11 +5974,11 @@ var WorkList = function WorkList(_ref) {
cursor: 'pointer'
},
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee8() {
var _exerciseList$exercis19;
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$exercis19 = exerciseList.exercise_types) !== null && _exerciseList$exercis19 !== void 0 && _exerciseList$exercis19.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;
}
@ -6059,12 +6072,12 @@ var WorkList = function WorkList(_ref) {
cursor: 'pointer'
},
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee9() {
var _exerciseList$exercis20, _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$exercis20 = exerciseList.exercise_types) !== null && _exerciseList$exercis20 !== void 0 && _exerciseList$exercis20.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;
}
@ -6099,7 +6112,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$exercis21 = exerciseList.exercise_types) === null || _exerciseList$exercis21 === void 0 ? void 0 : _exerciseList$exercis21.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,
@ -6110,26 +6123,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$exercis22 = exerciseList.exercise_types) !== null && _exerciseList$exercis22 !== void 0 && _exerciseList$exercis22.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$exercis23 = exerciseList.exercise_types) === null || _exerciseList$exercis23 === void 0 ? void 0 : _exerciseList$exercis23.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$exercis24 = exerciseList.exercise_types) !== null && _exerciseList$exercis24 !== void 0 && _exerciseList$exercis24.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$exercis25 = exerciseList.exercise_types) === null || _exerciseList$exercis25 === void 0 ? void 0 : _exerciseList$exercis25.unanswer_users, "\u672A\u4EA4"]
}), (exerciseList === null || exerciseList === void 0 ? void 0 : (_exerciseList$exercis26 = exerciseList.exercise_types) === null || _exerciseList$exercis26 === void 0 ? void 0 : _exerciseList$exercis26.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$exercis27 = exerciseList.exercise_types) === null || _exerciseList$exercis27 === void 0 ? void 0 : _exerciseList$exercis27.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$exercis28 = exerciseList.exercise_types) !== null && _exerciseList$exercis28 !== void 0 && _exerciseList$exercis28.exercise_all_users) && !(0,authority/* isStudent */.dE)() && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {}), (!!((_exerciseList$exercis29 = exerciseList.exercise_types) !== null && _exerciseList$exercis29 !== void 0 && _exerciseList$exercis29.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, {
@ -6186,11 +6199,11 @@ var WorkList = function WorkList(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: '1',
children: CommitStatusData.map(function (v, k) {
var _exerciseList$exercis30;
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$exercis30 = exerciseList.exercise_types) === null || _exerciseList$exercis30 === void 0 ? void 0 : _exerciseList$exercis30[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);
})
})]
@ -6216,16 +6229,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$exercis31;
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$exercis31 = exerciseList.exercise_types) === null || _exerciseList$exercis31 === void 0 ? void 0 : _exerciseList$exercis31[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$exercis32 = exerciseList.exercise_types) === null || _exerciseList$exercis32 === void 0 ? void 0 : _exerciseList$exercis32.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: [],
@ -6246,11 +6259,11 @@ var WorkList = function WorkList(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: '1',
children: MakeupStatusData.map(function (v, k) {
var _exerciseList$exercis33;
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$exercis33 = exerciseList.exercise_types) === null || _exerciseList$exercis33 === void 0 ? void 0 : _exerciseList$exercis33[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], ")"]
});
})
})]
@ -6283,13 +6296,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$exercis34 = exerciseList.exercise_types) === null || _exerciseList$exercis34 === void 0 ? void 0 : _exerciseList$exercis34.objective) === 1 && ((_exerciseList$exercis35 = exerciseList.exercise_types) === null || _exerciseList$exercis35 === void 0 ? void 0 : _exerciseList$exercis35.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$exercis36 = exerciseList.exercise_types) === null || _exerciseList$exercis36 === void 0 ? void 0 : _exerciseList$exercis36.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"
})
})
@ -6298,12 +6311,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$exercis37 = exerciseList.exercise_types) === null || _exerciseList$exercis37 === void 0 ? void 0 : _exerciseList$exercis37.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$exercis38 = exerciseList.exercise_types) === null || _exerciseList$exercis38 === void 0 ? void 0 : _exerciseList$exercis38.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

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