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__BookPlan__Index__index.a...

1 line
19 KiB

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[2030],{68738:function(e,n,t){var a=t(7557),l=t.n(a),i=t(41498),s=t.n(i),o=t(79800),r=t.n(o),c=t(59301),u=t(13032),d=t(43418),m=t(8591),_=t(58181),p=t(96193),f=t(37712);n.Z=(0,u.connect)((function(e){return{user:e.user,classroomList:e.classroomList}}))((function(e){e.user;var n,t=e.dispatch,a=e.classroomList,i=e.getData,o=(0,c.useState)(!1),u=r()(o,2),v=u[0],x=u[1],h=(0,c.useState)(""),b=r()(h,2),g=b[0],j=b[1],y=function(){t({type:"classroomList/setActionTabs",payload:{}})},Z={"教材规划":"core_material_description","主审专家":"judge","教材推荐":"textbook","师资培训":"core_teacher","课堂听课":"listening","教学论文":"paper"};return(0,f.jsx)(d.Z,{title:"规划说明",width:900,destroyOnClose:!0,maskClosable:!1,keyboard:!1,confirmLoading:v,open:"规划说明"===a.actionTabs.key,onCancel:y,onOk:s()(l()().mark((function e(){var n;return l()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(g){e.next=2;break}return e.abrupt("return",m.ZP.warning("请输入规划说明"));case 2:return x(!0),e.next=5,(0,_.ZP)("/api/core_materials/set_description.json",{method:"post",body:{name:Z[a.actionTabs.params.name],content:g}});case 5:0==(null==(n=e.sent)?void 0:n.status)&&(m.ZP.success("保存成功"),y(),i()),x(!1);case 8:case"end":return e.stop()}}),e)}))),children:(0,f.jsx)(p.Z,{defaultvalue:null===(n=a.actionTabs.params)||void 0===n?void 0:n.content,onChange:function(e){j(e)}})})}))},96193:function(e,n,t){t.d(n,{Z:function(){return x}});var a=t(82242),l=t.n(a),i=t(7557),s=t.n(i),o=t(41498),r=t.n(o),c=t(79800),u=t.n(c),d=t(59301),m=t(84686),_=t(58181),p=t(13032),f=(t(93472),{editor_css:"editor_css___cm3Z8"}),v=t(37712),x=(0,p.connect)((function(e){return{user:e.user}}))((function(e){var n=e.defaultvalue,t=e.onChange,a=e.style,i=e.user,o=e.placeholder,c=2097152,p=(0,d.useRef)(null),x=(0,d.useState)(null),h=u()(x,2),b=h[0],g=h[1],j=(0,d.useState)(""),y=u()(j,2),Z=y[0],k=y[1];(0,d.useEffect)((function(){k(n)}),[n]),(0,d.useEffect)((function(){t(Z)}),[Z]);var w={placeholder:o||"请输入内容...",MENU_CONF:{}};w.MENU_CONF.uploadImage={customUpload:function(e,n){return r()(s()().mark((function t(){var a,l;return s()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(a=new FormData).append("file",e),t.next=4,(0,_.ZP)("/api/attachments.json",{method:"post",body:a},!0);case 4:l=t.sent,n(null==l?void 0:l.url,"","");case 6:case"end":return t.stop()}}),t)})))()}},w.MENU_CONF.uploadVideo={customUpload:function(e,n){return r()(s()().mark((function t(){var a,l,o,r,u,d,m,f,v,x,h,b,g,j;return s()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.size,l=Math.ceil(a/c),t.prev=2,t.next=5,(0,_.ZP)("/api/attachments/multipart_upload_start",{method:"POST",body:{fileName:e.name,chunkCount:l,user_id:null==i||null===(o=i.userInfo)||void 0===o?void 0:o.user_id}});case 5:if(0===(null==(u=t.sent)?void 0:u.status)){t.next=8;break}throw new Error;case 8:d=u.upload_id,p.current=new AbortController,m=[],0,f=s()().mark((function n(){var t,l,i,o;return s()().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t=v*c,l=Math.min(t+c,a),i=e.slice(t,l),(o=new FormData).append("chunk",i),o.append("fileName",e.name),o.append("chunkIndex",(v+1).toString()),o.append("uploadId",d),m.push((function(){return(0,_.ZP)("/api/attachments/multipart_upload",{method:"POST",body:o,signal:p.current.signal},!0).then((function(e){}))}));case 9:case"end":return n.stop()}}),n)})),v=0;case 14:if(!(v<l)){t.next=19;break}return t.delegateYield(f(),"t0",16);case 16:v++,t.next=14;break;case 19:x=0,h=4,console.log(m,"promises");case 22:if(!(x<m.length)){t.next=31;break}if(!((g=null===(b=m.slice(x,x+h))||void 0===b?void 0:b.map((function(e){return e()}))).length>0)){t.next=29;break}return t.next=27,Promise.all(g);case 27:t.sent,x+=h;case 29:t.next=22;break;case 31:return t.next=33,(0,_.ZP)("/api/attachments/multipart_upload_end",{method:"POST",body:{fileName:e.name,chunkCount:l,uploadId:d,user_id:null==i||null===(r=i.userInfo)||void 0===r?void 0:r.user_id}});case 33:j=t.sent,n(null==j?void 0:j.object,""),t.next=39;break;case 37:t.prev=37,t.t1=t.catch(2);case 39:case"end":return t.stop()}}),t,null,[[2,37]])})))()}};return(0,d.useEffect)((function(){return function(){null!=b&&(b.destroy(),g(null))}}),[b]),(0,v.jsx)(v.Fragment,{children:(0,v.jsxs)("div",{className:null==f?void 0:f.editor_css,style:{border:"1px solid #ccc",zIndex:100},children:[(0,v.jsx)(m.o,{editor:b,defaultConfig:{},mode:"default",style:{borderBottom:"1px solid #ccc"}}),(0,v.jsx)(m.M,{defaultConfig:w,value:Z,onCreated:g,onChange:function(e){var n;!function(e){return""==e||new RegExp("^[ ]+$").test(e)}((n=e.getHtml(),n.replace(/<[^<p>]+>/g,"").replace(/<[</p>$]+>/g,"").replace(/&nbsp;/gi,"").replace(/<[^<br/>]+>/g,"")))?k(e.getHtml()):k("")},mode:"default",style:l()({height:"500px",overflowY:"hidden"},a)})]})})}))},54199:function(e,n,t){t.r(n),t.d(n,{default:function(){return le}});var a=t(37205),l=t.n(a),i=t(82242),s=t.n(i),o=t(7557),r=t.n(o),c=t(41498),u=t.n(c),d=t(79800),m=t.n(d),_=t(59301),p=t(13032),f=t(8591),v=t(61621),x=t(43418),h=t(6848),b="BannerStyle___aL9ER",g="BannerStyleContent___T4lYo",j="DivDownPlay___FnIc2",y="CustomInputStyle___kxJUd",Z="paramsStyle___J1ohe",k="type___I5GvG",w="type_item_active___ypljD",C="type_item___BN1Rc",N="contentTitle___ItwKM",S="contentList___Jimzg",P="list___fftB_",I="imgContent___mNKhf",L="pictrue___vHnb9",E="updateContent___kXbLn",F="iconUpdate___o2EFl",T="deleteContent___uPwYK",V="iconDetele___z9pM6",M="title___WHvT9",O="publisher___j3UtF",R="contentBox___FlRWD",U=t(72226),B=t(17631),z=t(58181),q=t(78241),A=t(88522),D=t(10249),Y=t(5083),H=t(54580),G=t(61186),W=t.n(G),J={flex_box_center:"flex_box_center___qqWqs",flex_space_between:"flex_space_between___CVG8x",flex_box_vertical_center:"flex_box_vertical_center___vkccE",flex_box_center_end:"flex_box_center_end___f9Kvd",flex_box_column:"flex_box_column___wYzPi",form:"form___A3jJx",btn:"btn___fHAub",img:"img___iBUlt",myModal:"myModal___x_S_1"},K=t(76895),Q=t(19248),$=t(46906),X=t(37712),ee=(0,p.connect)((function(e){return{dispatch:e.dispatch,coreCurriculum:e.coreCurriculum}}))((function(e){var n,t=e.visible,a=e.onOk,l=e.onCancel,i=e.title,o=void 0===i?"":i,c=e.coreCurriculum,d=(e.dispatch,c.CoreSubjects,q.Z.useForm()),p=m()(d,1)[0],v=(0,_.useState)(!1),h=m()(v,2),b=h[0],g=h[1],j=(0,_.useState)([]),y=m()(j,2),Z=y[0],k=y[1],w=(0,_.useState)(!1),C=m()(w,2),N=C[0],S=C[1],P=(0,_.useState)([]),I=m()(P,2),L=I[0],E=I[1],F=(0,_.useState)([]),T=m()(F,2),V=T[0],M=T[1];(0,_.useEffect)((function(){if(t&&R(),null!=t&&t.id){var e,n;p.setFieldsValue(s()(s()({},t),{},{attachment_id:null==t||null===(e=t.attachment)||void 0===e?void 0:e.id,publication_time:null!=t&&t.publication_time?W()(null==t?void 0:t.publication_time):""}));var a=[s()(s()({},null==t?void 0:t.attachment),{},{response:{id:null==t||null===(n=t.attachment)||void 0===n?void 0:n.id}})];k(a)}}),[t]);var O,R=function(){var e=u()(r()().mark((function e(){var n,t,a,l;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.ZP)("/api/core_materials/material_type_name_list.json",{method:"get",params:{has_default_type:1}});case 2:return 0==(null==(n=e.sent)?void 0:n.status)&&M(null==n||null===(t=n.data)||void 0===t?void 0:t.list),e.next=6,(0,z.ZP)("/api/core_materials/core_subject_name_list.json",{method:"get",params:{has_core_subject:1,book_type:1}});case 6:0==(null==(a=e.sent)?void 0:a.status)&&E(null==a||null===(l=a.data)||void 0===l?void 0:l.list);case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),U=function(){var e=u()(r()().mark((function e(n){var t,l;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:g(!0),l=s()(s()({},n),{},{attachment_id:(null==Z||null===(t=Z[0])||void 0===t||null===(t=t.response)||void 0===t?void 0:t.id)||""}),a(l);case 3:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();return(0,X.jsx)(x.Z,{className:J.myModal,title:"".concat(null!=t&&t.id?"编辑":"新建").concat(o),open:t,onOk:function(){p.submit()},centered:!0,onCancel:function(){l()},confirmLoading:b,okButtonProps:{disabled:N},width:686,afterClose:function(){g(!1),k([]),p.resetFields()},okText:"确认",cancelText:"取消",wrapClassName:K.Z.CustomCss,children:(0,X.jsxs)(q.Z,{form:p,colon:!1,labelCol:{span:4},wrapperCol:{span:18},onFinish:U,className:J.form,children:[(0,X.jsx)(q.Z.Item,{label:"核心课程",name:"core_subject_name",rules:[{required:!0,message:"请选择核心课程"}],children:(0,X.jsx)(A.Z,{options:null==L?void 0:L.map((function(e){return{value:e,label:e}})),filterOption:function(e,n){var t;return-1!==(null==n||null===(t=n.label)||void 0===t||null===(t=t.toUpperCase())||void 0===t?void 0:t.indexOf(null==e?void 0:e.toUpperCase()))},onSearch:function(e){e.length>20&&p.setFieldValue("core_subject_name",e.substring(0,20))}})}),(0,X.jsx)(q.Z.Item,{label:"教材名称",name:"name",rules:[{required:!0,message:"请输入教材名称"},{whitespace:!0,message:"请输入教材名称"},{max:200,message:"只能输入200个字符"}],children:(0,X.jsx)(D.Z,{maxLength:200,placeholder:"请输入教材名称"})}),(0,X.jsx)(q.Z.Item,{label:"教材类型",name:"material_type_name",rules:[{required:!0,message:"请选择教材类型"}],children:(0,X.jsx)(A.Z,{options:null==V?void 0:V.map((function(e){return{value:e,label:e}})),filterOption:function(e,n){var t;return-1!==(null==n||null===(t=n.label)||void 0===t||null===(t=t.toUpperCase())||void 0===t?void 0:t.indexOf(null==e?void 0:e.toUpperCase()))},onSearch:function(e){e.length>20&&p.setFieldValue("material_type_name",e.substring(0,20))}})}),(0,X.jsx)(q.Z.Item,{label:"主编",name:"author",rules:[{required:!0,message:"请输入主编"},{whitespace:!0,message:"请输入主编"},{max:40,message:"只能输入40个字符"}],children:(0,X.jsx)(D.Z,{maxLength:40,placeholder:"请输入主编"})}),(0,X.jsx)(q.Z.Item,{label:"副主编",name:"associate_editor",rules:[{max:40,message:"只能输入40个字符"}],children:(0,X.jsx)(D.Z,{maxLength:40,placeholder:"请输入副主编"})}),(0,X.jsx)(q.Z.Item,{label:"出版社",name:"publisher",rules:[{whitespace:!0,message:"实践出版社"},{max:100,message:"只能输入100个字符"}],children:(0,X.jsx)(D.Z,{maxLength:100,placeholder:"请输入出版社"})}),(0,X.jsx)(q.Z.Item,{label:"出版时间",name:"publication_time",children:(0,X.jsx)(Y.default,{picker:"month",style:{width:"100%"},placeholder:"请选择出版时间",format:"YYYY-MM",allowClear:!0})}),(0,X.jsx)(q.Z.Item,{label:"ISBN",name:"number",rules:[{whitespace:!0,message:"请输入ISBN"}],children:(0,X.jsx)(D.Z,{maxLength:50,placeholder:"请输入ISBN"})}),(0,X.jsx)(q.Z.Item,{label:"联系方式",name:"contact_info",children:(0,X.jsx)(D.Z,{maxLength:30,placeholder:"可填写手机、邮箱、QQ等联系方式"})}),(0,X.jsx)(q.Z.Item,{label:"阅读链接",name:"view_link",children:(0,X.jsx)(D.Z,{placeholder:"请输入阅读链接"})}),(0,X.jsx)(q.Z.Item,{label:"购买链接",name:"buy_link",children:(0,X.jsx)(D.Z,{placeholder:"请输入购买链接"})}),(0,X.jsx)(q.Z.Item,{name:"attachment_id",label:"封面图片",rules:[{required:!0,message:"请上传封面图片"}],children:(0,X.jsx)("div",{className:J.upload,children:null!=Z&&null!==(n=Z[0])&&void 0!==n&&null!==(n=n.response)&&void 0!==n&&n.id?(0,X.jsxs)("div",{className:J.img,children:[(0,X.jsx)("img",{src:B.Z.API_SERVER+"/api/attachments/"+(null==Z||null===(O=Z[0])||void 0===O||null===(O=O.response)||void 0===O?void 0:O.id),alt:"avatar",style:{width:"100%"}}),(0,X.jsx)("div",{children:(0,X.jsx)(Q.Z,{onClick:function(){k([]),p.setFieldsValue({attachment_id:""})},style:{fontSize:"16px",color:"red"}})})]}):(0,X.jsx)(H.Z,{fileList:Z,action:"".concat(B.Z.API_SERVER,"/api/attachments.json"),onChange:function(e){return n=e,p.setFieldsValue({attachment_id:""}),void(["uploading","done","removed"].includes(n.file.status)&&("uploading"===n.file.status&&S(!0),"done"===n.file.status&&S(!1),k(n.fileList),p.setFieldsValue({attachment_id:null===(t=n.fileList)||void 0===t||null===(t=t[0])||void 0===t||null===(t=t.response)||void 0===t?void 0:t.id})));var n,t},onRemove:function(e){k([])},beforeUpload:function(e){return"image/jpeg"===(n=e).type||"image/png"===n.type?n.size/1024/1024>2?(f.ZP.info("文件大小必须小于2MB"),Promise.reject()):(k([]),!0):(f.ZP.error("请上传jpg或png的图片!"),Promise.reject());var n},withCredentials:!0,accept:"image/*",children:(0,X.jsxs)($.op,{style:{borderRadius:"2px",marginTop:3},children:[(0,X.jsx)("i",{className:"iconfont icon-shangchuantupian2 mr5"}),"上传图片"]})})})})]})})})),ne=t(20731),te=t(69142),ae=t(68738),le=(0,p.connect)((function(e){var n=e.user,t=e.globalSetting,a=e.coreCurriculum;return{user:n,globalSetting:t,virtualSpaces:e.virtualSpaces,coreCurriculum:a,classroomList:e.classroomList}}))((function(e){e.coreCurriculum;var n,t,a,i,o,c,d=e.dispatch,q=(e.virtualSpaces,e.globalSetting),A=(e.classroomList,(0,_.useState)(!0)),D=m()(A,2),Y=D[0],H=D[1],G=(0,_.useState)(""),W=m()(G,2),J=W[0],K=W[1],Q=(0,_.useState)(!1),le=m()(Q,2),ie=le[0],se=le[1],oe=(0,_.useState)(!1),re=m()(oe,2),ce=re[0],ue=re[1],de=(0,_.useState)(),me=m()(de,2),_e=me[0],pe=me[1],fe=(0,_.useState)({}),ve=m()(fe,2),xe=ve[0],he=ve[1],be=(0,_.useState)("全部"),ge=m()(be,2),je=ge[0],ye=ge[1],Ze=0;(0,_.useEffect)((function(){ke()}),[J]);var ke=function(){var e=u()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return H(!0),e.next=3,(0,z.ZP)("/api/core_materials/books.json",{method:"get",params:{keyword:J}});case 3:0==(null==(n=e.sent)?void 0:n.status)&&(ue(null==n?void 0:n.can_edit),pe(null==n?void 0:n.data),he(n)),H(!1);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),we=function(){var e=u()(r()().mark((function e(n){var t,a;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==ie||!ie.id){e.next=7;break}return e.next=3,(0,z.ZP)("/api/core_materials/".concat(null==ie?void 0:ie.id,".json"),{method:"put",body:s()(s()({},n),{},{book_type:2})});case 3:0==(null==(t=e.sent)?void 0:t.status)&&(f.ZP.success("".concat(null!=ie&&ie.id?"编辑":"添加","成功")),ke(),se(!1)),e.next=11;break;case 7:return e.next=9,(0,z.ZP)("/api/core_materials.json",{method:"post",body:s()(s()({},n),{},{book_type:2})});case 9:0==(null==(a=e.sent)?void 0:a.status)&&(f.ZP.success("".concat(null!=ie&&ie.id?"编辑":"添加","成功")),ke(),se(!1));case 11:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();return(0,X.jsxs)("section",{style:{paddingBottom:"3rem"},children:[(0,X.jsx)("div",{className:b,style:{backgroundImage:"url(".concat(B.Z.IMG_SERVER,"/").concat(null==q||null===(n=q.setting)||void 0===n?void 0:n.news_banner_url,")")},children:(0,X.jsxs)("div",{className:g,children:[(0,X.jsxs)("div",{children:[(0,X.jsx)("div",{style:{color:"#fff",fontSize:".34rem",letterSpacing:".05rem",fontWeight:600},children:(0,ne.Iz)("/bookplan",null==q||null===(t=q.setting)||void 0===t?void 0:t.navbar)}),(0,X.jsxs)("div",{style:{display:"flex"},children:[ce&&(0,X.jsxs)("div",{className:"".concat(j),style:{width:"1rem"},onClick:function(){se(!0)},children:[(0,X.jsx)("i",{className:"iconfont icon-icon_xinyong_xianxing_jijin-249",style:{marginRight:"0.05rem",fontSize:".16rem"}}),"新建"]}),ce&&(null==xe?void 0:xe.description_permission)&&(0,X.jsxs)("div",{className:"".concat(j),style:{marginLeft:".2rem"},onClick:function(){d({type:"classroomList/setActionTabs",payload:{key:"规划说明",params:{name:"教材规划",content:null==xe?void 0:xe.core_material_description}}})},children:[(0,X.jsx)("i",{className:"iconfont icon-icon_xinyong_xianxing_jijin-249",style:{marginRight:"0.05rem",fontSize:".16rem"}}),"规划说明"]})]})]}),(0,X.jsx)("div",{children:(0,X.jsx)($.t7,{placeholder:"请输入关键字进行搜索",className:y,value:J,onChange:function(e){K(e)}})})]})}),(null==xe?void 0:xe.core_material_description)&&(0,X.jsx)(te.Z,{style:{width:"12rem",margin:".3rem auto .2rem auto"},value:null==xe?void 0:xe.core_material_description}),(null==_e||null===(a=_e.all_table)||void 0===a?void 0:a.length)>0?(0,X.jsxs)("div",{style:{width:"12rem",margin:".3rem auto 0 auto",background:"#fff",paddingBottom:".1rem"},children:[(0,X.jsx)("div",{className:Z,children:(0,X.jsx)("div",{className:k,children:(0,X.jsx)("div",{style:{display:"flex",flexWrap:"wrap",flex:1},children:(null==_e?void 0:_e.all_table)&&(null===(i=[{name:"全部"}].concat(l()(null==_e?void 0:_e.all_table)))||void 0===i?void 0:i.map((function(e,n){return(0,X.jsx)("div",{className:je==(null==e?void 0:e.name)?w:C,onClick:function(){ye(null==e?void 0:e.name)},children:null==e?void 0:e.name},n)})))})})}),(null==_e||null===(o=_e.list)||void 0===o?void 0:o.length)>0?(0,X.jsx)(v.Z,{className:"mt20",loading:Y,children:null==_e||null===(c=_e.list)||void 0===c?void 0:c.map((function(e,n){var t,a,l,i,s,o;return"全部"===je&&(null==e||null===(t=e.data)||void 0===t?void 0:t.length)>0||(null==e||null===(a=e.table)||void 0===a?void 0:a.name)===je?(0,X.jsxs)("div",{className:R,children:[(0,X.jsx)("div",{className:N,children:null==e||null===(l=e.table)||void 0===l?void 0:l.name}),(0,X.jsx)("div",{className:S,children:(null==e||null===(i=e.data)||void 0===i?void 0:i.length)>0?null==e||null===(s=e.data)||void 0===s?void 0:s.map((function(e){var n=e.name,t=e.id,a=e.attachment,l=e.publisher,i=(e.book_id,e.author);return(0,X.jsxs)("div",{className:P,onClick:function(){p.history.push("/bookplan/detail/".concat(t,"?backUrl=/bookplan"))},children:[(0,X.jsx)("img",{className:L,src:B.Z.API_SERVER+(null==a?void 0:a.url)}),ce&&(null==e?void 0:e.is_creator)&&(0,X.jsxs)("div",{className:I,children:[(0,X.jsxs)("span",{className:E,onClick:function(n){n.stopPropagation(),se(e)},children:[(0,X.jsx)("i",{className:"iconfont icon-bianji-moren ".concat(F)}),"编辑"]}),(0,X.jsxs)("span",{className:T,onClick:function(e){var n;e.stopPropagation(),x.Z.confirm({icon:null,title:"提示",centered:!0,content:"请确认是否删除",okText:"确定",cancelText:"取消",onOk:(n=u()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.ZP)("/api/core_materials/".concat(t,".json"),{method:"delete"});case 2:0===(null==(n=e.sent)?void 0:n.status)&&(f.ZP.info("删除成功"),ke());case 4:case"end":return e.stop()}}),e)}))),function(){return n.apply(this,arguments)})})},children:[(0,X.jsx)("i",{className:"iconfont icon-shanchu13 ".concat(V)}),"删除"]})]}),(0,X.jsx)(h.Z,{title:n,children:(0,X.jsx)("div",{className:M,style:{marginTop:"-5px"},children:n})}),(0,X.jsx)(h.Z,{title:i,children:(0,X.jsx)("div",{className:O,children:i||"--"})}),(0,X.jsx)(h.Z,{title:l,children:(0,X.jsx)("div",{className:O,style:{marginTop:"-10px"},children:l||"--"})})]},t)})):(0,X.jsx)(U.Z,{})})]},n):++Ze==(null==_e||null===(o=_e.list)||void 0===o?void 0:o.length)&&"全部"===je?(0,X.jsx)(U.Z,{}):null}))}):(0,X.jsx)(U.Z,{})]}):(0,X.jsx)(U.Z,{}),(0,X.jsx)(ee,{visible:ie,title:"教材",onCancel:function(){return se(!1)},onOk:we}),(0,X.jsx)(ae.Z,{getData:ke})]})}))},76895:function(e,n){n.Z={flex_box_center:"flex_box_center___vG4eV",flex_space_between:"flex_space_between___qVVxe",flex_box_vertical_center:"flex_box_vertical_center___P8Z8s",flex_box_center_end:"flex_box_center_end___VMme3",flex_box_column:"flex_box_column___VMHwm",dropdownmenus:"dropdownmenus___oVzoj",popupClassNames:"popupClassNames___OcZq7",selectdown:"selectdown___mmcA8"}}}]);