|
|
|
|
@ -20010,7 +20010,7 @@ var knowledge_Atlas = function Atlas(_ref) {
|
|
|
|
|
})(knowledge_Atlas));
|
|
|
|
|
;// CONCATENATED MODULE: ./src/pages/Paths/Detail/components/LearnPath/index.less?modules
|
|
|
|
|
// extracted by mini-css-extract-plugin
|
|
|
|
|
/* harmony default export */ var LearnPathmodules = ({"Onerow":"Onerow___SgNuO","pathWrap":"pathWrap___jfkaP","errorStatus":"errorStatus___Isj1L","successStatus":"successStatus___zwDAO","nameWrap":"nameWrap___W6KAe","nameSty":"nameSty___ilLoy","iconSty":"iconSty___xRU86","iconSty2":"iconSty2___DEXqI","detailWrap":"detailWrap___pcT2p","itemWrap":"itemWrap___FQv9Y","titleWrap":"titleWrap___rGR33","lineSty":"lineSty___qKNvs","imgWrap":"imgWrap___APzGK","chatTitle":"chatTitle___PkEhe","addPathSty":"addPathSty___Yveqr"});
|
|
|
|
|
/* harmony default export */ var LearnPathmodules = ({"Onerow":"Onerow___SgNuO","stuPathWrap":"stuPathWrap___F1a49","lookDetail":"lookDetail___nF4gB","pathWrap":"pathWrap___jfkaP","errorStatus":"errorStatus___Isj1L","successStatus":"successStatus___zwDAO","nameWrap":"nameWrap___W6KAe","nameSty":"nameSty___ilLoy","iconSty":"iconSty___xRU86","iconSty2":"iconSty2___DEXqI","detailWrap":"detailWrap___pcT2p","itemWrap":"itemWrap___FQv9Y","titleWrap":"titleWrap___rGR33","lineSty":"lineSty___qKNvs","imgWrap":"imgWrap___APzGK","chatTitle":"chatTitle___PkEhe","addPathSty":"addPathSty___Yveqr"});
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/index.js + 6 modules
|
|
|
|
|
var breadcrumb = __webpack_require__(66104);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/CloseCircleFilled.js + 1 modules
|
|
|
|
|
@ -20019,7 +20019,7 @@ var CloseCircleFilled = __webpack_require__(58670);
|
|
|
|
|
var UploadOutlined = __webpack_require__(85574);
|
|
|
|
|
;// CONCATENATED MODULE: ./src/pages/Paths/Detail/components/LearnPath/AddLearnPath/index.less?modules
|
|
|
|
|
// extracted by mini-css-extract-plugin
|
|
|
|
|
/* harmony default export */ var AddLearnPathmodules = ({"bg":"bg___Ztswj","Onerow":"Onerow___JLpkn","title":"title___EKsBk","fieldWrap":"fieldWrap___heRkc","footer_style":"footer_style___ZjLRN","submit_button":"submit_button___EqHE6","close_button":"close_button___NLCMc","addFormSty":"addFormSty___B7Zyk","stageWrap":"stageWrap___ppiKv","treeTitle":"treeTitle___Js9NW","treeBox":"treeBox___wXg6k","header":"header___nTNPI","treeBody":"treeBody____zqKn","stageBox":"stageBox___yIMj4","titleBox":"titleBox___a0_BL","stageTitle":"stageTitle___v9YK2","iconWrap":"iconWrap___fvrfq","icon1Hover":"icon1Hover___Kb2We","icon2Hover":"icon2Hover___hKFyA","subStageBox":"subStageBox___NP4zL","classSty":"classSty___vrAtI","moFormSty":"moFormSty___feZKW","img":"img___DzBG7","shixunWrap":"shixunWrap___JxJi1","shixunSty":"shixunSty___WLill","iconSty":"iconSty___o0Vw3","editIcon":"editIcon___EEot7","delIcon":"delIcon___BPa3O","imgWrap":"imgWrap___SxQAz","textWrap":"textWrap___Mw0Rr","classModalSty":"classModalSty___U3uTf"});
|
|
|
|
|
/* harmony default export */ var AddLearnPathmodules = ({"bg":"bg___Ztswj","Onerow":"Onerow___JLpkn","title":"title___EKsBk","fieldWrap":"fieldWrap___heRkc","footer_style":"footer_style___ZjLRN","submit_button":"submit_button___EqHE6","close_button":"close_button___NLCMc","addFormSty":"addFormSty___B7Zyk","modeWrap":"modeWrap___P92Gb","addClassSty":"addClassSty___uDTWf","proSty":"proSty___hz59Q","stageWrap":"stageWrap___ppiKv","treeTitle":"treeTitle___Js9NW","treeBox":"treeBox___wXg6k","header":"header___nTNPI","treeBody":"treeBody____zqKn","stageBox":"stageBox___yIMj4","titleBox":"titleBox___a0_BL","stageTitle":"stageTitle___v9YK2","iconWrap":"iconWrap___fvrfq","icon1Hover":"icon1Hover___Kb2We","icon2Hover":"icon2Hover___hKFyA","subStageBox":"subStageBox___NP4zL","classSty":"classSty___vrAtI","moFormSty":"moFormSty___feZKW","img":"img___DzBG7","shixunWrap":"shixunWrap___JxJi1","shixunSty":"shixunSty___WLill","iconSty":"iconSty___o0Vw3","editIcon":"editIcon___EEot7","delIcon":"delIcon___BPa3O","imgWrap":"imgWrap___SxQAz","textWrap":"textWrap___Mw0Rr","classModalSty":"classModalSty___U3uTf"});
|
|
|
|
|
;// CONCATENATED MODULE: ./src/pages/Paths/Detail/components/LearnPath/AddLearnPath/index.tsx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -20875,6 +20875,7 @@ var NewLearnPathPage = function NewLearnPathPage(_ref) {
|
|
|
|
|
placeholder: "\u8BF7\u8F93\u5165\u8DEF\u5F84\u540D\u79F0"
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: AddLearnPathmodules.modeWrap,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
|
|
|
name: "mode",
|
|
|
|
|
label: "\u7EC4\u7EC7\u65B9\u5F0F",
|
|
|
|
|
@ -21027,7 +21028,9 @@ var NewLearnPathPage = function NewLearnPathPage(_ref) {
|
|
|
|
|
alt: "avatar",
|
|
|
|
|
style: {
|
|
|
|
|
width: '100%',
|
|
|
|
|
height: '100%'
|
|
|
|
|
height: '100%',
|
|
|
|
|
borderTopLeftRadius: '4px',
|
|
|
|
|
borderTopRightRadius: '4px'
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
@ -21038,6 +21041,7 @@ var NewLearnPathPage = function NewLearnPathPage(_ref) {
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: checkedClassLabel.length > 0 ? AddLearnPathmodules.addClassSty : '',
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
|
|
|
name: "course_group_ids",
|
|
|
|
|
label: "\u5173\u8054\u73ED\u7EA7",
|
|
|
|
|
@ -21075,7 +21079,7 @@ var NewLearnPathPage = function NewLearnPathPage(_ref) {
|
|
|
|
|
style: {
|
|
|
|
|
marginTop: '15px',
|
|
|
|
|
marginLeft: '82px',
|
|
|
|
|
marginBottom: '20px',
|
|
|
|
|
marginBottom: '30px',
|
|
|
|
|
display: 'flex',
|
|
|
|
|
alignItems: 'center',
|
|
|
|
|
flexFlow: 'wrap',
|
|
|
|
|
@ -21448,6 +21452,7 @@ var NewLearnPathPage = function NewLearnPathPage(_ref) {
|
|
|
|
|
}],
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
|
|
|
|
|
maxLength: 60,
|
|
|
|
|
size: "large",
|
|
|
|
|
suffix: "".concat(((_formValue2$name = formValue2.name) === null || _formValue2$name === void 0 ? void 0 : _formValue2$name.length) || 0, "/60"),
|
|
|
|
|
placeholder: "\u8BF7\u8F93\u5165\u6A21\u5757\u540D\u79F0"
|
|
|
|
|
})
|
|
|
|
|
@ -21459,6 +21464,7 @@ var NewLearnPathPage = function NewLearnPathPage(_ref) {
|
|
|
|
|
message: '请选择类型'
|
|
|
|
|
}],
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
|
|
|
|
|
size: "large",
|
|
|
|
|
options: [{
|
|
|
|
|
value: 1,
|
|
|
|
|
label: '章节模块'
|
|
|
|
|
@ -21478,7 +21484,8 @@ var NewLearnPathPage = function NewLearnPathPage(_ref) {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
display: 'flex',
|
|
|
|
|
alignItems: 'center'
|
|
|
|
|
alignItems: 'center',
|
|
|
|
|
marginBottom: '15px'
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(upload/* default */.Z, {
|
|
|
|
|
withCredentials: true,
|
|
|
|
|
@ -21503,6 +21510,7 @@ var NewLearnPathPage = function NewLearnPathPage(_ref) {
|
|
|
|
|
}), attachment_id_b && renderImg_s()]
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: AddLearnPathmodules.proSty,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
|
|
|
name: "relation_pro",
|
|
|
|
|
label: formValue2.mode_type === 1 ? '关联章节' : '关联项目',
|
|
|
|
|
@ -21549,7 +21557,8 @@ var NewLearnPathPage = function NewLearnPathPage(_ref) {
|
|
|
|
|
display: 'flex',
|
|
|
|
|
alignItems: 'center',
|
|
|
|
|
justifyContent: 'space-between',
|
|
|
|
|
marginBottom: '10px'
|
|
|
|
|
marginBottom: '10px',
|
|
|
|
|
marginLeft: '82px'
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
@ -21863,9 +21872,15 @@ var LearnPath = function LearnPath(_ref) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
|
|
|
|
|
spinning: isLoading,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
children: [pathData.length > 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
children: [pathData.length > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: "mt10",
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
children: [(0,authority/* isStudents */.Yh)() && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: "mt20 mb20 font14",
|
|
|
|
|
style: {
|
|
|
|
|
color: '#5F6368'
|
|
|
|
|
},
|
|
|
|
|
children: "\u9009\u62E9\u4E00\u4E2A\u9002\u5408\u81EA\u5DF1\u7684\u5B66\u4E60\u8DEF\u5F84\u8FDB\u884C\u8BFE\u7A0B\u5B66\u4E60\uFF0C\u6548\u7387\u66F4\u9AD8\u54E6~"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
display: 'flex',
|
|
|
|
|
flexDirection: 'column',
|
|
|
|
|
@ -21873,7 +21888,7 @@ var LearnPath = function LearnPath(_ref) {
|
|
|
|
|
},
|
|
|
|
|
children: [pathData.map(function (item, index) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: "".concat(LearnPathmodules.pathWrap, " mb20"),
|
|
|
|
|
className: (0,authority/* isStudents */.Yh)() ? "".concat(LearnPathmodules.pathWrap, " mb20 ").concat(LearnPathmodules.stuPathWrap) : "".concat(LearnPathmodules.pathWrap, " mb20"),
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: LearnPathmodules.nameWrap,
|
|
|
|
|
children: [!(0,authority/* isStudents */.Yh)() && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
@ -21881,6 +21896,7 @@ var LearnPath = function LearnPath(_ref) {
|
|
|
|
|
children: item.status == 1 ? '已发布' : '未发布'
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: LearnPathmodules.nameSty,
|
|
|
|
|
title: item.name,
|
|
|
|
|
children: item.name
|
|
|
|
|
})]
|
|
|
|
|
}), !(0,authority/* isStudents */.Yh)() && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
@ -21904,6 +21920,7 @@ var LearnPath = function LearnPath(_ref) {
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
}), (0,authority/* isStudents */.Yh)() && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: LearnPathmodules.lookDetail,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, {
|
|
|
|
|
className: "ml10",
|
|
|
|
|
type: "primary",
|
|
|
|
|
@ -21951,7 +21968,7 @@ var LearnPath = function LearnPath(_ref) {
|
|
|
|
|
})]
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
}) : /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
display: 'flex',
|
|
|
|
|
@ -22023,7 +22040,7 @@ var LearnPath = function LearnPath(_ref) {
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: LearnPathmodules.detailWrap,
|
|
|
|
|
children: learnModes === null || learnModes === void 0 || (_learnModes$subject_l = learnModes.subject_learning_modes) === null || _learnModes$subject_l === void 0 ? void 0 : _learnModes$subject_l.map(function (item, index) {
|
|
|
|
|
var _item$shixuns, _item$shixuns2;
|
|
|
|
|
var _item$shixuns;
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: LearnPathmodules.itemWrap,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
@ -22053,7 +22070,8 @@ var LearnPath = function LearnPath(_ref) {
|
|
|
|
|
alt: "avatar",
|
|
|
|
|
style: {
|
|
|
|
|
width: '100%',
|
|
|
|
|
height: '100%'
|
|
|
|
|
height: '100%',
|
|
|
|
|
borderRadius: '4px'
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}), (item === null || item === void 0 ? void 0 : item.mode_type) === 2 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
@ -22061,7 +22079,7 @@ var LearnPath = function LearnPath(_ref) {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: LearnPathmodules.chatTitle,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
|
|
|
|
className: "iconfont icon-lianjie3 mr5 font14",
|
|
|
|
|
className: "iconfont icon-lianjie mr5 font14",
|
|
|
|
|
style: {
|
|
|
|
|
color: '#5F6368'
|
|
|
|
|
}
|
|
|
|
|
@ -22093,7 +22111,7 @@ var LearnPath = function LearnPath(_ref) {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: LearnPathmodules.chatTitle,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
|
|
|
|
className: "iconfont icon-lianjie3 mr5 font14"
|
|
|
|
|
className: "iconfont icon-lianjie mr5 font14"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
fontWeight: 500,
|
|
|
|
|
@ -22103,19 +22121,15 @@ var LearnPath = function LearnPath(_ref) {
|
|
|
|
|
children: "\u5173\u8054\u7AE0\u8282"
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
children: item === null || item === void 0 || (_item$shixuns2 = item.shixuns) === null || _item$shixuns2 === void 0 ? void 0 : _item$shixuns2.map(function (item, index) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(tree/* default */.Z, {
|
|
|
|
|
style: {
|
|
|
|
|
color: '#333'
|
|
|
|
|
},
|
|
|
|
|
checkable: false,
|
|
|
|
|
selectable: false,
|
|
|
|
|
defaultExpandAll: true,
|
|
|
|
|
treeData: transformData(item === null || item === void 0 ? void 0 : item.subject_learning_assocs),
|
|
|
|
|
blockNode: true
|
|
|
|
|
})
|
|
|
|
|
}, index);
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(tree/* default */.Z, {
|
|
|
|
|
style: {
|
|
|
|
|
color: '#333'
|
|
|
|
|
},
|
|
|
|
|
checkable: false,
|
|
|
|
|
selectable: false,
|
|
|
|
|
defaultExpandAll: true,
|
|
|
|
|
treeData: transformData(item === null || item === void 0 ? void 0 : item.subject_learning_assocs),
|
|
|
|
|
blockNode: true
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
})]
|