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/p__Classrooms__Lists__Learn...

492 lines
47 KiB

"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[4928],{
/***/ 45902:
/*!***********************************************************************!*\
!*** ./src/pages/Classrooms/Lists/LearningPath/index.tsx + 2 modules ***!
\***********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"default": function() { return /* binding */ LearningPath; }
});
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 15 modules
var _umi_production_exports = __webpack_require__(67866);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/skeleton/index.js + 12 modules
var skeleton = __webpack_require__(56511);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules
var modal = __webpack_require__(43418);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/LearningPath/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var LearningPathmodules = ({"flex_box_center":"flex_box_center___yF0Vb","flex_space_between":"flex_space_between___vsNYO","flex_box_vertical_center":"flex_box_vertical_center___C4UqH","flex_box_center_end":"flex_box_center_end___EGtmE","flex_box_column":"flex_box_column___uX9g9","bg":"bg___sRga2","menu":"menu___s8xQl","desc":"desc___poG1Z","listItem":"listItem___ml9kN","info":"info___Z8R2Z","add":"add___jH8te","addForm":"addForm___O999t","attendanceCode":"attendanceCode___hPKyl","signInStatus":"signInStatus___usMPT","colorE02020":"colorE02020___hZvSz","color0152d9":"color0152d9___RgXzd","colorFA6400":"colorFA6400___g2yU6","iframe":"iframe___HRzMh"});
// EXTERNAL MODULE: ./src/utils/authority.ts
var authority = __webpack_require__(88141);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/LearningPath/data.ts
const learningData = {
init: [
{ "stage_name": "\u521D\u59CB\u5B66\u4E60", "parent": 9999999, "key": 0 },
{ "stage_name": "\u7EEA\u8BBA", "parent": 0, "key": 1 },
{ "discipline_name": "\u7EEA\u8BBA", "shixun_count": "1", "video_count": "2", "parent": 1, "key": "11" },
{ "shixun_name": "\u7EEA\u8BBA1", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/f066ae1a9a8f418f837e5bf8d02b2690/76df907c20efd95bea0fa23424f10693-hd.m3u8", "parent": "11", "key": "111" },
{ "shixun_name": "\u7EEA\u8BBA2", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/068ca7853da448c794eeffb0dee8bed4/5bb446a882043683e37474ff408f601b-hd.m3u8", "parent": "11", "key": "112" },
{ "shixun_name": "C++\u5F00\u53D1\u73AF\u5883\u5E94\u7528\u5165\u95E8", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/zxb937qn/challenges", "parent": "11", "key": "113" },
{ "stage_name": "\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1", "parent": 0, "key": 2 },
{ "discipline_name": "\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F", "shixun_count": "1", "video_count": "1", "parent": 2, "key": "21" },
{ "shixun_name": "\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/f5f9c87860cb4a98ba86da37b5bfac70/8d50a9c4d5d4d3382c09bad3f4c5dcb6-hd.m3u8", "parent": "21", "key": "211" },
{ "shixun_name": "C++\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/lg5afhzv/challenges", "parent": "21", "key": "212" },
{ "discipline_name": "\u5224\u65AD\u8BED\u53E5", "shixun_count": "2", "video_count": "2", "parent": 2, "key": "22" },
{ "shixun_name": "if\u8BED\u53E5", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/3b4e821b200443948c553e4c6b51d940/b9601216238e60440192c2deb58adc53-hd.m3u8", "parent": "22", "key": "221" },
{ "shixun_name": "C++\u9009\u62E9\u7ED3\u6784\u2014\u2014\uFF08if\u591A\u91CD\u9009\u62E9\uFF09", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/23xkyrmn/challenges", "parent": "22", "key": "222" },
{ "shixun_name": "switch\u8BED\u53E5", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/3b4e821b200443948c553e4c6b51d940/b9601216238e60440192c2deb58adc53-hd.m3u8", "parent": "22", "key": "223" },
{ "shixun_name": "C++\u9009\u62E9\u7ED3\u6784\u2014\u2014\uFF08\u5DE7\u7528switch\uFF09", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/sm3c5a7v/challenges", "parent": "22", "key": "224" },
{ "discipline_name": "\u5FAA\u73AF", "shixun_count": "2", "video_count": "2", "parent": 2, "key": "23" },
{ "shixun_name": "while\u8BED\u53E5", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/dda06371a1594f5d865479a0fadc77bb/cb504e3af36ebe2ba979e8fe5fbb2222-hd.m3u8", "parent": "23", "key": "231" },
{ "shixun_name": "C++\u5FAA\u73AF\u7ED3\u6784\u2014\u2014\uFF08\u719F\u6089while\uFF09", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/8yhf4sn6/challenges", "parent": "23", "key": "232" },
{ "shixun_name": "for\u8BED\u53E5", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/503194c483f44ccfacc7f9ee14cda70a/36cbd964c6657d1bbc43eb33b98f0c51-hd.m3u8", "parent": "23", "key": "233" },
{ "shixun_name": "C++\u9009\u62E9\u7ED3\u6784\u2014\u2014\uFF08\u5DE7\u7528switch\uFF09", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/sm3c5a7v/challenges", "parent": "23", "key": "234" },
{ "stage_name": "\u51FD\u6570", "parent": 0, "key": 3 },
{ "discipline_name": "\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528", "shixun_count": "2", "video_count": "1", "parent": 3, "key": "31" },
{ "shixun_name": "\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/c10e39b3afb14ad0b890368aa1751821/ef361445294452e1d9bfacae80b3ec2f-hd.m3u8", "parent": "31", "key": "311" },
{ "shixun_name": "C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75281", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/3q4isevr/challenges", "parent": "31", "key": "312" },
{ "shixun_name": "C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75282", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/tlhxwo64/challenges", "parent": "31", "key": "313" },
{ "discipline_name": "\u4F20\u8F93\u4F20\u9012", "shixun_count": "2", "video_count": "1", "parent": 3, "key": "32" },
{ "shixun_name": "\u51FD\u6570\u7684\u53C2\u6570", "shixun_type": "\u89C6\u9891", "url": "https://www.educoder.net/video/7785?subject_id=jpl5vs26", "parent": "32", "key": "321" },
{ "shixun_name": "C++\u53C2\u6570\u4F20\u90121", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/2phrn8yk/challenges", "parent": "32", "key": "322" },
{ "shixun_name": "C++\u53C2\u6570\u4F20\u90122", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/xsq7p4a6/challenges", "parent": "32", "key": "323" },
{ "discipline_name": "\u51FD\u6570\u91CD\u8F7D", "shixun_count": "1", "video_count": "1", "parent": 3, "key": "33" },
{ "shixun_name": "\u51FD\u6570\u91CD\u8F7D", "shixun_type": "\u89C6\u9891", "url": "https://www.educoder.net/video/7785?subject_id=jpl5vs26", "parent": "33", "key": "331" },
{ "shixun_name": "C++\u51FD\u6570\u91CD\u8F7D", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/6hbqpv7e/challenges", "parent": "33", "key": "332" },
{ "discipline_name": "\u9012\u5F52\u51FD\u6570", "shixun_count": "2", "video_count": "1", "parent": 3, "key": "34" },
{ "shixun_name": "\u51FD\u6570\u7684\u9012\u5F52\u8C03\u7528", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/51a0935ddc884f1b9f6c1395f2011425/7308cd65a7fe1d13eebe2600054d29c7-hd.m3u8", "parent": "34", "key": "341" },
{ "shixun_name": "\u9012\u5F52\u51FD\u6570\u7F16\u5199\u5165\u95E8", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/4qjw9t32/challenges", "parent": "34", "key": "342" },
{ "shixun_name": "\u9006\u5E8F\u8F93\u51FA\uFF08\u4F7F\u7528\u9012\u5F52\u89E3\u51B3\uFF09", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/oxtrf27l/challenges", "parent": "34", "key": "343" },
{ "stage_name": "\u7C7B\u548C\u5BF9\u8C61", "parent": 0, "key": 4 },
{ "discipline_name": "\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570", "shixun_count": "2", "video_count": "1", "parent": 4, "key": "41" },
{ "shixun_name": "\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/b4e17c1e8c8d449f862af9ea94fa9522/bad9e739addf73679a70e38a9d2cc32c-hd.m3u8", "parent": "41", "key": "411" },
{ "shixun_name": "\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/igwom4hs/challenges", "parent": "41", "key": "412" },
{ "shixun_name": "\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784\u4F53", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/5yo6rw3f/challenges", "parent": "41", "key": "413" },
{ "stage_name": "\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4", "parent": 0, "key": 5 },
{ "discipline_name": "\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4", "shixun_count": "1", "video_count": "1", "parent": 5, "key": "51" },
{ "shixun_name": "\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/fde33b24ff2b4bf5bc5e238dc473df8e/3cf407a74af29554226084d17fa17858-hd.m3u8", "parent": "51", "key": "511" },
{ "shixun_name": "C++\u7A0B\u5E8F\u7684\u7ED3\u6784", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/yqbh3fx5/challenges", "parent": "51", "key": "512" },
{ "stage_name": "\u6570\u7EC4\u3001\u6307\u9488\u4E0E\u5B57\u7B26\u4E32", "parent": 0, "key": 6 },
{ "discipline_name": "\u6570\u7EC4", "shixun_count": "1", "video_count": "1", "parent": 6, "key": "61" },
{ "shixun_name": "\u6570\u7EC4", "shixun_type": "\u89C6\u9891", "url": "https://www.educoder.net/video/7785?subject_id=jpl5vs26", "parent": "61", "key": "611" },
{ "shixun_name": "\u5E73\u5747\u6210\u7EE9\u4E0E\u7B80\u5355\u7EDF\u8BA1", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/4wcfgm5q/challenges", "parent": "61", "key": "612" },
{ "discipline_name": "\u6307\u9488", "shixun_count": "3", "video_count": "1", "parent": 6, "key": "62" },
{ "shixun_name": "\u6307\u9488", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/00a5448862c84c42b1a369ac2be88ae9/9b9627710a725e570ede478663c2589d-hd.m3u8", "parent": "62", "key": "621" },
{ "shixun_name": "\u6307\u9488\u7EC3\u624B-\u5B57\u7B26\u4E32\u5012\u5E8F", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/lkn6xuc3/challenges", "parent": "62", "key": "622" },
{ "shixun_name": "\u6307\u9488\u6570\u7EC4-\u5355\u8BCD\u5012\u5E8F", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/vtk73ny2/challenges", "parent": "62", "key": "623" },
{ "shixun_name": "\u7528\u6307\u9488\u89E3\u51B3\u95EE\u9898-\u6587\u672C\u683C\u5F0F\u5904\u7406", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/xfnp73fz/challenges", "parent": "62", "key": "624" },
{ "stage_name": "\u7C7B\u7684\u7EE7\u627F", "parent": 0, "key": 7 },
{ "discipline_name": "\u7C7B\u7684\u7EE7\u627F", "shixun_count": "1", "video_count": "3", "parent": 7, "key": "71" },
{ "shixun_name": "\u7C7B\u7684\u7EE7\u627F(1)", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/1eedcdb9ec43442c93780f04859c9aa9/631b8c88eb263877d24637d5b8d54dc5-hd.m3u8", "parent": "71", "key": "711" },
{ "shixun_name": "\u7C7B\u7684\u7EE7\u627F(2)", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/fc1e7d8d8140469ba1bc01ee64fcc3c1/9256d13f4a14ae17ba9cac9f895b8a9d-hd.m3u8", "parent": "71", "key": "712" },
{ "shixun_name": "\u7C7B\u7684\u7EE7\u627F(3)", "shixun_type": "\u89C6\u9891", "url": "https://www.educoder.net/video/7806?subject_id=jpl5vs26", "parent": "71", "key": "713" },
{ "shixun_name": "\u7EE7\u627F\u4E0E\u6D3E\u751F", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/f83ipgyo/challenges", "parent": "71", "key": "714" },
{ "stage_name": "\u591A\u6001\u6027", "parent": 0, "key": 8 },
{ "discipline_name": "\u591A\u6001\u6027", "shixun_count": "1", "video_count": "2", "parent": 8, "key": "81" },
{ "shixun_name": "\u591A\u6001\u6027(1)", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/5a960b51ebf346d2b77afb3b70d00768/73d6fa00824f4c73b885d33f688c3294-hd.m3u8", "parent": "81", "key": "811" },
{ "shixun_name": "\u591A\u6001\u6027(2)", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/08fe97a36e184cf1bf27cdd7a24794c9/625c4e9e863840443f5332ccc02761fc-hd.m3u8", "parent": "81", "key": "812" },
{ "shixun_name": "\u865A\u51FD\u6570\u4E0E\u591A\u6001\u6027", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/9pjmg7uf/challenges", "parent": "81", "key": "813" },
{ "stage_name": "\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E", "parent": 0, "key": 9 },
{ "discipline_name": "\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E", "shixun_count": "1", "video_count": "3", "parent": 9, "key": "91" },
{ "shixun_name": "\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E(1)", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/8dcf418d2d16404d91af1780f669e549/eb538592d8a3b98e1c2f7f844f85b778-hd.m3u8", "parent": "91", "key": "911" },
{ "shixun_name": "\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E(2)", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/459f2693af7b48f8b854033e666a77f8/f5b140c5adc0f24ac56b72492373306a-hd.m3u8", "parent": "91", "key": "912" },
{ "shixun_name": "\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E(3)", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/ccea50bc15d2468aab99aff19eb69e16/a5ecac1ee0c07360d07880187a787085-hd.m3u8", "parent": "91", "key": "913" },
{ "shixun_name": "\u7FA4\u4F53\u7C7B\u548C\u7FA4\u4F53\u6570\u636E\u7684\u7EC4\u7EC7", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/kfv3my9o/challenges", "parent": "91", "key": "914" },
{ "stage_name": "\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93", "parent": 0, "key": 10 },
{ "discipline_name": "\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93", "shixun_count": "1", "video_count": "3", "parent": 10, "key": "101" },
{ "shixun_name": "\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(1)", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/2f3154d695a542fbaba5c483d8d7f7a9/aea4302c51501634469ed4b91462c810-hd.m3u8", "parent": "101", "key": "1011" },
{ "shixun_name": "\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(2)", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/23be6a61e4e54db398b9172b1213a1f2/3f1e88f97957369e29ef2bde63640004-hd.m3u8", "parent": "101", "key": "1012" },
{ "shixun_name": "\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(3)", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/a5887adcc34445bba695de7dcadb781e/0fb3a6a6ad38f7a107054c5f2f0de262-hd.m3u8", "parent": "101", "key": "1013" },
{ "shixun_name": "\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/hmtw5iq6/challenges", "parent": "101", "key": "1014" },
{ "stage_name": "\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA11", "parent": 0, "key": 1911 },
{ "discipline_name": "\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA", "shixun_count": "1", "video_count": "2", "parent": 1911, "key": 9111 },
{ "shixun_name": "\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165\u8F93\u51FA(1)22222", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/c9e76b949ee847fbb89a926220526692/b80ff8d09a87bfde1064f5b73ae7c34b-hd.m3u8", "parent": 9111, "key": "91111" },
{ "shixun_name": "\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165\u8F93\u51FA(2)", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/65c02365a4ad40858b69b8cbe3ca4aa1/18a2c5697d4a84a971c500565509f038-hd.m3u8", "parent": "9111", "key": "91112" },
{ "shixun_name": "\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/hsvuixpm/challenges", "parent": "9111", "key": "91113" },
{ "stage_name": "\u5F02\u5E38\u5904\u7406", "parent": 0, "key": 12 },
{ "discipline_name": "\u5F02\u5E38\u5904\u7406", "shixun_count": "1", "video_count": "1", "parent": 12, "key": "121" },
{ "shixun_name": "\u5F02\u5E38\u5904\u7406", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/c95499dd4c064584914e32fca9563717/98a8be24326e3eb35375713f5ccbb8bb-hd.m3u8", "parent": "121", "key": "1211" },
{ "shixun_name": "\u7F16\u5199\u5F02\u5E38\u5904\u7406\u7684\u7C7B", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/nlt6f7ae/challenges", "parent": "121", "key": "1212" }
].map((item) => {
item.parent = Number(item.parent);
item.key = Number(item.key);
return item;
}),
review: [
{ "stage_name": "\u590D\u4E60\u5B66\u4E60", "parent": 9999999, "key": 0 },
{ "stage_name": "\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1", "parent": 0, "key": 1 },
{ "discipline_name": "\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F", "shixun_count": "1", "video_count": "1", "parent": 1, "key": "11" },
{ "shixun_name": "\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/f5f9c87860cb4a98ba86da37b5bfac70/8d50a9c4d5d4d3382c09bad3f4c5dcb6-hd.m3u8", "parent": "11", "key": "111" },
{ "shixun_name": "C++\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/lg5afhzv/challenges", "parent": "11", "key": "112" },
{ "discipline_name": "\u5FAA\u73AF", "shixun_count": "2", "video_count": "2", "parent": 1, "key": "12" },
{ "shixun_name": "while\u8BED\u53E5", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/dda06371a1594f5d865479a0fadc77bb/cb504e3af36ebe2ba979e8fe5fbb2222-hd.m3u8", "parent": "12", "key": "121" },
{ "shixun_name": "C++\u5FAA\u73AF\u7ED3\u6784\u2014\u2014\uFF08\u719F\u6089while\uFF09", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/8yhf4sn6/challenges", "parent": "12", "key": "122" },
{ "shixun_name": "for\u8BED\u53E5", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/503194c483f44ccfacc7f9ee14cda70a/36cbd964c6657d1bbc43eb33b98f0c51-hd.m3u8", "parent": "12", "key": "123" },
{ "shixun_name": "C++\u9009\u62E9\u7ED3\u6784\u2014\u2014\uFF08\u5DE7\u7528switch\uFF09", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/sm3c5a7v/challenges", "parent": "12", "key": "124" },
{ "stage_name": "\u51FD\u6570", "parent": 0, "key": 2 },
{ "discipline_name": "\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528", "shixun_count": "2", "video_count": "1", "parent": 2, "key": "21" },
{ "shixun_name": "\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/c10e39b3afb14ad0b890368aa1751821/ef361445294452e1d9bfacae80b3ec2f-hd.m3u8", "parent": "21", "key": "211" },
{ "shixun_name": "C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75281", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/3q4isevr/challenges", "parent": "21", "key": "212" },
{ "shixun_name": "C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75282", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/tlhxwo64/challenges", "parent": "21", "key": "213" },
{ "discipline_name": "\u4F20\u8F93\u4F20\u9012", "shixun_count": "2", "video_count": "1", "parent": 2, "key": "22" },
{ "shixun_name": "\u51FD\u6570\u7684\u53C2\u6570", "shixun_type": "\u89C6\u9891", "url": "https://www.educoder.net/video/7785?subject_id=jpl5vs26", "parent": "22", "key": "221" },
{ "shixun_name": "C++\u53C2\u6570\u4F20\u90121", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/2phrn8yk/challenges", "parent": "22", "key": "222" },
{ "shixun_name": "C++\u53C2\u6570\u4F20\u90122", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/xsq7p4a6/challenges", "parent": "22", "key": "223" },
{ "discipline_name": "\u9012\u5F52\u51FD\u6570", "shixun_count": "2", "video_count": "2", "parent": 2, "key": "23" },
{ "shixun_name": "\u51FD\u6570\u7684\u9012\u5F52\u8C03\u7528", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/51a0935ddc884f1b9f6c1395f2011425/7308cd65a7fe1d13eebe2600054d29c7-hd.m3u8", "parent": "23", "key": "231" },
{ "shixun_name": "\u9012\u5F52\u51FD\u6570\u7F16\u5199\u5165\u95E8", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/4qjw9t32/challenges", "parent": "23", "key": "232" },
{ "shixun_name": "\u9006\u5E8F\u8F93\u51FA\uFF08\u4F7F\u7528\u9012\u5F52\u89E3\u51B3\uFF09", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/oxtrf27l/challenges", "parent": "23", "key": "233" },
{ "stage_name": "\u7C7B\u548C\u5BF9\u8C61", "parent": 0, "key": 3 },
{ "discipline_name": "\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570", "shixun_count": "2", "video_count": "1", "parent": 3, "key": "31" },
{ "shixun_name": "\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/b4e17c1e8c8d449f862af9ea94fa9522/bad9e739addf73679a70e38a9d2cc32c-hd.m3u8", "parent": "31", "key": "311" },
{ "shixun_name": "\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/igwom4hs/challenges", "parent": "31", "key": "312" },
{ "shixun_name": "\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784\u4F53", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/5yo6rw3f/challenges", "parent": "31", "key": "313" },
{ "stage_name": "\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4", "parent": 0, "key": 4 },
{ "discipline_name": "\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4", "shixun_count": "1", "video_count": "1", "parent": 4, "key": "41" },
{ "shixun_name": "\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/fde33b24ff2b4bf5bc5e238dc473df8e/3cf407a74af29554226084d17fa17858-hd.m3u8", "parent": "41", "key": "411" },
{ "shixun_name": "C++\u7A0B\u5E8F\u7684\u7ED3\u6784", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/yqbh3fx5/challenges", "parent": "41", "key": "412" },
{ "stage_name": "\u6570\u7EC4\u3001\u6307\u9488\u4E0E\u5B57\u7B26\u4E32", "parent": 0, "key": 5 },
{ "discipline_name": "\u6570\u7EC4", "shixun_count": "1", "video_count": "1", "parent": 5, "key": "51" },
{ "shixun_name": "\u6570\u7EC4", "shixun_type": "\u89C6\u9891", "url": "https://www.educoder.net/video/7785?subject_id=jpl5vs26", "parent": "51", "key": "511" },
{ "shixun_name": "\u5E73\u5747\u6210\u7EE9\u4E0E\u7B80\u5355\u7EDF\u8BA1", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/4wcfgm5q/challenges", "parent": "51", "key": "512" },
{ "discipline_name": "\u6307\u9488", "shixun_count": "1", "video_count": "1", "parent": 5, "key": "52" },
{ "shixun_name": "\u6307\u9488", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/00a5448862c84c42b1a369ac2be88ae9/9b9627710a725e570ede478663c2589d-hd.m3u8", "parent": "52", "key": "521" },
{ "shixun_name": "\u7528\u6307\u9488\u89E3\u51B3\u95EE\u9898-\u6587\u672C\u683C\u5F0F\u5904\u7406", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/xfnp73fz/challenges", "parent": "52", "key": "522" },
{ "stage_name": "\u7C7B\u7684\u7EE7\u627F", "parent": 0, "key": 6 },
{ "discipline_name": "\u7C7B\u7684\u7EE7\u627F", "shixun_count": "0", "video_count": "2", "parent": 6, "key": "61" },
{ "shixun_name": "\u7C7B\u7684\u7EE7\u627F(1)", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/1eedcdb9ec43442c93780f04859c9aa9/631b8c88eb263877d24637d5b8d54dc5-hd.m3u8", "parent": "61", "key": "611" },
{ "shixun_name": "\u7C7B\u7684\u7EE7\u627F(2)", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/fc1e7d8d8140469ba1bc01ee64fcc3c1/9256d13f4a14ae17ba9cac9f895b8a9d-hd.m3u8", "parent": "61", "key": "612" },
{ "stage_name": "\u591A\u6001\u6027", "parent": 0, "key": 7 },
{ "discipline_name": "\u591A\u6001\u6027", "shixun_count": "1", "video_count": "2", "parent": 7, "key": "71" },
{ "shixun_name": "\u591A\u6001\u6027(1)", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/5a960b51ebf346d2b77afb3b70d00768/73d6fa00824f4c73b885d33f688c3294-hd.m3u8", "parent": "71", "key": "711" },
{ "shixun_name": "\u591A\u6001\u6027(2)", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/08fe97a36e184cf1bf27cdd7a24794c9/625c4e9e863840443f5332ccc02761fc-hd.m3u8", "parent": "71", "key": "712" },
{ "shixun_name": "\u865A\u51FD\u6570\u4E0E\u591A\u6001\u6027", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/9pjmg7uf/challenges", "parent": "71", "key": "713" },
{ "stage_name": "\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E", "parent": 0, "key": 8 },
{ "discipline_name": "\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E", "shixun_count": "1", "video_count": "1", "parent": 8, "key": "81" },
{ "shixun_name": "\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E(1)", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/8dcf418d2d16404d91af1780f669e549/eb538592d8a3b98e1c2f7f844f85b778-hd.m3u8", "parent": "81", "key": "811" },
{ "shixun_name": "\u7FA4\u4F53\u7C7B\u548C\u7FA4\u4F53\u6570\u636E\u7684\u7EC4\u7EC7", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/kfv3my9o/challenges", "parent": "81", "key": "812" },
{ "stage_name": "\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93", "parent": 0, "key": 9 },
{ "discipline_name": "\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93", "shixun_count": "1", "video_count": "1", "parent": 9, "key": "91" },
{ "shixun_name": "\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(1)", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/2f3154d695a542fbaba5c483d8d7f7a9/aea4302c51501634469ed4b91462c810-hd.m3u8", "parent": "91", "key": "911" },
{ "shixun_name": "\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/hmtw5iq6/challenges", "parent": "91", "key": "912" },
{ "stage_name": "\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA", "parent": 0, "key": 10 },
{ "discipline_name": "\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA", "shixun_count": "0", "video_count": "2", "parent": 10, "key": "101" },
{ "shixun_name": "\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165\u8F93\u51FA(1)", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/c9e76b949ee847fbb89a926220526692/b80ff8d09a87bfde1064f5b73ae7c34b-hd.m3u8", "parent": "101", "key": "1011" },
{ "shixun_name": "\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165\u8F93\u51FA(2)", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/65c02365a4ad40858b69b8cbe3ca4aa1/18a2c5697d4a84a971c500565509f038-hd.m3u8", "parent": "101", "key": "1012" },
{ "shixun_name": "\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/hsvuixpm/challenges", "parent": "101", "key": "1013" },
{ "stage_name": "\u5F02\u5E38\u5904\u7406", "parent": 0, "key": 9911 },
{ "discipline_name": "\u5F02\u5E38\u5904\u7406", "shixun_count": "1", "video_count": "1", "parent": 9911, "key": "99111" },
{ "shixun_name": "\u5F02\u5E38\u5904\u7406", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/c95499dd4c064584914e32fca9563717/98a8be24326e3eb35375713f5ccbb8bb-hd.m3u8", "parent": "99111", "key": "991111" },
{ "shixun_name": "\u7F16\u5199\u5F02\u5E38\u5904\u7406\u7684\u7C7B", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/nlt6f7ae/challenges", "parent": "99111", "key": "991112" }
].map((item) => {
item.parent = Number(item.parent);
item.key = Number(item.key);
return item;
}),
before: [
{ "stage_name": "\u8003\u524D\u5B66\u4E60", "parent": 9999999, "key": 0 },
{ "stage_name": "\u7EEA\u8BBA", "parent": 0, "key": 1 },
{ "discipline_name": "\u7EEA\u8BBA", "shixun_count": "1", "video_count": "2", "parent": 1, "key": "11" },
{ "shixun_name": "\u7EEA\u8BBA1", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/f066ae1a9a8f418f837e5bf8d02b2690/76df907c20efd95bea0fa23424f10693-hd.m3u8", "parent": "11", "key": "111" },
{ "shixun_name": "\u7EEA\u8BBA2", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/068ca7853da448c794eeffb0dee8bed4/5bb446a882043683e37474ff408f601b-hd.m3u8", "parent": "11", "key": "112" },
{ "shixun_name": "C++\u5F00\u53D1\u73AF\u5883\u5E94\u7528\u5165\u95E8", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/zxb937qn/challenges", "parent": "11", "key": "113" },
{ "stage_name": "\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1", "parent": 0, "key": 2 },
{ "discipline_name": "\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F", "shixun_count": "1", "video_count": "1", "parent": 2, "key": "21" },
{ "shixun_name": "\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/f5f9c87860cb4a98ba86da37b5bfac70/8d50a9c4d5d4d3382c09bad3f4c5dcb6-hd.m3u8", "parent": "21", "key": "211" },
{ "shixun_name": "C++\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/lg5afhzv/challenges", "parent": "21", "key": "212" },
{ "stage_name": "\u51FD\u6570", "parent": 0, "key": 3 },
{ "discipline_name": "\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528", "shixun_count": "2", "video_count": "1", "parent": 3, "key": "31" },
{ "shixun_name": "\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/c10e39b3afb14ad0b890368aa1751821/ef361445294452e1d9bfacae80b3ec2f-hd.m3u8", "parent": "31", "key": "311" },
{ "shixun_name": "C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75281", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/3q4isevr/challenges", "parent": "31", "key": "312" },
{ "shixun_name": "C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75282", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/tlhxwo64/challenges", "parent": "31", "key": "313" },
{ "discipline_name": "\u9012\u5F52\u51FD\u6570", "shixun_count": "2", "video_count": "1", "parent": 3, "key": "32" },
{ "shixun_name": "\u51FD\u6570\u7684\u9012\u5F52\u8C03\u7528", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/51a0935ddc884f1b9f6c1395f2011425/7308cd65a7fe1d13eebe2600054d29c7-hd.m3u8", "parent": "32", "key": "321" },
{ "shixun_name": "\u9012\u5F52\u51FD\u6570\u7F16\u5199\u5165\u95E8", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/4qjw9t32/challenges", "parent": "32", "key": "322" },
{ "shixun_name": "\u9006\u5E8F\u8F93\u51FA\uFF08\u4F7F\u7528\u9012\u5F52\u89E3\u51B3\uFF09", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/oxtrf27l/challenges", "parent": "32", "key": "323" },
{ "stage_name": "\u7C7B\u548C\u5BF9\u8C61", "parent": 0, "key": 4 },
{ "discipline_name": "\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570", "shixun_count": "2", "video_count": "1", "parent": 4, "key": "41" },
{ "shixun_name": "\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/b4e17c1e8c8d449f862af9ea94fa9522/bad9e739addf73679a70e38a9d2cc32c-hd.m3u8", "parent": "41", "key": "411" },
{ "shixun_name": "\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/igwom4hs/challenges", "parent": "41", "key": "412" },
{ "shixun_name": "\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784\u4F53", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/5yo6rw3f/challenges", "parent": "41", "key": "413" },
{ "stage_name": "\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4", "parent": 0, "key": 5 },
{ "discipline_name": "\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4", "shixun_count": "1", "video_count": "1", "parent": 5, "key": "51" },
{ "shixun_name": "\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/fde33b24ff2b4bf5bc5e238dc473df8e/3cf407a74af29554226084d17fa17858-hd.m3u8", "parent": "51", "key": "511" },
{ "shixun_name": "C++\u7A0B\u5E8F\u7684\u7ED3\u6784", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/yqbh3fx5/challenges", "parent": "51", "key": "512" },
{ "stage_name": "\u6570\u7EC4\u3001\u6307\u9488\u4E0E\u5B57\u7B26\u4E32", "parent": 0, "key": 6 },
{ "discipline_name": "\u6570\u7EC4", "shixun_count": "1", "video_count": "1", "parent": 6, "key": "61" },
{ "shixun_name": "\u6570\u7EC4", "shixun_type": "\u89C6\u9891", "url": "https://www.educoder.net/video/7785?subject_id=jpl5vs26", "parent": "61", "key": "611" },
{ "shixun_name": "\u5E73\u5747\u6210\u7EE9\u4E0E\u7B80\u5355\u7EDF\u8BA1", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/4wcfgm5q/challenges", "parent": "61", "key": "612" },
{ "stage_name": "\u7C7B\u7684\u7EE7\u627F", "parent": 0, "key": 7 },
{ "discipline_name": "\u7C7B\u7684\u7EE7\u627F", "shixun_count": "1", "video_count": "3", "parent": 7, "key": "71" },
{ "shixun_name": "\u7C7B\u7684\u7EE7\u627F(1)", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/1eedcdb9ec43442c93780f04859c9aa9/631b8c88eb263877d24637d5b8d54dc5-hd.m3u8", "parent": "71", "key": "711" },
{ "shixun_name": "\u7C7B\u7684\u7EE7\u627F(2)", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/fc1e7d8d8140469ba1bc01ee64fcc3c1/9256d13f4a14ae17ba9cac9f895b8a9d-hd.m3u8", "parent": "71", "key": "712" },
{ "shixun_name": "\u7C7B\u7684\u7EE7\u627F(3)", "shixun_type": "\u89C6\u9891", "url": "https://www.educoder.net/video/7806?subject_id=jpl5vs26", "parent": "71", "key": "713" },
{ "shixun_name": "\u7EE7\u627F\u4E0E\u6D3E\u751F", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/f83ipgyo/challenges", "parent": "71", "key": "714" },
{ "stage_name": "\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E", "parent": 0, "key": 8 },
{ "discipline_name": "\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E", "shixun_count": "0", "video_count": "1", "parent": 8, "key": "81" },
{ "shixun_name": "\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E(1)", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/8dcf418d2d16404d91af1780f669e549/eb538592d8a3b98e1c2f7f844f85b778-hd.m3u8", "parent": "81", "key": "811" },
{ "stage_name": "\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93", "parent": 0, "key": 9 },
{ "discipline_name": "\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93", "shixun_count": "0", "video_count": "1", "parent": 9, "key": "91" },
{ "shixun_name": "\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(1)", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/2f3154d695a542fbaba5c483d8d7f7a9/aea4302c51501634469ed4b91462c810-hd.m3u8", "parent": "91", "key": "911" },
{ "shixun_name": "\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(2)", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/23be6a61e4e54db398b9172b1213a1f2/3f1e88f97957369e29ef2bde63640004-hd.m3u8", "parent": "91", "key": "912" },
{ "stage_name": "\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA", "parent": 0, "key": 10 },
{ "discipline_name": "\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA", "shixun_count": "0", "video_count": "1", "parent": 10, "key": "101" },
{ "shixun_name": "\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165\u8F93\u51FA(1)", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/c9e76b949ee847fbb89a926220526692/b80ff8d09a87bfde1064f5b73ae7c34b-hd.m3u8", "parent": "101", "key": "1011" },
{ "stage_name": "\u5F02\u5E38\u5904\u7406", "parent": 0, "key": 9911 },
{ "discipline_name": "\u5F02\u5E38\u5904\u7406", "shixun_count": "1", "video_count": "1", "parent": 9911, "key": "99111" },
{ "shixun_name": "\u5F02\u5E38\u5904\u7406", "shixun_type": "\u89C6\u9891", "url": "https://video.educoder.net/c95499dd4c064584914e32fca9563717/98a8be24326e3eb35375713f5ccbb8bb-hd.m3u8", "parent": "99111", "key": "991111" },
{ "shixun_name": "\u7F16\u5199\u5F02\u5E38\u5904\u7406\u7684\u7C7B", "shixun_type": "\u5B9E\u8BAD", "url": "https://www.educoder.net/shixuns/nlt6f7ae/challenges", "parent": "99111", "key": "991112" }
].map((item) => {
item.parent = Number(item.parent);
item.key = Number(item.key);
return item;
})
};
// EXTERNAL MODULE: ./src/pages/Classrooms/Lists/components/TabMenu/index.tsx + 1 modules
var TabMenu = __webpack_require__(69634);
// EXTERNAL MODULE: ./src/components/Video/Play/index.jsx + 1 modules
var Play = __webpack_require__(97845);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/LearningPath/index.tsx
var __defProp = Object.defineProperty;
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __propIsEnum = Object.prototype.propertyIsEnumerable;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __spreadValues = (a, b) => {
for (var prop in b || (b = {}))
if (__hasOwnProp.call(b, prop))
__defNormalProp(a, prop, b[prop]);
if (__getOwnPropSymbols)
for (var prop of __getOwnPropSymbols(b)) {
if (__propIsEnum.call(b, prop))
__defNormalProp(a, prop, b[prop]);
}
return a;
};
const ShixunsListPage = ({
classroomList,
loading,
dispatch
}) => {
const [searchParams] = (0,_umi_production_exports.useSearchParams)();
const [params] = (0,_react_17_0_2_react.useState)(__spreadValues({}, (0,_umi_production_exports.useParams)()));
const [currentKey, setCurrentKey] = (0,_react_17_0_2_react.useState)("init");
const [videoUrl, setVideoUrl] = (0,_react_17_0_2_react.useState)("");
const iframeRef = (0,_react_17_0_2_react.useRef)();
(0,_react_17_0_2_react.useEffect)(() => {
const key = searchParams.get("tabId");
if (key) {
setCurrentKey(key);
params.status = key;
}
}, [params["categoryId"], searchParams.get("tabId")]);
const onMenuSelect = (v) => {
setCurrentKey(v.key);
};
const Menus = [
{ name: "\u521D\u59CB\u5B66\u4E60", id: "init" },
{ name: "\u590D\u4E60\u5B66\u4E60", id: "review" },
{ name: "\u8003\u524D\u5B66\u4E60", id: "before" }
];
const onMessage = (data) => {
if (data.data.type === "playVideo") {
setVideoUrl(data.data.url);
}
};
(0,_react_17_0_2_react.useEffect)(() => {
if (currentKey) {
sendData();
}
window.addEventListener("message", onMessage);
}, [currentKey]);
const sendData = () => {
var _a;
(_a = iframeRef.current.contentWindow) == null ? void 0 : _a.postMessage(
{
data: learningData[currentKey]
},
"*"
);
};
return /* @__PURE__ */ _react_17_0_2_react.createElement("section", null, /* @__PURE__ */ _react_17_0_2_react.createElement(
TabMenu/* default */.Z,
{
isLoading: loading["classroomList/getClassroomAttendancesList"],
tabDataSource: Menus,
isAdmin: (0,authority/* isAdmin */.GJ)(),
onTabMenuClick: onMenuSelect,
defaultSelectedKeys: [currentKey]
}
), /* @__PURE__ */ _react_17_0_2_react.createElement("section", null, /* @__PURE__ */ _react_17_0_2_react.createElement(
skeleton/* default */.Z,
{
loading: loading["classroomList/getClassroomAttendancesList"],
active: true,
avatar: { size: 40 },
paragraph: { rows: 5 },
className: "mt30"
},
/* @__PURE__ */ _react_17_0_2_react.createElement("iframe", { src: "/knowledgegraph/parseTree.html", onLoad: sendData, className: LearningPathmodules.iframe, ref: iframeRef })
)), /* @__PURE__ */ _react_17_0_2_react.createElement(
modal["default"],
{
open: !!videoUrl,
onCancel: () => setVideoUrl(""),
width: 800,
footer: null,
bodyStyle: { padding: 0 },
centered: true,
destroyOnClose: true
},
/* @__PURE__ */ _react_17_0_2_react.createElement(
Play/* default */.Z,
{
src: videoUrl,
autoPlay: true,
toLog: false
}
)
));
};
/* harmony default export */ var LearningPath = ((0,_umi_production_exports.connect)(
({
classroomList,
loading,
globalSetting
}) => ({
classroomList,
globalSetting,
loading: loading.effects
})
)(ShixunsListPage));
/***/ }),
/***/ 69634:
/*!*****************************************************************************!*\
!*** ./src/pages/Classrooms/Lists/components/TabMenu/index.tsx + 1 modules ***!
\*****************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ components_TabMenu; }
});
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/row/index.js
var row = __webpack_require__(95237);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/col/index.js
var col = __webpack_require__(43604);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/menu/index.js + 11 modules
var menu = __webpack_require__(20834);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules
var dropdown = __webpack_require__(38854);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/TabMenu/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var TabMenumodules = ({"tabMenuContainer":"tabMenuContainer___uf5IP","control":"control___GheLs","iconH":"iconH___Wzw_r","selectBtn":"selectBtn___mfEnI"});
// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 15 modules
var _umi_production_exports = __webpack_require__(67866);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/components/TabMenu/index.tsx
const TabMenu = ({
isLoading,
addText,
tabDataSource,
isAdmin,
dispatch,
type,
isExercise,
defaultSelectedKeys,
onTabMenuClick,
getDropdownMenu,
showControlButton,
buttonText,
buttonIcon = "icon-tianjiadaohang",
extraNode,
onButtonClick = () => {
}
}) => {
const params = (0,_umi_production_exports.useParams)();
return /* @__PURE__ */ _react_17_0_2_react.createElement("div", { className: TabMenumodules.tabMenuContainer }, /* @__PURE__ */ _react_17_0_2_react.createElement(row/* default */.Z, null, /* @__PURE__ */ _react_17_0_2_react.createElement(col/* default */.Z, { flex: "1" }, /* @__PURE__ */ _react_17_0_2_react.createElement(menu["default"], { onSelect: (v) => !isLoading ? onTabMenuClick(v) : {}, mode: "horizontal", selectedKeys: defaultSelectedKeys }, tabDataSource.map((item) => /* @__PURE__ */ _react_17_0_2_react.createElement(
menu["default"].Item,
{
key: typeof item.index === "number" ? item.index : item.id
},
/* @__PURE__ */ _react_17_0_2_react.createElement("span", { className: "c-grey-666" }, item.name),
item.total !== void 0 && isAdmin && /* @__PURE__ */ _react_17_0_2_react.createElement("span", { className: "c-grey-999 ml20" }, item.total || 0)
)))), isAdmin && /* @__PURE__ */ _react_17_0_2_react.createElement(col/* default */.Z, { className: "mr20 gutter-row", style: { display: "flex", alignItems: "center", color: "#0152d9", paddingBottom: 3 } }, isExercise && /* @__PURE__ */ _react_17_0_2_react.createElement(
dropdown/* default */.Z,
{
className: "mr15",
placement: "bottom",
arrow: true,
dropdownRender: () => /* @__PURE__ */ _react_17_0_2_react.createElement(menu["default"], null, /* @__PURE__ */ _react_17_0_2_react.createElement(
menu["default"].Item,
{
key: 1,
onClick: () => {
dispatch({
type: "classroomList/setActionTabs",
payload: {
key: "\u5BFC\u51FA\u6210\u7EE9",
type,
exportType: "exercise",
category_id: params.categoryId
}
});
}
},
"\u5B66\u751F\u6210\u7EE9"
), /* @__PURE__ */ _react_17_0_2_react.createElement(
menu["default"].Item,
{
key: 3,
onClick: () => {
_umi_production_exports.history.push(`/classrooms/${params == null ? void 0 : params.coursesId}/exportlist/exercise_score,export_exercise_users`);
}
},
"\u5386\u53F2\u5BFC\u51FA"
))
},
/* @__PURE__ */ _react_17_0_2_react.createElement(
"div",
{
className: "c-blue font16 ml20 current",
style: { marginTop: 2 }
},
/* @__PURE__ */ _react_17_0_2_react.createElement("span", { style: { color: "#666666", cursor: "pointer" } }, /* @__PURE__ */ _react_17_0_2_react.createElement("i", { className: "iconfont icon-xiazai6" }))
)
), /* @__PURE__ */ _react_17_0_2_react.createElement("div", { className: TabMenumodules.control }, /* @__PURE__ */ _react_17_0_2_react.createElement("div", { className: TabMenumodules.extra }, extraNode), showControlButton && /* @__PURE__ */ _react_17_0_2_react.createElement("span", { onClick: onButtonClick, style: { cursor: "pointer" }, className: TabMenumodules.selectBtn }, /* @__PURE__ */ _react_17_0_2_react.createElement("span", null, /* @__PURE__ */ _react_17_0_2_react.createElement("i", { className: `iconfont ${buttonIcon}` })), /* @__PURE__ */ _react_17_0_2_react.createElement("span", null, buttonText)), !!getDropdownMenu && /* @__PURE__ */ _react_17_0_2_react.createElement(dropdown/* default */.Z, { className: "ml10", dropdownRender: getDropdownMenu }, /* @__PURE__ */ _react_17_0_2_react.createElement("span", { className: TabMenumodules.selectBtn }, /* @__PURE__ */ _react_17_0_2_react.createElement("span", null, /* @__PURE__ */ _react_17_0_2_react.createElement("i", { className: "iconfont icon-tianjiadaohang" })), /* @__PURE__ */ _react_17_0_2_react.createElement("span", null, addText ? addText : "\u521B\u5EFA\u8BD5\u5377")))))));
};
/* harmony default export */ var components_TabMenu = (TabMenu);
/***/ })
}]);