|
|
|
|
@ -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","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"});
|
|
|
|
|
/* 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"});
|
|
|
|
|
// 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","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"});
|
|
|
|
|
/* 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"});
|
|
|
|
|
;// CONCATENATED MODULE: ./src/pages/Paths/Detail/components/LearnPath/AddLearnPath/index.tsx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -20856,6 +20856,7 @@ var NewLearnPathPage = function NewLearnPathPage(_ref) {
|
|
|
|
|
mode: 1,
|
|
|
|
|
status: 1
|
|
|
|
|
},
|
|
|
|
|
className: AddLearnPathmodules.addFormSty,
|
|
|
|
|
onFinish: handleFinish,
|
|
|
|
|
onValuesChange: function onValuesChange() {
|
|
|
|
|
setFormValue(objectSpread2_default()({}, form.getFieldsValue()));
|
|
|
|
|
@ -20869,6 +20870,7 @@ var NewLearnPathPage = function NewLearnPathPage(_ref) {
|
|
|
|
|
}],
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
|
|
|
|
|
maxLength: 60,
|
|
|
|
|
size: "large",
|
|
|
|
|
suffix: "".concat(((_formValue$name = formValue.name) === null || _formValue$name === void 0 ? void 0 : _formValue$name.length) || 0, "/60"),
|
|
|
|
|
placeholder: "\u8BF7\u8F93\u5165\u8DEF\u5F84\u540D\u79F0"
|
|
|
|
|
})
|
|
|
|
|
@ -20892,8 +20894,8 @@ var NewLearnPathPage = function NewLearnPathPage(_ref) {
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomButton */.op, {
|
|
|
|
|
shape: "default",
|
|
|
|
|
style: {
|
|
|
|
|
marginLeft: '80px',
|
|
|
|
|
marginBottom: '15px'
|
|
|
|
|
marginLeft: '82px',
|
|
|
|
|
marginBottom: checkedNodes.length || shixunModeList.length ? '15px' : '30px'
|
|
|
|
|
},
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
if (formValue.mode === 1) {
|
|
|
|
|
@ -21072,8 +21074,8 @@ var NewLearnPathPage = function NewLearnPathPage(_ref) {
|
|
|
|
|
}), checkedClassLabel.length > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
marginTop: '15px',
|
|
|
|
|
marginLeft: '80px',
|
|
|
|
|
marginBottom: '24px',
|
|
|
|
|
marginLeft: '82px',
|
|
|
|
|
marginBottom: '20px',
|
|
|
|
|
display: 'flex',
|
|
|
|
|
alignItems: 'center',
|
|
|
|
|
flexFlow: 'wrap',
|
|
|
|
|
@ -21088,7 +21090,6 @@ var NewLearnPathPage = function NewLearnPathPage(_ref) {
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
|
|
|
|
className: "iconfont icon-guanbi5 ml10 current",
|
|
|
|
|
style: {
|
|
|
|
|
color: '#979797',
|
|
|
|
|
fontSize: '10px'
|
|
|
|
|
},
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
@ -21303,7 +21304,23 @@ var NewLearnPathPage = function NewLearnPathPage(_ref) {
|
|
|
|
|
setCheckClassAll(false);
|
|
|
|
|
setIndeterminate(false);
|
|
|
|
|
},
|
|
|
|
|
title: "\u9009\u62E9\u73ED\u7EA7\uFF08\u53EF\u591A\u9009\uFF09",
|
|
|
|
|
title: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
color: '#000'
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
fontWeight: 500,
|
|
|
|
|
fontSize: '16px'
|
|
|
|
|
},
|
|
|
|
|
children: "\u9009\u62E9\u73ED\u7EA7"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
fontSize: '14px'
|
|
|
|
|
},
|
|
|
|
|
children: "\uFF08\u53EF\u591A\u9009\uFF09"
|
|
|
|
|
})]
|
|
|
|
|
}),
|
|
|
|
|
open: classVis,
|
|
|
|
|
onOk: function onOk() {
|
|
|
|
|
var tempLable = [];
|
|
|
|
|
@ -21321,7 +21338,11 @@ var NewLearnPathPage = function NewLearnPathPage(_ref) {
|
|
|
|
|
setClassVis(false);
|
|
|
|
|
},
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: AddLearnPathmodules.classModalSty,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
|
|
|
|
|
style: {
|
|
|
|
|
marginBottom: '10px'
|
|
|
|
|
},
|
|
|
|
|
indeterminate: indeterminate,
|
|
|
|
|
onChange: function onChange(e) {
|
|
|
|
|
setCheckedClassValue(e.target.checked ? classOption.map(function (item) {
|
|
|
|
|
@ -21358,8 +21379,11 @@ var NewLearnPathPage = function NewLearnPathPage(_ref) {
|
|
|
|
|
setSelectShixunRowKeys([]);
|
|
|
|
|
setSelectShixunRows([]);
|
|
|
|
|
setImageUrls('');
|
|
|
|
|
setFormValue2({
|
|
|
|
|
mode_type: 1
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
title: "\u6DFB\u52A0\u5B66\u4E60\u6A21\u5757",
|
|
|
|
|
title: currEditIndex === -1 || currShixunIndex === -1 ? "添加学习模块" : '编辑学习模块',
|
|
|
|
|
open: modeVis,
|
|
|
|
|
onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7() {
|
|
|
|
|
var _formValue2$relation_, _formValue2$relation_2, _formValue2$relation_3, a;
|
|
|
|
|
@ -21518,9 +21542,6 @@ var NewLearnPathPage = function NewLearnPathPage(_ref) {
|
|
|
|
|
children: formValue2.mode_type === 1 ? '选择章节' : '选择项目'
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
marginLeft: '82px'
|
|
|
|
|
},
|
|
|
|
|
children: [formValue2.mode_type === 2 && !relateVis && (selectShixunRows === null || selectShixunRows === void 0 ? void 0 : selectShixunRows.length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
children: selectShixunRows.map(function (item) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
@ -21854,10 +21875,11 @@ var LearnPath = function LearnPath(_ref) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: "".concat(LearnPathmodules.pathWrap, " mb20"),
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
children: [!(0,authority/* isStudents */.Yh)() && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: LearnPathmodules.nameWrap,
|
|
|
|
|
children: [!(0,authority/* isStudents */.Yh)() && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: (item === null || item === void 0 ? void 0 : item.status) == 1 ? LearnPathmodules.successStatus : LearnPathmodules.errorStatus,
|
|
|
|
|
children: item.status == 1 ? '已发布' : '未发布'
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: LearnPathmodules.nameSty,
|
|
|
|
|
children: item.name
|
|
|
|
|
})]
|
|
|
|
|
@ -21912,15 +21934,22 @@ var LearnPath = function LearnPath(_ref) {
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
}, index);
|
|
|
|
|
}), !(0,authority/* isStudents */.Yh)() && /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomButton */.op, {
|
|
|
|
|
style: {
|
|
|
|
|
margin: '0 auto'
|
|
|
|
|
},
|
|
|
|
|
}), !(0,authority/* isStudents */.Yh)() && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: LearnPathmodules.addPathSty,
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
setLearnPathId(undefined);
|
|
|
|
|
setCreatePathVis(true);
|
|
|
|
|
},
|
|
|
|
|
children: "\u65B0\u5EFA\u5B66\u4E60\u8DEF\u5F84"
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
|
|
|
|
className: "iconfont icon-xiaojiahao font14",
|
|
|
|
|
style: {
|
|
|
|
|
marginRight: '14px'
|
|
|
|
|
}
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
children: "\u65B0\u5EFA\u5B66\u4E60\u8DEF\u5F84"
|
|
|
|
|
})]
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
})
|
|
|
|
|
}) : /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
@ -21931,7 +21960,7 @@ var LearnPath = function LearnPath(_ref) {
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {
|
|
|
|
|
styles: {
|
|
|
|
|
marginBottom: '25px'
|
|
|
|
|
marginBottom: '0px'
|
|
|
|
|
}
|
|
|
|
|
}), !(0,authority/* isStudents */.Yh)() && /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomButton */.op, {
|
|
|
|
|
style: {
|