parent
853fec9e3b
commit
a422dcdafd
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[45950],{79092:function(e,n,i){i.r(n);var t=i(7557),c=i.n(t),r=i(41498),o=i.n(r),s=i(82242),a=i.n(s),l=i(79800),u=i.n(l),d=i(59301),h=i(78809),g=i(78241),f=i(95237),m=i(43604),p=i(3113),v=i(98135),x=i(71418),j=i(53864),_=i(8591),Z=i(56650),C=i(33914),S=i(21619),y=i(72809),w=i(21116),b=i(37712);n.default=(0,h.connect)((function(e){var n=e.user,i=e.loading,t=e.globalSetting,c=e.coreCurriculum;return{user:n,loading:i.effects,globalSetting:t,coreCurriculum:c}}))((function(e){var n,i=e.coreCurriculum,t=e.dispatch,r=e.loading,s=(e.user,e.globalSetting),l=i.CoreSubjects,h=g.Z.useForm(),k=u()(h,1)[0],I=(0,d.useState)(!1),N=u()(I,2),D=N[0],E=N[1],F=(0,d.useState)(""),P=u()(F,2),z=P[0],O=P[1],R=(0,d.useState)({page:1,limit:12}),B=u()(R,2),G=B[0],Y=B[1],q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a()(a()({},G),{},{keyword:z});t({type:"coreCurriculum/getCoreSubjects",payload:a()({},e)})};return(0,d.useEffect)((function(){q()}),[G]),(0,b.jsxs)("section",{children:[(0,b.jsx)("div",{className:"".concat(Z.Z.Bg),style:{width:"100%",height:168,backgroundImage:"url(".concat(y.Z.IMG_SERVER,"/").concat(null==s||null===(n=s.setting)||void 0===n?void 0:n.core_banner_url,")")},children:(0,b.jsxs)(f.Z,{style:{width:1200,height:"100%",margin:"0 auto"},align:"middle",justify:"space-between",wrap:!1,children:[(0,b.jsxs)(m.Z,{children:[(0,b.jsx)("div",{style:{color:"#fff",fontSize:"30px",letterSpacing:"5px",fontWeight:600},children:"核心课程"}),(0,w.Ny)()&&(0,b.jsx)(p.ZP,{className:"mt25 ".concat(Z.Z.DivDownPlay),icon:(0,b.jsx)("i",{className:"iconfont icon-icon_xinyong_xianxing_jijin-249"}),onClick:function(){E(!0)},children:"新建核心课程"})]}),(0,b.jsx)(v.Z.Search,{placeholder:"请输入关键字进行搜索",size:"large",className:Z.Z.search,value:z,onChange:function(e){O(e.target.value)},onSearch:function(e){O(e)},suffix:(0,b.jsx)("i",{className:"iconfont icon-sousuo9 font14 ".concat(Z.Z.searchIcon),onClick:function(){O(z),Y(a()(a()({},G),{},{page:1})),q()}})})]})}),(0,b.jsxs)(x.Z,{spinning:!!r["coreCurriculum/getCoreSubjects"],children:[(0,b.jsx)("div",{style:{width:1200,margin:"40px auto 0"},children:(0,b.jsx)(f.Z,{gutter:[16,24],children:(0,b.jsx)(S.Z,{data:(null==l?void 0:l.list)||[]})})}),(0,b.jsxs)(f.Z,{wrap:!1,align:"middle",justify:"space-between",style:{width:1200,margin:"20px auto"},children:[(0,b.jsxs)(m.Z,{children:["共 ",(0,b.jsx)("span",{style:{color:"#165DFF"},children:(null==l?void 0:l.count)||0})," 条数据"]}),(0,b.jsx)(m.Z,{className:"mr20",children:(0,b.jsx)(j.Z,{showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,current:G.page,pageSize:G.limit,onChange:function(e,n){return Y(a()(a()({},G),{},{page:e,limit:n}))},total:(null==l?void 0:l.count)||0})})]})]}),(0,b.jsx)(C.Z,{title:"新建核心课程",form:k,open:D,dispatch:!0,onCancel:function(){k.resetFields(),E(!1)},confirmLoading:!!r["coreCurriculum/postCoreSubjects"],onOk:function(){return k.submit()},handleFinish:function(){var e=o()(c()().mark((function e(n){var i;return c()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t({type:"coreCurriculum/postCoreSubjects",payload:n});case 2:0==(null==(i=e.sent)?void 0:i.status)&&(_.ZP.success("添加成功"),E(!1),k.resetFields(),q());case 4:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()})]})}))},21619:function(e,n,i){var t=i(82242),c=i.n(t),r=i(39647),o=i.n(r),s=(i(59301),i(43604)),a=i(56650),l=i(45484),u=i(72809),d=i(92310),h=i.n(d),g=i(37712),f=["dispatch","data","className","style"];n.Z=function(e){e.dispatch;var n=e.data,i=e.className,t=e.style;o()(e,f);return(0,g.jsx)(g.Fragment,{children:null==n?void 0:n.map((function(e,n){var r,o;return(0,g.jsx)(s.Z,{children:(0,g.jsx)("div",{className:h()(a.Z.CoreItem,i),style:c()({},t),onClick:function(){return(0,l.xg)("/core/".concat(null==e?void 0:e.id))},children:(0,g.jsx)("div",{className:a.Z.img,children:(0,g.jsx)("img",{src:"".concat(u.Z.API_SERVER).concat(null==e||null===(r=e.cover)||void 0===r?void 0:r.url),alt:null==e||null===(o=e.cover)||void 0===o?void 0:o.title})})})},(null==e?void 0:e.id)||n)}))})}},56650:function(e,n){n.Z={Onerow:"Onerow___rEE1I",Bg:"Bg___Dn6ug",DivDownPlay:"DivDownPlay___KGY4k",SearchInput:"SearchInput___rSGs4",CoreItem:"CoreItem___g9fqX",img:"img___EYzkb",search:"search___mXDq2",searchIcon:"searchIcon___DY4UQ"}}}]);
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[45950],{79092:function(e,n,i){i.r(n);var t=i(7557),c=i.n(t),r=i(41498),o=i.n(r),s=i(82242),a=i.n(s),l=i(79800),u=i.n(l),d=i(59301),h=i(78809),g=i(78241),f=i(95237),m=i(43604),p=i(3113),v=i(98135),x=i(71418),j=i(53864),_=i(8591),Z=i(56650),C=i(75057),S=i(21619),y=i(72809),w=i(21116),b=i(37712);n.default=(0,h.connect)((function(e){var n=e.user,i=e.loading,t=e.globalSetting,c=e.coreCurriculum;return{user:n,loading:i.effects,globalSetting:t,coreCurriculum:c}}))((function(e){var n,i=e.coreCurriculum,t=e.dispatch,r=e.loading,s=(e.user,e.globalSetting),l=i.CoreSubjects,h=g.Z.useForm(),k=u()(h,1)[0],I=(0,d.useState)(!1),N=u()(I,2),D=N[0],E=N[1],F=(0,d.useState)(""),P=u()(F,2),z=P[0],O=P[1],R=(0,d.useState)({page:1,limit:12}),B=u()(R,2),G=B[0],Y=B[1],q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a()(a()({},G),{},{keyword:z});t({type:"coreCurriculum/getCoreSubjects",payload:a()({},e)})};return(0,d.useEffect)((function(){q()}),[G]),(0,b.jsxs)("section",{children:[(0,b.jsx)("div",{className:"".concat(Z.Z.Bg),style:{width:"100%",height:168,backgroundImage:"url(".concat(y.Z.IMG_SERVER,"/").concat(null==s||null===(n=s.setting)||void 0===n?void 0:n.core_banner_url,")")},children:(0,b.jsxs)(f.Z,{style:{width:1200,height:"100%",margin:"0 auto"},align:"middle",justify:"space-between",wrap:!1,children:[(0,b.jsxs)(m.Z,{children:[(0,b.jsx)("div",{style:{color:"#fff",fontSize:"30px",letterSpacing:"5px",fontWeight:600},children:"核心课程"}),(0,w.Ny)()&&(0,b.jsx)(p.ZP,{className:"mt25 ".concat(Z.Z.DivDownPlay),icon:(0,b.jsx)("i",{className:"iconfont icon-icon_xinyong_xianxing_jijin-249"}),onClick:function(){E(!0)},children:"新建核心课程"})]}),(0,b.jsx)(v.Z.Search,{placeholder:"请输入关键字进行搜索",size:"large",className:Z.Z.search,value:z,onChange:function(e){O(e.target.value)},onSearch:function(e){O(e)},suffix:(0,b.jsx)("i",{className:"iconfont icon-sousuo9 font14 ".concat(Z.Z.searchIcon),onClick:function(){O(z),Y(a()(a()({},G),{},{page:1})),q()}})})]})}),(0,b.jsxs)(x.Z,{spinning:!!r["coreCurriculum/getCoreSubjects"],children:[(0,b.jsx)("div",{style:{width:1200,margin:"40px auto 0"},children:(0,b.jsx)(f.Z,{gutter:[16,24],children:(0,b.jsx)(S.Z,{data:(null==l?void 0:l.list)||[]})})}),(0,b.jsxs)(f.Z,{wrap:!1,align:"middle",justify:"space-between",style:{width:1200,margin:"20px auto"},children:[(0,b.jsxs)(m.Z,{children:["共 ",(0,b.jsx)("span",{style:{color:"#165DFF"},children:(null==l?void 0:l.count)||0})," 条数据"]}),(0,b.jsx)(m.Z,{className:"mr20",children:(0,b.jsx)(j.Z,{showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,current:G.page,pageSize:G.limit,onChange:function(e,n){return Y(a()(a()({},G),{},{page:e,limit:n}))},total:(null==l?void 0:l.count)||0})})]})]}),(0,b.jsx)(C.Z,{title:"新建核心课程",form:k,open:D,dispatch:!0,onCancel:function(){k.resetFields(),E(!1)},confirmLoading:!!r["coreCurriculum/postCoreSubjects"],onOk:function(){return k.submit()},handleFinish:function(){var e=o()(c()().mark((function e(n){var i;return c()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t({type:"coreCurriculum/postCoreSubjects",payload:n});case 2:0==(null==(i=e.sent)?void 0:i.status)&&(_.ZP.success("添加成功"),E(!1),k.resetFields(),q());case 4:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()})]})}))},21619:function(e,n,i){var t=i(82242),c=i.n(t),r=i(39647),o=i.n(r),s=(i(59301),i(43604)),a=i(56650),l=i(45484),u=i(72809),d=i(92310),h=i.n(d),g=i(37712),f=["dispatch","data","className","style"];n.Z=function(e){e.dispatch;var n=e.data,i=e.className,t=e.style;o()(e,f);return(0,g.jsx)(g.Fragment,{children:null==n?void 0:n.map((function(e,n){var r,o;return(0,g.jsx)(s.Z,{children:(0,g.jsx)("div",{className:h()(a.Z.CoreItem,i),style:c()({},t),onClick:function(){return(0,l.xg)("/core/".concat(null==e?void 0:e.id))},children:(0,g.jsx)("div",{className:a.Z.img,children:(0,g.jsx)("img",{src:"".concat(u.Z.API_SERVER).concat(null==e||null===(r=e.cover)||void 0===r?void 0:r.url),alt:null==e||null===(o=e.cover)||void 0===o?void 0:o.title})})})},(null==e?void 0:e.id)||n)}))})}},56650:function(e,n){n.Z={Onerow:"Onerow___rEE1I",Bg:"Bg___Dn6ug",DivDownPlay:"DivDownPlay___KGY4k",SearchInput:"SearchInput___rSGs4",CoreItem:"CoreItem___g9fqX",img:"img___EYzkb",search:"search___mXDq2",searchIcon:"searchIcon___DY4UQ"}}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 1.5 MiB |
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 1.6 MiB |
Loading…
Reference in new issue