|
|
|
|
@ -1358,7 +1358,7 @@ var es_switch = __webpack_require__(78673);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/radio/index.js + 5 modules
|
|
|
|
|
var es_radio = __webpack_require__(5112);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input-number/index.js + 14 modules
|
|
|
|
|
var input_number = __webpack_require__(96971);
|
|
|
|
|
var input_number = __webpack_require__(97913);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.3.1@@ant-design/icons/es/icons/DownOutlined.js + 1 modules
|
|
|
|
|
var DownOutlined = __webpack_require__(77800);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.3.1@@ant-design/icons/es/icons/UpOutlined.js + 1 modules
|
|
|
|
|
@ -2003,6 +2003,7 @@ const ClearanceModal = ({
|
|
|
|
|
// EXTERNAL MODULE: ./src/utils/export.ts
|
|
|
|
|
var utils_export = __webpack_require__(93404);
|
|
|
|
|
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/ShixunHomeworks/Detail/components/WorkList/index.tsx
|
|
|
|
|
/* provided dependency */ var React = __webpack_require__(/*! react */ 59301);
|
|
|
|
|
var WorkList_defProp = Object.defineProperty;
|
|
|
|
|
var WorkList_getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
|
|
|
var WorkList_hasOwnProp = Object.prototype.hasOwnProperty;
|
|
|
|
|
@ -2288,7 +2289,7 @@ const WorkList = ({
|
|
|
|
|
width: 110,
|
|
|
|
|
// fixed: 'left',
|
|
|
|
|
ellipsis: { showTitle: false },
|
|
|
|
|
render: (text) => /* @__PURE__ */ _react_17_0_2_react.createElement(tooltip/* default */.Z, { placement: "bottomLeft", title: text }, /* @__PURE__ */ _react_17_0_2_react.createElement("span", { className: "current" }, text))
|
|
|
|
|
render: (text) => /* @__PURE__ */ React.createElement(tooltip/* default */.Z, { placement: "bottomLeft", title: text }, /* @__PURE__ */ React.createElement("span", { className: "current" }, text))
|
|
|
|
|
},
|
|
|
|
|
!((_a = shixunHomeworks.headerInfo) == null ? void 0 : _a.is_excellent) && !(0,authority/* isNotMember */.Jd)() && {
|
|
|
|
|
title: "\u5B66\u53F7",
|
|
|
|
|
@ -2299,7 +2300,7 @@ const WorkList = ({
|
|
|
|
|
showSorterTooltip: false,
|
|
|
|
|
ellipsis: { showTitle: false },
|
|
|
|
|
sortOrder: params.order === "student_id" ? params.b_order === "desc" ? "descend" : "ascend" : null,
|
|
|
|
|
render: (text) => /* @__PURE__ */ _react_17_0_2_react.createElement(tooltip/* default */.Z, { placement: "bottomLeft", title: text || "--" }, /* @__PURE__ */ _react_17_0_2_react.createElement("span", { className: "current" }, text || "--"))
|
|
|
|
|
render: (text) => /* @__PURE__ */ React.createElement(tooltip/* default */.Z, { placement: "bottomLeft", title: text || "--" }, /* @__PURE__ */ React.createElement("span", { className: "current" }, text || "--"))
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: "\u5206\u73ED",
|
|
|
|
|
@ -2307,7 +2308,7 @@ const WorkList = ({
|
|
|
|
|
align: "center",
|
|
|
|
|
// width: 180,
|
|
|
|
|
ellipsis: { showTitle: false },
|
|
|
|
|
render: (text, record) => text ? /* @__PURE__ */ _react_17_0_2_react.createElement(tooltip/* default */.Z, { placement: "bottom", title: text }, /* @__PURE__ */ _react_17_0_2_react.createElement("span", { className: "current" }, text)) : "--"
|
|
|
|
|
render: (text, record) => text ? /* @__PURE__ */ React.createElement(tooltip/* default */.Z, { placement: "bottom", title: text }, /* @__PURE__ */ React.createElement("span", { className: "current" }, text)) : "--"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: "\u4F5C\u4E1A\u72B6\u6001",
|
|
|
|
|
@ -2318,16 +2319,16 @@ const WorkList = ({
|
|
|
|
|
ellipsis: { showTitle: false },
|
|
|
|
|
showSorterTooltip: false,
|
|
|
|
|
sortOrder: params.order === "work_status" ? params.b_order === "desc" ? "descend" : "ascend" : null,
|
|
|
|
|
render: (text) => /* @__PURE__ */ _react_17_0_2_react.createElement(util/* HomeWorkShixunListStatus */.rK, { status: text })
|
|
|
|
|
render: (text) => /* @__PURE__ */ React.createElement(util/* HomeWorkShixunListStatus */.rK, { status: text })
|
|
|
|
|
},
|
|
|
|
|
!(0,authority/* isNotMember */.Jd)() && {
|
|
|
|
|
title: /* @__PURE__ */ _react_17_0_2_react.createElement("span", null, "\u6700\u7EC8\u6210\u7EE9", /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
title: /* @__PURE__ */ React.createElement("span", null, "\u6700\u7EC8\u6210\u7EE9", /* @__PURE__ */ React.createElement(
|
|
|
|
|
tooltip/* default */.Z,
|
|
|
|
|
{
|
|
|
|
|
placement: "top",
|
|
|
|
|
title: /* @__PURE__ */ _react_17_0_2_react.createElement("pre", null, "\u9F20\u6807\u505C\u7559\u5177\u4F53\u5206\u503C\u4E0A\u53EF\u67E5", /* @__PURE__ */ _react_17_0_2_react.createElement("br", null), "\u770B\u5F97\u5206\u660E\u7EC6", /* @__PURE__ */ _react_17_0_2_react.createElement("br", null))
|
|
|
|
|
title: /* @__PURE__ */ React.createElement("pre", null, "\u9F20\u6807\u505C\u7559\u5177\u4F53\u5206\u503C\u4E0A\u53EF\u67E5", /* @__PURE__ */ React.createElement("br", null), "\u770B\u5F97\u5206\u660E\u7EC6", /* @__PURE__ */ React.createElement("br", null))
|
|
|
|
|
},
|
|
|
|
|
/* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
/* @__PURE__ */ React.createElement(
|
|
|
|
|
"img",
|
|
|
|
|
{
|
|
|
|
|
src: `${env/* default */.Z.IMG_SERVER}/images/educoder/problem.png`,
|
|
|
|
|
@ -2346,26 +2347,26 @@ const WorkList = ({
|
|
|
|
|
let renderText;
|
|
|
|
|
const { unadjusted_score, is_adjusted } = record || {};
|
|
|
|
|
if (text >= 0 && text <= 60) {
|
|
|
|
|
renderText = /* @__PURE__ */ _react_17_0_2_react.createElement("span", { className: `c-red` }, is_adjusted ? `${text}(\u5DF2\u8C03\u5206)` : text);
|
|
|
|
|
renderText = /* @__PURE__ */ React.createElement("span", { className: `c-red` }, is_adjusted ? `${text}(\u5DF2\u8C03\u5206)` : text);
|
|
|
|
|
} else if (text === 100) {
|
|
|
|
|
renderText = /* @__PURE__ */ _react_17_0_2_react.createElement("span", { className: `c-green` }, is_adjusted ? `${text}(\u5DF2\u8C03\u5206)` : text);
|
|
|
|
|
renderText = /* @__PURE__ */ React.createElement("span", { className: `c-green` }, is_adjusted ? `${text}(\u5DF2\u8C03\u5206)` : text);
|
|
|
|
|
} else if (text > 60) {
|
|
|
|
|
renderText = /* @__PURE__ */ _react_17_0_2_react.createElement("span", { className: `c-orange` }, is_adjusted ? `${text}(\u5DF2\u8C03\u5206)` : text);
|
|
|
|
|
renderText = /* @__PURE__ */ React.createElement("span", { className: `c-orange` }, is_adjusted ? `${text}(\u5DF2\u8C03\u5206)` : text);
|
|
|
|
|
} else {
|
|
|
|
|
renderText = "--";
|
|
|
|
|
}
|
|
|
|
|
return /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
return /* @__PURE__ */ React.createElement(
|
|
|
|
|
tooltip/* default */.Z,
|
|
|
|
|
{
|
|
|
|
|
placement: "bottom",
|
|
|
|
|
title: record.ultimate_score ? /* @__PURE__ */ _react_17_0_2_react.createElement("div", null, renderText === "--" ? `\u6700\u7EC8\u8C03\u6574\u6210\u7EE9\uFF1A0\u5206` : `\u6700\u7EC8\u8C03\u6574\u6210\u7EE9\uFF1A${record.work_score}\u5206`) : /* @__PURE__ */ _react_17_0_2_react.createElement("div", null, /* @__PURE__ */ _react_17_0_2_react.createElement("div", null, record.final_score ? `\u5173\u5361\u5F97\u5206\uFF1A${record.final_score}\u5206` : `\u5173\u5361\u5F97\u5206\uFF1A0\u5206`), /* @__PURE__ */ _react_17_0_2_react.createElement("div", null, record.eff_score ? `\u6548\u7387\u8BC4\u5206\uFF1A${record.eff_score}\u5206` : `\u6548\u7387\u8BC4\u5206\uFF1A0\u5206`), /* @__PURE__ */ _react_17_0_2_react.createElement("div", null, record.repeat_minus_score ? `\u67E5\u91CD\u6263\u5206\uFF1A${record.repeat_minus_score}\u5206` : `\u67E5\u91CD\u6263\u5206\uFF1A0\u5206`), /* @__PURE__ */ _react_17_0_2_react.createElement("div", null, record.late_penalty ? `\u8FDF\u4EA4\u6263\u5206\uFF1A${record.late_penalty}\u5206` : `\u8FDF\u4EA4\u6263\u5206\uFF1A0\u5206`), !((_a2 = shixunHomeworks.headerInfo) == null ? void 0 : _a2.answer_open_evaluation) && /* @__PURE__ */ _react_17_0_2_react.createElement("div", null, "\u67E5\u770B\u53C2\u8003\u7B54\u6848\uFF1A", record.view_answer_count, "\u5173"), /* @__PURE__ */ _react_17_0_2_react.createElement("div", null, "\u539F\u59CB\u6210\u7EE9\uFF1A", unadjusted_score === "--" ? unadjusted_score : `${unadjusted_score}\u5206`), /* @__PURE__ */ _react_17_0_2_react.createElement("div", null, record.work_score ? `\u6700\u7EC8\u6210\u7EE9\uFF1A${record.work_score}\u5206` : `\u6700\u7EC8\u6210\u7EE9\uFF1A0\u5206`))
|
|
|
|
|
title: record.ultimate_score ? /* @__PURE__ */ React.createElement("div", null, renderText === "--" ? `\u6700\u7EC8\u8C03\u6574\u6210\u7EE9\uFF1A0\u5206` : `\u6700\u7EC8\u8C03\u6574\u6210\u7EE9\uFF1A${record.work_score}\u5206`) : /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("div", null, record.final_score ? `\u5173\u5361\u5F97\u5206\uFF1A${record.final_score}\u5206` : `\u5173\u5361\u5F97\u5206\uFF1A0\u5206`), /* @__PURE__ */ React.createElement("div", null, record.eff_score ? `\u6548\u7387\u8BC4\u5206\uFF1A${record.eff_score}\u5206` : `\u6548\u7387\u8BC4\u5206\uFF1A0\u5206`), /* @__PURE__ */ React.createElement("div", null, record.repeat_minus_score ? `\u67E5\u91CD\u6263\u5206\uFF1A${record.repeat_minus_score}\u5206` : `\u67E5\u91CD\u6263\u5206\uFF1A0\u5206`), /* @__PURE__ */ React.createElement("div", null, record.late_penalty ? `\u8FDF\u4EA4\u6263\u5206\uFF1A${record.late_penalty}\u5206` : `\u8FDF\u4EA4\u6263\u5206\uFF1A0\u5206`), !((_a2 = shixunHomeworks.headerInfo) == null ? void 0 : _a2.answer_open_evaluation) && /* @__PURE__ */ React.createElement("div", null, "\u67E5\u770B\u53C2\u8003\u7B54\u6848\uFF1A", record.view_answer_count, "\u5173"), /* @__PURE__ */ React.createElement("div", null, "\u539F\u59CB\u6210\u7EE9\uFF1A", unadjusted_score === "--" ? unadjusted_score : `${unadjusted_score}\u5206`), /* @__PURE__ */ React.createElement("div", null, record.work_score ? `\u6700\u7EC8\u6210\u7EE9\uFF1A${record.work_score}\u5206` : `\u6700\u7EC8\u6210\u7EE9\uFF1A0\u5206`))
|
|
|
|
|
},
|
|
|
|
|
renderText
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: /* @__PURE__ */ _react_17_0_2_react.createElement("span", null, "\u5B8C\u6210\u65F6\u95F4"),
|
|
|
|
|
title: /* @__PURE__ */ React.createElement("span", null, "\u5B8C\u6210\u65F6\u95F4"),
|
|
|
|
|
dataIndex: "finished_time",
|
|
|
|
|
align: "center",
|
|
|
|
|
// width: 130,
|
|
|
|
|
@ -2374,10 +2375,10 @@ const WorkList = ({
|
|
|
|
|
showSorterTooltip: false,
|
|
|
|
|
sorter: true,
|
|
|
|
|
sortOrder: params.order === "finished_time" ? params.b_order === "desc" ? "descend" : "ascend" : null,
|
|
|
|
|
render: (text, record) => text ? /* @__PURE__ */ _react_17_0_2_react.createElement(tooltip/* default */.Z, { placement: "bottomLeft", title: text }, text && text != "--" ? dayjs_min_default()(text).format(isSimpleList ? "HH:mm" : "YYYY-MM-DD HH:mm") : text) : "--"
|
|
|
|
|
render: (text, record) => text ? /* @__PURE__ */ React.createElement(tooltip/* default */.Z, { placement: "bottomLeft", title: text }, text && text != "--" ? dayjs_min_default()(text).format(isSimpleList ? "HH:mm" : "YYYY-MM-DD HH:mm") : text) : "--"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: /* @__PURE__ */ _react_17_0_2_react.createElement("span", null, "\u5B9E\u8BAD\u603B\u8017\u65F6"),
|
|
|
|
|
title: /* @__PURE__ */ React.createElement("span", null, "\u5B9E\u8BAD\u603B\u8017\u65F6"),
|
|
|
|
|
dataIndex: "cost_time",
|
|
|
|
|
align: "center",
|
|
|
|
|
// width: 170,
|
|
|
|
|
@ -2386,7 +2387,7 @@ const WorkList = ({
|
|
|
|
|
showSorterTooltip: false,
|
|
|
|
|
sorter: true,
|
|
|
|
|
sortOrder: params.order === "cost_time" ? params.b_order === "desc" ? "descend" : "ascend" : null,
|
|
|
|
|
render: (text, record) => text ? /* @__PURE__ */ _react_17_0_2_react.createElement(tooltip/* default */.Z, { placement: "bottomLeft", title: text }, text) : "--"
|
|
|
|
|
render: (text, record) => text ? /* @__PURE__ */ React.createElement(tooltip/* default */.Z, { placement: "bottomLeft", title: text }, text) : "--"
|
|
|
|
|
},
|
|
|
|
|
// workList?.homework_status?.includes("已截止") &&
|
|
|
|
|
// {
|
|
|
|
|
@ -2418,7 +2419,7 @@ const WorkList = ({
|
|
|
|
|
// width: 80,
|
|
|
|
|
dataIndex: "complete_info",
|
|
|
|
|
ellipsis: { showTitle: false },
|
|
|
|
|
render: (text, record) => /* @__PURE__ */ _react_17_0_2_react.createElement("span", { style: { color: "#0152d9" }, onClick: (e) => {
|
|
|
|
|
render: (text, record) => /* @__PURE__ */ React.createElement("span", { style: { color: "#0152d9" }, onClick: (e) => {
|
|
|
|
|
e.stopPropagation();
|
|
|
|
|
setSelectedItem(record);
|
|
|
|
|
setIsClearanceVisible(true);
|
|
|
|
|
@ -2515,7 +2516,7 @@ const WorkList = ({
|
|
|
|
|
ellipsis: { showTitle: false },
|
|
|
|
|
sorter: true,
|
|
|
|
|
sortOrder: params.order === "sum_evaluate_count" ? params.b_order === "desc" ? "descend" : "ascend" : null,
|
|
|
|
|
render: (text, record) => text && text != "--" ? /* @__PURE__ */ _react_17_0_2_react.createElement(tooltip/* default */.Z, { placement: "bottom", title: text }, /* @__PURE__ */ _react_17_0_2_react.createElement("span", { className: "current" }, text)) : "--"
|
|
|
|
|
render: (text, record) => text && text != "--" ? /* @__PURE__ */ React.createElement(tooltip/* default */.Z, { placement: "bottom", title: text }, /* @__PURE__ */ React.createElement("span", { className: "current" }, text)) : "--"
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// title: '打回次数',
|
|
|
|
|
@ -2568,7 +2569,7 @@ const WorkList = ({
|
|
|
|
|
className: "workListTable",
|
|
|
|
|
render: (text, record) => {
|
|
|
|
|
var _a2, _b2;
|
|
|
|
|
return (0,authority/* isStudent */.dE)() ? /* @__PURE__ */ _react_17_0_2_react.createElement("div", null, (0,util/* formatHomeWorkStatusToName */.JL)(record == null ? void 0 : record.work_status) === "\u672A\u5F00\u542F" ? /* @__PURE__ */ _react_17_0_2_react.createElement("span", null, "--") : /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
return (0,authority/* isStudent */.dE)() ? /* @__PURE__ */ React.createElement("div", null, (0,util/* formatHomeWorkStatusToName */.JL)(record == null ? void 0 : record.work_status) === "\u672A\u5F00\u542F" ? /* @__PURE__ */ React.createElement("span", null, "--") : /* @__PURE__ */ React.createElement(
|
|
|
|
|
_umi_production_exports.Link,
|
|
|
|
|
{
|
|
|
|
|
target: "_blank",
|
|
|
|
|
@ -2578,7 +2579,7 @@ const WorkList = ({
|
|
|
|
|
to: `/classrooms/${params.coursesId}/shixun_homework/${params.categoryId}/${record.id}/comment`
|
|
|
|
|
},
|
|
|
|
|
"\u67E5\u770B"
|
|
|
|
|
)) : /* @__PURE__ */ _react_17_0_2_react.createElement("div", null, /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
)) : /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(
|
|
|
|
|
"span",
|
|
|
|
|
{
|
|
|
|
|
style: { color: "#0152d9" },
|
|
|
|
|
@ -2609,8 +2610,8 @@ const WorkList = ({
|
|
|
|
|
},
|
|
|
|
|
record.has_shixun_work_comment ? "\u66F4\u6539\u70B9\u8BC4" : "\u8FFD\u52A0\u70B9\u8BC4"
|
|
|
|
|
), (record == null ? void 0 : record.work_status) !== 0 && [1, 2, 3, 4].includes(record == null ? void 0 : record.work_status) && [
|
|
|
|
|
/* @__PURE__ */ _react_17_0_2_react.createElement("br", null),
|
|
|
|
|
/* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
/* @__PURE__ */ React.createElement("br", null),
|
|
|
|
|
/* @__PURE__ */ React.createElement(
|
|
|
|
|
"a",
|
|
|
|
|
{
|
|
|
|
|
target: "_blank",
|
|
|
|
|
@ -2626,7 +2627,7 @@ const WorkList = ({
|
|
|
|
|
modal["default"].confirm({
|
|
|
|
|
title: "\u63D0\u793A",
|
|
|
|
|
centered: true,
|
|
|
|
|
content: /* @__PURE__ */ _react_17_0_2_react.createElement("div", { className: "tc" }, "\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),
|
|
|
|
|
content: /* @__PURE__ */ React.createElement("div", { className: "tc" }, "\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),
|
|
|
|
|
okText: `\u7ACB\u5373\u5B8C\u5584`,
|
|
|
|
|
cancelText: "\u7A0D\u540E\u5B8C\u5584",
|
|
|
|
|
onOk: () => {
|
|
|
|
|
@ -2644,8 +2645,8 @@ const WorkList = ({
|
|
|
|
|
"\u67E5\u770B\u5B9E\u8BAD"
|
|
|
|
|
)
|
|
|
|
|
], ((_b2 = (_a2 = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _a2.homework_status) == null ? void 0 : _b2[0]) !== "\u5DF2\u622A\u6B62" && !!record.myshixun_id && [
|
|
|
|
|
/* @__PURE__ */ _react_17_0_2_react.createElement("br", null),
|
|
|
|
|
/* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
/* @__PURE__ */ React.createElement("br", null),
|
|
|
|
|
/* @__PURE__ */ React.createElement(
|
|
|
|
|
"span",
|
|
|
|
|
{
|
|
|
|
|
className: WorkListmodules.color32C,
|
|
|
|
|
@ -2669,8 +2670,8 @@ const WorkList = ({
|
|
|
|
|
}
|
|
|
|
|
].filter((item) => !!item);
|
|
|
|
|
const exportMenu = () => {
|
|
|
|
|
var _a2, _b2, _c2, _d2;
|
|
|
|
|
return /* @__PURE__ */ _react_17_0_2_react.createElement(menu["default"], null, /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
var _a2, _b2;
|
|
|
|
|
return /* @__PURE__ */ React.createElement(menu["default"], null, /* @__PURE__ */ React.createElement(
|
|
|
|
|
menu["default"].Item,
|
|
|
|
|
{
|
|
|
|
|
onClick: () => {
|
|
|
|
|
@ -2682,10 +2683,16 @@ const WorkList = ({
|
|
|
|
|
key: "1"
|
|
|
|
|
},
|
|
|
|
|
"\u5B66\u751F\u6210\u7EE9"
|
|
|
|
|
), (0,authority/* isAdmin */.GJ)() && ((_a2 = workList == null ? void 0 : workList.student_works) == null ? void 0 : _a2.length) > 0 && /* @__PURE__ */ _react_17_0_2_react.createElement(menu["default"].Item, { key: "3" }, /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
_umi_production_exports.Link,
|
|
|
|
|
{
|
|
|
|
|
onClick: (e) => {
|
|
|
|
|
), (0,authority/* isAdmin */.GJ)() && ((_a2 = workList == null ? void 0 : workList.student_works) == null ? void 0 : _a2.length) > 0 && /* @__PURE__ */ React.createElement(menu["default"].Item, { key: "3", onClick: () => {
|
|
|
|
|
modal["default"].confirm({
|
|
|
|
|
title: "\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",
|
|
|
|
|
closable: true,
|
|
|
|
|
icon: null,
|
|
|
|
|
centered: true,
|
|
|
|
|
okText: /* @__PURE__ */ React.createElement(tooltip/* default */.Z, { title: "\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C" }, "\u524D\u7AEF\u5BFC\u51FA"),
|
|
|
|
|
cancelText: /* @__PURE__ */ React.createElement(tooltip/* default */.Z, { title: "\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C" }, "\u540E\u53F0\u5BFC\u51FA"),
|
|
|
|
|
onOk: () => {
|
|
|
|
|
var _a3, _b3;
|
|
|
|
|
dispatch({
|
|
|
|
|
type: "shixunHomeworks/setActionTabs",
|
|
|
|
|
payload: {
|
|
|
|
|
@ -2693,11 +2700,21 @@ const WorkList = ({
|
|
|
|
|
type: 2
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
localStorage.setItem("dowolders", "1");
|
|
|
|
|
_umi_production_exports.history.push(`/classrooms/${params == null ? void 0 : params.coursesId}/shixun_homework/${params.categoryId}/${(_b3 = (_a3 = workList == null ? void 0 : workList.student_works) == null ? void 0 : _a3[0]) == null ? void 0 : _b3.id}/comment`);
|
|
|
|
|
},
|
|
|
|
|
to: `/classrooms/${params == null ? void 0 : params.coursesId}/shixun_homework/${params.categoryId}/${(_c2 = (_b2 = workList == null ? void 0 : workList.student_works) == null ? void 0 : _b2[0]) == null ? void 0 : _c2.id}/comment`
|
|
|
|
|
},
|
|
|
|
|
"\u5B9E\u8BAD\u62A5\u544A"
|
|
|
|
|
)), ((_d2 = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _d2.start_permanent) && /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
onCancel: () => {
|
|
|
|
|
},
|
|
|
|
|
cancelButtonProps: {
|
|
|
|
|
onClick: () => {
|
|
|
|
|
(0,utils_export/* ExportCourseWorkListShixuns */.jj)(
|
|
|
|
|
JSON.parse(sessionStorage["all_student_works_params"]),
|
|
|
|
|
"shixun_report"
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
} }, "\u5B9E\u8BAD\u62A5\u544A"), ((_b2 = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _b2.start_permanent) && /* @__PURE__ */ React.createElement(
|
|
|
|
|
menu["default"].Item,
|
|
|
|
|
{
|
|
|
|
|
onClick: () => WorkList_async(void 0, null, function* () {
|
|
|
|
|
@ -2724,15 +2741,15 @@ const WorkList = ({
|
|
|
|
|
key: "4"
|
|
|
|
|
},
|
|
|
|
|
"\u5B9E\u9A8C\u6570\u636E"
|
|
|
|
|
), /* @__PURE__ */ _react_17_0_2_react.createElement(menu["default"].Item, { key: "2" }, /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
), /* @__PURE__ */ React.createElement(menu["default"].Item, { key: "2" }, /* @__PURE__ */ React.createElement(
|
|
|
|
|
_umi_production_exports.Link,
|
|
|
|
|
{
|
|
|
|
|
to: `/classrooms/${params == null ? void 0 : params.coursesId}/exportlist/shixun_work_list`
|
|
|
|
|
to: `/classrooms/${params == null ? void 0 : params.coursesId}/exportlist/shixun_work_list,shixun_report`
|
|
|
|
|
},
|
|
|
|
|
"\u5386\u53F2\u5BFC\u51FA"
|
|
|
|
|
)));
|
|
|
|
|
};
|
|
|
|
|
return /* @__PURE__ */ _react_17_0_2_react.createElement(_react_17_0_2_react.Fragment, null, /* @__PURE__ */ _react_17_0_2_react.createElement("section", { className: `${WorkListmodules.wrap} minH500 bg-white pl30 pr30 pt30` }, ((_c = (_b = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _b.homework_status) == null ? void 0 : _c.includes("\u672A\u53D1\u5E03")) && /* @__PURE__ */ _react_17_0_2_react.createElement(NoData/* default */.Z, null), !!studentList.length && /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("section", { className: `${WorkListmodules.wrap} minH500 bg-white pl30 pr30 pt30` }, ((_c = (_b = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _b.homework_status) == null ? void 0 : _c.includes("\u672A\u53D1\u5E03")) && /* @__PURE__ */ React.createElement(NoData/* default */.Z, null), !!studentList.length && /* @__PURE__ */ React.createElement(
|
|
|
|
|
table["default"],
|
|
|
|
|
{
|
|
|
|
|
className: "mb10",
|
|
|
|
|
@ -2742,7 +2759,7 @@ const WorkList = ({
|
|
|
|
|
showHeader: false,
|
|
|
|
|
loading: false
|
|
|
|
|
}
|
|
|
|
|
), !((_e = (_d = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _d.homework_status) == null ? void 0 : _e.includes("\u672A\u53D1\u5E03")) && /* @__PURE__ */ _react_17_0_2_react.createElement("aside", null, !(0,authority/* isAdmin */.GJ)() && /* @__PURE__ */ _react_17_0_2_react.createElement("div", { className: "c-light-black font12" }, /* @__PURE__ */ _react_17_0_2_react.createElement("span", null, "\u5DF2\u5F00\u59CB\u505A\u9898 ", ((_f = shixunHomeworks == null ? void 0 : shixunHomeworks.shixunWorkList) == null ? void 0 : _f.commit_count) || 0, " \u4EBA"), /* @__PURE__ */ _react_17_0_2_react.createElement("span", { className: "ml5" }, "\u672A\u5F00\u59CB\u505A\u9898 ", ((_g = shixunHomeworks == null ? void 0 : shixunHomeworks.shixunWorkList) == null ? void 0 : _g.uncommit_count) || 0, " \u4EBA"), ((_h = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _h.left_time) && /* @__PURE__ */ _react_17_0_2_react.createElement(_react_17_0_2_react.Fragment, null, /* @__PURE__ */ _react_17_0_2_react.createElement("span", { className: "ml20 c-black" }, (_j = (_i = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _i.left_time) == null ? void 0 : _j.status), /* @__PURE__ */ _react_17_0_2_react.createElement("span", { className: "ml20 c-orange-ff9" }, (_l = (_k = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _k.left_time) == null ? void 0 : _l.time))), (0,authority/* isAdmin */.GJ)() && /* @__PURE__ */ _react_17_0_2_react.createElement(_react_17_0_2_react.Fragment, null, /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
), !((_e = (_d = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _d.homework_status) == null ? void 0 : _e.includes("\u672A\u53D1\u5E03")) && /* @__PURE__ */ React.createElement("aside", null, !(0,authority/* isAdmin */.GJ)() && /* @__PURE__ */ React.createElement("div", { className: "c-light-black font12" }, /* @__PURE__ */ React.createElement("span", null, "\u5DF2\u5F00\u59CB\u505A\u9898 ", ((_f = shixunHomeworks == null ? void 0 : shixunHomeworks.shixunWorkList) == null ? void 0 : _f.commit_count) || 0, " \u4EBA"), /* @__PURE__ */ React.createElement("span", { className: "ml5" }, "\u672A\u5F00\u59CB\u505A\u9898 ", ((_g = shixunHomeworks == null ? void 0 : shixunHomeworks.shixunWorkList) == null ? void 0 : _g.uncommit_count) || 0, " \u4EBA"), ((_h = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _h.left_time) && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("span", { className: "ml20 c-black" }, (_j = (_i = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _i.left_time) == null ? void 0 : _j.status), /* @__PURE__ */ React.createElement("span", { className: "ml20 c-orange-ff9" }, (_l = (_k = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _k.left_time) == null ? void 0 : _l.time))), (0,authority/* isAdmin */.GJ)() && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
|
|
|
es_form["default"],
|
|
|
|
|
{
|
|
|
|
|
form,
|
|
|
|
|
@ -2753,10 +2770,10 @@ const WorkList = ({
|
|
|
|
|
["teacher_comment"]: "all"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
((_n = (_m = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _m.task_status) == null ? void 0 : _n.length) > 0 && /* @__PURE__ */ _react_17_0_2_react.createElement(es_form["default"].Item, { name: "task_status" }, /* @__PURE__ */ _react_17_0_2_react.createElement(es_checkbox["default"].Group, { value: [], style: { width: "100%" } }, /* @__PURE__ */ _react_17_0_2_react.createElement(row/* default */.Z, null, /* @__PURE__ */ _react_17_0_2_react.createElement(col/* default */.Z, { className: "font14", flex: "80px" }, "\u4F5C\u4E1A\u72B6\u6001:"), /* @__PURE__ */ _react_17_0_2_react.createElement(col/* default */.Z, { flex: "80px" }, /* @__PURE__ */ _react_17_0_2_react.createElement(es_checkbox["default"], { value: "all" }, "\u5168\u90E8")), /* @__PURE__ */ _react_17_0_2_react.createElement(col/* default */.Z, { flex: "1" }, ((_o = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _o.task_status) && ((_p = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _p.task_status.map((v, k) => {
|
|
|
|
|
return /* @__PURE__ */ _react_17_0_2_react.createElement(es_checkbox["default"], { name: "task_status", value: v.id }, v.name, "(", v.count, ")", v.name === "\u622A\u6B62\u540E\u901A\u5173" ? /* @__PURE__ */ _react_17_0_2_react.createElement(tooltip/* default */.Z, { title: "\u5728\u89C4\u5B9A\u65F6\u95F4\u5916\u5B8C\u6210\u7684\u4F5C\u4E1A" }, /* @__PURE__ */ _react_17_0_2_react.createElement("i", { className: "font13 ml5 iconfont icon-tishixiaowenhao" })) : null);
|
|
|
|
|
((_n = (_m = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _m.task_status) == null ? void 0 : _n.length) > 0 && /* @__PURE__ */ React.createElement(es_form["default"].Item, { name: "task_status" }, /* @__PURE__ */ React.createElement(es_checkbox["default"].Group, { value: [], style: { width: "100%" } }, /* @__PURE__ */ React.createElement(row/* default */.Z, null, /* @__PURE__ */ React.createElement(col/* default */.Z, { className: "font14", flex: "80px" }, "\u4F5C\u4E1A\u72B6\u6001:"), /* @__PURE__ */ React.createElement(col/* default */.Z, { flex: "80px" }, /* @__PURE__ */ React.createElement(es_checkbox["default"], { value: "all" }, "\u5168\u90E8")), /* @__PURE__ */ React.createElement(col/* default */.Z, { flex: "1" }, ((_o = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _o.task_status) && ((_p = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _p.task_status.map((v, k) => {
|
|
|
|
|
return /* @__PURE__ */ React.createElement(es_checkbox["default"], { name: "task_status", value: v.id }, v.name, "(", v.count, ")", v.name === "\u622A\u6B62\u540E\u901A\u5173" ? /* @__PURE__ */ React.createElement(tooltip/* default */.Z, { title: "\u5728\u89C4\u5B9A\u65F6\u95F4\u5916\u5B8C\u6210\u7684\u4F5C\u4E1A" }, /* @__PURE__ */ React.createElement("i", { className: "font13 ml5 iconfont icon-tishixiaowenhao" })) : null);
|
|
|
|
|
})))))),
|
|
|
|
|
((_r = (_q = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _q.course_group_info) == null ? void 0 : _r.length) > 0 && /* @__PURE__ */ _react_17_0_2_react.createElement(es_form["default"].Item, { name: "course_group_info" }, /* @__PURE__ */ _react_17_0_2_react.createElement(es_checkbox["default"].Group, { style: { width: "100%" } }, /* @__PURE__ */ _react_17_0_2_react.createElement(row/* default */.Z, null, /* @__PURE__ */ _react_17_0_2_react.createElement(col/* default */.Z, { className: "font14", flex: "80px" }, "\u5206\u73ED\u60C5\u51B5:"), /* @__PURE__ */ _react_17_0_2_react.createElement(col/* default */.Z, { flex: "80px" }, /* @__PURE__ */ _react_17_0_2_react.createElement(es_checkbox["default"], { value: "all" }, "\u5168\u90E8")), /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
((_r = (_q = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _q.course_group_info) == null ? void 0 : _r.length) > 0 && /* @__PURE__ */ React.createElement(es_form["default"].Item, { name: "course_group_info" }, /* @__PURE__ */ React.createElement(es_checkbox["default"].Group, { style: { width: "100%" } }, /* @__PURE__ */ React.createElement(row/* default */.Z, null, /* @__PURE__ */ React.createElement(col/* default */.Z, { className: "font14", flex: "80px" }, "\u5206\u73ED\u60C5\u51B5:"), /* @__PURE__ */ React.createElement(col/* default */.Z, { flex: "80px" }, /* @__PURE__ */ React.createElement(es_checkbox["default"], { value: "all" }, "\u5168\u90E8")), /* @__PURE__ */ React.createElement(
|
|
|
|
|
col/* default */.Z,
|
|
|
|
|
{
|
|
|
|
|
flex: "1",
|
|
|
|
|
@ -2765,10 +2782,10 @@ const WorkList = ({
|
|
|
|
|
},
|
|
|
|
|
(_t = (_s = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _s.course_group_info) == null ? void 0 : _t.map(
|
|
|
|
|
(v, k) => {
|
|
|
|
|
return /* @__PURE__ */ _react_17_0_2_react.createElement(es_checkbox["default"], { value: v.course_group_id }, v.group_group_name, "(", v.count, ")");
|
|
|
|
|
return /* @__PURE__ */ React.createElement(es_checkbox["default"], { value: v.course_group_id }, v.group_group_name, "(", v.count, ")");
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
), showopen && /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
), showopen && /* @__PURE__ */ React.createElement(
|
|
|
|
|
"span",
|
|
|
|
|
{
|
|
|
|
|
onClick: () => {
|
|
|
|
|
@ -2787,7 +2804,7 @@ const WorkList = ({
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
open === 47 ? "\u5C55\u5F00" : "\u6536\u8D77",
|
|
|
|
|
open === 47 ? /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
open === 47 ? /* @__PURE__ */ React.createElement(
|
|
|
|
|
DownOutlined/* default */.Z,
|
|
|
|
|
{
|
|
|
|
|
style: {
|
|
|
|
|
@ -2795,7 +2812,7 @@ const WorkList = ({
|
|
|
|
|
marginLeft: "2px"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
) : /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
) : /* @__PURE__ */ React.createElement(
|
|
|
|
|
UpOutlined/* default */.Z,
|
|
|
|
|
{
|
|
|
|
|
style: {
|
|
|
|
|
@ -2805,12 +2822,12 @@ const WorkList = ({
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
)))),
|
|
|
|
|
((_v = (_u = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _u.teacher_comment) == null ? void 0 : _v.length) > 0 && /* @__PURE__ */ _react_17_0_2_react.createElement(es_form["default"].Item, { name: "teacher_comment" }, /* @__PURE__ */ _react_17_0_2_react.createElement(es_checkbox["default"].Group, { style: { width: "100%" } }, /* @__PURE__ */ _react_17_0_2_react.createElement(row/* default */.Z, null, /* @__PURE__ */ _react_17_0_2_react.createElement(col/* default */.Z, { className: "font14", flex: "80px" }, "\u8FFD\u52A0\u70B9\u8BC4:"), /* @__PURE__ */ _react_17_0_2_react.createElement(col/* default */.Z, { flex: "80px" }, /* @__PURE__ */ _react_17_0_2_react.createElement(es_checkbox["default"], { value: "all" }, "\u5168\u90E8")), /* @__PURE__ */ _react_17_0_2_react.createElement(col/* default */.Z, { flex: "1" }, ((_w = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _w.teacher_comment) && ((_x = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _x.teacher_comment.map(
|
|
|
|
|
((_v = (_u = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _u.teacher_comment) == null ? void 0 : _v.length) > 0 && /* @__PURE__ */ React.createElement(es_form["default"].Item, { name: "teacher_comment" }, /* @__PURE__ */ React.createElement(es_checkbox["default"].Group, { style: { width: "100%" } }, /* @__PURE__ */ React.createElement(row/* default */.Z, null, /* @__PURE__ */ React.createElement(col/* default */.Z, { className: "font14", flex: "80px" }, "\u8FFD\u52A0\u70B9\u8BC4:"), /* @__PURE__ */ React.createElement(col/* default */.Z, { flex: "80px" }, /* @__PURE__ */ React.createElement(es_checkbox["default"], { value: "all" }, "\u5168\u90E8")), /* @__PURE__ */ React.createElement(col/* default */.Z, { flex: "1" }, ((_w = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _w.teacher_comment) && ((_x = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _x.teacher_comment.map(
|
|
|
|
|
(v, k) => {
|
|
|
|
|
return /* @__PURE__ */ _react_17_0_2_react.createElement(es_checkbox["default"], { value: String(v.id) }, v.name, "(", v.count, ")");
|
|
|
|
|
return /* @__PURE__ */ React.createElement(es_checkbox["default"], { value: String(v.id) }, v.name, "(", v.count, ")");
|
|
|
|
|
}
|
|
|
|
|
))))))
|
|
|
|
|
), /* @__PURE__ */ _react_17_0_2_react.createElement(row/* default */.Z, { align: "middle" }, /* @__PURE__ */ _react_17_0_2_react.createElement(col/* default */.Z, { flex: "1" }, /* @__PURE__ */ _react_17_0_2_react.createElement(row/* default */.Z, { align: "middle" }, /* @__PURE__ */ _react_17_0_2_react.createElement(col/* default */.Z, null, /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
), /* @__PURE__ */ React.createElement(row/* default */.Z, { align: "middle" }, /* @__PURE__ */ React.createElement(col/* default */.Z, { flex: "1" }, /* @__PURE__ */ React.createElement(row/* default */.Z, { align: "middle" }, /* @__PURE__ */ React.createElement(col/* default */.Z, null, /* @__PURE__ */ React.createElement(
|
|
|
|
|
input["default"].Search,
|
|
|
|
|
{
|
|
|
|
|
allowClear: true,
|
|
|
|
|
@ -2822,7 +2839,7 @@ const WorkList = ({
|
|
|
|
|
},
|
|
|
|
|
style: { width: 240 }
|
|
|
|
|
}
|
|
|
|
|
)), /* @__PURE__ */ _react_17_0_2_react.createElement(col/* default */.Z, null, /* @__PURE__ */ _react_17_0_2_react.createElement("span", { className: "ml5" }, /* @__PURE__ */ _react_17_0_2_react.createElement("span", { className: "c-red" }, (_y = shixunHomeworks == null ? void 0 : shixunHomeworks.shixunWorkList) == null ? void 0 : _y.total_count), "\u4E2A\u68C0\u7D22\u7ED3\u679C\uFF08", (_z = shixunHomeworks == null ? void 0 : shixunHomeworks.shixunWorkList) == null ? void 0 : _z.total_count, "\u4E2A\u5B66\u751F\uFF09")))), /* @__PURE__ */ _react_17_0_2_react.createElement(col/* default */.Z, null, (0,authority/* isAdmin */.GJ)() && ((_A = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _A.code_review) && /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
)), /* @__PURE__ */ React.createElement(col/* default */.Z, null, /* @__PURE__ */ React.createElement("span", { className: "ml5" }, /* @__PURE__ */ React.createElement("span", { className: "c-red" }, (_y = shixunHomeworks == null ? void 0 : shixunHomeworks.shixunWorkList) == null ? void 0 : _y.total_count), "\u4E2A\u68C0\u7D22\u7ED3\u679C\uFF08", (_z = shixunHomeworks == null ? void 0 : shixunHomeworks.shixunWorkList) == null ? void 0 : _z.total_count, "\u4E2A\u5B66\u751F\uFF09")))), /* @__PURE__ */ React.createElement(col/* default */.Z, null, (0,authority/* isAdmin */.GJ)() && ((_A = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _A.code_review) && /* @__PURE__ */ React.createElement(
|
|
|
|
|
es_button/* default */.ZP,
|
|
|
|
|
{
|
|
|
|
|
className: "ml10",
|
|
|
|
|
@ -2839,14 +2856,14 @@ const WorkList = ({
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
/* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
/* @__PURE__ */ React.createElement(
|
|
|
|
|
"span",
|
|
|
|
|
{
|
|
|
|
|
className: `${WorkListmodules.tr1} iconfont icon-daimachazhong`
|
|
|
|
|
}
|
|
|
|
|
),
|
|
|
|
|
"\u4EE3\u7801\u67E5\u91CD"
|
|
|
|
|
), (0,authority/* isAdmin */.GJ)() && canUpdateScore && /* @__PURE__ */ _react_17_0_2_react.createElement(es_button/* default */.ZP, { className: "ml10", onClick: handleUpdateScore }, /* @__PURE__ */ _react_17_0_2_react.createElement("i", { className: "iconfont icon-gengxinchengji font14 pr5" }), "\u66F4\u65B0\u6210\u7EE9"), ((_C = (_B = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _B.homework_status) == null ? void 0 : _C.includes("\u5DF2\u622A\u6B62")) && (0,authority/* isAdmin */.GJ)() && /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
), (0,authority/* isAdmin */.GJ)() && canUpdateScore && /* @__PURE__ */ React.createElement(es_button/* default */.ZP, { className: "ml10", onClick: handleUpdateScore }, /* @__PURE__ */ React.createElement("i", { className: "iconfont icon-gengxinchengji font14 pr5" }), "\u66F4\u65B0\u6210\u7EE9"), ((_C = (_B = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _B.homework_status) == null ? void 0 : _C.includes("\u5DF2\u622A\u6B62")) && (0,authority/* isAdmin */.GJ)() && /* @__PURE__ */ React.createElement(
|
|
|
|
|
es_button/* default */.ZP,
|
|
|
|
|
{
|
|
|
|
|
className: "ml10",
|
|
|
|
|
@ -2863,9 +2880,9 @@ const WorkList = ({
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
/* @__PURE__ */ _react_17_0_2_react.createElement("i", { className: "iconfont icon-a-08zhiliang-xianxing font14 pr5" }),
|
|
|
|
|
/* @__PURE__ */ React.createElement("i", { className: "iconfont icon-a-08zhiliang-xianxing font14 pr5" }),
|
|
|
|
|
"\u8D28\u91CF\u8BC4\u5206"
|
|
|
|
|
), /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
), /* @__PURE__ */ React.createElement(
|
|
|
|
|
es_button/* default */.ZP,
|
|
|
|
|
{
|
|
|
|
|
className: "ml10",
|
|
|
|
|
@ -2887,9 +2904,9 @@ const WorkList = ({
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
/* @__PURE__ */ _react_17_0_2_react.createElement(SolutionOutlined/* default */.Z, { className: "mr5" }),
|
|
|
|
|
/* @__PURE__ */ React.createElement(SolutionOutlined/* default */.Z, { className: "mr5" }),
|
|
|
|
|
"\u4E00\u952E\u70B9\u8BC4"
|
|
|
|
|
), (((_E = (_D = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _D.homework_status) == null ? void 0 : _E.includes("\u63D0\u4EA4\u4E2D")) || ((_G = (_F = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _F.homework_status) == null ? void 0 : _G.includes("\u8865\u4EA4\u4E2D")) || ((_I = (_H = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _H.homework_status) == null ? void 0 : _I.includes("\u8FDB\u884C\u4E2D"))) && /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
), (((_E = (_D = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _D.homework_status) == null ? void 0 : _E.includes("\u63D0\u4EA4\u4E2D")) || ((_G = (_F = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _F.homework_status) == null ? void 0 : _G.includes("\u8865\u4EA4\u4E2D")) || ((_I = (_H = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _H.homework_status) == null ? void 0 : _I.includes("\u8FDB\u884C\u4E2D"))) && /* @__PURE__ */ React.createElement(
|
|
|
|
|
es_button/* default */.ZP,
|
|
|
|
|
{
|
|
|
|
|
className: "ml10",
|
|
|
|
|
@ -2918,16 +2935,16 @@ const WorkList = ({
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"\u4E00\u952E\u6253\u56DE"
|
|
|
|
|
), (0,authority/* isAdmin */.GJ)() && /* @__PURE__ */ _react_17_0_2_react.createElement(dropdown/* default */.Z, { dropdownRender: exportMenu, className: "ml10" }, /* @__PURE__ */ _react_17_0_2_react.createElement(es_button/* default */.ZP, null, /* @__PURE__ */ _react_17_0_2_react.createElement(DeliveredProcedureOutlined/* default */.Z, null), "\u5BFC\u51FA", /* @__PURE__ */ _react_17_0_2_react.createElement(CaretDownOutlined/* default */.Z, null)))))), (0,authority/* isAdminOrAssistant */.Gg)() && ((_J = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _J.is_vip) && /* @__PURE__ */ _react_17_0_2_react.createElement(row/* default */.Z, { style: { marginTop: "15px", display: "inline-flex", background: "#F5F5F5", borderRadius: 4, height: 42, lineHeight: "40px", width: "100%", padding: "0px 10px", alignItems: "center", color: "#9096A3" } }, /* @__PURE__ */ _react_17_0_2_react.createElement("span", null, "\u5B66\u751F\u4F5C\u4E1A\u7684\u5B9E\u9A8C\u73AF\u5883\u4E34\u65F6\u6570\u636E\uFF08/data/workspace\u76EE\u5F55\uFF09\u5C06\u957F\u671F\u4FDD\u5B58 \uFF0C\u6559\u5E08\u53EF\u901A\u8FC7\u201C\u5BFC\u51FA-\u5B9E\u9A8C\u6570\u636E\u201D\u529F\u80FD\u4E0B\u8F7D\u5B9E\u9A8C\u73AF\u5883\u4E34\u65F6\u6570\u636E\u3002")), /* @__PURE__ */ _react_17_0_2_react.createElement(row/* default */.Z, { style: { justifyContent: "end", marginTop: "5px" } }, (0,authority/* isAdmin */.GJ)() && canUpdateScore && /* @__PURE__ */ _react_17_0_2_react.createElement("span", null, /* @__PURE__ */ _react_17_0_2_react.createElement("span", { style: { color: "red" } }, "*"), "\u5217\u8868\u4E2D\u4F5C\u4E1A\u8BB0\u5F55\u5B58\u5728\u5DEE\u5F02\uFF0C\u8BF7\u70B9\u51FB\u201C\u66F4\u65B0\u6210\u7EE9\u201D\u6309\u94AE")), /* @__PURE__ */ _react_17_0_2_react.createElement(row/* default */.Z, { align: "middle", className: WorkListmodules.refresh }, /* @__PURE__ */ _react_17_0_2_react.createElement(col/* default */.Z, { flex: "121px", className: "flex-container" }, /* @__PURE__ */ _react_17_0_2_react.createElement(es_switch/* default */.Z, { checkedChildren: "\u5F00\u542F", unCheckedChildren: "\u5173\u95ED", defaultChecked: isSimpleList, onChange: (checked) => {
|
|
|
|
|
), (0,authority/* isAdmin */.GJ)() && /* @__PURE__ */ React.createElement(dropdown/* default */.Z, { dropdownRender: exportMenu, className: "ml10" }, /* @__PURE__ */ React.createElement(es_button/* default */.ZP, null, /* @__PURE__ */ React.createElement(DeliveredProcedureOutlined/* default */.Z, null), "\u5BFC\u51FA", /* @__PURE__ */ React.createElement(CaretDownOutlined/* default */.Z, null)))))), (0,authority/* isAdminOrAssistant */.Gg)() && ((_J = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _J.is_vip) && /* @__PURE__ */ React.createElement(row/* default */.Z, { style: { marginTop: "15px", display: "inline-flex", background: "#F5F5F5", borderRadius: 4, height: 42, lineHeight: "40px", width: "100%", padding: "0px 10px", alignItems: "center", color: "#9096A3" } }, /* @__PURE__ */ React.createElement("span", null, "\u5B66\u751F\u4F5C\u4E1A\u7684\u5B9E\u9A8C\u73AF\u5883\u4E34\u65F6\u6570\u636E\uFF08/data/workspace\u76EE\u5F55\uFF09\u5C06\u957F\u671F\u4FDD\u5B58 \uFF0C\u6559\u5E08\u53EF\u901A\u8FC7\u201C\u5BFC\u51FA-\u5B9E\u9A8C\u6570\u636E\u201D\u529F\u80FD\u4E0B\u8F7D\u5B9E\u9A8C\u73AF\u5883\u4E34\u65F6\u6570\u636E\u3002")), /* @__PURE__ */ React.createElement(row/* default */.Z, { style: { justifyContent: "end", marginTop: "5px" } }, (0,authority/* isAdmin */.GJ)() && canUpdateScore && /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("span", { style: { color: "red" } }, "*"), "\u5217\u8868\u4E2D\u4F5C\u4E1A\u8BB0\u5F55\u5B58\u5728\u5DEE\u5F02\uFF0C\u8BF7\u70B9\u51FB\u201C\u66F4\u65B0\u6210\u7EE9\u201D\u6309\u94AE")), /* @__PURE__ */ React.createElement(row/* default */.Z, { align: "middle", className: WorkListmodules.refresh }, /* @__PURE__ */ React.createElement(col/* default */.Z, { flex: "121px", className: "flex-container" }, /* @__PURE__ */ React.createElement(es_switch/* default */.Z, { checkedChildren: "\u5F00\u542F", unCheckedChildren: "\u5173\u95ED", defaultChecked: isSimpleList, onChange: (checked) => {
|
|
|
|
|
setIssimpleList(checked);
|
|
|
|
|
} }), " ", /* @__PURE__ */ _react_17_0_2_react.createElement("span", { className: "ml8" }, "\u7B80\u6D01\u6A21\u5F0F")), (((_L = (_K = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _K.homework_status) == null ? void 0 : _L.includes("\u63D0\u4EA4\u4E2D")) || ((_N = (_M = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _M.homework_status) == null ? void 0 : _N.includes("\u8865\u4EA4\u4E2D")) || ((_P = (_O = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _O.homework_status) == null ? void 0 : _P.includes("\u8FDB\u884C\u4E2D"))) && (0,authority/* isAdmin */.GJ)() && /* @__PURE__ */ _react_17_0_2_react.createElement(col/* default */.Z, null, /* @__PURE__ */ _react_17_0_2_react.createElement("div", { className: "flex-container" }, /* @__PURE__ */ _react_17_0_2_react.createElement(es_switch/* default */.Z, { className: "ml20", checkedChildren: "\u5F00\u542F", unCheckedChildren: "\u5173\u95ED", defaultChecked: !!sessionStorage.getItem("classroomsShixunDetailAutoRefersh"), onChange: (checked) => {
|
|
|
|
|
} }), " ", /* @__PURE__ */ React.createElement("span", { className: "ml8" }, "\u7B80\u6D01\u6A21\u5F0F")), (((_L = (_K = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _K.homework_status) == null ? void 0 : _L.includes("\u63D0\u4EA4\u4E2D")) || ((_N = (_M = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _M.homework_status) == null ? void 0 : _N.includes("\u8865\u4EA4\u4E2D")) || ((_P = (_O = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _O.homework_status) == null ? void 0 : _P.includes("\u8FDB\u884C\u4E2D"))) && (0,authority/* isAdmin */.GJ)() && /* @__PURE__ */ React.createElement(col/* default */.Z, null, /* @__PURE__ */ React.createElement("div", { className: "flex-container" }, /* @__PURE__ */ React.createElement(es_switch/* default */.Z, { className: "ml20", checkedChildren: "\u5F00\u542F", unCheckedChildren: "\u5173\u95ED", defaultChecked: !!sessionStorage.getItem("classroomsShixunDetailAutoRefersh"), onChange: (checked) => {
|
|
|
|
|
if (checked) {
|
|
|
|
|
sessionStorage.setItem("classroomsShixunDetailAutoRefersh", "true");
|
|
|
|
|
} else {
|
|
|
|
|
sessionStorage.removeItem("classroomsShixunDetailAutoRefersh");
|
|
|
|
|
}
|
|
|
|
|
autoUpdata(checked);
|
|
|
|
|
} }), /* @__PURE__ */ _react_17_0_2_react.createElement("span", { className: "ml8" }, "\u81EA\u52A8\u5237\u65B0\uFF08\u5F00\u542F\u540E\u6BCF10S\u66F4\u65B0\u4E00\u6B21\u6570\u636E\uFF09")))), /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
} }), /* @__PURE__ */ React.createElement("span", { className: "ml8" }, "\u81EA\u52A8\u5237\u65B0\uFF08\u5F00\u542F\u540E\u6BCF10S\u66F4\u65B0\u4E00\u6B21\u6570\u636E\uFF09")))), /* @__PURE__ */ React.createElement(
|
|
|
|
|
table["default"],
|
|
|
|
|
{
|
|
|
|
|
className: "mt30",
|
|
|
|
|
@ -2965,7 +2982,7 @@ const WorkList = ({
|
|
|
|
|
getData();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
), /* @__PURE__ */ _react_17_0_2_react.createElement(QuickComment, null), /* @__PURE__ */ _react_17_0_2_react.createElement(ChangeCommit, null), /* @__PURE__ */ _react_17_0_2_react.createElement(Redo/* default */.Z, null)), /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
), /* @__PURE__ */ React.createElement(QuickComment, null), /* @__PURE__ */ React.createElement(ChangeCommit, null), /* @__PURE__ */ React.createElement(Redo/* default */.Z, null)), /* @__PURE__ */ React.createElement(
|
|
|
|
|
modal["default"],
|
|
|
|
|
{
|
|
|
|
|
title: "\u4E00\u952E\u6253\u56DE\u91CD\u505A",
|
|
|
|
|
@ -3048,13 +3065,13 @@ const WorkList = ({
|
|
|
|
|
setnull();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
/* @__PURE__ */ _react_17_0_2_react.createElement("div", { style: { padding: "32px" } }, /* @__PURE__ */ _react_17_0_2_react.createElement("div", null, /* @__PURE__ */ _react_17_0_2_react.createElement("div", { style: { display: "flex", marginBottom: "12px" } }, /* @__PURE__ */ _react_17_0_2_react.createElement("div", { style: { flexShrink: "0", marginRight: "15px" } }, " ", /* @__PURE__ */ _react_17_0_2_react.createElement("span", { style: { color: "red" } }, "*"), "\u5206\u73ED\uFF1A"), /* @__PURE__ */ _react_17_0_2_react.createElement("div", { className: newList.length > 15 ? WorkListmodules.scroll : "", style: { overflowX: "hidden" } }, newList == null ? void 0 : newList.map(
|
|
|
|
|
/* @__PURE__ */ React.createElement("div", { style: { padding: "32px" } }, /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("div", { style: { display: "flex", marginBottom: "12px" } }, /* @__PURE__ */ React.createElement("div", { style: { flexShrink: "0", marginRight: "15px" } }, " ", /* @__PURE__ */ React.createElement("span", { style: { color: "red" } }, "*"), "\u5206\u73ED\uFF1A"), /* @__PURE__ */ React.createElement("div", { className: newList.length > 15 ? WorkListmodules.scroll : "", style: { overflowX: "hidden" } }, newList == null ? void 0 : newList.map(
|
|
|
|
|
(v, k) => {
|
|
|
|
|
return /* @__PURE__ */ _react_17_0_2_react.createElement(es_checkbox["default"], { style: { textAlign: "left", margin: "0" }, value: v.course_group_id, key: v.course_group_id, onChange: () => {
|
|
|
|
|
return /* @__PURE__ */ React.createElement(es_checkbox["default"], { style: { textAlign: "left", margin: "0" }, value: v.course_group_id, key: v.course_group_id, onChange: () => {
|
|
|
|
|
changeClass(v.course_group_id, newList);
|
|
|
|
|
}, checked: v.checked }, v.group_group_name, "(", v.count, ")");
|
|
|
|
|
}
|
|
|
|
|
))), /* @__PURE__ */ _react_17_0_2_react.createElement("div", null, /* @__PURE__ */ _react_17_0_2_react.createElement("span", { style: { width: "80px" } }, "\u6253\u56DE\u65B9\u5F0F\uFF1A"), /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
))), /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("span", { style: { width: "80px" } }, "\u6253\u56DE\u65B9\u5F0F\uFF1A"), /* @__PURE__ */ React.createElement(
|
|
|
|
|
es_radio/* default.Group */.ZP.Group,
|
|
|
|
|
{
|
|
|
|
|
value: istype,
|
|
|
|
|
@ -3062,9 +3079,9 @@ const WorkList = ({
|
|
|
|
|
setistype(e.target.value);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
/* @__PURE__ */ _react_17_0_2_react.createElement(es_radio/* default */.ZP, { value: 1 }, "\u6309\u6210\u7EE9\u6253\u56DE"),
|
|
|
|
|
/* @__PURE__ */ _react_17_0_2_react.createElement(es_radio/* default */.ZP, { value: 2 }, "\u6309\u4F5C\u4E1A\u72B6\u6001\u6253\u56DE")
|
|
|
|
|
)), istype === 1 && /* @__PURE__ */ _react_17_0_2_react.createElement("div", { style: { display: "flex", marginTop: "20px" } }, /* @__PURE__ */ _react_17_0_2_react.createElement("span", { style: { width: "70px", textAlign: "end" } }, /* @__PURE__ */ _react_17_0_2_react.createElement("span", { style: { color: "red" } }, "*"), "\u6700\u4F4E\u5206\uFF1A"), /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
/* @__PURE__ */ React.createElement(es_radio/* default */.ZP, { value: 1 }, "\u6309\u6210\u7EE9\u6253\u56DE"),
|
|
|
|
|
/* @__PURE__ */ React.createElement(es_radio/* default */.ZP, { value: 2 }, "\u6309\u4F5C\u4E1A\u72B6\u6001\u6253\u56DE")
|
|
|
|
|
)), istype === 1 && /* @__PURE__ */ React.createElement("div", { style: { display: "flex", marginTop: "20px" } }, /* @__PURE__ */ React.createElement("span", { style: { width: "70px", textAlign: "end" } }, /* @__PURE__ */ React.createElement("span", { style: { color: "red" } }, "*"), "\u6700\u4F4E\u5206\uFF1A"), /* @__PURE__ */ React.createElement(
|
|
|
|
|
input_number/* default */.Z,
|
|
|
|
|
{
|
|
|
|
|
min: 0,
|
|
|
|
|
@ -3073,7 +3090,7 @@ const WorkList = ({
|
|
|
|
|
onChange: (e) => setminscore(e),
|
|
|
|
|
style: { width: "100px" }
|
|
|
|
|
}
|
|
|
|
|
), /* @__PURE__ */ _react_17_0_2_react.createElement("span", { style: { width: "80px", textAlign: "end" } }, /* @__PURE__ */ _react_17_0_2_react.createElement("span", { style: { color: "red" } }, "*"), "\u6700\u9AD8\u5206\uFF1A"), /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
), /* @__PURE__ */ React.createElement("span", { style: { width: "80px", textAlign: "end" } }, /* @__PURE__ */ React.createElement("span", { style: { color: "red" } }, "*"), "\u6700\u9AD8\u5206\uFF1A"), /* @__PURE__ */ React.createElement(
|
|
|
|
|
input_number/* default */.Z,
|
|
|
|
|
{
|
|
|
|
|
min: 0,
|
|
|
|
|
@ -3082,7 +3099,7 @@ const WorkList = ({
|
|
|
|
|
onChange: (e) => setmaxscore(e),
|
|
|
|
|
style: { width: "100px" }
|
|
|
|
|
}
|
|
|
|
|
)), istype === 2 && /* @__PURE__ */ _react_17_0_2_react.createElement("div", { style: { display: "flex", marginTop: "20px" } }, /* @__PURE__ */ _react_17_0_2_react.createElement("span", { style: { width: "80px" } }, "\u4F5C\u4E1A\u72B6\u6001\uFF1A"), /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
)), istype === 2 && /* @__PURE__ */ React.createElement("div", { style: { display: "flex", marginTop: "20px" } }, /* @__PURE__ */ React.createElement("span", { style: { width: "80px" } }, "\u4F5C\u4E1A\u72B6\u6001\uFF1A"), /* @__PURE__ */ React.createElement(
|
|
|
|
|
es_checkbox["default"].Group,
|
|
|
|
|
{
|
|
|
|
|
onChange: (value) => {
|
|
|
|
|
@ -3091,9 +3108,9 @@ const WorkList = ({
|
|
|
|
|
style: { width: "100%" }
|
|
|
|
|
},
|
|
|
|
|
(_R = (_Q = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _Q.task_status) == null ? void 0 : _R.map((v, k) => {
|
|
|
|
|
return /* @__PURE__ */ _react_17_0_2_react.createElement(es_checkbox["default"], { name: "task_status", value: v.id }, v.name, "(", v.count, ")");
|
|
|
|
|
return /* @__PURE__ */ React.createElement(es_checkbox["default"], { name: "task_status", value: v.id }, v.name, "(", v.count, ")");
|
|
|
|
|
})
|
|
|
|
|
)), /* @__PURE__ */ _react_17_0_2_react.createElement("div", { style: { display: "flex", marginTop: "20px" } }, /* @__PURE__ */ _react_17_0_2_react.createElement("span", { style: { width: "70px", textAlign: "end" } }, /* @__PURE__ */ _react_17_0_2_react.createElement("span", { style: { color: "red" } }, "*"), " \u8BC4\u8BED\uFF1A"), /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
)), /* @__PURE__ */ React.createElement("div", { style: { display: "flex", marginTop: "20px" } }, /* @__PURE__ */ React.createElement("span", { style: { width: "70px", textAlign: "end" } }, /* @__PURE__ */ React.createElement("span", { style: { color: "red" } }, "*"), " \u8BC4\u8BED\uFF1A"), /* @__PURE__ */ React.createElement(
|
|
|
|
|
markdown_editor/* default */.Z,
|
|
|
|
|
{
|
|
|
|
|
className: WorkListmodules.MdEditor,
|
|
|
|
|
@ -3101,7 +3118,7 @@ const WorkList = ({
|
|
|
|
|
placeholder: "\u8BF7\u586B\u5199\u8BC4\u8BED"
|
|
|
|
|
}
|
|
|
|
|
))))
|
|
|
|
|
), /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
), /* @__PURE__ */ React.createElement(
|
|
|
|
|
modal["default"],
|
|
|
|
|
{
|
|
|
|
|
open: isshowmodaltitls,
|
|
|
|
|
@ -3153,7 +3170,7 @@ const WorkList = ({
|
|
|
|
|
setisshowmodaltitls(false);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
/* @__PURE__ */ _react_17_0_2_react.createElement("div", { style: { padding: "32px" } }, istype === 1 && /* @__PURE__ */ _react_17_0_2_react.createElement("span", null, "\u786E\u8BA4\u5C06\u9009\u4E2D\u7684", backGroupContnet, "\u4E2A\u73ED\u7EA7\u4E2D, \u6210\u7EE9\u5728", minscore, "-", maxscore, "\u7684\u5B66\u751F\u8FDB\u884C\u6253\u56DE\u91CD\u505A\u5417\uFF1F"), istype === 2 && // <span>
|
|
|
|
|
/* @__PURE__ */ React.createElement("div", { style: { padding: "32px" } }, istype === 1 && /* @__PURE__ */ React.createElement("span", null, "\u786E\u8BA4\u5C06\u9009\u4E2D\u7684", backGroupContnet, "\u4E2A\u73ED\u7EA7\u4E2D, \u6210\u7EE9\u5728", minscore, "-", maxscore, "\u7684\u5B66\u751F\u8FDB\u884C\u6253\u56DE\u91CD\u505A\u5417\uFF1F"), istype === 2 && // <span>
|
|
|
|
|
// 确认将作业状态为
|
|
|
|
|
// {workList.task_status
|
|
|
|
|
// ?.filter(item => checkvalues?.includes(item.id))
|
|
|
|
|
@ -3161,8 +3178,8 @@ const WorkList = ({
|
|
|
|
|
// .toString() + ','}
|
|
|
|
|
// 的学生进行作业打回重做吗?
|
|
|
|
|
// </span>
|
|
|
|
|
/* @__PURE__ */ _react_17_0_2_react.createElement("span", null, "\u786E\u8BA4\u5C06", backGroupContnet, "\u4E2A\u73ED\u7EA7\u4E2D\u4F5C\u4E1A\u72B6\u6001\u5728", (_T = (_S = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _S.task_status) == null ? void 0 : _T.filter((item) => checkvalues == null ? void 0 : checkvalues.includes(item.id)).map((item) => item.name).toString(), "\u7684\u5B66\u751F\u8FDB\u884C\u4F5C\u4E1A\u6253\u56DE\u91CD\u505A\u5417\uFF1F"), /* @__PURE__ */ _react_17_0_2_react.createElement("br", null), /* @__PURE__ */ _react_17_0_2_react.createElement("span", null, "\u8BE5\u6761\u4EF6\u4E0B\u5171\u6709", studentcount == null ? void 0 : studentcount.count, "\u540D\u5B66\u751F"))
|
|
|
|
|
)), /* @__PURE__ */ _react_17_0_2_react.createElement(QualityModal, null), /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
/* @__PURE__ */ React.createElement("span", null, "\u786E\u8BA4\u5C06", backGroupContnet, "\u4E2A\u73ED\u7EA7\u4E2D\u4F5C\u4E1A\u72B6\u6001\u5728", (_T = (_S = shixunHomeworks == null ? void 0 : shixunHomeworks.headerInfo) == null ? void 0 : _S.task_status) == null ? void 0 : _T.filter((item) => checkvalues == null ? void 0 : checkvalues.includes(item.id)).map((item) => item.name).toString(), "\u7684\u5B66\u751F\u8FDB\u884C\u4F5C\u4E1A\u6253\u56DE\u91CD\u505A\u5417\uFF1F"), /* @__PURE__ */ React.createElement("br", null), /* @__PURE__ */ React.createElement("span", null, "\u8BE5\u6761\u4EF6\u4E0B\u5171\u6709", studentcount == null ? void 0 : studentcount.count, "\u540D\u5B66\u751F"))
|
|
|
|
|
)), /* @__PURE__ */ React.createElement(QualityModal, null), /* @__PURE__ */ React.createElement(
|
|
|
|
|
components_ClearanceModal,
|
|
|
|
|
{
|
|
|
|
|
isShow: isClearanceVisible,
|
|
|
|
|
@ -3171,7 +3188,7 @@ const WorkList = ({
|
|
|
|
|
coursesId: params.coursesId,
|
|
|
|
|
categoryId: params.categoryId
|
|
|
|
|
}
|
|
|
|
|
), /* @__PURE__ */ _react_17_0_2_react.createElement("aside", { className: "tc mb50 mt30" }, /* @__PURE__ */ _react_17_0_2_react.createElement(
|
|
|
|
|
), /* @__PURE__ */ React.createElement("aside", { className: "tc mb50 mt30" }, /* @__PURE__ */ React.createElement(
|
|
|
|
|
pagination/* default */.Z,
|
|
|
|
|
{
|
|
|
|
|
showQuickJumper: true,
|
|
|
|
|
@ -3844,7 +3861,7 @@ const publicsetting_WorkList = ({ shixunHomeworks, loading, dispatch }) => {
|
|
|
|
|
)(publicsetting_WorkList));
|
|
|
|
|
|
|
|
|
|
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/ShixunHomeworks/Detail/components/ConfigWorks/scoresetting.tsx
|
|
|
|
|
/* provided dependency */ var React = __webpack_require__(/*! react */ 59301);
|
|
|
|
|
/* provided dependency */ var scoresetting_React = __webpack_require__(/*! react */ 59301);
|
|
|
|
|
var scoresetting_defProp = Object.defineProperty;
|
|
|
|
|
var scoresetting_defProps = Object.defineProperties;
|
|
|
|
|
var scoresetting_getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
|
|
|
@ -4235,7 +4252,7 @@ const scoresetting_WorkList = ({ shixunHomeworks, loading, dispatch }) => {
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
console.log("\u4F20\u9012\u7ED9\u540E\u7AEF\u7684\u4E09\u4E2A\u65B0\u5B57\u6BB5", is_repeat_minus, "\u6263\u5206\uFF1A", repeat_setting_score, "\u9608\u503C\uFF1A", repeat_limit);
|
|
|
|
|
return /* @__PURE__ */ React.createElement("section", { className: [ConfigWorksmodules/* default */.Z.form, " bg-white pl30 pr30 pt10 mb20 pb10"].join(" ") }, /* @__PURE__ */ React.createElement(row/* default */.Z, { className: "mt25" }, /* @__PURE__ */ React.createElement(col/* default */.Z, { flex: "1" }), /* @__PURE__ */ React.createElement(col/* default */.Z, null, (workSetting == null ? void 0 : workSetting.can_edit) && disabled && /* @__PURE__ */ React.createElement(
|
|
|
|
|
return /* @__PURE__ */ scoresetting_React.createElement("section", { className: [ConfigWorksmodules/* default */.Z.form, " bg-white pl30 pr30 pt10 mb20 pb10"].join(" ") }, /* @__PURE__ */ scoresetting_React.createElement(row/* default */.Z, { className: "mt25" }, /* @__PURE__ */ scoresetting_React.createElement(col/* default */.Z, { flex: "1" }), /* @__PURE__ */ scoresetting_React.createElement(col/* default */.Z, null, (workSetting == null ? void 0 : workSetting.can_edit) && disabled && /* @__PURE__ */ scoresetting_React.createElement(
|
|
|
|
|
es_button/* default */.ZP,
|
|
|
|
|
{
|
|
|
|
|
type: "primary",
|
|
|
|
|
@ -4248,7 +4265,7 @@ const scoresetting_WorkList = ({ shixunHomeworks, loading, dispatch }) => {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"\u7F16\u8F91\u8BBE\u7F6E"
|
|
|
|
|
), !disabled && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
|
|
|
), !disabled && /* @__PURE__ */ scoresetting_React.createElement(scoresetting_React.Fragment, null, /* @__PURE__ */ scoresetting_React.createElement(
|
|
|
|
|
es_button/* default */.ZP,
|
|
|
|
|
{
|
|
|
|
|
type: "primary",
|
|
|
|
|
@ -4261,7 +4278,7 @@ const scoresetting_WorkList = ({ shixunHomeworks, loading, dispatch }) => {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"\u63D0\u4EA4"
|
|
|
|
|
), /* @__PURE__ */ React.createElement(
|
|
|
|
|
), /* @__PURE__ */ scoresetting_React.createElement(
|
|
|
|
|
es_button/* default */.ZP,
|
|
|
|
|
{
|
|
|
|
|
type: "primary",
|
|
|
|
|
@ -4274,7 +4291,7 @@ const scoresetting_WorkList = ({ shixunHomeworks, loading, dispatch }) => {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"\u53D6\u6D88"
|
|
|
|
|
))), /* @__PURE__ */ React.createElement(col/* default */.Z, { span: 24, className: "pl30 mt10" }, /* @__PURE__ */ React.createElement("strong", null, "\u603B\u5206\u503C\uFF1A"), /* @__PURE__ */ React.createElement(
|
|
|
|
|
))), /* @__PURE__ */ scoresetting_React.createElement(col/* default */.Z, { span: 24, className: "pl30 mt10" }, /* @__PURE__ */ scoresetting_React.createElement("strong", null, "\u603B\u5206\u503C\uFF1A"), /* @__PURE__ */ scoresetting_React.createElement(
|
|
|
|
|
input_number/* default */.Z,
|
|
|
|
|
{
|
|
|
|
|
min: 0,
|
|
|
|
|
@ -4286,7 +4303,7 @@ const scoresetting_WorkList = ({ shixunHomeworks, loading, dispatch }) => {
|
|
|
|
|
calcScore();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
), "\xA0\u5206"), /* @__PURE__ */ React.createElement(col/* default */.Z, { span: 24, style: { paddingLeft: 60, marginTop: 20 } }, /* @__PURE__ */ React.createElement("strong", null, "\u5173\u5361\u4EFB\u52A1\u7684\u9009\u62E9\u548C\u5206\u503C\u8BBE\u7F6E"), /* @__PURE__ */ React.createElement("span", { className: "c-orange" }, "\xA0(\u603B\u5206\u503C = \u6548\u7387\u5206+ \u5173\u5361\u4EFB\u52A1\u603B\u5206)"))), /* @__PURE__ */ React.createElement(row/* default */.Z, { style: { paddingLeft: 85, marginTop: 30 } }, /* @__PURE__ */ React.createElement(col/* default */.Z, { flex: "1" }, /* @__PURE__ */ React.createElement(
|
|
|
|
|
), "\xA0\u5206"), /* @__PURE__ */ scoresetting_React.createElement(col/* default */.Z, { span: 24, style: { paddingLeft: 60, marginTop: 20 } }, /* @__PURE__ */ scoresetting_React.createElement("strong", null, "\u5173\u5361\u4EFB\u52A1\u7684\u9009\u62E9\u548C\u5206\u503C\u8BBE\u7F6E"), /* @__PURE__ */ scoresetting_React.createElement("span", { className: "c-orange" }, "\xA0(\u603B\u5206\u503C = \u6548\u7387\u5206+ \u5173\u5361\u4EFB\u52A1\u603B\u5206)"))), /* @__PURE__ */ scoresetting_React.createElement(row/* default */.Z, { style: { paddingLeft: 85, marginTop: 30 } }, /* @__PURE__ */ scoresetting_React.createElement(col/* default */.Z, { flex: "1" }, /* @__PURE__ */ scoresetting_React.createElement(
|
|
|
|
|
es_checkbox["default"],
|
|
|
|
|
{
|
|
|
|
|
disabled,
|
|
|
|
|
@ -4302,8 +4319,8 @@ const scoresetting_WorkList = ({ shixunHomeworks, loading, dispatch }) => {
|
|
|
|
|
calcScore();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
/* @__PURE__ */ React.createElement("strong", null, "\u6548\u7387\u5206")
|
|
|
|
|
), /* @__PURE__ */ React.createElement("span", { className: "c-orange font12", style: { marginLeft: -4 } }, "(\u9009\u4E2D\uFF0C\u5219\u5B66\u751F\u6700\u7EC8\u6210\u7EE9\u5305\u542B\u6548\u7387\u5206\u3002\u6548\u7387\u5206\u5728\u4F5C\u4E1A\u622A\u6B62\u6216\u8005\u8865\u4EA4\u7ED3\u675F\u540E\u7531\u7CFB\u7EDF\u81EA\u52A8\u751F\u6210)")), /* @__PURE__ */ React.createElement(col/* default */.Z, { className: ConfigWorksmodules/* default */.Z.efficiency }, "\uFF08\u5B66\u751F\u5B66\u4E60\u6548\u7387= log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)", /* @__PURE__ */ React.createElement("br", null), "\uFF08\u5B66\u751F\u6548\u7387\u5206 = \u5B66\u751F\u5B66\u4E60\u6548\u7387 / \u8BFE\u5802\u5B66\u751F\u6700\u9AD8\u5B66\u4E60\u6548\u7387 * \u5206\u503C\uFF09", /* @__PURE__ */ React.createElement("br", null), /* @__PURE__ */ React.createElement("span", { style: { marginLeft: 10 } }, "\u53E6\uFF1A\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B66\u751F\u6548\u7387\u5206\u8BB0 0 \u5206"))), /* @__PURE__ */ React.createElement(row/* default */.Z, { align: "middle", style: { paddingLeft: 105 } }, /* @__PURE__ */ React.createElement(col/* default */.Z, null, /* @__PURE__ */ React.createElement("span", { className: "mr5" }, "\u6548\u7387\u5206"), /* @__PURE__ */ React.createElement(
|
|
|
|
|
/* @__PURE__ */ scoresetting_React.createElement("strong", null, "\u6548\u7387\u5206")
|
|
|
|
|
), /* @__PURE__ */ scoresetting_React.createElement("span", { className: "c-orange font12", style: { marginLeft: -4 } }, "(\u9009\u4E2D\uFF0C\u5219\u5B66\u751F\u6700\u7EC8\u6210\u7EE9\u5305\u542B\u6548\u7387\u5206\u3002\u6548\u7387\u5206\u5728\u4F5C\u4E1A\u622A\u6B62\u6216\u8005\u8865\u4EA4\u7ED3\u675F\u540E\u7531\u7CFB\u7EDF\u81EA\u52A8\u751F\u6210)")), /* @__PURE__ */ scoresetting_React.createElement(col/* default */.Z, { className: ConfigWorksmodules/* default */.Z.efficiency }, "\uFF08\u5B66\u751F\u5B66\u4E60\u6548\u7387= log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)", /* @__PURE__ */ scoresetting_React.createElement("br", null), "\uFF08\u5B66\u751F\u6548\u7387\u5206 = \u5B66\u751F\u5B66\u4E60\u6548\u7387 / \u8BFE\u5802\u5B66\u751F\u6700\u9AD8\u5B66\u4E60\u6548\u7387 * \u5206\u503C\uFF09", /* @__PURE__ */ scoresetting_React.createElement("br", null), /* @__PURE__ */ scoresetting_React.createElement("span", { style: { marginLeft: 10 } }, "\u53E6\uFF1A\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B66\u751F\u6548\u7387\u5206\u8BB0 0 \u5206"))), /* @__PURE__ */ scoresetting_React.createElement(row/* default */.Z, { align: "middle", style: { paddingLeft: 105 } }, /* @__PURE__ */ scoresetting_React.createElement(col/* default */.Z, null, /* @__PURE__ */ scoresetting_React.createElement("span", { className: "mr5" }, "\u6548\u7387\u5206"), /* @__PURE__ */ scoresetting_React.createElement(
|
|
|
|
|
input_number/* default */.Z,
|
|
|
|
|
{
|
|
|
|
|
min: 0,
|
|
|
|
|
@ -4316,7 +4333,7 @@ const scoresetting_WorkList = ({ shixunHomeworks, loading, dispatch }) => {
|
|
|
|
|
calcScore();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
), /* @__PURE__ */ React.createElement("span", null, "\xA0\u5206"))), /* @__PURE__ */ React.createElement(row/* default */.Z, { align: "middle", style: { paddingLeft: 105, marginTop: "20px" } }, /* @__PURE__ */ React.createElement(col/* default */.Z, null, /* @__PURE__ */ React.createElement("span", { className: "mr5" }, "\u5B9E\u8BAD\u8017\u65F6\u89C4\u5219\uFF1A"), /* @__PURE__ */ React.createElement(
|
|
|
|
|
), /* @__PURE__ */ scoresetting_React.createElement("span", null, "\xA0\u5206"))), /* @__PURE__ */ scoresetting_React.createElement(row/* default */.Z, { align: "middle", style: { paddingLeft: 105, marginTop: "20px" } }, /* @__PURE__ */ scoresetting_React.createElement(col/* default */.Z, null, /* @__PURE__ */ scoresetting_React.createElement("span", { className: "mr5" }, "\u5B9E\u8BAD\u8017\u65F6\u89C4\u5219\uFF1A"), /* @__PURE__ */ scoresetting_React.createElement(
|
|
|
|
|
es_radio/* default.Group */.ZP.Group,
|
|
|
|
|
{
|
|
|
|
|
disabled,
|
|
|
|
|
@ -4327,14 +4344,14 @@ const scoresetting_WorkList = ({ shixunHomeworks, loading, dispatch }) => {
|
|
|
|
|
calcScore();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
/* @__PURE__ */ React.createElement(es_radio/* default */.ZP, { value: 1 }, "\u9875\u9762\u505C\u7559\u65F6\u957F"),
|
|
|
|
|
/* @__PURE__ */ React.createElement(es_radio/* default */.ZP, { value: 2 }, "\u5173\u5361\u603B\u8017\u65F6"),
|
|
|
|
|
/* @__PURE__ */ React.createElement(es_radio/* default */.ZP, { value: 3 }, "\u4F5C\u4E1A\u901A\u5173\u65F6\u957F", /* @__PURE__ */ React.createElement("i", { onClick: (e) => {
|
|
|
|
|
/* @__PURE__ */ scoresetting_React.createElement(es_radio/* default */.ZP, { value: 1 }, "\u9875\u9762\u505C\u7559\u65F6\u957F"),
|
|
|
|
|
/* @__PURE__ */ scoresetting_React.createElement(es_radio/* default */.ZP, { value: 2 }, "\u5173\u5361\u603B\u8017\u65F6"),
|
|
|
|
|
/* @__PURE__ */ scoresetting_React.createElement(es_radio/* default */.ZP, { value: 3 }, "\u4F5C\u4E1A\u901A\u5173\u65F6\u957F", /* @__PURE__ */ scoresetting_React.createElement("i", { onClick: (e) => {
|
|
|
|
|
e.stopPropagation();
|
|
|
|
|
e.preventDefault();
|
|
|
|
|
setIsshow(true);
|
|
|
|
|
}, style: { marginLeft: 10, color: "#145DFF", fontSize: 16, cursor: "pointer" }, className: "iconfont icon-tishixiaowenhao" }))
|
|
|
|
|
))), /* @__PURE__ */ React.createElement(row/* default */.Z, { align: "middle", style: { paddingLeft: 85, marginTop: 35 } }, /* @__PURE__ */ React.createElement(col/* default */.Z, null, /* @__PURE__ */ React.createElement("strong", null, "\u5173\u5361\u4EFB\u52A1\u5206\u503C\u8BBE\u7F6E\u89C4\u5219")), /* @__PURE__ */ React.createElement(col/* default */.Z, { flex: "1" }, /* @__PURE__ */ React.createElement("div", { className: "ml5" }, /* @__PURE__ */ React.createElement(
|
|
|
|
|
))), /* @__PURE__ */ scoresetting_React.createElement(row/* default */.Z, { align: "middle", style: { paddingLeft: 85, marginTop: 35 } }, /* @__PURE__ */ scoresetting_React.createElement(col/* default */.Z, null, /* @__PURE__ */ scoresetting_React.createElement("strong", null, "\u5173\u5361\u4EFB\u52A1\u5206\u503C\u8BBE\u7F6E\u89C4\u5219")), /* @__PURE__ */ scoresetting_React.createElement(col/* default */.Z, { flex: "1" }, /* @__PURE__ */ scoresetting_React.createElement("div", { className: "ml5" }, /* @__PURE__ */ scoresetting_React.createElement(
|
|
|
|
|
es_radio/* default.Group */.ZP.Group,
|
|
|
|
|
{
|
|
|
|
|
disabled,
|
|
|
|
|
@ -4348,10 +4365,10 @@ const scoresetting_WorkList = ({ shixunHomeworks, loading, dispatch }) => {
|
|
|
|
|
calcScore();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
/* @__PURE__ */ React.createElement(es_radio/* default */.ZP, { value: 0 }, "\u5747\u5206\u6BD4\u4F8B"),
|
|
|
|
|
/* @__PURE__ */ React.createElement(es_radio/* default */.ZP, { value: 1 }, "\u96BE\u6613\u5EA6"),
|
|
|
|
|
/* @__PURE__ */ React.createElement(es_radio/* default */.ZP, { value: 2 }, "\u81EA\u5B9A\u4E49\u5206\u503C")
|
|
|
|
|
)))), /* @__PURE__ */ React.createElement(row/* default */.Z, { style: { paddingLeft: 343, marginTop: 5, display: data.shixun_evaluation === 1 ? "flex" : "none" } }, /* @__PURE__ */ React.createElement(
|
|
|
|
|
/* @__PURE__ */ scoresetting_React.createElement(es_radio/* default */.ZP, { value: 0 }, "\u5747\u5206\u6BD4\u4F8B"),
|
|
|
|
|
/* @__PURE__ */ scoresetting_React.createElement(es_radio/* default */.ZP, { value: 1 }, "\u96BE\u6613\u5EA6"),
|
|
|
|
|
/* @__PURE__ */ scoresetting_React.createElement(es_radio/* default */.ZP, { value: 2 }, "\u81EA\u5B9A\u4E49\u5206\u503C")
|
|
|
|
|
)))), /* @__PURE__ */ scoresetting_React.createElement(row/* default */.Z, { style: { paddingLeft: 343, marginTop: 5, display: data.shixun_evaluation === 1 ? "flex" : "none" } }, /* @__PURE__ */ scoresetting_React.createElement(
|
|
|
|
|
es_radio/* default.Group */.ZP.Group,
|
|
|
|
|
{
|
|
|
|
|
disabled,
|
|
|
|
|
@ -4362,17 +4379,17 @@ const scoresetting_WorkList = ({ shixunHomeworks, loading, dispatch }) => {
|
|
|
|
|
calcScore();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
/* @__PURE__ */ React.createElement(es_radio/* default */.ZP, { value: "asc" }, "\u6B63\u5E8F\u8D4B\u5206"),
|
|
|
|
|
/* @__PURE__ */ React.createElement(es_radio/* default */.ZP, { value: "desc" }, "\u53CD\u5E8F\u8D4B\u5206")
|
|
|
|
|
)), /* @__PURE__ */ React.createElement(row/* default */.Z, null, /* @__PURE__ */ React.createElement(col/* default */.Z, { style: { marginLeft: 145, marginTop: 15 } }, /* @__PURE__ */ React.createElement("span", { className: "font16" }, "\u5173\u5361\u540D\u79F0"), /* @__PURE__ */ React.createElement("span", { className: "font14 ml5 c-orange" }, (workSetting == null ? void 0 : workSetting.task_pass) ? "(\u8BF7\u9009\u4E2D\u9700\u8981\u5B66\u751F\u5B8C\u6210\u7684\u5173\u5361\uFF0C\u8BE5\u5B9E\u8BAD\u652F\u6301\u8DF3\u5173\u5B66\u4E60)" : "(\u8BE5\u5B9E\u8BAD\u4E0D\u652F\u6301\u8DF3\u5173\u5B66\u4E60)"))), data.challenge_settings && data.challenge_settings.map(function(val, key) {
|
|
|
|
|
return /* @__PURE__ */ React.createElement(
|
|
|
|
|
/* @__PURE__ */ scoresetting_React.createElement(es_radio/* default */.ZP, { value: "asc" }, "\u6B63\u5E8F\u8D4B\u5206"),
|
|
|
|
|
/* @__PURE__ */ scoresetting_React.createElement(es_radio/* default */.ZP, { value: "desc" }, "\u53CD\u5E8F\u8D4B\u5206")
|
|
|
|
|
)), /* @__PURE__ */ scoresetting_React.createElement(row/* default */.Z, null, /* @__PURE__ */ scoresetting_React.createElement(col/* default */.Z, { style: { marginLeft: 145, marginTop: 15 } }, /* @__PURE__ */ scoresetting_React.createElement("span", { className: "font16" }, "\u5173\u5361\u540D\u79F0"), /* @__PURE__ */ scoresetting_React.createElement("span", { className: "font14 ml5 c-orange" }, (workSetting == null ? void 0 : workSetting.task_pass) ? "(\u8BF7\u9009\u4E2D\u9700\u8981\u5B66\u751F\u5B8C\u6210\u7684\u5173\u5361\uFF0C\u8BE5\u5B9E\u8BAD\u652F\u6301\u8DF3\u5173\u5B66\u4E60)" : "(\u8BE5\u5B9E\u8BAD\u4E0D\u652F\u6301\u8DF3\u5173\u5B66\u4E60)"))), data.challenge_settings && data.challenge_settings.map(function(val, key) {
|
|
|
|
|
return /* @__PURE__ */ scoresetting_React.createElement(
|
|
|
|
|
row/* default */.Z,
|
|
|
|
|
{
|
|
|
|
|
key,
|
|
|
|
|
align: "middle",
|
|
|
|
|
style: { paddingLeft: 275, marginTop: 20 }
|
|
|
|
|
},
|
|
|
|
|
/* @__PURE__ */ React.createElement(col/* default */.Z, { flex: "1" }, /* @__PURE__ */ React.createElement(
|
|
|
|
|
/* @__PURE__ */ scoresetting_React.createElement(col/* default */.Z, { flex: "1" }, /* @__PURE__ */ scoresetting_React.createElement(
|
|
|
|
|
es_checkbox["default"],
|
|
|
|
|
{
|
|
|
|
|
disabled: disabled || !(workSetting == null ? void 0 : workSetting.task_pass),
|
|
|
|
|
@ -4393,10 +4410,10 @@ const scoresetting_WorkList = ({ shixunHomeworks, loading, dispatch }) => {
|
|
|
|
|
calcScore();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
/* @__PURE__ */ React.createElement("strong", null, val.challenge_name)
|
|
|
|
|
/* @__PURE__ */ scoresetting_React.createElement("strong", null, val.challenge_name)
|
|
|
|
|
)),
|
|
|
|
|
/* @__PURE__ */ React.createElement(col/* default */.Z, null, !val.checked && /* @__PURE__ */ React.createElement("span", { className: "tag-style-border-small bg-orange border-raduis-50 c-white mr10" }, "\u53EF\u4E0D\u505A")),
|
|
|
|
|
/* @__PURE__ */ React.createElement(col/* default */.Z, { flex: "150px" }, /* @__PURE__ */ React.createElement(
|
|
|
|
|
/* @__PURE__ */ scoresetting_React.createElement(col/* default */.Z, null, !val.checked && /* @__PURE__ */ scoresetting_React.createElement("span", { className: "tag-style-border-small bg-orange border-raduis-50 c-white mr10" }, "\u53EF\u4E0D\u505A")),
|
|
|
|
|
/* @__PURE__ */ scoresetting_React.createElement(col/* default */.Z, { flex: "150px" }, /* @__PURE__ */ scoresetting_React.createElement(
|
|
|
|
|
input_number/* default */.Z,
|
|
|
|
|
{
|
|
|
|
|
min: 0,
|
|
|
|
|
@ -4408,10 +4425,10 @@ const scoresetting_WorkList = ({ shixunHomeworks, loading, dispatch }) => {
|
|
|
|
|
setData(scoresetting_spreadValues({}, data));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
), /* @__PURE__ */ React.createElement("span", { className: "ml10" }, "\u5206")),
|
|
|
|
|
/* @__PURE__ */ React.createElement(col/* default */.Z, { flex: "300px" }, /* @__PURE__ */ React.createElement("span", { className: "tag-style-border-small bg-green c-white mr10" }, val.difficulty), "\u91D1\u5E01\u5956\u52B1\u6570\uFF1A ", val.challenge_exp)
|
|
|
|
|
), /* @__PURE__ */ scoresetting_React.createElement("span", { className: "ml10" }, "\u5206")),
|
|
|
|
|
/* @__PURE__ */ scoresetting_React.createElement(col/* default */.Z, { flex: "300px" }, /* @__PURE__ */ scoresetting_React.createElement("span", { className: "tag-style-border-small bg-green c-white mr10" }, val.difficulty), "\u91D1\u5E01\u5956\u52B1\u6570\uFF1A ", val.challenge_exp)
|
|
|
|
|
);
|
|
|
|
|
}), /* @__PURE__ */ React.createElement(row/* default */.Z, { className: "mt30", style: { paddingLeft: 65 } }, /* @__PURE__ */ React.createElement(col/* default */.Z, null, /* @__PURE__ */ React.createElement("span", { className: "font16 c-black" }, "\u67E5\u770B\u53C2\u8003\u7B54\u6848\u624D\u901A\u8FC7\u8BC4\u6D4B\u7684\u5173\u5361\u6263\u5206\u89C4\u5219"), /* @__PURE__ */ React.createElement("span", { className: "font12 c-grey-c" }, "\xA0(\u5B66\u751F\u901A\u8FC7\u8BC4\u6D4B\u540E\u518D\u67E5\u770B\u53C2\u8003\u7B54\u6848\uFF0C\u4E0D\u5BF9\u6210\u7EE9\u4EA7\u751F\u5F71\u54CD)"))), /* @__PURE__ */ React.createElement(row/* default */.Z, { style: { paddingLeft: 65 } }, /* @__PURE__ */ React.createElement(
|
|
|
|
|
}), /* @__PURE__ */ scoresetting_React.createElement(row/* default */.Z, { className: "mt30", style: { paddingLeft: 65 } }, /* @__PURE__ */ scoresetting_React.createElement(col/* default */.Z, null, /* @__PURE__ */ scoresetting_React.createElement("span", { className: "font16 c-black" }, "\u67E5\u770B\u53C2\u8003\u7B54\u6848\u624D\u901A\u8FC7\u8BC4\u6D4B\u7684\u5173\u5361\u6263\u5206\u89C4\u5219"), /* @__PURE__ */ scoresetting_React.createElement("span", { className: "font12 c-grey-c" }, "\xA0(\u5B66\u751F\u901A\u8FC7\u8BC4\u6D4B\u540E\u518D\u67E5\u770B\u53C2\u8003\u7B54\u6848\uFF0C\u4E0D\u5BF9\u6210\u7EE9\u4EA7\u751F\u5F71\u54CD)"))), /* @__PURE__ */ scoresetting_React.createElement(row/* default */.Z, { style: { paddingLeft: 65 } }, /* @__PURE__ */ scoresetting_React.createElement(
|
|
|
|
|
es_radio/* default.Group */.ZP.Group,
|
|
|
|
|
{
|
|
|
|
|
disabled,
|
|
|
|
|
@ -4421,8 +4438,8 @@ const scoresetting_WorkList = ({ shixunHomeworks, loading, dispatch }) => {
|
|
|
|
|
setData(scoresetting_spreadValues({}, data));
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
/* @__PURE__ */ React.createElement(es_radio/* default */.ZP, { value: true, style: { marginTop: 15 } }, /* @__PURE__ */ React.createElement("strong", null, "\u81EA\u5B9A\u4E49\u6263\u5206\u89C4\u5219"), /* @__PURE__ */ React.createElement("span", { className: "c-grey-c" }, "(\u5B66\u5458\u67E5\u770B\u5173\u5361\u7684\u53C2\u8003\u7B54\u6848\uFF0C\u5219\u5BF9\u5E94\u7684\u5173\u5361\u9700\u8981\u6263\u51CF\u4E00\u5B9A\u6BD4\u4F8B\u7684\u5206\u503C)")),
|
|
|
|
|
data.answer_open_evaluation && /* @__PURE__ */ React.createElement(col/* default */.Z, { span: 24, className: "pl30 mt10" }, /* @__PURE__ */ React.createElement("strong", { className: "mr15" }, "\u67E5\u770B\u7B54\u6848\u6263\u5206"), /* @__PURE__ */ React.createElement(
|
|
|
|
|
/* @__PURE__ */ scoresetting_React.createElement(es_radio/* default */.ZP, { value: true, style: { marginTop: 15 } }, /* @__PURE__ */ scoresetting_React.createElement("strong", null, "\u81EA\u5B9A\u4E49\u6263\u5206\u89C4\u5219"), /* @__PURE__ */ scoresetting_React.createElement("span", { className: "c-grey-c" }, "(\u5B66\u5458\u67E5\u770B\u5173\u5361\u7684\u53C2\u8003\u7B54\u6848\uFF0C\u5219\u5BF9\u5E94\u7684\u5173\u5361\u9700\u8981\u6263\u51CF\u4E00\u5B9A\u6BD4\u4F8B\u7684\u5206\u503C)")),
|
|
|
|
|
data.answer_open_evaluation && /* @__PURE__ */ scoresetting_React.createElement(col/* default */.Z, { span: 24, className: "pl30 mt10" }, /* @__PURE__ */ scoresetting_React.createElement("strong", { className: "mr15" }, "\u67E5\u770B\u7B54\u6848\u6263\u5206"), /* @__PURE__ */ scoresetting_React.createElement(
|
|
|
|
|
input_number/* default */.Z,
|
|
|
|
|
{
|
|
|
|
|
min: 0,
|
|
|
|
|
@ -4442,10 +4459,10 @@ const scoresetting_WorkList = ({ shixunHomeworks, loading, dispatch }) => {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
), "\xA0%", showtip && /* @__PURE__ */ React.createElement("div", { className: ConfigWorksmodules/* default */.Z.tip }, "\u8BF7\u8F93\u5165\u6263\u5206\u6BD4\u4F8B")),
|
|
|
|
|
/* @__PURE__ */ React.createElement(es_radio/* default */.ZP, { value: false, style: { marginTop: 15 } }, /* @__PURE__ */ React.createElement("strong", null, "\u6309\u67E5\u770B\u7B54\u6848\u7EA7\u522B\u6263\u5206"), /* @__PURE__ */ React.createElement("span", { className: "c-grey-c" }, "(\u6839\u636E\u5B66\u5458\u9009\u62E9\u67E5\u770B\u7684\u5B9E\u8BAD\u7B54\u6848\u7EA7\u522B(\u89E3\u9898\u601D\u8DEF\u3001\u5B8C\u6574\u7B54\u6848)\uFF0C\u6263\u51CF\u76F8\u5E94\u7684\u5206\u503C)")),
|
|
|
|
|
/* @__PURE__ */ React.createElement("br", null)
|
|
|
|
|
)), /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(
|
|
|
|
|
), "\xA0%", showtip && /* @__PURE__ */ scoresetting_React.createElement("div", { className: ConfigWorksmodules/* default */.Z.tip }, "\u8BF7\u8F93\u5165\u6263\u5206\u6BD4\u4F8B")),
|
|
|
|
|
/* @__PURE__ */ scoresetting_React.createElement(es_radio/* default */.ZP, { value: false, style: { marginTop: 15 } }, /* @__PURE__ */ scoresetting_React.createElement("strong", null, "\u6309\u67E5\u770B\u7B54\u6848\u7EA7\u522B\u6263\u5206"), /* @__PURE__ */ scoresetting_React.createElement("span", { className: "c-grey-c" }, "(\u6839\u636E\u5B66\u5458\u9009\u62E9\u67E5\u770B\u7684\u5B9E\u8BAD\u7B54\u6848\u7EA7\u522B(\u89E3\u9898\u601D\u8DEF\u3001\u5B8C\u6574\u7B54\u6848)\uFF0C\u6263\u51CF\u76F8\u5E94\u7684\u5206\u503C)")),
|
|
|
|
|
/* @__PURE__ */ scoresetting_React.createElement("br", null)
|
|
|
|
|
)), /* @__PURE__ */ scoresetting_React.createElement("div", null, /* @__PURE__ */ scoresetting_React.createElement(
|
|
|
|
|
es_checkbox["default"],
|
|
|
|
|
{
|
|
|
|
|
style: { paddingLeft: "60px", margin: "10px 0" },
|
|
|
|
|
@ -4455,9 +4472,9 @@ const scoresetting_WorkList = ({ shixunHomeworks, loading, dispatch }) => {
|
|
|
|
|
disabled: isDisabled,
|
|
|
|
|
checked: isChecked
|
|
|
|
|
},
|
|
|
|
|
/* @__PURE__ */ React.createElement("span", { style: { fontSize: "15px", color: "black" } }, "\u4EE3\u7801\u67E5\u91CD\u6263\u5206"),
|
|
|
|
|
/* @__PURE__ */ scoresetting_React.createElement("span", { style: { fontSize: "15px", color: "black" } }, "\u4EE3\u7801\u67E5\u91CD\u6263\u5206"),
|
|
|
|
|
"\uFF08\u89C4\u5219\u63D0\u4EA4\u540E\u9700\u8FDB\u884C\u201C\u4EE3\u7801\u67E5\u91CD\u201D\u624D\u80FD\u751F\u6548\uFF09"
|
|
|
|
|
)), showInput && /* @__PURE__ */ React.createElement("div", { style: { paddingLeft: "60px", margin: "10px 0" } }, /* @__PURE__ */ React.createElement("div", { style: { marginTop: "14px" } }, "\u67E5\u91CD\u6263\u5206\u2003", /* @__PURE__ */ React.createElement(
|
|
|
|
|
)), showInput && /* @__PURE__ */ scoresetting_React.createElement("div", { style: { paddingLeft: "60px", margin: "10px 0" } }, /* @__PURE__ */ scoresetting_React.createElement("div", { style: { marginTop: "14px" } }, "\u67E5\u91CD\u6263\u5206\u2003", /* @__PURE__ */ scoresetting_React.createElement(
|
|
|
|
|
input["default"],
|
|
|
|
|
{
|
|
|
|
|
style: { width: "80px", height: "24px" },
|
|
|
|
|
@ -4467,7 +4484,7 @@ const scoresetting_WorkList = ({ shixunHomeworks, loading, dispatch }) => {
|
|
|
|
|
},
|
|
|
|
|
disabled: isReadOnly
|
|
|
|
|
}
|
|
|
|
|
), "\u2003\u5206"), /* @__PURE__ */ React.createElement("div", { style: { marginTop: "14px" } }, "\u6263\u5206\u9608\u503C\u2003", /* @__PURE__ */ React.createElement(
|
|
|
|
|
), "\u2003\u5206"), /* @__PURE__ */ scoresetting_React.createElement("div", { style: { marginTop: "14px" } }, "\u6263\u5206\u9608\u503C\u2003", /* @__PURE__ */ scoresetting_React.createElement(
|
|
|
|
|
input["default"],
|
|
|
|
|
{
|
|
|
|
|
style: { width: "80px", height: "24px" },
|
|
|
|
|
@ -4477,7 +4494,7 @@ const scoresetting_WorkList = ({ shixunHomeworks, loading, dispatch }) => {
|
|
|
|
|
},
|
|
|
|
|
disabled: isReadOnly
|
|
|
|
|
}
|
|
|
|
|
), "\u2003% \uFF08\u5B66\u751F\u76F8\u4F3C\u5EA6\u4F4E\u4E8E\u8FD9\u4E2A\u9608\u503C\u5219\u4E0D\u6263\u5206\uFF09")), /* @__PURE__ */ React.createElement(
|
|
|
|
|
), "\u2003% \uFF08\u5B66\u751F\u76F8\u4F3C\u5EA6\u4F4E\u4E8E\u8FD9\u4E2A\u9608\u503C\u5219\u4E0D\u6263\u5206\uFF09")), /* @__PURE__ */ scoresetting_React.createElement(
|
|
|
|
|
modal["default"],
|
|
|
|
|
{
|
|
|
|
|
open: isshow,
|
|
|
|
|
@ -4488,10 +4505,10 @@ const scoresetting_WorkList = ({ shixunHomeworks, loading, dispatch }) => {
|
|
|
|
|
title: "\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",
|
|
|
|
|
footer: null
|
|
|
|
|
},
|
|
|
|
|
/* @__PURE__ */ React.createElement("div", { style: { color: "#333333", fontWeight: 400 } }, /* @__PURE__ */ React.createElement("span", { style: { fontWeight: 500 } }, "1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"), /* @__PURE__ */ React.createElement("br", null), /* @__PURE__ */ React.createElement("span", null, "\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"), /* @__PURE__ */ React.createElement("br", null), /* @__PURE__ */ React.createElement("span", null, " \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"), /* @__PURE__ */ React.createElement("span", { style: { color: "#FA6400", display: "flex", height: 34, alignItems: "center" } }, " \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "), /* @__PURE__ */ React.createElement("span", null, "a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),
|
|
|
|
|
/* @__PURE__ */ React.createElement("div", { style: { color: "#333333", marginTop: 20, fontWeight: 400 } }, /* @__PURE__ */ React.createElement("span", { style: { fontWeight: 500 } }, "2\u3001\u5173\u5361\u603B\u8017\u65F6"), /* @__PURE__ */ React.createElement("br", null), /* @__PURE__ */ React.createElement("span", { style: {} }, "\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "), /* @__PURE__ */ React.createElement("br", null), /* @__PURE__ */ React.createElement("span", null, " \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"), /* @__PURE__ */ React.createElement("span", { style: { color: "#FA6400", display: "flex", height: 44, paddingTop: 10 } }, " \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "), /* @__PURE__ */ React.createElement("span", null, "a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"), /* @__PURE__ */ React.createElement("br", null), /* @__PURE__ */ React.createElement("span", null, "b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),
|
|
|
|
|
/* @__PURE__ */ React.createElement("div", { style: { color: "#333333", marginTop: 20, fontWeight: 400 } }, /* @__PURE__ */ React.createElement("span", { style: { fontWeight: 500 } }, "3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"), /* @__PURE__ */ React.createElement("br", null), /* @__PURE__ */ React.createElement("span", { style: {} }, "\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),
|
|
|
|
|
/* @__PURE__ */ React.createElement("div", { style: { color: "#333333", marginTop: 20, fontWeight: 400 } }, /* @__PURE__ */ React.createElement("span", { style: { fontWeight: 500 } }, "\u89C4\u5219\u76EE\u7684"), /* @__PURE__ */ React.createElement("br", null), /* @__PURE__ */ React.createElement("span", null, "\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))
|
|
|
|
|
/* @__PURE__ */ scoresetting_React.createElement("div", { style: { color: "#333333", fontWeight: 400 } }, /* @__PURE__ */ scoresetting_React.createElement("span", { style: { fontWeight: 500 } }, "1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"), /* @__PURE__ */ scoresetting_React.createElement("br", null), /* @__PURE__ */ scoresetting_React.createElement("span", null, "\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"), /* @__PURE__ */ scoresetting_React.createElement("br", null), /* @__PURE__ */ scoresetting_React.createElement("span", null, " \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"), /* @__PURE__ */ scoresetting_React.createElement("span", { style: { color: "#FA6400", display: "flex", height: 34, alignItems: "center" } }, " \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "), /* @__PURE__ */ scoresetting_React.createElement("span", null, "a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),
|
|
|
|
|
/* @__PURE__ */ scoresetting_React.createElement("div", { style: { color: "#333333", marginTop: 20, fontWeight: 400 } }, /* @__PURE__ */ scoresetting_React.createElement("span", { style: { fontWeight: 500 } }, "2\u3001\u5173\u5361\u603B\u8017\u65F6"), /* @__PURE__ */ scoresetting_React.createElement("br", null), /* @__PURE__ */ scoresetting_React.createElement("span", { style: {} }, "\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "), /* @__PURE__ */ scoresetting_React.createElement("br", null), /* @__PURE__ */ scoresetting_React.createElement("span", null, " \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"), /* @__PURE__ */ scoresetting_React.createElement("span", { style: { color: "#FA6400", display: "flex", height: 44, paddingTop: 10 } }, " \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "), /* @__PURE__ */ scoresetting_React.createElement("span", null, "a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"), /* @__PURE__ */ scoresetting_React.createElement("br", null), /* @__PURE__ */ scoresetting_React.createElement("span", null, "b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),
|
|
|
|
|
/* @__PURE__ */ scoresetting_React.createElement("div", { style: { color: "#333333", marginTop: 20, fontWeight: 400 } }, /* @__PURE__ */ scoresetting_React.createElement("span", { style: { fontWeight: 500 } }, "3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"), /* @__PURE__ */ scoresetting_React.createElement("br", null), /* @__PURE__ */ scoresetting_React.createElement("span", { style: {} }, "\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),
|
|
|
|
|
/* @__PURE__ */ scoresetting_React.createElement("div", { style: { color: "#333333", marginTop: 20, fontWeight: 400 } }, /* @__PURE__ */ scoresetting_React.createElement("span", { style: { fontWeight: 500 } }, "\u89C4\u5219\u76EE\u7684"), /* @__PURE__ */ scoresetting_React.createElement("br", null), /* @__PURE__ */ scoresetting_React.createElement("span", null, "\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))
|
|
|
|
|
));
|
|
|
|
|
};
|
|
|
|
|
/* harmony default export */ var scoresetting = ((0,_umi_production_exports.connect)(
|
|
|
|
|
@ -6497,6 +6514,7 @@ const TrfList = ({
|
|
|
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
|
|
|
/* harmony export */ AD: function() { return /* binding */ ExportCollegeStudentsInfo; },
|
|
|
|
|
/* harmony export */ D9: function() { return /* binding */ ExportStudentanalysis; },
|
|
|
|
|
/* harmony export */ Hp: function() { return /* binding */ ExportCourseWorkListExercise; },
|
|
|
|
|
/* harmony export */ IM: function() { return /* binding */ get_ecs_attachment; },
|
|
|
|
|
/* harmony export */ Iy: function() { return /* binding */ ExportCourseWorkListScores; },
|
|
|
|
|
/* harmony export */ KM: function() { return /* binding */ getmember_works; },
|
|
|
|
|
@ -6518,6 +6536,7 @@ const TrfList = ({
|
|
|
|
|
/* harmony export */ iA: function() { return /* binding */ ExportCourseAndOther; },
|
|
|
|
|
/* harmony export */ j6: function() { return /* binding */ ExportCourseTotalScore; },
|
|
|
|
|
/* harmony export */ je: function() { return /* binding */ ExportExerciseStudentScores; },
|
|
|
|
|
/* harmony export */ jj: function() { return /* binding */ ExportCourseWorkListShixuns; },
|
|
|
|
|
/* harmony export */ kS: function() { return /* binding */ getquestion_rank_list; },
|
|
|
|
|
/* harmony export */ o6: function() { return /* binding */ ExportVideoStudent; },
|
|
|
|
|
/* harmony export */ pO: function() { return /* binding */ exportUserExerciseDetail; },
|
|
|
|
|
@ -6696,6 +6715,32 @@ const ExportCourseTotalScore = (params) => __async(void 0, null, function* () {
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
const ExportCourseWorkListShixuns = (params, type) => __async(void 0, null, function* () {
|
|
|
|
|
const res = yield (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_0__/* .exportCourseWorkListShiXuns */ .o_)(__spreadValues({}, params));
|
|
|
|
|
if (res.status === 0) {
|
|
|
|
|
antd__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D");
|
|
|
|
|
umi__WEBPACK_IMPORTED_MODULE_1__.history.push(`/classrooms/${params.coursesId}/exportlist/${type}`);
|
|
|
|
|
} else if (res.status === -3) {
|
|
|
|
|
(0,umi__WEBPACK_IMPORTED_MODULE_1__.getDvaApp)()._store.dispatch({
|
|
|
|
|
type: "classroomList/setActionTabs",
|
|
|
|
|
payload: { key: "\u5BFC\u51FA\u63D0\u9192" }
|
|
|
|
|
});
|
|
|
|
|
umi__WEBPACK_IMPORTED_MODULE_1__.history.push(`/classrooms/${params.coursesId}/exportlist/${type}`);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
const ExportCourseWorkListExercise = (params, type) => __async(void 0, null, function* () {
|
|
|
|
|
const res = yield (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_0__/* .exportCourseWorkListExercise */ .ZL)(__spreadValues({}, params));
|
|
|
|
|
if (res.status === 0) {
|
|
|
|
|
antd__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D");
|
|
|
|
|
umi__WEBPACK_IMPORTED_MODULE_1__.history.push(`/classrooms/${params.coursesId}/exportlist/${type}`);
|
|
|
|
|
} else if (res.status === -3) {
|
|
|
|
|
(0,umi__WEBPACK_IMPORTED_MODULE_1__.getDvaApp)()._store.dispatch({
|
|
|
|
|
type: "classroomList/setActionTabs",
|
|
|
|
|
payload: { key: "\u5BFC\u51FA\u63D0\u9192" }
|
|
|
|
|
});
|
|
|
|
|
umi__WEBPACK_IMPORTED_MODULE_1__.history.push(`/classrooms/${params.coursesId}/exportlist/${type}`);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
const ExportCourseWorkListScores = (params, type) => __async(void 0, null, function* () {
|
|
|
|
|
const res = yield (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_0__/* .exportCourseWorkListScores */ .aP)(__spreadValues({}, params));
|
|
|
|
|
if (res.status === 0) {
|
|
|
|
|
|