Auto Submit

dev_local_v9_haijunshiguan_net
autosubmit 2 years ago
parent a4948ce7ae
commit 9a86594cf4

@ -25,7 +25,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.52098504.js"></script>
<script src="/react/build/umi.e907eb2f.js"></script>
<script src="/react/build/js/public.js"></script>
</body></html>

@ -694,6 +694,7 @@ var NewCoursePage = function NewCoursePage(_ref) {
content: res === null || res === void 0 || (_res$toast = res.toast) === null || _res$toast === void 0 ? void 0 : _res$toast.content,
notice: res.learning_notes,
school_id: res === null || res === void 0 ? void 0 : res.school,
course_type: res.course_type,
learning_notes_title: res.learning_notes_title || '课程须知'
};
if (res.disciplines && res.disciplines.length > 0) {
@ -750,11 +751,11 @@ var NewCoursePage = function NewCoursePage(_ref) {
var handleFinish = /*#__PURE__*/function () {
var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(values) {
var _Filelists$, _Filelists1$;
var _ref6, name, description, learning_notes, name_en, learning_notes_title, sub_discipline_ids, school_id, type, isIncludes, schhool_name, param, res;
var _ref6, name, description, learning_notes, name_en, learning_notes_title, sub_discipline_ids, school_id, course_type, type, isIncludes, schhool_name, param, res;
return regeneratorRuntime_default()().wrap(function _callee4$(_context4) {
while (1) switch (_context4.prev = _context4.next) {
case 0:
_ref6 = values || {}, name = _ref6.name, description = _ref6.intro, learning_notes = _ref6.notice, name_en = _ref6.name_en, learning_notes_title = _ref6.learning_notes_title, sub_discipline_ids = _ref6.sub_discipline_ids, school_id = _ref6.school_id;
_ref6 = values || {}, name = _ref6.name, description = _ref6.intro, learning_notes = _ref6.notice, name_en = _ref6.name_en, learning_notes_title = _ref6.learning_notes_title, sub_discipline_ids = _ref6.sub_discipline_ids, school_id = _ref6.school_id, course_type = _ref6.course_type;
type = isEdit ? 'newCourse/editCourse' : 'newCourse/submitCourse';
isIncludes = false;
schhool_name = null;
@ -778,6 +779,7 @@ var NewCoursePage = function NewCoursePage(_ref) {
learning_notes: learning_notes,
cust_seq: custseq,
show_spoc: showspoc,
course_type: course_type,
school_id: schhool_name,
show_tag: show_tag,
show_history: show_history,
@ -916,10 +918,10 @@ var NewCoursePage = function NewCoursePage(_ref) {
size: "large",
allowClear: true,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: "1",
value: 1,
children: "\u5FC5\u4FEE"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: "2",
value: 2,
children: "\u9009\u4FEE"
})]
})

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