|
|
|
|
@ -2552,9 +2552,10 @@ var WorkList = function WorkList(_ref) {
|
|
|
|
|
dataIndex: 'work_status',
|
|
|
|
|
width: '8%',
|
|
|
|
|
align: 'center',
|
|
|
|
|
render: function render(text) {
|
|
|
|
|
render: function render(text, record) {
|
|
|
|
|
return text === -1 ? '重做中' : /*#__PURE__*/(0,jsx_runtime.jsx)(util/* CommonWorkStatus */.Uw, {
|
|
|
|
|
status: text
|
|
|
|
|
status: text,
|
|
|
|
|
record: record
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}, {
|
|
|
|
|
@ -4180,6 +4181,7 @@ var _excluded = ["classroomList", "dispatch", "courseEndTime"];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var PublishShixun = function PublishShixun(_ref) {
|
|
|
|
|
var _classroomList$action, _classroomList$action2;
|
|
|
|
|
var classroomList = _ref.classroomList,
|
|
|
|
|
dispatch = _ref.dispatch,
|
|
|
|
|
courseEndTime = _ref.courseEndTime,
|
|
|
|
|
@ -4331,7 +4333,8 @@ var PublishShixun = function PublishShixun(_ref) {
|
|
|
|
|
}),
|
|
|
|
|
end_time: dayjs_min_default()(formValue.end_time).format('YYYY-MM-DD HH:mm'),
|
|
|
|
|
publish_time: dayjs_min_default()(formValue.publish_time).format('YYYY-MM-DD HH:mm'),
|
|
|
|
|
unified_setting: radiovalue
|
|
|
|
|
unified_setting: radiovalue,
|
|
|
|
|
is_file: formValue === null || formValue === void 0 ? void 0 : formValue.is_file
|
|
|
|
|
};
|
|
|
|
|
setisLoading(true);
|
|
|
|
|
_context2.next = 14;
|
|
|
|
|
@ -4440,7 +4443,16 @@ var PublishShixun = function PublishShixun(_ref) {
|
|
|
|
|
children: ["\u5B66\u751F\u5C06\u7ACB\u5373\u6536\u5230\u4F5C\u4E1A", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "\u672C\u64CD\u4F5C\u53EA\u5BF9\"\u672A\u53D1\u5E03\"\u7684\u4F5C\u4E1A\u6709\u6548"]
|
|
|
|
|
}), list && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
|
|
|
|
|
form: form,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
children: [(classroomList === null || classroomList === void 0 || (_classroomList$action = classroomList.actionTabs) === null || _classroomList$action === void 0 ? void 0 : _classroomList$action.type) === 2 && !(classroomList !== null && classroomList !== void 0 && (_classroomList$action2 = classroomList.actionTabs) !== null && _classroomList$action2 !== void 0 && (_classroomList$action2 = _classroomList$action2.selectArrsAll) !== null && _classroomList$action2 !== void 0 && (_classroomList$action2 = _classroomList$action2[0]) !== null && _classroomList$action2 !== void 0 && _classroomList$action2.base_on_project) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
|
|
|
name: "is_file",
|
|
|
|
|
valuePropName: "checked",
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_checkbox/* default */.Z, {
|
|
|
|
|
children: ["\u63D0\u4EA4\u9644\u4EF6\u6A21\u5F0F", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "c-grey-c font12 ml15",
|
|
|
|
|
children: "(\u5B66\u751F\u5FC5\u987B\u4E0A\u4F20\u9644\u4EF6\u624D\u53EF\u63D0\u4EA4\u4F5C\u4E1A)"
|
|
|
|
|
})]
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
paddingLeft: 0
|
|
|
|
|
},
|