You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1551 lines
71 KiB
1551 lines
71 KiB
"use strict";
|
|
(self["webpackChunk"] = self["webpackChunk"] || []).push([[3276],{
|
|
|
|
/***/ 20832:
|
|
/*!********************************************************************************************!*\
|
|
!*** ./src/pages/Classrooms/Lists/Statistics/UserportraitStatistics/index.tsx + 1 modules ***!
|
|
\********************************************************************************************/
|
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
|
|
// ESM COMPAT FLAG
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
// EXPORTS
|
|
__webpack_require__.d(__webpack_exports__, {
|
|
"default": function() { return /* binding */ Statistics_UserportraitStatistics; }
|
|
});
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js
|
|
var objectSpread2 = __webpack_require__(82242);
|
|
var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2);
|
|
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js
|
|
var objectWithoutProperties = __webpack_require__(39647);
|
|
var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties);
|
|
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js
|
|
var regeneratorRuntime = __webpack_require__(7557);
|
|
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
|
|
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js
|
|
var asyncToGenerator = __webpack_require__(41498);
|
|
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
|
|
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js
|
|
var slicedToArray = __webpack_require__(79800);
|
|
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
|
|
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
|
|
var _react_17_0_2_react = __webpack_require__(59301);
|
|
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
|
|
var _umi_production_exports = __webpack_require__(48938);
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/index.js + 19 modules
|
|
var es_form = __webpack_require__(78241);
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules
|
|
var message = __webpack_require__(8591);
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tabs/index.js + 24 modules
|
|
var tabs = __webpack_require__(99313);
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/row/index.js
|
|
var row = __webpack_require__(95237);
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/date-picker/index.js + 66 modules
|
|
var date_picker = __webpack_require__(5083);
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/index.js + 3 modules
|
|
var space = __webpack_require__(81327);
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tooltip/index.js + 3 modules
|
|
var tooltip = __webpack_require__(6848);
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
|
|
var es_button = __webpack_require__(3113);
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/col/index.js
|
|
var col = __webpack_require__(43604);
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/switch/index.js + 2 modules
|
|
var es_switch = __webpack_require__(78673);
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input-number/index.js + 14 modules
|
|
var input_number = __webpack_require__(5871);
|
|
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/PlusCircleOutlined.js + 1 modules
|
|
var PlusCircleOutlined = __webpack_require__(32134);
|
|
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/MinusCircleOutlined.js + 1 modules
|
|
var MinusCircleOutlined = __webpack_require__(12893);
|
|
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Statistics/UserportraitStatistics/index.less?modules
|
|
// extracted by mini-css-extract-plugin
|
|
/* harmony default export */ var UserportraitStatisticsmodules = ({"flex_box_center":"flex_box_center___fYdol","flex_space_between":"flex_space_between___hNewv","flex_box_vertical_center":"flex_box_vertical_center___oEhY7","flex_box_center_end":"flex_box_center_end___lNRJt","flex_box_column":"flex_box_column___bEkV_","bg":"bg___oSNUG","title":"title___zanNh","tab":"tab___o1NAt","titleItem":"titleItem___bLJ9c","titleItemSpan":"titleItemSpan___RQ53A","button":"button___a458q"});
|
|
// EXTERNAL MODULE: ./node_modules/_dayjs@1.11.13@dayjs/dayjs.min.js
|
|
var dayjs_min = __webpack_require__(61186);
|
|
var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min);
|
|
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
|
|
var jsx_runtime = __webpack_require__(37712);
|
|
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Statistics/UserportraitStatistics/index.tsx
|
|
|
|
|
|
|
|
|
|
|
|
var _excluded = ["key", "name"];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var UserportraitStatistics = function UserportraitStatistics(_ref) {
|
|
var dispatch = _ref.dispatch,
|
|
classroomList = _ref.classroomList;
|
|
var _Form$useForm = es_form/* default */.Z.useForm(),
|
|
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
|
|
formunified = _Form$useForm2[0];
|
|
var _Form$useForm3 = es_form/* default */.Z.useForm(),
|
|
_Form$useForm4 = slicedToArray_default()(_Form$useForm3, 1),
|
|
formstudent = _Form$useForm4[0];
|
|
var _Form$useForm5 = es_form/* default */.Z.useForm(),
|
|
_Form$useForm6 = slicedToArray_default()(_Form$useForm5, 1),
|
|
formteacher = _Form$useForm6[0];
|
|
var _useState = (0,_react_17_0_2_react.useState)((0,_umi_production_exports.useParams)()),
|
|
_useState2 = slicedToArray_default()(_useState, 2),
|
|
params = _useState2[0],
|
|
setParams = _useState2[1];
|
|
var _useState3 = (0,_react_17_0_2_react.useState)('1'),
|
|
_useState4 = slicedToArray_default()(_useState3, 2),
|
|
tabIndex = _useState4[0],
|
|
setTabIndex = _useState4[1];
|
|
var _useState5 = (0,_react_17_0_2_react.useState)({}),
|
|
_useState6 = slicedToArray_default()(_useState5, 2),
|
|
disabled = _useState6[0],
|
|
setDisabled = _useState6[1];
|
|
var _useState7 = (0,_react_17_0_2_react.useState)(false),
|
|
_useState8 = slicedToArray_default()(_useState7, 2),
|
|
cal_finish_if = _useState8[0],
|
|
setCalFinishIf = _useState8[1];
|
|
var _useState9 = (0,_react_17_0_2_react.useState)({
|
|
//初始化
|
|
'homework_if': true,
|
|
'homework_weight': 1,
|
|
'shixun_status_rate': 0.005,
|
|
'shixun_redo_rate': 0.005,
|
|
'common_status_rate': 0.005,
|
|
'common_redo_rate': 0.005,
|
|
'fenzu_status_rate': 0.005,
|
|
'fenzu_redo_rate': 0.005,
|
|
'program_status_rate': 0.005,
|
|
'program_redo_rate': 0.005,
|
|
'shixun_homework_if': true,
|
|
'shixun_homework_time_rate': 0.005,
|
|
'shixun_evaluate_rate': 0.005,
|
|
'shixun_challenge_weight': 0.005,
|
|
'common_homework_if': true,
|
|
'group_homework_if': true,
|
|
'program_homework_if': true,
|
|
'exercise_if': true,
|
|
'exercise_redo_rate': 0.005,
|
|
'exercise_time_rate': 0.005,
|
|
'exercise_status_rate': 0.005,
|
|
'exercise_weight': 1,
|
|
'knowledge_weight': 1,
|
|
'video_if': true,
|
|
'video_weight': 1,
|
|
'message_if': true,
|
|
'message_weight': 0.3,
|
|
'discusses_if': true,
|
|
'discuss_weight': 0.3,
|
|
'attendance_if': true,
|
|
'attendance_weight': 0.2,
|
|
'shixun_homework_weight': 1,
|
|
'fenzu_homework_weight': 1,
|
|
'program_homework_weight': 1,
|
|
'common_homework_weight': 1,
|
|
'quality_weight': 1,
|
|
'active_weight': 0.1,
|
|
'manage_weight': 1,
|
|
'guidance_weight': 1
|
|
}),
|
|
_useState10 = slicedToArray_default()(_useState9, 2),
|
|
initialValue = _useState10[0],
|
|
setInitialValue = _useState10[1];
|
|
(0,_react_17_0_2_react.useEffect)(function () {
|
|
dispatch({
|
|
type: "classroomList/getUserPortraitConfig",
|
|
payload: {
|
|
id: params.coursesId
|
|
}
|
|
});
|
|
dispatch({
|
|
type: "classroomList/getAiStatusQuery",
|
|
payload: {
|
|
id: params.coursesId
|
|
}
|
|
});
|
|
}, []);
|
|
(0,_react_17_0_2_react.useEffect)(function () {
|
|
// setCalFinishIf(false)
|
|
setCalFinishIf(!Boolean(classroomList.cal_finish_if));
|
|
}, [classroomList.cal_finish_if]);
|
|
(0,_react_17_0_2_react.useEffect)(function () {
|
|
var _classroomList$userPo, _classroomList$userPo2, _classroomList$userPo3, _classroomList$userPo4, _classroomList$userPo5, _classroomList$userPo6, _classroomList$userPo7, _classroomList$userPo8, _classroomList$userPo9, _classroomList$userPo10, _classroomList$userPo11, _classroomList$userPo12, _classroomList$userPo13, _classroomList$userPo14;
|
|
formunified.setFieldsValue({
|
|
begin_date: dayjs_min_default()((_classroomList$userPo = classroomList.userPortraitConfig) === null || _classroomList$userPo === void 0 || (_classroomList$userPo = _classroomList$userPo.unified_conf) === null || _classroomList$userPo === void 0 ? void 0 : _classroomList$userPo.begin_date),
|
|
end_date: dayjs_min_default()((_classroomList$userPo2 = classroomList.userPortraitConfig) === null || _classroomList$userPo2 === void 0 || (_classroomList$userPo2 = _classroomList$userPo2.unified_conf) === null || _classroomList$userPo2 === void 0 ? void 0 : _classroomList$userPo2.end_date),
|
|
exclude_date: ((_classroomList$userPo3 = classroomList.userPortraitConfig) === null || _classroomList$userPo3 === void 0 || (_classroomList$userPo3 = _classroomList$userPo3.unified_conf) === null || _classroomList$userPo3 === void 0 || (_classroomList$userPo3 = _classroomList$userPo3.exclude_date) === null || _classroomList$userPo3 === void 0 ? void 0 : _classroomList$userPo3.length) > 0 ? (_classroomList$userPo4 = classroomList.userPortraitConfig) === null || _classroomList$userPo4 === void 0 || (_classroomList$userPo4 = _classroomList$userPo4.unified_conf) === null || _classroomList$userPo4 === void 0 || (_classroomList$userPo4 = _classroomList$userPo4.exclude_date) === null || _classroomList$userPo4 === void 0 ? void 0 : _classroomList$userPo4.map(function (item) {
|
|
return [item !== null && item !== void 0 && item.exclude_begin_date ? dayjs_min_default()(item === null || item === void 0 ? void 0 : item.exclude_begin_date) : null, item !== null && item !== void 0 && item.exclude_end_date ? dayjs_min_default()(item === null || item === void 0 ? void 0 : item.exclude_end_date) : null];
|
|
}) : [[null, null]]
|
|
});
|
|
formstudent.setFieldsValue((_classroomList$userPo5 = classroomList.userPortraitConfig) === null || _classroomList$userPo5 === void 0 ? void 0 : _classroomList$userPo5.student_portrait_conf);
|
|
formteacher.setFieldsValue((_classroomList$userPo6 = classroomList.userPortraitConfig) === null || _classroomList$userPo6 === void 0 ? void 0 : _classroomList$userPo6.teacher_portrait_conf);
|
|
setDisabled({
|
|
shixun_homework_if: Boolean((_classroomList$userPo7 = classroomList.userPortraitConfig) === null || _classroomList$userPo7 === void 0 ? void 0 : _classroomList$userPo7.student_portrait_conf.shixun_homework_if),
|
|
common_homework_if: Boolean((_classroomList$userPo8 = classroomList.userPortraitConfig) === null || _classroomList$userPo8 === void 0 ? void 0 : _classroomList$userPo8.student_portrait_conf.common_homework_if),
|
|
group_homework_if: Boolean((_classroomList$userPo9 = classroomList.userPortraitConfig) === null || _classroomList$userPo9 === void 0 ? void 0 : _classroomList$userPo9.student_portrait_conf.group_homework_if),
|
|
program_homework_if: Boolean((_classroomList$userPo10 = classroomList.userPortraitConfig) === null || _classroomList$userPo10 === void 0 ? void 0 : _classroomList$userPo10.student_portrait_conf.program_homework_if),
|
|
exercise_if: Boolean((_classroomList$userPo11 = classroomList.userPortraitConfig) === null || _classroomList$userPo11 === void 0 ? void 0 : _classroomList$userPo11.student_portrait_conf.exercise_if),
|
|
message_if: Boolean((_classroomList$userPo12 = classroomList.userPortraitConfig) === null || _classroomList$userPo12 === void 0 ? void 0 : _classroomList$userPo12.student_portrait_conf.message_if),
|
|
attendance_if: Boolean((_classroomList$userPo13 = classroomList.userPortraitConfig) === null || _classroomList$userPo13 === void 0 ? void 0 : _classroomList$userPo13.student_portrait_conf.attendance_if),
|
|
video_if: Boolean((_classroomList$userPo14 = classroomList.userPortraitConfig) === null || _classroomList$userPo14 === void 0 ? void 0 : _classroomList$userPo14.student_portrait_conf.video_if)
|
|
});
|
|
}, [classroomList.userPortraitConfig]);
|
|
var onFinish = /*#__PURE__*/function () {
|
|
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(values) {
|
|
var _setRes, _setRes2;
|
|
var setRes, res, _res$data, _res$data2, _res$data3;
|
|
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
|
|
while (1) switch (_context.prev = _context.next) {
|
|
case 0:
|
|
if (!(tabIndex == "1")) {
|
|
_context.next = 4;
|
|
break;
|
|
}
|
|
_context.next = 3;
|
|
return dispatch({
|
|
type: "classroomList/updateUserPortraitConfig",
|
|
payload: {
|
|
coursesId: params.coursesId,
|
|
tab_type: Number(tabIndex),
|
|
"class": {
|
|
begin_date: values.begin_date ? values.begin_date.format("YYYY-MM-DD") : "",
|
|
end_date: values.end_date ? values.end_date.format("YYYY-MM-DD") : "",
|
|
exclude_date: values.exclude_date.filter(function (item) {
|
|
return item || (item === null || item === void 0 ? void 0 : item.length) > 0;
|
|
}).map(function (item) {
|
|
var _item$, _item$2;
|
|
return {
|
|
exclude_begin_date: (_item$ = item[0]) === null || _item$ === void 0 ? void 0 : _item$.format("YYYY-MM-DD"),
|
|
exclude_end_date: (_item$2 = item[1]) === null || _item$2 === void 0 ? void 0 : _item$2.format("YYYY-MM-DD")
|
|
};
|
|
})
|
|
}
|
|
}
|
|
});
|
|
case 3:
|
|
setRes = _context.sent;
|
|
case 4:
|
|
if (!(tabIndex == "2")) {
|
|
_context.next = 17;
|
|
break;
|
|
}
|
|
values.shixun_homework_if = Number(values.shixun_homework_if);
|
|
values.common_homework_if = Number(values.common_homework_if);
|
|
values.group_homework_if = Number(values.group_homework_if);
|
|
values.program_homework_if = Number(values.program_homework_if);
|
|
values.exercise_if = Number(values.exercise_if);
|
|
values.message_if = Number(values.message_if);
|
|
values.attendance_if = Number(values.attendance_if);
|
|
values.video_if = Number(values.video_if);
|
|
values.discusses_if = Number(values.discusses_if);
|
|
_context.next = 16;
|
|
return dispatch({
|
|
type: "classroomList/updateUserPortraitConfig",
|
|
payload: {
|
|
coursesId: params.coursesId,
|
|
tab_type: Number(tabIndex),
|
|
student: values
|
|
}
|
|
});
|
|
case 16:
|
|
setRes = _context.sent;
|
|
case 17:
|
|
if (!(tabIndex == "3")) {
|
|
_context.next = 21;
|
|
break;
|
|
}
|
|
_context.next = 20;
|
|
return dispatch({
|
|
type: "classroomList/updateUserPortraitConfig",
|
|
payload: {
|
|
coursesId: params.coursesId,
|
|
tab_type: Number(tabIndex),
|
|
teacher: values
|
|
}
|
|
});
|
|
case 20:
|
|
setRes = _context.sent;
|
|
case 21:
|
|
((_setRes = setRes) === null || _setRes === void 0 ? void 0 : _setRes.status) == 0 ? message/* default */.ZP.success("数据保存成功") : message/* default */.ZP.info((_setRes2 = setRes) === null || _setRes2 === void 0 ? void 0 : _setRes2.message);
|
|
_context.next = 24;
|
|
return dispatch({
|
|
type: "classroomList/updateCoursePortraitData",
|
|
payload: {
|
|
category: "1",
|
|
coursesId: params.coursesId
|
|
}
|
|
});
|
|
case 24:
|
|
res = _context.sent;
|
|
if (res.status == 0) {
|
|
((_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.status_code) == "True" ? message/* default */.ZP.success((_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.message) : message/* default */.ZP.info((_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.message);
|
|
}
|
|
dispatch({
|
|
type: "classroomList/getUserPortraitConfig",
|
|
payload: {
|
|
id: params.coursesId
|
|
}
|
|
});
|
|
dispatch({
|
|
type: "classroomList/getAiStatusQuery",
|
|
payload: {
|
|
id: params.coursesId
|
|
}
|
|
});
|
|
case 28:
|
|
case "end":
|
|
return _context.stop();
|
|
}
|
|
}, _callee);
|
|
}));
|
|
return function onFinish(_x) {
|
|
return _ref2.apply(this, arguments);
|
|
};
|
|
}();
|
|
var disabledDate = function disabledDate(current) {
|
|
var _classroomList$userPo15, _classroomList$userPo16;
|
|
return dayjs_min_default()((_classroomList$userPo15 = classroomList.userPortraitConfig) === null || _classroomList$userPo15 === void 0 || (_classroomList$userPo15 = _classroomList$userPo15.unified_conf) === null || _classroomList$userPo15 === void 0 ? void 0 : _classroomList$userPo15.begin_date) > current || dayjs_min_default()((_classroomList$userPo16 = classroomList.userPortraitConfig) === null || _classroomList$userPo16 === void 0 || (_classroomList$userPo16 = _classroomList$userPo16.unified_conf) === null || _classroomList$userPo16 === void 0 ? void 0 : _classroomList$userPo16.end_date) < current;
|
|
};
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
|
|
className: UserportraitStatisticsmodules.bg,
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
className: UserportraitStatisticsmodules.title,
|
|
children: "\u7528\u6237\u753B\u50CF\u7BA1\u7406"
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(tabs/* default */.Z, {
|
|
defaultActiveKey: tabIndex,
|
|
onChange: function onChange(key) {
|
|
setTabIndex(key);
|
|
},
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tabs/* default */.Z.TabPane, {
|
|
tab: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
className: UserportraitStatisticsmodules.tab,
|
|
children: "\u8BFE\u5802\u914D\u7F6E"
|
|
}),
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
|
|
labelAlign: "right",
|
|
form: formunified,
|
|
onFinish: onFinish,
|
|
autoComplete: "off",
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z.Item, {
|
|
noStyle: true,
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
className: UserportraitStatisticsmodules.titleItem,
|
|
children: "\u8BFE\u5802\u65F6\u95F4"
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
align: "middle",
|
|
style: {
|
|
marginTop: "30px"
|
|
},
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: "\u8BFE\u5802\u5F00\u59CB\u65F6\u95F4",
|
|
name: "begin_date",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(date_picker["default"], {
|
|
disabled: true,
|
|
style: {
|
|
width: "192px"
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: "\u8BFE\u5802\u7ED3\u675F\u65F6\u95F4",
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "end_date",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(date_picker["default"], {
|
|
disabled: cal_finish_if,
|
|
style: {
|
|
width: "192px"
|
|
}
|
|
})
|
|
})]
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z.Item, {
|
|
noStyle: true,
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
className: UserportraitStatisticsmodules.titleItem,
|
|
style: {
|
|
marginBottom: "30px"
|
|
},
|
|
children: ["\u8BFE\u5802\u6392\u9664\u65F6\u95F4", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
className: UserportraitStatisticsmodules.titleItemSpan,
|
|
children: "\uFF08\u8BFE\u5802\u957F\u65F6\u95F4\u65E0\u6D3B\u52A8\u65F6\uFF0C\u5EFA\u8BAE\u5C06\u8BE5\u6BB5\u65F6\u95F4\u8FDB\u884C\u6392\u9664\uFF0C\u5426\u5219\u4F1A\u5F71\u54CD\u7528\u6237\u753B\u50CF\u6570\u636E\uFF09"
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.List, {
|
|
name: "exclude_date",
|
|
children: function children(fields, _ref3) {
|
|
var add = _ref3.add,
|
|
remove = _ref3.remove;
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
|
|
children: fields.map(function (_ref4, index) {
|
|
var key = _ref4.key,
|
|
name = _ref4.name,
|
|
restField = objectWithoutProperties_default()(_ref4, _excluded);
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)(space/* default */.Z, {
|
|
style: {
|
|
display: 'flex',
|
|
marginBottom: 8
|
|
},
|
|
align: "baseline",
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, objectSpread2_default()(objectSpread2_default()({}, restField), {}, {
|
|
colon: false,
|
|
label: "\u6392\u9664\u65F6\u95F4 ".concat(index + 1),
|
|
name: [name],
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(date_picker["default"].RangePicker, {
|
|
disabledDate: disabledDate,
|
|
disabled: cal_finish_if
|
|
})
|
|
})), !cal_finish_if && fields.length == formunified.getFieldValue("exclude_date").length && /*#__PURE__*/(0,jsx_runtime.jsx)(PlusCircleOutlined/* default */.Z, {
|
|
className: "c-green",
|
|
onClick: function onClick() {
|
|
add();
|
|
}
|
|
}), !cal_finish_if && fields.length != 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(MinusCircleOutlined/* default */.Z, {
|
|
onClick: function onClick() {
|
|
return remove(name);
|
|
}
|
|
})]
|
|
}, key);
|
|
})
|
|
});
|
|
}
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
style: {
|
|
marginLeft: "90px"
|
|
},
|
|
children: cal_finish_if ? /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
|
|
title: "\u8BFE\u5802\u7528\u6237\u753B\u50CF\u6570\u636E\u66F4\u65B0\u4E2D\uFF0C\u6682\u65F6\u4E0D\u80FD\u4FEE\u6539\u548C\u4FDD\u5B58\u914D\u7F6E\u53C2\u6570",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
|
|
disabled: cal_finish_if,
|
|
type: "primary",
|
|
htmlType: "submit",
|
|
children: "\u4FDD\u5B58"
|
|
})
|
|
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
|
|
disabled: cal_finish_if,
|
|
type: "primary",
|
|
htmlType: "submit",
|
|
children: "\u4FDD\u5B58"
|
|
})
|
|
})]
|
|
})
|
|
}, "1"), /*#__PURE__*/(0,jsx_runtime.jsx)(tabs/* default */.Z.TabPane, {
|
|
tab: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
className: UserportraitStatisticsmodules.tab,
|
|
children: "\u5B66\u751F\u753B\u50CF\u914D\u7F6E"
|
|
}),
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
|
|
initialValues: initialValue,
|
|
labelAlign: "right",
|
|
form: formstudent,
|
|
onFinish: onFinish,
|
|
onValuesChange: function onValuesChange(changedValues, allValues) {
|
|
setDisabled(allValues);
|
|
},
|
|
autoComplete: "off",
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z.Item, {
|
|
noStyle: true,
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
className: UserportraitStatisticsmodules.titleItem,
|
|
style: {
|
|
marginBottom: "20px"
|
|
},
|
|
children: "\u4F5C\u4E1A\u6743\u91CD\u914D\u7F6E"
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
|
|
span: 2,
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
valuePropName: "checked",
|
|
name: "shixun_homework_if",
|
|
style: {
|
|
paddingLeft: "20px"
|
|
},
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_switch/* default */.Z, {
|
|
disabled: cal_finish_if
|
|
})
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: "\u8BFE\u5802\u5B9E\u9A8C\u6743\u91CD",
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "shixun_homework_weight",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
disabled: cal_finish_if || !disabled.shixun_homework_if,
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "1",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-1\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
}), !cal_finish_if && disabled.shixun_homework_if ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
style: {
|
|
background: "#fafafa"
|
|
},
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
|
|
offset: 2,
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: "\u8017\u65F6\u65F6\u957F\u6743\u91CD",
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "shixun_homework_time_rate",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "0.05",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-0.05\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: "\u8BC4\u6D4B\u6B21\u6570\u6743\u91CD",
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "shixun_evaluate_rate",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "0.05",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-0.05\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
style: {
|
|
width: "84px"
|
|
},
|
|
children: "\u901A\u5173\u7387\u6743\u91CD"
|
|
}),
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "shixun_challenge_weight",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "0.05",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-0.05\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: "\u4F5C\u4E1A\u72B6\u6001\u6743\u91CD",
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "shixun_status_rate",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "0.05",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-0.05\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: "\u6253\u56DE\u6B21\u6570\u6743\u91CD",
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "shixun_redo_rate",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "0.05",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-0.05\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
})]
|
|
})
|
|
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
style: {
|
|
marginTop: "30px"
|
|
},
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
|
|
span: 2,
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
name: "common_homework_if",
|
|
valuePropName: "checked",
|
|
style: {
|
|
paddingLeft: "20px"
|
|
},
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_switch/* default */.Z, {
|
|
disabled: cal_finish_if
|
|
})
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: "\u56FE\u6587\u4F5C\u4E1A\u6743\u91CD",
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "common_homework_weight",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
disabled: cal_finish_if || !disabled.common_homework_if,
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "1",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-1\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
}), !cal_finish_if && disabled.common_homework_if ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
style: {
|
|
background: "#fafafa"
|
|
},
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
|
|
offset: 2,
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: "\u4F5C\u4E1A\u72B6\u6001\u6743\u91CD",
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "common_status_rate",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "0.05",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-0.05\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: "\u6253\u56DE\u6B21\u6570\u6743\u91CD",
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "common_redo_rate",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "0.05",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-0.05\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
})]
|
|
})
|
|
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
style: {
|
|
marginTop: "30px"
|
|
},
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
|
|
span: 2,
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
name: "group_homework_if",
|
|
valuePropName: "checked",
|
|
style: {
|
|
paddingLeft: "20px"
|
|
},
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_switch/* default */.Z, {
|
|
disabled: cal_finish_if
|
|
})
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: "\u5206\u7EC4\u4F5C\u4E1A\u6743\u91CD",
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "fenzu_homework_weight",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
disabled: cal_finish_if || !disabled.group_homework_if,
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "1",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-1\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
}), !cal_finish_if && disabled.group_homework_if ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
style: {
|
|
background: "#fafafa"
|
|
},
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
|
|
offset: 2,
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: "\u4F5C\u4E1A\u72B6\u6001\u6743\u91CD",
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "fenzu_status_rate",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "0.05",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-0.05\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: "\u6253\u56DE\u6B21\u6570\u6743\u91CD",
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "fenzu_redo_rate",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "0.05",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-0.05\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
})]
|
|
})
|
|
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
style: {
|
|
marginTop: "30px"
|
|
},
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
|
|
span: 2,
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
name: "program_homework_if",
|
|
valuePropName: "checked",
|
|
style: {
|
|
paddingLeft: "20px"
|
|
},
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_switch/* default */.Z, {
|
|
disabled: cal_finish_if
|
|
})
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: "\u7F16\u7A0B\u4F5C\u4E1A\u6743\u91CD",
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "program_homework_weight",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
disabled: cal_finish_if || !disabled.program_homework_if,
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "1",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-1\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
}), !cal_finish_if && disabled.program_homework_if ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
style: {
|
|
background: "#fafafa"
|
|
},
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
|
|
offset: 2,
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: "\u4F5C\u4E1A\u72B6\u6001\u6743\u91CD",
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "program_status_rate",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "0.05",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-0.05\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: "\u6253\u56DE\u6B21\u6570\u6743\u91CD",
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "program_redo_rate",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "0.05",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-0.05\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
})]
|
|
})
|
|
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z.Item, {
|
|
noStyle: true,
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
className: UserportraitStatisticsmodules.titleItem,
|
|
style: {
|
|
marginBottom: "20px"
|
|
},
|
|
children: "\u8003\u8BD5\u6743\u91CD\u914D\u7F6E"
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
|
|
span: 2,
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
name: "exercise_if",
|
|
valuePropName: "checked",
|
|
style: {
|
|
paddingLeft: "20px"
|
|
},
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_switch/* default */.Z, {
|
|
disabled: cal_finish_if
|
|
})
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: "\u5728\u7EBF\u8003\u8BD5\u6743\u91CD",
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "exercise_weight",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
disabled: cal_finish_if || !disabled.exercise_if,
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "1",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-1\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
}), !cal_finish_if && disabled.exercise_if && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
style: {
|
|
background: "#fafafa"
|
|
},
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
|
|
offset: 2,
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: "\u63D0\u4EA4\u72B6\u6001\u6743\u91CD",
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "exercise_status_rate",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "0.05",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-0.05\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: "\u6253\u56DE\u6B21\u6570\u6743\u91CD",
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "exercise_redo_rate",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "0.05",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-0.05\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: "\u8003\u8BD5\u65F6\u957F\u6743\u91CD",
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "exercise_time_rate",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "0.05",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-0.05\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
})]
|
|
})
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z.Item, {
|
|
noStyle: true,
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
className: UserportraitStatisticsmodules.titleItem,
|
|
style: {
|
|
marginBottom: "20px"
|
|
},
|
|
children: ["\u77E5\u8BC6\u70B9\u6743\u91CD\u914D\u7F6E", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
className: UserportraitStatisticsmodules.titleItemSpan,
|
|
children: "\uFF08\u77E5\u8BC6\u70B9\u6743\u91CD\u542F\u7528\u72B6\u6001\u8DDF\u4F5C\u4E1A\u548C\u8003\u8BD5\u7684\u542F\u7528\u72B6\u6001\u5173\u8054\uFF1B\u542F\u7528\u4F5C\u4E1A\u6216\u8003\u8BD5\u65F6\uFF0C\u81EA\u52A8\u542F\u7528\u77E5\u8BC6\u70B9\u6743\u91CD\uFF09"
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
|
|
span: 2,
|
|
style: {
|
|
marginLeft: "30px"
|
|
}
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: "\u77E5\u8BC6\u70B9\u6743\u91CD",
|
|
name: "knowledge_weight",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
disabled: cal_finish_if,
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "1",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-1\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z.Item, {
|
|
noStyle: true,
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
className: UserportraitStatisticsmodules.titleItem,
|
|
style: {
|
|
marginBottom: "20px"
|
|
},
|
|
children: "\u8BA8\u8BBA\u6743\u91CD\u914D\u7F6E"
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
|
|
span: 2,
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
name: "message_if",
|
|
valuePropName: "checked",
|
|
style: {
|
|
paddingLeft: "20px"
|
|
},
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_switch/* default */.Z, {
|
|
disabled: cal_finish_if
|
|
})
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: "\u4E92\u52A8\u8BA8\u8BBA\u6743\u91CD",
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "message_weight",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
disabled: cal_finish_if || !disabled.message_if,
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "1",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-1\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
|
|
span: 2,
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
name: "discusses_if",
|
|
valuePropName: "checked",
|
|
style: {
|
|
paddingLeft: "20px"
|
|
},
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_switch/* default */.Z, {
|
|
disabled: cal_finish_if
|
|
})
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: "\u4F5C\u4E1A\u8BA8\u8BBA\u6743\u91CD",
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "discuss_weight",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
disabled: cal_finish_if || !disabled.message_if,
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "1",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-1\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z.Item, {
|
|
noStyle: true,
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
className: UserportraitStatisticsmodules.titleItem,
|
|
style: {
|
|
marginBottom: "20px"
|
|
},
|
|
children: "\u7B7E\u5230\u6743\u91CD\u914D\u7F6E"
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
|
|
span: 2,
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
name: "attendance_if",
|
|
valuePropName: "checked",
|
|
style: {
|
|
paddingLeft: "20px"
|
|
},
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_switch/* default */.Z, {
|
|
disabled: cal_finish_if
|
|
})
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: "\u8BFE\u5802\u7B7E\u5230\u6743\u91CD",
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "attendance_weight",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
disabled: cal_finish_if || !disabled.attendance_if,
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "1",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-1\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z.Item, {
|
|
noStyle: true,
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
className: UserportraitStatisticsmodules.titleItem,
|
|
style: {
|
|
marginBottom: "20px"
|
|
},
|
|
children: "\u89C6\u9891\u6743\u91CD\u914D\u7F6E"
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
|
|
span: 2,
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
name: "video_if",
|
|
valuePropName: "checked",
|
|
style: {
|
|
paddingLeft: "20px"
|
|
},
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_switch/* default */.Z, {
|
|
disabled: cal_finish_if
|
|
})
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: "\u89C6\u9891\u76F4\u64AD\u6743\u91CD",
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "video_weight",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
disabled: cal_finish_if || !disabled.video_if,
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "1",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-1\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
style: {
|
|
marginLeft: "90px"
|
|
},
|
|
children: cal_finish_if ? /*#__PURE__*/(0,jsx_runtime.jsxs)(tooltip/* default */.Z, {
|
|
title: "\u8BFE\u5802\u7528\u6237\u753B\u50CF\u6570\u636E\u66F4\u65B0\u4E2D\uFF0C\u6682\u65F6\u4E0D\u80FD\u4FEE\u6539\u548C\u4FDD\u5B58\u914D\u7F6E\u53C2\u6570",
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
|
|
disabled: cal_finish_if,
|
|
type: "primary",
|
|
htmlType: "submit",
|
|
children: "\u4FDD\u5B58"
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
|
|
disabled: cal_finish_if,
|
|
type: "primary",
|
|
htmlType: "reset",
|
|
style: {
|
|
marginLeft: "20px"
|
|
},
|
|
onClick: function onClick() {
|
|
formstudent.resetFields();
|
|
setDisabled({
|
|
shixun_homework_if: true,
|
|
common_homework_if: true,
|
|
group_homework_if: true,
|
|
program_homework_if: true,
|
|
exercise_if: true,
|
|
message_if: true,
|
|
attendance_if: true,
|
|
video_if: true
|
|
});
|
|
},
|
|
children: "\u914D\u7F6E\u53C2\u6570\u91CD\u7F6E"
|
|
})]
|
|
}) : /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
|
|
disabled: cal_finish_if,
|
|
type: "primary",
|
|
htmlType: "submit",
|
|
children: "\u4FDD\u5B58"
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
|
|
disabled: cal_finish_if,
|
|
type: "primary",
|
|
htmlType: "reset",
|
|
style: {
|
|
marginLeft: "20px"
|
|
},
|
|
onClick: function onClick() {
|
|
formstudent.resetFields();
|
|
setDisabled({
|
|
shixun_homework_if: true,
|
|
common_homework_if: true,
|
|
group_homework_if: true,
|
|
program_homework_if: true,
|
|
exercise_if: true,
|
|
message_if: true,
|
|
attendance_if: true,
|
|
video_if: true
|
|
});
|
|
},
|
|
children: "\u914D\u7F6E\u53C2\u6570\u91CD\u7F6E"
|
|
})]
|
|
})
|
|
})]
|
|
})
|
|
}, "2"), /*#__PURE__*/(0,jsx_runtime.jsx)(tabs/* default */.Z.TabPane, {
|
|
tab: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
className: UserportraitStatisticsmodules.tab,
|
|
children: "\u6559\u5E08\u753B\u50CF\u914D\u7F6E"
|
|
}),
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
|
|
initialValues: initialValue,
|
|
labelAlign: "right",
|
|
form: formteacher,
|
|
onFinish: onFinish,
|
|
autoComplete: "off",
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z.Item, {
|
|
noStyle: true,
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
className: UserportraitStatisticsmodules.titleItem,
|
|
style: {
|
|
marginBottom: "20px"
|
|
},
|
|
children: "\u6559\u5E08\u753B\u50CF\u6743\u91CD\u914D\u7F6E"
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
style: {
|
|
width: "100px"
|
|
},
|
|
children: "\u79EF\u6781\u6027\u6743\u91CD"
|
|
}),
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "active_weight",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
disabled: cal_finish_if,
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "1",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-1\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
style: {
|
|
width: "100px"
|
|
},
|
|
children: "\u6559\u5B66\u7BA1\u7406\u6743\u91CD"
|
|
}),
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "manage_weight",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
disabled: cal_finish_if,
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "1",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-1\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
style: {
|
|
width: "100px"
|
|
},
|
|
children: "\u6559\u5B66\u8F85\u5BFC\u6743\u91CD"
|
|
}),
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "guidance_weight",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
disabled: cal_finish_if,
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "1",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-1\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
colon: false,
|
|
label: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
style: {
|
|
width: "100px"
|
|
},
|
|
children: "\u6559\u5B66\u8D28\u91CF\u6743\u91CD"
|
|
}),
|
|
style: {
|
|
marginLeft: "30px"
|
|
},
|
|
name: "quality_weight",
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
|
|
disabled: cal_finish_if,
|
|
stringMode: true,
|
|
min: "0",
|
|
max: "1",
|
|
step: "0.001",
|
|
style: {
|
|
width: 200
|
|
}
|
|
})
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
style: {
|
|
color: "#999",
|
|
fontWeight: "400",
|
|
fontSize: "14px"
|
|
},
|
|
children: "\uFF08\u6743\u91CD\u8303\u56F4\uFF1A0-1\uFF0C\u53EF\u586B\u5199\u5C0F\u6570\u70B9\u540E3\u4F4D\uFF09"
|
|
})]
|
|
})]
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
style: {
|
|
marginLeft: "90px"
|
|
},
|
|
children: cal_finish_if ? /*#__PURE__*/(0,jsx_runtime.jsxs)(tooltip/* default */.Z, {
|
|
title: "\u8BFE\u5802\u7528\u6237\u753B\u50CF\u6570\u636E\u66F4\u65B0\u4E2D\uFF0C\u6682\u65F6\u4E0D\u80FD\u4FEE\u6539\u548C\u4FDD\u5B58\u914D\u7F6E\u53C2\u6570",
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
|
|
disabled: cal_finish_if,
|
|
type: "primary",
|
|
htmlType: "submit",
|
|
children: "\u4FDD\u5B58"
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
|
|
disabled: cal_finish_if,
|
|
type: "primary",
|
|
htmlType: "reset",
|
|
style: {
|
|
marginLeft: "20px"
|
|
},
|
|
onClick: function onClick() {
|
|
formteacher.resetFields();
|
|
},
|
|
children: "\u914D\u7F6E\u53C2\u6570\u91CD\u7F6E"
|
|
})]
|
|
}) : /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
|
|
disabled: cal_finish_if,
|
|
type: "primary",
|
|
htmlType: "submit",
|
|
children: "\u4FDD\u5B58"
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
|
|
disabled: cal_finish_if,
|
|
type: "primary",
|
|
htmlType: "reset",
|
|
style: {
|
|
marginLeft: "20px"
|
|
},
|
|
onClick: function onClick() {
|
|
formteacher.resetFields();
|
|
},
|
|
children: "\u914D\u7F6E\u53C2\u6570\u91CD\u7F6E"
|
|
})]
|
|
})
|
|
})]
|
|
})
|
|
}, "3")]
|
|
})]
|
|
});
|
|
};
|
|
/* harmony default export */ var Statistics_UserportraitStatistics = ((0,_umi_production_exports.connect)(function (_ref5) {
|
|
var classroomList = _ref5.classroomList;
|
|
return {
|
|
classroomList: classroomList
|
|
};
|
|
})(UserportraitStatistics));
|
|
|
|
/***/ })
|
|
|
|
}]); |