|
|
|
|
@ -28066,7 +28066,7 @@ var onlineLearning = __webpack_require__(53687);
|
|
|
|
|
|
|
|
|
|
//合适本页面逻辑的处理方法
|
|
|
|
|
var getQueryVariable = function getQueryVariable() {
|
|
|
|
|
var _query, _query2, _query3;
|
|
|
|
|
var _query, _query2, _query3, _query4;
|
|
|
|
|
var query = window.location.href.split('/');
|
|
|
|
|
if (!query.includes('video')) return;
|
|
|
|
|
var videoId = (_query = query[query.length - 1]) === null || _query === void 0 ? void 0 : _query.split('?')[0];
|
|
|
|
|
@ -28078,6 +28078,12 @@ var getQueryVariable = function getQueryVariable() {
|
|
|
|
|
subject_id: id
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
if (((_query4 = query[query.length - 1]) === null || _query4 === void 0 || (_query4 = _query4.split('?')[1]) === null || _query4 === void 0 ? void 0 : _query4.split('=')[0]) === 'new_video_id') {
|
|
|
|
|
return {
|
|
|
|
|
videoId: videoId,
|
|
|
|
|
new_video_id: id
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
return {
|
|
|
|
|
videoId: videoId,
|
|
|
|
|
course_id: id
|
|
|
|
|
@ -28091,6 +28097,10 @@ var VideoDetailModel = {
|
|
|
|
|
key: '',
|
|
|
|
|
params: {}
|
|
|
|
|
},
|
|
|
|
|
videoTabs: {
|
|
|
|
|
key: '',
|
|
|
|
|
params: {}
|
|
|
|
|
},
|
|
|
|
|
stages: [],
|
|
|
|
|
cust_seq: 0,
|
|
|
|
|
queryParams: getQueryVariable(),
|
|
|
|
|
@ -28141,7 +28151,7 @@ var VideoDetailModel = {
|
|
|
|
|
}, _callee);
|
|
|
|
|
})();
|
|
|
|
|
},
|
|
|
|
|
setActionTabs: function setActionTabs(_ref3, _ref4) {
|
|
|
|
|
setVideoValue: function setVideoValue(_ref3, _ref4) {
|
|
|
|
|
var payload = _ref3.payload;
|
|
|
|
|
var call = _ref4.call,
|
|
|
|
|
put = _ref4.put;
|
|
|
|
|
@ -28153,7 +28163,7 @@ var VideoDetailModel = {
|
|
|
|
|
return put({
|
|
|
|
|
type: 'save',
|
|
|
|
|
payload: {
|
|
|
|
|
actionTabs: objectSpread2_default()({}, payload)
|
|
|
|
|
detail: objectSpread2_default()({}, payload)
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
case 2:
|
|
|
|
|
@ -28163,7 +28173,7 @@ var VideoDetailModel = {
|
|
|
|
|
}, _callee2);
|
|
|
|
|
})();
|
|
|
|
|
},
|
|
|
|
|
setSelectValue: function setSelectValue(_ref5, _ref6) {
|
|
|
|
|
setActionTabs: function setActionTabs(_ref5, _ref6) {
|
|
|
|
|
var payload = _ref5.payload;
|
|
|
|
|
var call = _ref6.call,
|
|
|
|
|
put = _ref6.put;
|
|
|
|
|
@ -28175,7 +28185,7 @@ var VideoDetailModel = {
|
|
|
|
|
return put({
|
|
|
|
|
type: 'save',
|
|
|
|
|
payload: {
|
|
|
|
|
selectParams: objectSpread2_default()({}, payload)
|
|
|
|
|
actionTabs: objectSpread2_default()({}, payload)
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
case 2:
|
|
|
|
|
@ -28185,6 +28195,50 @@ var VideoDetailModel = {
|
|
|
|
|
}, _callee3);
|
|
|
|
|
})();
|
|
|
|
|
},
|
|
|
|
|
setVideoTabs: function setVideoTabs(_ref7, _ref8) {
|
|
|
|
|
var payload = _ref7.payload;
|
|
|
|
|
var call = _ref8.call,
|
|
|
|
|
put = _ref8.put;
|
|
|
|
|
return /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() {
|
|
|
|
|
return regeneratorRuntime_default()().wrap(function _callee4$(_context4) {
|
|
|
|
|
while (1) switch (_context4.prev = _context4.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context4.next = 2;
|
|
|
|
|
return put({
|
|
|
|
|
type: 'save',
|
|
|
|
|
payload: {
|
|
|
|
|
videoTabs: objectSpread2_default()({}, payload)
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
case 2:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context4.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee4);
|
|
|
|
|
})();
|
|
|
|
|
},
|
|
|
|
|
setSelectValue: function setSelectValue(_ref9, _ref10) {
|
|
|
|
|
var payload = _ref9.payload;
|
|
|
|
|
var call = _ref10.call,
|
|
|
|
|
put = _ref10.put;
|
|
|
|
|
return /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() {
|
|
|
|
|
return regeneratorRuntime_default()().wrap(function _callee5$(_context5) {
|
|
|
|
|
while (1) switch (_context5.prev = _context5.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context5.next = 2;
|
|
|
|
|
return put({
|
|
|
|
|
type: 'save',
|
|
|
|
|
payload: {
|
|
|
|
|
selectParams: objectSpread2_default()({}, payload)
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
case 2:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context5.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee5);
|
|
|
|
|
})();
|
|
|
|
|
},
|
|
|
|
|
//没有异步逻辑为什么要放在effects里面?
|
|
|
|
|
// *handleList({ payload }, { put, select }) {
|
|
|
|
|
// const { videoList, attachmentList }: VideoDetailModelState = yield select(
|
|
|
|
|
@ -28206,39 +28260,62 @@ var VideoDetailModel = {
|
|
|
|
|
// },
|
|
|
|
|
// });
|
|
|
|
|
// },
|
|
|
|
|
getStageData: function getStageData(_ref7, _ref8) {
|
|
|
|
|
var payload = _ref7.payload;
|
|
|
|
|
var call = _ref8.call,
|
|
|
|
|
put = _ref8.put,
|
|
|
|
|
select = _ref8.select;
|
|
|
|
|
return /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() {
|
|
|
|
|
var response, responseSeq, _yield$select, queryParams, _response$stages, stages, video, Attachment, active;
|
|
|
|
|
return regeneratorRuntime_default()().wrap(function _callee4$(_context4) {
|
|
|
|
|
while (1) switch (_context4.prev = _context4.next) {
|
|
|
|
|
getStageData: function getStageData(_ref11, _ref12) {
|
|
|
|
|
var payload = _ref11.payload;
|
|
|
|
|
var call = _ref12.call,
|
|
|
|
|
put = _ref12.put,
|
|
|
|
|
select = _ref12.select;
|
|
|
|
|
return /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6() {
|
|
|
|
|
var response, responseSeq, _yield$select, queryParams, _response$stages, stages, video, Attachment, active, processItems;
|
|
|
|
|
return regeneratorRuntime_default()().wrap(function _callee6$(_context6) {
|
|
|
|
|
while (1) switch (_context6.prev = _context6.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context4.next = 2;
|
|
|
|
|
_context6.next = 2;
|
|
|
|
|
return call(service_video/* getStageData */.yN, payload);
|
|
|
|
|
case 2:
|
|
|
|
|
response = _context4.sent;
|
|
|
|
|
_context4.next = 5;
|
|
|
|
|
response = _context6.sent;
|
|
|
|
|
_context6.next = 5;
|
|
|
|
|
return call(paths/* getPathsDetail */.lk, {
|
|
|
|
|
id: payload.subject_id
|
|
|
|
|
});
|
|
|
|
|
case 5:
|
|
|
|
|
responseSeq = _context4.sent;
|
|
|
|
|
_context4.next = 8;
|
|
|
|
|
responseSeq = _context6.sent;
|
|
|
|
|
_context6.next = 8;
|
|
|
|
|
return select(function (_) {
|
|
|
|
|
return _.videoDetail;
|
|
|
|
|
});
|
|
|
|
|
case 8:
|
|
|
|
|
_yield$select = _context4.sent;
|
|
|
|
|
_yield$select = _context6.sent;
|
|
|
|
|
queryParams = _yield$select.queryParams;
|
|
|
|
|
_response$stages = response.stages, stages = _response$stages === void 0 ? [] : _response$stages;
|
|
|
|
|
video = []; // word/excel/ppt/pdf
|
|
|
|
|
Attachment = [];
|
|
|
|
|
active = {};
|
|
|
|
|
stages === null || stages === void 0 || stages.forEach(function (element) {
|
|
|
|
|
element.items.forEach(function (e) {
|
|
|
|
|
active = {}; // stages?.forEach((element: any) => {
|
|
|
|
|
// element.items.forEach((e: any) => {
|
|
|
|
|
// if (String(e.id) === String(queryParams.videoId)) {
|
|
|
|
|
// active = e;
|
|
|
|
|
// }
|
|
|
|
|
// if (e.item_type === 'VideoItem') {
|
|
|
|
|
// video.push(e);
|
|
|
|
|
// } else if (e.item_type === 'Attachment') {
|
|
|
|
|
// Attachment.push(e);
|
|
|
|
|
// }
|
|
|
|
|
// if (e.children && !!e.children.length) {
|
|
|
|
|
// e.children.forEach((el: any) => {
|
|
|
|
|
// if (String(el.id) === String(queryParams.videoId)) {
|
|
|
|
|
// active = el;
|
|
|
|
|
// }
|
|
|
|
|
// if (el.item_type === 'VideoItem') {
|
|
|
|
|
// video.push(el);
|
|
|
|
|
// } else if (el.item_type === 'Attachment') {
|
|
|
|
|
// Attachment.push(el);
|
|
|
|
|
// }
|
|
|
|
|
// });
|
|
|
|
|
// }
|
|
|
|
|
// });
|
|
|
|
|
// });
|
|
|
|
|
processItems = function processItems(items) {
|
|
|
|
|
items.forEach(function (e) {
|
|
|
|
|
if (String(e.id) === String(queryParams.videoId)) {
|
|
|
|
|
active = e;
|
|
|
|
|
}
|
|
|
|
|
@ -28247,22 +28324,16 @@ var VideoDetailModel = {
|
|
|
|
|
} else if (e.item_type === 'Attachment') {
|
|
|
|
|
Attachment.push(e);
|
|
|
|
|
}
|
|
|
|
|
if (e.children && !!e.children.length) {
|
|
|
|
|
e.children.forEach(function (el) {
|
|
|
|
|
if (String(el.id) === String(queryParams.videoId)) {
|
|
|
|
|
active = el;
|
|
|
|
|
}
|
|
|
|
|
if (el.item_type === 'VideoItem') {
|
|
|
|
|
video.push(el);
|
|
|
|
|
} else if (el.item_type === 'Attachment') {
|
|
|
|
|
Attachment.push(el);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
if (e.children && e.children.length) {
|
|
|
|
|
processItems(e.children);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
stages === null || stages === void 0 || stages.forEach(function (element) {
|
|
|
|
|
processItems(element.items);
|
|
|
|
|
});
|
|
|
|
|
window.filterVideoSign = [].concat(video); //全局标记使用,勿删
|
|
|
|
|
_context4.next = 18;
|
|
|
|
|
_context6.next = 19;
|
|
|
|
|
return put({
|
|
|
|
|
type: 'save',
|
|
|
|
|
payload: {
|
|
|
|
|
@ -28273,40 +28344,96 @@ var VideoDetailModel = {
|
|
|
|
|
attachmentList: Attachment
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
case 18:
|
|
|
|
|
case 19:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context4.stop();
|
|
|
|
|
return _context6.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee4);
|
|
|
|
|
}, _callee6);
|
|
|
|
|
})();
|
|
|
|
|
},
|
|
|
|
|
getCourseStageData: function getCourseStageData(_ref9, _ref10) {
|
|
|
|
|
var payload = _ref9.payload;
|
|
|
|
|
var call = _ref10.call,
|
|
|
|
|
put = _ref10.put,
|
|
|
|
|
select = _ref10.select;
|
|
|
|
|
return /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() {
|
|
|
|
|
var response, _yield$select2, queryParams, stages, video, Attachment, active;
|
|
|
|
|
return regeneratorRuntime_default()().wrap(function _callee5$(_context5) {
|
|
|
|
|
while (1) switch (_context5.prev = _context5.next) {
|
|
|
|
|
getVideoData: function getVideoData(_ref13, _ref14) {
|
|
|
|
|
var payload = _ref13.payload;
|
|
|
|
|
var call = _ref14.call,
|
|
|
|
|
put = _ref14.put,
|
|
|
|
|
select = _ref14.select;
|
|
|
|
|
return /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7() {
|
|
|
|
|
var response, _response$categories, categories, _response$coruse_vide, coruse_videos;
|
|
|
|
|
return regeneratorRuntime_default()().wrap(function _callee7$(_context7) {
|
|
|
|
|
while (1) switch (_context7.prev = _context7.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context5.next = 2;
|
|
|
|
|
_context7.next = 2;
|
|
|
|
|
return call(service_video/* getVideoData */.fn, payload);
|
|
|
|
|
case 2:
|
|
|
|
|
response = _context7.sent;
|
|
|
|
|
// 获取list
|
|
|
|
|
_response$categories = response.categories, categories = _response$categories === void 0 ? [] : _response$categories, _response$coruse_vide = response.coruse_videos, coruse_videos = _response$coruse_vide === void 0 ? [] : _response$coruse_vide;
|
|
|
|
|
_context7.next = 6;
|
|
|
|
|
return put({
|
|
|
|
|
type: 'save',
|
|
|
|
|
payload: {
|
|
|
|
|
stages: (categories === null || categories === void 0 ? void 0 : categories.length) > 0 ? categories : [{
|
|
|
|
|
'coruse_videos': coruse_videos,
|
|
|
|
|
'name': "未分配目录"
|
|
|
|
|
}]
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
case 6:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context7.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee7);
|
|
|
|
|
})();
|
|
|
|
|
},
|
|
|
|
|
getCourseStageData: function getCourseStageData(_ref15, _ref16) {
|
|
|
|
|
var payload = _ref15.payload;
|
|
|
|
|
var call = _ref16.call,
|
|
|
|
|
put = _ref16.put,
|
|
|
|
|
select = _ref16.select;
|
|
|
|
|
return /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee8() {
|
|
|
|
|
var response, _yield$select2, queryParams, stages, video, Attachment, active, processItems;
|
|
|
|
|
return regeneratorRuntime_default()().wrap(function _callee8$(_context8) {
|
|
|
|
|
while (1) switch (_context8.prev = _context8.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context8.next = 2;
|
|
|
|
|
return call(onlineLearning/* getOnlineLearning */.R7, payload);
|
|
|
|
|
case 2:
|
|
|
|
|
response = _context5.sent;
|
|
|
|
|
_context5.next = 5;
|
|
|
|
|
response = _context8.sent;
|
|
|
|
|
_context8.next = 5;
|
|
|
|
|
return select(function (_) {
|
|
|
|
|
return _.videoDetail;
|
|
|
|
|
});
|
|
|
|
|
case 5:
|
|
|
|
|
_yield$select2 = _context5.sent;
|
|
|
|
|
_yield$select2 = _context8.sent;
|
|
|
|
|
queryParams = _yield$select2.queryParams;
|
|
|
|
|
stages = response.stages;
|
|
|
|
|
video = []; // word/excel/ppt/pdf
|
|
|
|
|
Attachment = [];
|
|
|
|
|
active = {};
|
|
|
|
|
stages === null || stages === void 0 || stages.forEach(function (element) {
|
|
|
|
|
element.items.forEach(function (e) {
|
|
|
|
|
active = {}; // stages?.forEach((element) => {
|
|
|
|
|
// element.items.forEach((e) => {
|
|
|
|
|
// if (String(e.id) === String(queryParams.videoId)) {
|
|
|
|
|
// active = e;
|
|
|
|
|
// }
|
|
|
|
|
// if (e.item_type === 'VideoItem') {
|
|
|
|
|
// video.push(e);
|
|
|
|
|
// } else if (e.item_type === 'Attachment') {
|
|
|
|
|
// Attachment.push(e);
|
|
|
|
|
// }
|
|
|
|
|
// if (e.children && !!e.children.length) {
|
|
|
|
|
// e.children.forEach((el: any) => {
|
|
|
|
|
// if (String(el.id) === String(queryParams.videoId)) {
|
|
|
|
|
// active = el;
|
|
|
|
|
// }
|
|
|
|
|
// if (el.item_type === 'VideoItem') {
|
|
|
|
|
// video.push(el);
|
|
|
|
|
// } else if (el.item_type === 'Attachment') {
|
|
|
|
|
// Attachment.push(el);
|
|
|
|
|
// }
|
|
|
|
|
// });
|
|
|
|
|
// }
|
|
|
|
|
// });
|
|
|
|
|
// });
|
|
|
|
|
processItems = function processItems(items) {
|
|
|
|
|
items.forEach(function (e) {
|
|
|
|
|
if (String(e.id) === String(queryParams.videoId)) {
|
|
|
|
|
active = e;
|
|
|
|
|
}
|
|
|
|
|
@ -28315,22 +28442,16 @@ var VideoDetailModel = {
|
|
|
|
|
} else if (e.item_type === 'Attachment') {
|
|
|
|
|
Attachment.push(e);
|
|
|
|
|
}
|
|
|
|
|
if (e.children && !!e.children.length) {
|
|
|
|
|
e.children.forEach(function (el) {
|
|
|
|
|
if (String(el.id) === String(queryParams.videoId)) {
|
|
|
|
|
active = el;
|
|
|
|
|
}
|
|
|
|
|
if (el.item_type === 'VideoItem') {
|
|
|
|
|
video.push(el);
|
|
|
|
|
} else if (el.item_type === 'Attachment') {
|
|
|
|
|
Attachment.push(el);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
if (e.children && e.children.length) {
|
|
|
|
|
processItems(e.children);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
stages === null || stages === void 0 || stages.forEach(function (element) {
|
|
|
|
|
processItems(element.items);
|
|
|
|
|
});
|
|
|
|
|
window.filterVideoSign = [].concat(video); //全局标记使用,勿删
|
|
|
|
|
_context5.next = 15;
|
|
|
|
|
_context8.next = 16;
|
|
|
|
|
return put({
|
|
|
|
|
type: 'save',
|
|
|
|
|
payload: {
|
|
|
|
|
@ -28341,11 +28462,11 @@ var VideoDetailModel = {
|
|
|
|
|
attachmentList: Attachment
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
case 15:
|
|
|
|
|
case 16:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context5.stop();
|
|
|
|
|
return _context8.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee5);
|
|
|
|
|
}, _callee8);
|
|
|
|
|
})();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
@ -28360,6 +28481,7 @@ var VideoDetailModel = {
|
|
|
|
|
var activeItem = [].concat(toConsumableArray_default()(videoList), toConsumableArray_default()(attachmentList)).find(function (item) {
|
|
|
|
|
return "".concat(item.id) === "".concat(id);
|
|
|
|
|
});
|
|
|
|
|
// debugger
|
|
|
|
|
return objectSpread2_default()(objectSpread2_default()({}, state), {}, {
|
|
|
|
|
active: activeItem,
|
|
|
|
|
queryParams: objectSpread2_default()(objectSpread2_default()({}, getQueryVariable()), action.payload)
|
|
|
|
|
@ -28367,11 +28489,11 @@ var VideoDetailModel = {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
subscriptions: {
|
|
|
|
|
setup: function setup(_ref11) {
|
|
|
|
|
var dispatch = _ref11.dispatch,
|
|
|
|
|
history = _ref11.history;
|
|
|
|
|
return history.listen(function (_ref12) {
|
|
|
|
|
var pathname = _ref12.pathname;
|
|
|
|
|
setup: function setup(_ref17) {
|
|
|
|
|
var dispatch = _ref17.dispatch,
|
|
|
|
|
history = _ref17.history;
|
|
|
|
|
return history.listen(function (_ref18) {
|
|
|
|
|
var pathname = _ref18.pathname;
|
|
|
|
|
if (pathname === '/') {
|
|
|
|
|
dispatch({
|
|
|
|
|
type: 'query'
|
|
|
|
|
@ -53761,10 +53883,11 @@ function LoginForPhone(params) {
|
|
|
|
|
/* harmony export */ ZY: function() { return /* binding */ getVideoStatistics; },
|
|
|
|
|
/* harmony export */ Zx: function() { return /* binding */ getVideoPeopleStatics; },
|
|
|
|
|
/* harmony export */ cU: function() { return /* binding */ getOneVideoStatisticsList; },
|
|
|
|
|
/* harmony export */ fn: function() { return /* binding */ getVideoData; },
|
|
|
|
|
/* harmony export */ jK: function() { return /* binding */ starVideo; },
|
|
|
|
|
/* harmony export */ yN: function() { return /* binding */ getStageData; }
|
|
|
|
|
/* harmony export */ });
|
|
|
|
|
/* unused harmony exports addVideoItems, getVideoEditData, updateVideo, videoSendToCourse, getVideoMyCourses, addSchool */
|
|
|
|
|
/* unused harmony exports addVideoItems, getVideoEditData, updateVideo, videoSendToCourse, getVideoMyCourses, addSchool, savePhoto, getAnalysesDetail */
|
|
|
|
|
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_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_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_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
|
|
|
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242);
|
|
|
|
|
@ -54124,6 +54247,66 @@ function _getStageData() {
|
|
|
|
|
}));
|
|
|
|
|
return _getStageData.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function getVideoData(_x18) {
|
|
|
|
|
return _getVideoData.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function _getVideoData() {
|
|
|
|
|
_getVideoData = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee18(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_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_3__/* ["default"] */ .ZP)("/api/courses/".concat(params === null || params === void 0 ? void 0 : params.id, "/course_videos_tree.json"), {
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: params
|
|
|
|
|
}));
|
|
|
|
|
case 1:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context18.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee18);
|
|
|
|
|
}));
|
|
|
|
|
return _getVideoData.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function savePhoto(_x19) {
|
|
|
|
|
return _savePhoto.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function _savePhoto() {
|
|
|
|
|
_savePhoto = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee19(params) {
|
|
|
|
|
return _regeneratorRuntime().wrap(function _callee19$(_context19) {
|
|
|
|
|
while (1) switch (_context19.prev = _context19.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
return _context19.abrupt("return", Fetch("/api/study_action_analyses.json", {
|
|
|
|
|
method: 'post',
|
|
|
|
|
body: params
|
|
|
|
|
}));
|
|
|
|
|
case 1:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context19.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee19);
|
|
|
|
|
}));
|
|
|
|
|
return _savePhoto.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function getAnalysesDetail(_x20) {
|
|
|
|
|
return _getAnalysesDetail.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function _getAnalysesDetail() {
|
|
|
|
|
_getAnalysesDetail = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee20(params) {
|
|
|
|
|
return _regeneratorRuntime().wrap(function _callee20$(_context20) {
|
|
|
|
|
while (1) switch (_context20.prev = _context20.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
return _context20.abrupt("return", Fetch("/api/study_action_analyses/detail.json", {
|
|
|
|
|
method: 'post',
|
|
|
|
|
body: params
|
|
|
|
|
}));
|
|
|
|
|
case 1:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context20.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee20);
|
|
|
|
|
}));
|
|
|
|
|
return _getAnalysesDetail.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|