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.
NewEduCoderBuild/79842.async.js

1547 lines
87 KiB

"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[79842],{
/***/ 79842:
/*!***************************************!*\
!*** ./src/service/educationFiles.ts ***!
\***************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ $X: function() { return /* binding */ stage_shixun_resources_shares; },
/* harmony export */ $h: function() { return /* binding */ case_show_children; },
/* harmony export */ $r: function() { return /* binding */ stage_shixun_comments; },
/* harmony export */ BN: function() { return /* binding */ share; },
/* harmony export */ Br: function() { return /* binding */ case_library_delete; },
/* harmony export */ C0: function() { return /* binding */ paths_new_children; },
/* harmony export */ Ct: function() { return /* binding */ hot_events_query; },
/* harmony export */ DO: function() { return /* binding */ can_share_case_library_list; },
/* harmony export */ E4: function() { return /* binding */ trend_informations_query; },
/* harmony export */ FK: function() { return /* binding */ case_library_info; },
/* harmony export */ GS: function() { return /* binding */ resources_info; },
/* harmony export */ HM: function() { return /* binding */ paths_update_children; },
/* harmony export */ K: function() { return /* binding */ hot_events_delete; },
/* harmony export */ KW: function() { return /* binding */ delete_children; },
/* harmony export */ LK: function() { return /* binding */ resources_query; },
/* harmony export */ M: function() { return /* binding */ video_to_stage_add; },
/* harmony export */ Pz: function() { return /* binding */ show_children; },
/* harmony export */ Q2: function() { return /* binding */ children_apply_public; },
/* harmony export */ Ri: function() { return /* binding */ paths_library_childrens; },
/* harmony export */ Sm: function() { return /* binding */ detail_children; },
/* harmony export */ To: function() { return /* binding */ apply_public; },
/* harmony export */ Tw: function() { return /* binding */ case_library_update_children; },
/* harmony export */ VB: function() { return /* binding */ trend_informations_edit; },
/* harmony export */ Vt: function() { return /* binding */ case_library_update; },
/* harmony export */ WH: function() { return /* binding */ paths_query; },
/* harmony export */ Yg: function() { return /* binding */ hot_events_add; },
/* harmony export */ _J: function() { return /* binding */ stages_children_item_edit; },
/* harmony export */ _u: function() { return /* binding */ paths_update; },
/* harmony export */ a6: function() { return /* binding */ cancel_public; },
/* harmony export */ c: function() { return /* binding */ case_library_query; },
/* harmony export */ cy: function() { return /* binding */ stages_children_list_query; },
/* harmony export */ fY: function() { return /* binding */ stage_shixuns_add; },
/* harmony export */ fm: function() { return /* binding */ subject_members_query; },
/* harmony export */ fp: function() { return /* binding */ subject_members_to_top; },
/* harmony export */ ft: function() { return /* binding */ cancel_has_publish_cxgk; },
/* harmony export */ fu: function() { return /* binding */ star_good; },
/* harmony export */ hQ: function() { return /* binding */ paths_delete; },
/* harmony export */ j7: function() { return /* binding */ case_library_childrens; },
/* harmony export */ ji: function() { return /* binding */ apply_public_sqgk; },
/* harmony export */ ju: function() { return /* binding */ hot_events_info; },
/* harmony export */ mx: function() { return /* binding */ case_library_disciplines; },
/* harmony export */ no: function() { return /* binding */ case_library_new_children; },
/* harmony export */ o1: function() { return /* binding */ attachment_to_stage_word_add; },
/* harmony export */ ob: function() { return /* binding */ stage_shixuns_update; },
/* harmony export */ ol: function() { return /* binding */ new_disciplines_subjects; },
/* harmony export */ q9: function() { return /* binding */ stages_children_item_query; },
/* harmony export */ qJ: function() { return /* binding */ stages_child_menu; },
/* harmony export */ qL: function() { return /* binding */ cancel_public_cxsh; },
/* harmony export */ rU: function() { return /* binding */ stage_shixun_comments_add; },
/* harmony export */ rW: function() { return /* binding */ case_child_update; },
/* harmony export */ s1: function() { return /* binding */ directory_info; },
/* harmony export */ s9: function() { return /* binding */ subject_members_info; },
/* harmony export */ sQ: function() { return /* binding */ delete_paths_children; },
/* harmony export */ t: function() { return /* binding */ case_library_add; },
/* harmony export */ tN: function() { return /* binding */ paths_add; },
/* harmony export */ tk: function() { return /* binding */ hot_events_edit; },
/* harmony export */ tt: function() { return /* binding */ hot_recommend; },
/* harmony export */ uv: function() { return /* binding */ cancel_has_publish; },
/* harmony export */ wO: function() { return /* binding */ subject_members_update; },
/* harmony export */ y4: function() { return /* binding */ resources_delete; },
/* harmony export */ y9: function() { return /* binding */ subject_members_add; },
/* harmony export */ yT: function() { return /* binding */ subject_members_delete; },
/* harmony export */ yw: function() { return /* binding */ subject_members_to_bottom; },
/* harmony export */ zC: function() { return /* binding */ paths_info; }
/* harmony export */ });
/* unused harmony exports case_child_info, resources_list, search_permission_teacher, case_library_childrens_apply_public */
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/fetch */ 78092);
// 大练兵全部数据
function hot_events_query(_x) {
return _hot_events_query.apply(this, arguments);
}
// 新增教学竞赛
function _hot_events_query() {
_hot_events_query = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(params) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/hot_events.json", {
method: 'get',
params: params
}));
case 1:
case "end":
return _context.stop();
}
}, _callee);
}));
return _hot_events_query.apply(this, arguments);
}
function hot_events_add(_x2) {
return _hot_events_add.apply(this, arguments);
}
// 大练兵数据详情页
function _hot_events_add() {
_hot_events_add = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/hot_events.json", {
method: 'post',
body: data
}));
case 1:
case "end":
return _context2.stop();
}
}, _callee2);
}));
return _hot_events_add.apply(this, arguments);
}
function hot_events_info(_x3) {
return _hot_events_info.apply(this, arguments);
}
// 大练兵编辑提交
function _hot_events_info() {
_hot_events_info = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee3(params) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/hot_events/".concat(params, ".json"), {
method: 'get'
}));
case 1:
case "end":
return _context3.stop();
}
}, _callee3);
}));
return _hot_events_info.apply(this, arguments);
}
function hot_events_edit(_x4) {
return _hot_events_edit.apply(this, arguments);
}
// 大练兵删除
function _hot_events_edit() {
_hot_events_edit = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee4(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee4$(_context4) {
while (1) switch (_context4.prev = _context4.next) {
case 0:
return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/hot_events/".concat(data === null || data === void 0 ? void 0 : data.id, ".json"), {
method: 'put',
body: data
}));
case 1:
case "end":
return _context4.stop();
}
}, _callee4);
}));
return _hot_events_edit.apply(this, arguments);
}
function hot_events_delete(_x5) {
return _hot_events_delete.apply(this, arguments);
}
// 相关推荐
function _hot_events_delete() {
_hot_events_delete = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee5(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee5$(_context5) {
while (1) switch (_context5.prev = _context5.next) {
case 0:
return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/hot_events/".concat(data, ".json"), {
method: 'delete'
}));
case 1:
case "end":
return _context5.stop();
}
}, _callee5);
}));
return _hot_events_delete.apply(this, arguments);
}
function hot_recommend(_x6) {
return _hot_recommend.apply(this, arguments);
}
// 获取研究中心/生态共建
function _hot_recommend() {
_hot_recommend = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee6(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee6$(_context6) {
while (1) switch (_context6.prev = _context6.next) {
case 0:
return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/hot_events/hot_recommend.json", {
method: 'post',
body: data
}));
case 1:
case "end":
return _context6.stop();
}
}, _callee6);
}));
return _hot_recommend.apply(this, arguments);
}
function trend_informations_query(_x7) {
return _trend_informations_query.apply(this, arguments);
}
// 更新研究中心/生态共建
function _trend_informations_query() {
_trend_informations_query = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee7(params) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee7$(_context7) {
while (1) switch (_context7.prev = _context7.next) {
case 0:
return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/trend_informations/get.json", {
method: 'get',
params: params
}));
case 1:
case "end":
return _context7.stop();
}
}, _callee7);
}));
return _trend_informations_query.apply(this, arguments);
}
function trend_informations_edit(_x8) {
return _trend_informations_edit.apply(this, arguments);
}
// 获取示范课程学科类型
function _trend_informations_edit() {
_trend_informations_edit = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee8(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee8$(_context8) {
while (1) switch (_context8.prev = _context8.next) {
case 0:
return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/trend_informations/".concat(data === null || data === void 0 ? void 0 : data.id, ".json"), {
method: 'put',
body: data
}));
case 1:
case "end":
return _context8.stop();
}
}, _callee8);
}));
return _trend_informations_edit.apply(this, arguments);
}
function new_disciplines_subjects() {
return _new_disciplines_subjects.apply(this, arguments);
}
// 创建示范课程
function _new_disciplines_subjects() {
_new_disciplines_subjects = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee9() {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee9$(_context9) {
while (1) switch (_context9.prev = _context9.next) {
case 0:
return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/disciplines/new_disciplines.json", {
method: 'post'
}));
case 1:
case "end":
return _context9.stop();
}
}, _callee9);
}));
return _new_disciplines_subjects.apply(this, arguments);
}
function paths_add(_x9) {
return _paths_add.apply(this, arguments);
}
// 删除示范课程
function _paths_add() {
_paths_add = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee10(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee10$(_context10) {
while (1) switch (_context10.prev = _context10.next) {
case 0:
return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/paths.json", {
method: 'post',
body: data
}));
case 1:
case "end":
return _context10.stop();
}
}, _callee10);
}));
return _paths_add.apply(this, arguments);
}
function paths_delete(_x10) {
return _paths_delete.apply(this, arguments);
}
// 示范课程列表
function _paths_delete() {
_paths_delete = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee11(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee11$(_context11) {
while (1) switch (_context11.prev = _context11.next) {
case 0:
return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/paths/".concat(data, ".json"), {
method: 'delete',
body: data
}));
case 1:
case "end":
return _context11.stop();
}
}, _callee11);
}));
return _paths_delete.apply(this, arguments);
}
function paths_query(_x11) {
return _paths_query.apply(this, arguments);
}
// 获取课程子所有模块
function _paths_query() {
_paths_query = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee12(params) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee12$(_context12) {
while (1) switch (_context12.prev = _context12.next) {
case 0:
return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/paths.json", {
method: 'get',
params: params
}));
case 1:
case "end":
return _context12.stop();
}
}, _callee12);
}));
return _paths_query.apply(this, arguments);
}
function stages_children_list_query(_x12) {
return _stages_children_list_query.apply(this, arguments);
}
// 获取某一子模块详情
function _stages_children_list_query() {
_stages_children_list_query = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee13(params) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee13$(_context13) {
while (1) switch (_context13.prev = _context13.next) {
case 0:
return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/stages.json", {
method: 'get',
params: params
}));
case 1:
case "end":
return _context13.stop();
}
}, _callee13);
}));
return _stages_children_list_query.apply(this, arguments);
}
function stages_children_item_query(_x13) {
return _stages_children_item_query.apply(this, arguments);
}
// 更新子模块内容
function _stages_children_item_query() {
_stages_children_item_query = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee14(params) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee14$(_context14) {
while (1) switch (_context14.prev = _context14.next) {
case 0:
return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/stages/".concat(params, "/edit.json"), {
method: 'get'
}));
case 1:
case "end":
return _context14.stop();
}
}, _callee14);
}));
return _stages_children_item_query.apply(this, arguments);
}
function stages_children_item_edit(_x14) {
return _stages_children_item_edit.apply(this, arguments);
}
// 示范课程团队成员
function _stages_children_item_edit() {
_stages_children_item_edit = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee15(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee15$(_context15) {
while (1) switch (_context15.prev = _context15.next) {
case 0:
return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/stages/".concat(data === null || data === void 0 ? void 0 : data.id, ".json"), {
method: 'put',
body: data
}));
case 1:
case "end":
return _context15.stop();
}
}, _callee15);
}));
return _stages_children_item_edit.apply(this, arguments);
}
function subject_members_query(_x15) {
return _subject_members_query.apply(this, arguments);
}
// 示范课程详情
function _subject_members_query() {
_subject_members_query = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee16(params) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee16$(_context16) {
while (1) switch (_context16.prev = _context16.next) {
case 0:
return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/paths/".concat(params === null || params === void 0 ? void 0 : params.id, "/subject_members.json"), {
method: 'get',
params: params
}));
case 1:
case "end":
return _context16.stop();
}
}, _callee16);
}));
return _subject_members_query.apply(this, arguments);
}
function paths_info(_x16) {
return _paths_info.apply(this, arguments);
}
// 编辑示范课程
function _paths_info() {
_paths_info = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee17(params) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee17$(_context17) {
while (1) switch (_context17.prev = _context17.next) {
case 0:
return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/paths/".concat(params, "/edit.json"), {
method: 'get'
}));
case 1:
case "end":
return _context17.stop();
}
}, _callee17);
}));
return _paths_info.apply(this, arguments);
}
function paths_update(_x17) {
return _paths_update.apply(this, arguments);
}
// 申请公开
function _paths_update() {
_paths_update = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee18(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee18$(_context18) {
while (1) switch (_context18.prev = _context18.next) {
case 0:
return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/paths/".concat(data === null || data === void 0 ? void 0 : data.id, ".json"), {
method: 'put',
body: data
}));
case 1:
case "end":
return _context18.stop();
}
}, _callee18);
}));
return _paths_update.apply(this, arguments);
}
function apply_public_sqgk(_x18) {
return _apply_public_sqgk.apply(this, arguments);
}
// 撤销申请
function _apply_public_sqgk() {
_apply_public_sqgk = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee19(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee19$(_context19) {
while (1) switch (_context19.prev = _context19.next) {
case 0:
return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/paths/".concat(data, "/apply_public.json"), {
method: 'post'
}));
case 1:
case "end":
return _context19.stop();
}
}, _callee19);
}));
return _apply_public_sqgk.apply(this, arguments);
}
function cancel_public_cxsh(_x19) {
return _cancel_public_cxsh.apply(this, arguments);
}
// 撤销公开
function _cancel_public_cxsh() {
_cancel_public_cxsh = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee20(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee20$(_context20) {
while (1) switch (_context20.prev = _context20.next) {
case 0:
return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/paths/".concat(data, "/cancel_public.json"), {
method: 'post'
}));
case 1:
case "end":
return _context20.stop();
}
}, _callee20);
}));
return _cancel_public_cxsh.apply(this, arguments);
}
function cancel_has_publish_cxgk(_x20) {
return _cancel_has_publish_cxgk.apply(this, arguments);
}
// 增加教研团队成员
function _cancel_has_publish_cxgk() {
_cancel_has_publish_cxgk = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee21(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee21$(_context21) {
while (1) switch (_context21.prev = _context21.next) {
case 0:
return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/paths/".concat(data, "/cancel_has_publish.json"), {
method: 'post'
}));
case 1:
case "end":
return _context21.stop();
}
}, _callee21);
}));
return _cancel_has_publish_cxgk.apply(this, arguments);
}
function subject_members_add(_x21) {
return _subject_members_add.apply(this, arguments);
}
// 更新团队老师
function _subject_members_add() {
_subject_members_add = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee22(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee22$(_context22) {
while (1) switch (_context22.prev = _context22.next) {
case 0:
return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/paths/".concat(data === null || data === void 0 ? void 0 : data.id, "/add_subject_members.json"), {
method: 'post',
body: data
}));
case 1:
case "end":
return _context22.stop();
}
}, _callee22);
}));
return _subject_members_add.apply(this, arguments);
}
function subject_members_update(_x22) {
return _subject_members_update.apply(this, arguments);
}
// 向上移动
function _subject_members_update() {
_subject_members_update = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee23(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee23$(_context23) {
while (1) switch (_context23.prev = _context23.next) {
case 0:
return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/paths/update_subject_members.json", {
method: 'post',
body: data
}));
case 1:
case "end":
return _context23.stop();
}
}, _callee23);
}));
return _subject_members_update.apply(this, arguments);
}
function subject_members_to_top(_x23) {
return _subject_members_to_top.apply(this, arguments);
}
// 向下移动
function _subject_members_to_top() {
_subject_members_to_top = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee24(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee24$(_context24) {
while (1) switch (_context24.prev = _context24.next) {
case 0:
return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/paths/".concat(data === null || data === void 0 ? void 0 : data.id, "/up_member_position.json"), {
method: 'post',
body: data
}));
case 1:
case "end":
return _context24.stop();
}
}, _callee24);
}));
return _subject_members_to_top.apply(this, arguments);
}
function subject_members_to_bottom(_x24) {
return _subject_members_to_bottom.apply(this, arguments);
}
// 删除团队成员
function _subject_members_to_bottom() {
_subject_members_to_bottom = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee25(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee25$(_context25) {
while (1) switch (_context25.prev = _context25.next) {
case 0:
return _context25.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/paths/".concat(data === null || data === void 0 ? void 0 : data.id, "/down_member_position.json"), {
method: 'post',
body: data
}));
case 1:
case "end":
return _context25.stop();
}
}, _callee25);
}));
return _subject_members_to_bottom.apply(this, arguments);
}
function subject_members_delete(_x25) {
return _subject_members_delete.apply(this, arguments);
}
// 成员详情
function _subject_members_delete() {
_subject_members_delete = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee26(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee26$(_context26) {
while (1) switch (_context26.prev = _context26.next) {
case 0:
return _context26.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/paths/".concat(data === null || data === void 0 ? void 0 : data.id, "/delete_subject_member.json"), {
method: 'delete',
body: data
}));
case 1:
case "end":
return _context26.stop();
}
}, _callee26);
}));
return _subject_members_delete.apply(this, arguments);
}
function subject_members_info(_x26) {
return _subject_members_info.apply(this, arguments);
}
// 获取当前模块下资源
function _subject_members_info() {
_subject_members_info = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee27(params) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee27$(_context27) {
while (1) switch (_context27.prev = _context27.next) {
case 0:
return _context27.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/paths/".concat(params === null || params === void 0 ? void 0 : params.id, "/one_subject_member.json"), {
method: 'get',
params: params
}));
case 1:
case "end":
return _context27.stop();
}
}, _callee27);
}));
return _subject_members_info.apply(this, arguments);
}
function resources_query(_x27) {
return _resources_query.apply(this, arguments);
}
// 上传文档资源
function _resources_query() {
_resources_query = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee28(params) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee28$(_context28) {
while (1) switch (_context28.prev = _context28.next) {
case 0:
return _context28.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/stages/".concat(params === null || params === void 0 ? void 0 : params.id, "/resources.json"), {
method: 'get',
params: params
}));
case 1:
case "end":
return _context28.stop();
}
}, _callee28);
}));
return _resources_query.apply(this, arguments);
}
function attachment_to_stage_word_add(_x28) {
return _attachment_to_stage_word_add.apply(this, arguments);
}
// 增加视频资源(视频 || 外链接)
function _attachment_to_stage_word_add() {
_attachment_to_stage_word_add = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee29(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee29$(_context29) {
while (1) switch (_context29.prev = _context29.next) {
case 0:
return _context29.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/stages/".concat(data === null || data === void 0 ? void 0 : data.id, "/add_attachment_to_stage.json"), {
method: 'post',
body: data
}));
case 1:
case "end":
return _context29.stop();
}
}, _callee29);
}));
return _attachment_to_stage_word_add.apply(this, arguments);
}
function video_to_stage_add(_x29) {
return _video_to_stage_add.apply(this, arguments);
}
// 申请单个资源公开
function _video_to_stage_add() {
_video_to_stage_add = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee30(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee30$(_context30) {
while (1) switch (_context30.prev = _context30.next) {
case 0:
return _context30.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/stages/".concat(data === null || data === void 0 ? void 0 : data.id, "/add_video_to_stage.json"), {
method: 'post',
body: data
}));
case 1:
case "end":
return _context30.stop();
}
}, _callee30);
}));
return _video_to_stage_add.apply(this, arguments);
}
function apply_public(_x30) {
return _apply_public.apply(this, arguments);
}
// 撤销单个资源公开申请
function _apply_public() {
_apply_public = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee31(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee31$(_context31) {
while (1) switch (_context31.prev = _context31.next) {
case 0:
return _context31.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/stages/".concat(data, "/apply_public.json"), {
method: 'post'
}));
case 1:
case "end":
return _context31.stop();
}
}, _callee31);
}));
return _apply_public.apply(this, arguments);
}
function cancel_public(_x31) {
return _cancel_public.apply(this, arguments);
}
// 撤销已经公开的单个资源
function _cancel_public() {
_cancel_public = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee32(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee32$(_context32) {
while (1) switch (_context32.prev = _context32.next) {
case 0:
return _context32.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/stages/".concat(data, "/cancel_public.json"), {
method: 'post'
}));
case 1:
case "end":
return _context32.stop();
}
}, _callee32);
}));
return _cancel_public.apply(this, arguments);
}
function cancel_has_publish(_x32) {
return _cancel_has_publish.apply(this, arguments);
}
// 资源详情
function _cancel_has_publish() {
_cancel_has_publish = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee33(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee33$(_context33) {
while (1) switch (_context33.prev = _context33.next) {
case 0:
return _context33.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/stages/".concat(data, "/cancel_has_publish.json"), {
method: 'post'
}));
case 1:
case "end":
return _context33.stop();
}
}, _callee33);
}));
return _cancel_has_publish.apply(this, arguments);
}
function resources_info(_x33) {
return _resources_info.apply(this, arguments);
}
// 删除资源
function _resources_info() {
_resources_info = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee34(params) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee34$(_context34) {
while (1) switch (_context34.prev = _context34.next) {
case 0:
return _context34.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/stage_shixuns/".concat(params, ".json"), {
method: 'get'
}));
case 1:
case "end":
return _context34.stop();
}
}, _callee34);
}));
return _resources_info.apply(this, arguments);
}
function resources_delete(_x34) {
return _resources_delete.apply(this, arguments);
}
// 删除资源
function _resources_delete() {
_resources_delete = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee35(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee35$(_context35) {
while (1) switch (_context35.prev = _context35.next) {
case 0:
return _context35.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/stage_shixuns/".concat(data, ".json"), {
method: 'delete'
}));
case 1:
case "end":
return _context35.stop();
}
}, _callee35);
}));
return _resources_delete.apply(this, arguments);
}
function delete_children(_x35) {
return _delete_children.apply(this, arguments);
}
// 删除课程案例资源
function _delete_children() {
_delete_children = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee36(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee36$(_context36) {
while (1) switch (_context36.prev = _context36.next) {
case 0:
return _context36.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/case_library/".concat(data === null || data === void 0 ? void 0 : data.id, "/delete_children.json"), {
method: 'delete',
body: data
}));
case 1:
case "end":
return _context36.stop();
}
}, _callee36);
}));
return _delete_children.apply(this, arguments);
}
function delete_paths_children(_x36) {
return _delete_paths_children.apply(this, arguments);
}
// 子案例单个提交审核
function _delete_paths_children() {
_delete_paths_children = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee37(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee37$(_context37) {
while (1) switch (_context37.prev = _context37.next) {
case 0:
return _context37.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/paths/".concat(data === null || data === void 0 ? void 0 : data.id, "/delete_children.json"), {
method: 'delete',
body: data
}));
case 1:
case "end":
return _context37.stop();
}
}, _callee37);
}));
return _delete_paths_children.apply(this, arguments);
}
function children_apply_public(_x37) {
return _children_apply_public.apply(this, arguments);
}
// 获取单个案例目录下的子案例
function _children_apply_public() {
_children_apply_public = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee38(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee38$(_context38) {
while (1) switch (_context38.prev = _context38.next) {
case 0:
return _context38.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/stages/children_apply_public.json", {
method: 'post',
body: data
}));
case 1:
case "end":
return _context38.stop();
}
}, _callee38);
}));
return _children_apply_public.apply(this, arguments);
}
function case_show_children(_x38) {
return _case_show_children.apply(this, arguments);
}
// 某个思政案例详情
function _case_show_children() {
_case_show_children = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee39(params) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee39$(_context39) {
while (1) switch (_context39.prev = _context39.next) {
case 0:
return _context39.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/case_library/".concat(params === null || params === void 0 ? void 0 : params.id, "/show_children.json"), {
method: 'get',
params: params
}));
case 1:
case "end":
return _context39.stop();
}
}, _callee39);
}));
return _case_show_children.apply(this, arguments);
}
function show_children(_x39) {
return _show_children.apply(this, arguments);
}
// 获取资源详情
function _show_children() {
_show_children = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee40(params) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee40$(_context40) {
while (1) switch (_context40.prev = _context40.next) {
case 0:
return _context40.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/paths/".concat(params === null || params === void 0 ? void 0 : params.id, "/show_children.json"), {
method: 'get',
params: params
}));
case 1:
case "end":
return _context40.stop();
}
}, _callee40);
}));
return _show_children.apply(this, arguments);
}
function detail_children(_x40) {
return _detail_children.apply(this, arguments);
}
// 分享
function _detail_children() {
_detail_children = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee41(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee41$(_context41) {
while (1) switch (_context41.prev = _context41.next) {
case 0:
return _context41.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/attachments/".concat(data, "/detail.json"), {
method: 'get'
}));
case 1:
case "end":
return _context41.stop();
}
}, _callee41);
}));
return _detail_children.apply(this, arguments);
}
function share(_x41) {
return _share.apply(this, arguments);
}
// 评论列表
function _share() {
_share = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee42(params) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee42$(_context42) {
while (1) switch (_context42.prev = _context42.next) {
case 0:
return _context42.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/stage_shixuns/".concat(params, "/share.json"), {
method: 'get'
}));
case 1:
case "end":
return _context42.stop();
}
}, _callee42);
}));
return _share.apply(this, arguments);
}
function stage_shixun_comments(_x42) {
return _stage_shixun_comments.apply(this, arguments);
}
// 新建评论
function _stage_shixun_comments() {
_stage_shixun_comments = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee43(params) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee43$(_context43) {
while (1) switch (_context43.prev = _context43.next) {
case 0:
return _context43.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/stage_shixuns/".concat(params === null || params === void 0 ? void 0 : params.id, "/stage_shixun_comments.json"), {
method: 'get',
params: params
}));
case 1:
case "end":
return _context43.stop();
}
}, _callee43);
}));
return _stage_shixun_comments.apply(this, arguments);
}
function stage_shixun_comments_add(_x43) {
return _stage_shixun_comments_add.apply(this, arguments);
}
// 点赞
function _stage_shixun_comments_add() {
_stage_shixun_comments_add = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee44(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee44$(_context44) {
while (1) switch (_context44.prev = _context44.next) {
case 0:
return _context44.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/stage_shixuns/".concat(data === null || data === void 0 ? void 0 : data.id, "/stage_shixun_comments.json"), {
method: 'post',
body: data
}));
case 1:
case "end":
return _context44.stop();
}
}, _callee44);
}));
return _stage_shixun_comments_add.apply(this, arguments);
}
function star_good(_x44) {
return _star_good.apply(this, arguments);
}
// 获取某个经典案例所有子模块
function _star_good() {
_star_good = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee45(params) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee45$(_context45) {
while (1) switch (_context45.prev = _context45.next) {
case 0:
return _context45.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/stage_shixuns/".concat(params === null || params === void 0 ? void 0 : params.id, "/star.json"), {
method: 'get',
params: params
}));
case 1:
case "end":
return _context45.stop();
}
}, _callee45);
}));
return _star_good.apply(this, arguments);
}
function stages_child_menu(_x45) {
return _stages_child_menu.apply(this, arguments);
}
// 创建经典案例
function _stages_child_menu() {
_stages_child_menu = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee46(params) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee46$(_context46) {
while (1) switch (_context46.prev = _context46.next) {
case 0:
return _context46.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/stages.json", {
method: 'get',
params: params
}));
case 1:
case "end":
return _context46.stop();
}
}, _callee46);
}));
return _stages_child_menu.apply(this, arguments);
}
function case_library_add(_x46) {
return _case_library_add.apply(this, arguments);
}
// 编辑经典案例
function _case_library_add() {
_case_library_add = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee47(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee47$(_context47) {
while (1) switch (_context47.prev = _context47.next) {
case 0:
return _context47.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/case_library.json", {
method: 'post',
body: data
}));
case 1:
case "end":
return _context47.stop();
}
}, _callee47);
}));
return _case_library_add.apply(this, arguments);
}
function case_library_update(_x47) {
return _case_library_update.apply(this, arguments);
}
// 删除经典案例
function _case_library_update() {
_case_library_update = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee48(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee48$(_context48) {
while (1) switch (_context48.prev = _context48.next) {
case 0:
return _context48.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/case_library/".concat(data === null || data === void 0 ? void 0 : data.id, ".json"), {
method: 'put',
body: data
}));
case 1:
case "end":
return _context48.stop();
}
}, _callee48);
}));
return _case_library_update.apply(this, arguments);
}
function case_library_delete(_x48) {
return _case_library_delete.apply(this, arguments);
}
// 获取某个经典案例详情
function _case_library_delete() {
_case_library_delete = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee49(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee49$(_context49) {
while (1) switch (_context49.prev = _context49.next) {
case 0:
return _context49.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/paths/".concat(data, ".json"), {
method: 'delete'
}));
case 1:
case "end":
return _context49.stop();
}
}, _callee49);
}));
return _case_library_delete.apply(this, arguments);
}
function case_library_info(_x49) {
return _case_library_info.apply(this, arguments);
}
// 经典案例列表
function _case_library_info() {
_case_library_info = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee50(params) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee50$(_context50) {
while (1) switch (_context50.prev = _context50.next) {
case 0:
return _context50.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/case_library/".concat(params, "/edit.json"), {
method: 'get'
}));
case 1:
case "end":
return _context50.stop();
}
}, _callee50);
}));
return _case_library_info.apply(this, arguments);
}
function case_library_query(_x50) {
return _case_library_query.apply(this, arguments);
}
// 获取所有经典案例分类
function _case_library_query() {
_case_library_query = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee51(params) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee51$(_context51) {
while (1) switch (_context51.prev = _context51.next) {
case 0:
return _context51.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/case_library.json", {
method: 'get',
params: params
}));
case 1:
case "end":
return _context51.stop();
}
}, _callee51);
}));
return _case_library_query.apply(this, arguments);
}
function case_library_disciplines(_x51) {
return _case_library_disciplines.apply(this, arguments);
}
// 获取经典案例某个子模块详情
function _case_library_disciplines() {
_case_library_disciplines = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee52(params) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee52$(_context52) {
while (1) switch (_context52.prev = _context52.next) {
case 0:
return _context52.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/disciplines/case_library_disciplines.json", {
method: 'get',
params: params
}));
case 1:
case "end":
return _context52.stop();
}
}, _callee52);
}));
return _case_library_disciplines.apply(this, arguments);
}
function case_child_info(_x52) {
return _case_child_info.apply(this, arguments);
}
// 更新经典案例子模块内容
function _case_child_info() {
_case_child_info = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee53(params) {
return _regeneratorRuntime().wrap(function _callee53$(_context53) {
while (1) switch (_context53.prev = _context53.next) {
case 0:
return _context53.abrupt("return", Fetch("/api/stages/".concat(params, "/edit.json"), {
method: 'get'
}));
case 1:
case "end":
return _context53.stop();
}
}, _callee53);
}));
return _case_child_info.apply(this, arguments);
}
function case_child_update(_x53) {
return _case_child_update.apply(this, arguments);
}
// 获取某个模块下的所有目录信息
function _case_child_update() {
_case_child_update = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee54(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee54$(_context54) {
while (1) switch (_context54.prev = _context54.next) {
case 0:
return _context54.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/stages/".concat(data === null || data === void 0 ? void 0 : data.id, ".json"), {
method: 'put',
body: data
}));
case 1:
case "end":
return _context54.stop();
}
}, _callee54);
}));
return _case_child_update.apply(this, arguments);
}
function directory_info(_x54) {
return _directory_info.apply(this, arguments);
}
// 创建模块下的目录
function _directory_info() {
_directory_info = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee55(params) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee55$(_context55) {
while (1) switch (_context55.prev = _context55.next) {
case 0:
return _context55.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/stage_shixuns/".concat(params === null || params === void 0 ? void 0 : params.id, "/directory.json"), {
method: 'get',
params: params
}));
case 1:
case "end":
return _context55.stop();
}
}, _callee55);
}));
return _directory_info.apply(this, arguments);
}
function stage_shixuns_add(_x55) {
return _stage_shixuns_add.apply(this, arguments);
}
// 更新目录
function _stage_shixuns_add() {
_stage_shixuns_add = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee56(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee56$(_context56) {
while (1) switch (_context56.prev = _context56.next) {
case 0:
return _context56.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/stage_shixuns.json", {
method: 'post',
body: data
}));
case 1:
case "end":
return _context56.stop();
}
}, _callee56);
}));
return _stage_shixuns_add.apply(this, arguments);
}
function stage_shixuns_update(_x56) {
return _stage_shixuns_update.apply(this, arguments);
}
// 获取目录下的资源列表
function _stage_shixuns_update() {
_stage_shixuns_update = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee57(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee57$(_context57) {
while (1) switch (_context57.prev = _context57.next) {
case 0:
return _context57.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/stage_shixuns/".concat(data === null || data === void 0 ? void 0 : data.id, "/update_directory.json"), {
method: 'put',
body: data
}));
case 1:
case "end":
return _context57.stop();
}
}, _callee57);
}));
return _stage_shixuns_update.apply(this, arguments);
}
function resources_list(_x57) {
return _resources_list.apply(this, arguments);
}
// 案列目录下增加案列课程
function _resources_list() {
_resources_list = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee58(params) {
return _regeneratorRuntime().wrap(function _callee58$(_context58) {
while (1) switch (_context58.prev = _context58.next) {
case 0:
return _context58.abrupt("return", Fetch("/api/stage_shixuns/".concat(params === null || params === void 0 ? void 0 : params.id, "/resources.json"), {
method: 'get',
params: params
}));
case 1:
case "end":
return _context58.stop();
}
}, _callee58);
}));
return _resources_list.apply(this, arguments);
}
function case_library_new_children(_x58) {
return _case_library_new_children.apply(this, arguments);
}
// 案列目录下编辑案列课程
function _case_library_new_children() {
_case_library_new_children = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee59(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee59$(_context59) {
while (1) switch (_context59.prev = _context59.next) {
case 0:
return _context59.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/case_library/".concat(data === null || data === void 0 ? void 0 : data.id, "/new_children.json"), {
method: 'post',
body: data
}));
case 1:
case "end":
return _context59.stop();
}
}, _callee59);
}));
return _case_library_new_children.apply(this, arguments);
}
function case_library_update_children(_x59) {
return _case_library_update_children.apply(this, arguments);
}
// 思政案例下增加案列课程
function _case_library_update_children() {
_case_library_update_children = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee60(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee60$(_context60) {
while (1) switch (_context60.prev = _context60.next) {
case 0:
return _context60.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/case_library/".concat(data === null || data === void 0 ? void 0 : data.id, "/update_children.json"), {
method: 'post',
body: data
}));
case 1:
case "end":
return _context60.stop();
}
}, _callee60);
}));
return _case_library_update_children.apply(this, arguments);
}
function paths_new_children(_x60) {
return _paths_new_children.apply(this, arguments);
}
// 思政案例下编辑案列课程
function _paths_new_children() {
_paths_new_children = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee61(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee61$(_context61) {
while (1) switch (_context61.prev = _context61.next) {
case 0:
return _context61.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/paths/".concat(data === null || data === void 0 ? void 0 : data.id, "/new_children.json"), {
method: 'post',
body: data
}));
case 1:
case "end":
return _context61.stop();
}
}, _callee61);
}));
return _paths_new_children.apply(this, arguments);
}
function paths_update_children(_x61) {
return _paths_update_children.apply(this, arguments);
}
// 获取有权限的老师
function _paths_update_children() {
_paths_update_children = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee62(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee62$(_context62) {
while (1) switch (_context62.prev = _context62.next) {
case 0:
return _context62.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/paths/".concat(data === null || data === void 0 ? void 0 : data.id, "/update_children.json"), {
method: 'post',
body: data
}));
case 1:
case "end":
return _context62.stop();
}
}, _callee62);
}));
return _paths_update_children.apply(this, arguments);
}
function search_permission_teacher(_x62) {
return _search_permission_teacher.apply(this, arguments);
}
// 获取当前案列下子课程列表
function _search_permission_teacher() {
_search_permission_teacher = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee63(params) {
return _regeneratorRuntime().wrap(function _callee63$(_context63) {
while (1) switch (_context63.prev = _context63.next) {
case 0:
return _context63.abrupt("return", Fetch("/api/users/search_permission_teacher.json", {
method: 'get',
params: params
}));
case 1:
case "end":
return _context63.stop();
}
}, _callee63);
}));
return _search_permission_teacher.apply(this, arguments);
}
function case_library_childrens(_x63) {
return _case_library_childrens.apply(this, arguments);
}
// 获取示范课程下的所有思政案例
function _case_library_childrens() {
_case_library_childrens = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee64(params) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee64$(_context64) {
while (1) switch (_context64.prev = _context64.next) {
case 0:
return _context64.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/case_library/".concat(params === null || params === void 0 ? void 0 : params.id, "/childrens.json"), {
method: 'get',
params: params
}));
case 1:
case "end":
return _context64.stop();
}
}, _callee64);
}));
return _case_library_childrens.apply(this, arguments);
}
function paths_library_childrens(_x64) {
return _paths_library_childrens.apply(this, arguments);
}
// 获取案列库列表
function _paths_library_childrens() {
_paths_library_childrens = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee65(params) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee65$(_context65) {
while (1) switch (_context65.prev = _context65.next) {
case 0:
return _context65.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/paths/".concat(params === null || params === void 0 ? void 0 : params.id, "/childrens.json"), {
method: 'get',
params: params
}));
case 1:
case "end":
return _context65.stop();
}
}, _callee65);
}));
return _paths_library_childrens.apply(this, arguments);
}
function can_share_case_library_list(_x65) {
return _can_share_case_library_list.apply(this, arguments);
}
// 共享资源
function _can_share_case_library_list() {
_can_share_case_library_list = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee66(params) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee66$(_context66) {
while (1) switch (_context66.prev = _context66.next) {
case 0:
return _context66.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/stage_shixun_resources_shares/can_share_case_library_list.json", {
method: 'get',
params: params
}));
case 1:
case "end":
return _context66.stop();
}
}, _callee66);
}));
return _can_share_case_library_list.apply(this, arguments);
}
function stage_shixun_resources_shares(_x66) {
return _stage_shixun_resources_shares.apply(this, arguments);
}
// 批量申请资源
function _stage_shixun_resources_shares() {
_stage_shixun_resources_shares = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee67(data) {
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee67$(_context67) {
while (1) switch (_context67.prev = _context67.next) {
case 0:
return _context67.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)("/api/stage_shixun_resources_shares", {
method: 'post',
body: data
}));
case 1:
case "end":
return _context67.stop();
}
}, _callee67);
}));
return _stage_shixun_resources_shares.apply(this, arguments);
}
function case_library_childrens_apply_public(_x67) {
return _case_library_childrens_apply_public.apply(this, arguments);
}
function _case_library_childrens_apply_public() {
_case_library_childrens_apply_public = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee68(data) {
return _regeneratorRuntime().wrap(function _callee68$(_context68) {
while (1) switch (_context68.prev = _context68.next) {
case 0:
return _context68.abrupt("return", Fetch("/api/stages/case_library_childrens_apply_public.json", {
method: 'post',
body: data
}));
case 1:
case "end":
return _context68.stop();
}
}, _callee68);
}));
return _case_library_childrens_apply_public.apply(this, arguments);
}
/***/ })
}]);