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.
1 line
38 KiB
1 line
38 KiB
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[48689],{3148:function(e,n,t){t.d(n,{Z:function(){return r}});var a=t(81978),l=t(59301),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},i=t(1393),o=function(e,n){return l.createElement(i.Z,(0,a.Z)({},e,{ref:n,icon:s}))};var r=l.forwardRef(o)},85878:function(e,n,t){var a=t(82242),l=t.n(a),s=(t(59301),t(93314)),i=t(3113),o=t(37712);n.Z=function(e){var n=e.img,t=e.buttonProps,a=void 0===t?{}:t,r=e.styles,c=void 0===r?{}:r,d=e.customText,u=e.ButtonText,p=e.ButtonClick,x=e.Buttonclass,f=e.ButtonTwo,m=e.imgStyles,v=e.loading,_=void 0!==v&&v;return(0,o.jsxs)("section",{className:"tc animated fadeIn",style:l()(l()({},{color:"#999",margin:"100px auto",visibility:_?"hidden":"visible"}),c),children:[(0,o.jsx)("img",{src:n||s,style:l()(l()({},m),{},{pointerEvents:"none",userSelect:"none"})}),(0,o.jsx)("p",{className:"mt20 font14",children:d||"暂时还没有相关数据哦!"}),u&&(0,o.jsx)(i.ZP,l()(l()({className:x,onClick:p},a),{},{children:u})),f&&f]})}},48642:function(e,n,t){t.r(n),t.d(n,{default:function(){return ee}});var a=t(37205),l=t.n(a),s=t(7557),i=t.n(s),o=t(41498),r=t.n(o),c=t(82242),d=t.n(c),u=t(79800),p=t.n(u),x=t(59301),f=t(17810),m=t.n(f),v=t(12442),_=t(30518),h=t(95237),g=t(43604),j=t(20834),y=t(57809),b=t(71418),k=t(42441),w="bg___MufvV",S="containerTitle___WTmxf",Z="menus___OTYkk",I=t(85878),N=t(3113),P=t(28103),F=t(51945),C=t(86859),T=t(89189),L=t(87011),z=t(62554),D=t(34739),O=t(37712);var G=(0,v.connect)((function(e){return{user:e.user,teachers:e.teachers}}))((function(e){e.user,e.dispatch;var n=e.teachers,t=e.courseGroupId,a=(0,v.useParams)(),s=(0,x.useState)(),o=p()(s,2),c=o[0],d=o[1],u=(0,x.useState)(),f=p()(u,2),m=f[0],_=f[1],h=(0,x.useState)(!0),g=p()(h,2),j=g[0],y=g[1];function b(e){return k.apply(this,arguments)}function k(){return k=r()(i()().mark((function e(n){var t,l,s=arguments;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=s.length>1&&void 0!==s[1]?s[1]:-1,_(n),y(!0),e.next=5,(0,T.ZP)("/api/courses/".concat(null==a?void 0:a.coursesId,"/video_study_statics.json"),{method:"get",params:{page:n,per_page:10,course_id:null==a?void 0:a.coursesId,course_group_id:t}});case 5:l=e.sent,y(!1),l&&d(l);case 8:case"end":return e.stop()}}),e)}))),k.apply(this,arguments)}(0,x.useMemo)((function(){var e,t=(n||{}).allCourseGroups,a=(null==t||null===(e=t.course_groups)||void 0===e?void 0:e.map((function(e){return{label:null==e?void 0:e.name,value:null==e?void 0:e.id}})))||[];return[{label:"全部",value:-1},{label:"未分班",value:0}].concat(l()(a))}),[n]),(0,x.useEffect)((function(){b(1,t)}),[t]);var w=[{title:"姓名",dataIndex:"user_name",align:"center",fixed:"left",render:function(e,n,t){return(0,O.jsx)("span",{children:e})}},{title:"学号",dataIndex:"student_id",align:"center"},{title:"学习视频数",align:"center",dataIndex:"num",render:function(e){return(0,O.jsx)("span",{className:"c-black",children:e})}},{title:"班级",align:"center",dataIndex:"course_group_name"},{title:"累计学习时长",align:"center",dataIndex:"total_duration",render:function(e){return(0,O.jsx)("span",{className:"c-black",children:(0,z.li)(parseInt(e))||"--"})}},{title:"平均学习完成度",align:"center",dataIndex:"rate",render:function(e,n){return(0,O.jsx)("span",{className:"c-black",children:e?e+"%":"0%"})}},{title:"开始学习时间",align:"center",dataIndex:"start_at",render:function(e,n){return(0,O.jsx)("span",{className:"c-black",children:e||"--"})}},{title:"最后学习时间",align:"center",dataIndex:"end_at",render:function(e,n){return(0,O.jsx)("span",{className:"c-black",children:e||"--"})}},{title:"操作",align:"center",fixed:"right",dataIndex:"course_group_name",render:function(e,n){return(0,O.jsx)(v.Link,{to:"/classrooms/".concat(null==a?void 0:a.coursesId,"/video_statistics/").concat(null==a?void 0:a.categoryId,"/Student/").concat(null==n?void 0:n.user_id),children:"详情"})}}].filter((function(e){return!!e}));return(0,O.jsxs)("div",{className:L.Z.divback,children:[(0,O.jsxs)("div",{className:L.Z.title,children:[(0,O.jsx)("span",{children:"学生视频学习情况"}),(0,O.jsx)("div",{children:(0,O.jsx)(N.ZP,{onClick:function(){(0,D.o6)({coursesId:null==a?void 0:a.coursesId,course_group_id:t})},children:"导出"})})]}),(0,O.jsx)(P.Z,{className:L.Z.divstyle}),0===(null==c?void 0:c.count)&&(0,O.jsx)(I.Z,{}),(0,O.jsxs)("aside",{className:"pl20 pr20",children:[(0,O.jsx)(F.Z,{dataSource:null==c?void 0:c.student,pagination:!1,columns:w,loading:j,className:L.Z.studentListTable,scroll:{x:"max-content"}}),(0,O.jsx)("aside",{className:"tc mb50 mt30 mb20",children:(0,O.jsx)(C.Z,{hideOnSinglePage:!0,showSizeChanger:!1,onChange:function(e,n){b(e,t)},current:m||1,defaultPageSize:10,total:null==c?void 0:c.count})})]})]})})),E=t(6848),V=t(3148),A="titlespan____R13n",B="overcount___lL5cq",M="porgress___gDrMg",K="span1___f69rM",R="span2___iQmg1",W="color_20___EpSKJ",Y="color_10___nmu4d";m().locale("zh-cn");var q=(0,v.connect)((function(e){var n=e.classroomList,t=e.loading;return{classroomList:n,globalSetting:e.globalSetting,loading:t,video:e.video}}))((function(e){var n=e.sendToData,t=(e.classroomList,e.globalSetting,e.video,e.loading,e.dispatch,e.courseGroupId),a=(0,x.useState)(d()(d()({},(0,v.useParams)()),{},{page:1})),s=p()(a,2),o=s[0],c=(s[1],(0,x.useState)([{name:"未开启",count:"学生未开启率(取教学课堂内所有已截止的课程实验的平均值)",isred:!0,passed:0},{name:"未通关",count:"学生未通关率(取教学课堂内所有已截止的课程实验的平均值)",isred:!0,passed:0},{name:"按时通关",count:"学生按时通关率(取教学课堂内所有已截止的课程实验的平均值)",isred:!0,passed:0},{name:"迟交通关",count:"学生迟交通关率(取教学课堂内所有已截止的课程实验的平均值)",isred:!0,passed:0}])),u=p()(c,2),f=u[0],m=u[1],_=(0,x.useState)({legendData:["优秀","良好","及格","不及格","未开启"],selected:[{"优秀":!1,"良好":!1,"及格":!1,"不及格":!1,"未开启":!1}],seriesData:[{name:"优秀",value:0},{name:"良好",value:0},{name:"及格",value:0},{name:"不及格",value:0},{name:"未开启",value:0}]}),h=p()(_,2),g=h[0],j=h[1],w=(0,x.useState)(),S=p()(w,2),Z=S[0],N=S[1],C=(0,x.useState)(),L=p()(C,2),z=L[0],D=L[1],G=(0,x.useState)(!1),q=p()(G,2),H=q[0],U=q[1],X=(0,x.useRef)();function J(){return(J=r()(i()().mark((function e(){var a,s,r,c;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return U(!0),e.next=3,(0,T.ZP)("/api/courses/".concat(o.coursesId,"/shixun_homework_statics.json"),{method:"get",params:{group_ids:[t]}});case 3:a=e.sent,n(a),0===(null==a?void 0:a.status)&&(null==f||f.map((function(e){var n,t,l,s,i,o,r,c;switch(null==e?void 0:e.name){case"未开启":e.passed=parseFloat((100*(null==a||null===(n=a.data.overall_info)||void 0===n?void 0:n.unopen)).toPrecision(12)),e.isred=parseFloat((100*(null==a||null===(t=a.data.overall_info)||void 0===t?void 0:t.unopen)).toPrecision(12))>20;break;case"未通关":e.passed=parseFloat((100*(null==a||null===(l=a.data.overall_info)||void 0===l?void 0:l.failed)).toPrecision(12)),e.isred=parseFloat((100*(null==a||null===(s=a.data.overall_info)||void 0===s?void 0:s.failed)).toPrecision(12))>20;break;case"按时通关":e.passed=parseFloat((100*(null==a||null===(i=a.data.overall_info)||void 0===i?void 0:i.passed)).toPrecision(12)),e.isred=parseFloat((100*(null==a||null===(o=a.data.overall_info)||void 0===o?void 0:o.passed)).toPrecision(12))<20;break;case"迟交通关":e.passed=parseFloat((100*(null==a||null===(r=a.data.overall_info)||void 0===r?void 0:r.late)).toPrecision(12)),e.isred=parseFloat((100*(null==a||null===(c=a.data.overall_info)||void 0===c?void 0:c.late)).toPrecision(12))>20}})),m(l()(f)),console.log("titletag",f),N(null==a||null===(s=a.data)||void 0===s?void 0:s.homework_info),D(null==a||null===(r=a.data)||void 0===r?void 0:r.homework_score_info),null==g||null===(c=g.seriesData)||void 0===c||c.map((function(e){var n,t,l,s,i;switch(null==e?void 0:e.name){case"优秀":e.value=parseFloat((100*(null==a||null===(n=a.data.score_info)||void 0===n?void 0:n.excellent_rate)).toPrecision(12)),Q("优秀",e.value);break;case"良好":e.value=parseFloat((100*(null==a||null===(t=a.data.score_info)||void 0===t?void 0:t.good_rate)).toPrecision(12)),Q("良好",e.value);break;case"及格":e.value=parseFloat((100*(null==a||null===(l=a.data.score_info)||void 0===l?void 0:l.pass_rate)).toPrecision(12)),Q("及格",e.value);break;case"不及格":e.value=parseFloat((100*(null==a||null===(s=a.data.score_info)||void 0===s?void 0:s.failed_rate)).toPrecision(12)),Q("不及格",e.value);break;case"未开启":e.value=parseFloat((100*(null==a||null===(i=a.data.score_info)||void 0===i?void 0:i.not_submitted_rate)).toPrecision(12)),Q("未开启",e.value)}})),j(d()({},g))),U(!1);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Q(e,n){var t;null==g||null===(t=g.selected)||void 0===t||t.map((function(t,a){switch(e){case"优秀":t.优秀=n>0;break;case"良好":t.良好=n>0;break;case"及格":t.及格=n>0;break;case"不及格":t.不及格=n>0;break;case"未开启":t.未开启=n>0}}))}(0,x.useEffect)((function(){!function(){J.apply(this,arguments)}()}),[o.categoryId,t]),(0,x.useEffect)((function(){X.current&&X.current.getEchartsInstance().setOption($())}),[g]);var $=function(){return g?{title:{left:"center"},tooltip:{trigger:"item",formatter:"{a} <br/>{b} : {c} ({d}%)"},legend:{type:"scroll",orient:"vertical",right:10,top:20,bottom:20,data:g.legendData,selected:g.selected[0]},color:["#1989FA","#36CBCB","#975FE5","#FCD84A","#FE7777"],series:[{name:"",type:"pie",radius:"55%",center:["40%","50%"],data:g.seriesData,emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]}:{}},ee=[{title:"课程实验名称",dataIndex:"homework_name",align:"center",width:180,render:function(e,n,t){return(0,O.jsx)("span",{style:{color:"#666666"},children:e})}},{title:"关卡数",align:"center",dataIndex:"challenge_count",sorter:function(e,n){return e.challenge_count-n.challenge_count},render:function(e){return(0,O.jsx)("span",{className:"c-black",children:e||0})}},{title:"通关人数",align:"center",dataIndex:"passed_count",sorter:function(e,n){return e.passed_count-n.passed_count},render:function(e){return(0,O.jsx)("span",{className:"c-black",children:e||0})}},{title:"优秀",align:"center",dataIndex:"excellent",sorter:function(e,n){return e.excellent-n.excellent},render:function(e,n){return(0,O.jsx)("span",{className:"c-black",children:e||0})}},{title:"良好",align:"center",dataIndex:"good",sorter:function(e,n){return e.good-n.good},render:function(e,n){return(0,O.jsx)("span",{className:"c-black",children:e||0})}},{title:"及格",align:"center",dataIndex:"pass",sorter:function(e,n){return e.pass-n.pass},render:function(e,n){return(0,O.jsx)("span",{className:"c-black",children:e||0})}},{title:"不及格",align:"center",dataIndex:"failed",sorter:function(e,n){return e.failed-n.failed},render:function(e,n){return(0,O.jsx)("span",{className:"c-black",children:e||0})}},{title:"未开始",align:"center",dataIndex:"not_submitted",sorter:function(e,n){return e.not_submitted-n.not_submitted},render:function(e,n){return(0,O.jsx)("span",{className:"c-black",children:e||0})}}].filter((function(e){return!!e}));return(0,O.jsxs)("div",{children:[(0,O.jsx)("div",{style:{display:"flex",height:"180px",marginTop:"10px",background:"#ffffff"},children:null==f?void 0:f.map((function(e,n){return(0,O.jsxs)("div",{className:A,children:[(0,O.jsxs)("span",{style:{color:e.isred?"red":"#1989FA",fontSize:"34px"},children:[e.passed||0," %"]}),(0,O.jsxs)("p",{style:{marginTop:"30px"},children:[e.name," ",(0,O.jsx)(E.Z,{placement:"bottom",title:e.count,children:(0,O.jsx)(V.Z,{})})]})]})}))}),(0,O.jsx)(b.Z,{spinning:H,children:(0,O.jsxs)("div",{style:{marginTop:"20px",background:"#ffffff",padding:"10px 20px"},children:[(0,O.jsxs)("div",{style:{fontSize:"16px",display:"flex",marginTop:"14px"},children:[(0,O.jsx)("span",{style:{flex:"1"},children:"实训通关率排行"}),"排序:",(0,O.jsxs)(y.default,{style:{width:"100px"},defaultValue:"jack",onChange:function(e){"jack"===e?Z.sort((function(e,n){return n.passed-e.passed})):Z.sort((function(e,n){return e.passed-n.passed})),N(l()(Z))},children:[(0,O.jsx)(y.default.Option,{value:"jack",children:"从高到低"}),(0,O.jsx)(y.default.Option,{value:"lucy",children:"从低到高"})]})]}),(0,O.jsx)(P.Z,{}),(0,O.jsxs)("div",{className:(null==Z?void 0:Z.length)>10?B:"",children:[(null==Z?void 0:Z.length)<=0&&(0,O.jsx)(I.Z,{}),null==Z?void 0:Z.map((function(e,n){return(0,O.jsxs)("div",{className:M,children:[(0,O.jsxs)("span",{className:K,children:[n+1," ",(0,O.jsxs)(v.Link,{to:"/classrooms/".concat(null==o?void 0:o.coursesId,"/shixun_homework/").concat(null==e?void 0:e.homework_id,"/detail?tabs=0"),children:[" ",(0,O.jsx)(E.Z,{title:null==e?void 0:e.homework_name,children:null==e?void 0:e.homework_name})," "]})]}),(0,O.jsxs)("div",{style:{display:"flex"},children:[(0,O.jsx)("span",{className:100*(null==e?void 0:e.passed)>20?W:Y,style:{width:"".concat(100*(null==e?void 0:e.passed),"%"),display:"flex",height:"40px"}}),(0,O.jsxs)("span",{className:R,style:{color:100*(null==e?void 0:e.passed)>20?"#1989FA":"#E92216"},children:[parseFloat((100*(null==e?void 0:e.passed)).toPrecision(12))," %"]})]})]})}))]}),(0,O.jsxs)("div",{style:{marginTop:"40px",marginBottom:"20px"},children:[null==Z?void 0:Z.filter((function(e){return(null==e?void 0:e.passed)<.21})).map((function(e,n){var t;if(!(n>4))return(0,O.jsxs)(v.Link,{to:"/classrooms/".concat(null==o?void 0:o.coursesId,"/shixun_homework/").concat(null==e?void 0:e.homework_id,"/detail?tabs=0"),children:[null==e?void 0:e.homework_name,(null==Z||null===(t=Z.filter((function(e){return(null==e?void 0:e.passed)<.21})))||void 0===t?void 0:t.length)===n+1?"":n+1===5?"...":"、"]})})),(null==Z?void 0:Z.filter((function(e){return(null==e?void 0:e.passed)<.21})).length)>0&&"共".concat(null==Z?void 0:Z.filter((function(e){return(null==e?void 0:e.passed)<.21})).length,"个课程实验学生的通关率低于20%,说明学生对相关知识点掌握比较薄弱。建议要求学生加强相关知识点的练习。")]})]})}),(0,O.jsx)(b.Z,{spinning:H,children:(0,O.jsxs)("div",{style:{marginTop:"20px",background:"#ffffff",padding:"10px 20px"},children:[(0,O.jsxs)("span",{style:{fontSize:"16px",marginRight:"20px",display:"flex",marginTop:"14px"},children:["实训成绩分布 ",(0,O.jsx)(E.Z,{placement:"bottom",title:"实训成绩分布(取教学课堂内所有已截止的课程实验的平均值)",children:(0,O.jsx)(V.Z,{style:{marginLeft:"5px",marginTop:"4px"}})})]}),(0,O.jsx)(P.Z,{}),(0,O.jsx)(k.Z,{option:$(),ref:X,lazyUpdate:!0,notMerge:!0,style:{height:470,width:876},opts:{renderer:"svg"}})]})}),(0,O.jsx)(b.Z,{spinning:H,children:(0,O.jsxs)("div",{style:{marginTop:"20px",background:"#ffffff",padding:"10px 20px"},children:[(0,O.jsx)("span",{style:{fontSize:"16px",display:"flex",marginTop:"14px"},children:"实训成绩分布详情 "}),(0,O.jsx)(P.Z,{}),(0,O.jsx)(F.Z,{columns:ee,dataSource:z,pagination:{size:"default",hideOnSinglePage:!1,showSizeChanger:!0}})]})})]})})),H=t(24905),U=t(8591),X=t(43418),J={flex_box_center:"flex_box_center___Sxg8U",flex_space_between:"flex_space_between___V1aoo",flex_box_vertical_center:"flex_box_vertical_center___GIpDn",flex_box_center_end:"flex_box_center_end___r8mQY",flex_box_column:"flex_box_column___VIqz0",titlespan:"titlespan___H_hGo",overcount:"overcount___WZucK",porgress:"porgress___anBRj",span1:"span1___HXPTv",span2:"span2___rags1",color_20:"color_20___u9XxK",color_10:"color_10___MCdKT",normal_type_is_common:"normal_type_is_common___P7zug",normal_type_is_jupyter:"normal_type_is_jupyter___tkxUj",normal_type_is_jupyter_lab:"normal_type_is_jupyter_lab___uJ6DZ",name:"name___OV309"},Q=t(55548);m().locale("zh-cn");var $=(0,v.connect)((function(e){return{classroomList:e.classroomList,globalSetting:e.globalSetting,video:e.video}}))((function(e){var n,t,a,s=e.sendToData,o=(e.classroomList,e.globalSetting,e.video,e.courseGroupId),c=(e.dispatch,(0,x.useState)(d()(d()({},(0,v.useParams)()),{},{page:1,limit:10}))),u=p()(c,2),f=u[0],m=u[1],_=(0,x.useState)({page:1,limit:10}),h=p()(_,2),g=h[0],j=h[1],w=(0,x.useState)([{name:"未提交",count:"学生未开启率(取教学课堂内所有已截止的课程实验的平均值)",passed:0},{name:"按时提交",count:"学生未通关率(取教学课堂内所有已截止的课程实验的平均值)",passed:0},{name:"延时提交",count:"学生按时通关率(取教学课堂内所有已截止的课程实验的平均值)",passed:0},{name:"重做中",count:"学生迟交通关率(取教学课堂内所有已截止的课程实验的平均值)",passed:0}]),S=p()(w,2),Z=S[0],C=S[1],L=(0,x.useState)(),D=p()(L,2),G=D[0],V=D[1],A=(0,x.useState)(),B=p()(A,2),M=B[0],K=B[1],R=(0,x.useState)(),W=p()(R,2),Y=W[0],q=W[1],$=(0,x.useState)(),ee=p()($,2),ne=ee[0],te=ee[1],ae=(0,x.useState)(["is_common","is_jupyter","is_jupyter_lab"]),le=p()(ae,2),se=le[0],ie=le[1],oe=(0,x.useState)(["is_common","is_jupyter","is_jupyter_lab"]),re=p()(oe,2),ce=re[0],de=re[1],ue=(0,x.useState)(["is_common","is_jupyter","is_jupyter_lab"]),pe=p()(ue,2),xe=pe[0],fe=pe[1],me=(0,x.useState)(["is_common","is_jupyter","is_jupyter_lab"]),ve=p()(me,2),_e=ve[0],he=ve[1],ge=(0,x.useState)(!1),je=p()(ge,2),ye=je[0],be=je[1],ke=(0,x.useState)(!1),we=p()(ke,2),Se=we[0],Ze=we[1],Ie=((0,x.useRef)(),{is_common:"普通类型",is_jupyter:"jupyter类型",is_jupyter_lab:"jupyterLab类型"});function Ne(){return(Ne=r()(i()().mark((function e(){var n,t,a,r;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return be(!0),e.next=3,(0,T.ZP)("/api/courses/".concat(f.coursesId,"/normal_homework_statics.json"),{method:"get",params:{group_ids:[o]}});case 3:n=e.sent,s(n),0===(null==n?void 0:n.status)&&(null==Z||Z.map((function(e){var t,a,l,s;switch(null==e?void 0:e.name){case"未提交":e.passed=parseFloat((100*(null==n||null===(t=n.data.overall_info)||void 0===t?void 0:t.uncommit)).toPrecision(12)).toFixed(1);break;case"按时提交":e.passed=parseFloat((100*(null==n||null===(a=n.data.overall_info)||void 0===a?void 0:a.commit)).toPrecision(12)).toFixed(1);break;case"延时提交":e.passed=parseFloat((100*(null==n||null===(l=n.data.overall_info)||void 0===l?void 0:l.late)).toPrecision(12)).toFixed(1);break;case"重做中":e.passed=parseFloat((100*(null==n||null===(s=n.data.overall_info)||void 0===s?void 0:s.redo)).toPrecision(12)).toFixed(1)}})),C(l()(Z)),console.log("titletag",Z),V(null==n||null===(t=n.data)||void 0===t?void 0:t.scoring_rate_ranking),K(null==n||null===(a=n.data)||void 0===a?void 0:a.distribution),q(null==n||null===(r=n.data)||void 0===r?void 0:r.score_info)),be(!1);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Pe(e,n){return Fe.apply(this,arguments)}function Fe(){return Fe=r()(i()().mark((function e(n,t){var a,s,r,c,u=arguments;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=u.length>2&&void 0!==u[2]&&u[2],console.log(n),be(!0),s=["normal_statics_overall_info.json","normal_statics_score_info.json","normal_statics_scoring_rate_ranking.json","normal_statics_distribution.json"],r={group_ids:[o],normal_type_en:n},a&&(r.max_rate=20,r=d()(d()({},r),g)),3===t&&(r=d()(d()({},r),f)),e.next=9,(0,T.ZP)("/api/courses/".concat(f.coursesId,"/").concat(s[t]),{method:"get",params:d()({},r)});case 9:0===(null==(c=e.sent)?void 0:c.status)&&(0===t&&(null==Z||Z.map((function(e){var n,t,a,l;switch(null==e?void 0:e.name){case"未提交":e.passed=parseFloat((100*(null==c||null===(n=c.data.overall_info)||void 0===n?void 0:n.uncommit)).toPrecision(12));break;case"按时提交":e.passed=parseFloat((100*(null==c||null===(t=c.data.overall_info)||void 0===t?void 0:t.commit)).toPrecision(12));break;case"延时提交":e.passed=parseFloat((100*(null==c||null===(a=c.data.overall_info)||void 0===a?void 0:a.late)).toPrecision(12));break;case"重做中":e.passed=parseFloat((100*(null==c||null===(l=c.data.overall_info)||void 0===l?void 0:l.redo)).toPrecision(12))}})),C(l()(Z)),console.log("titletag",Z)),1===t&&q(null==c?void 0:c.data),2===t&&(a?te(null==c?void 0:c.data):V(null==c?void 0:c.data)),3===t&&K(null==c?void 0:c.data)),be(!1);case 12:case"end":return e.stop()}}),e)}))),Fe.apply(this,arguments)}(0,x.useEffect)((function(){!function(){Ne.apply(this,arguments)}()}),[]),(0,x.useEffect)((function(){Pe(se,0),Pe(ce,1),Pe(xe,2),Pe(_e,3)}),[o]);var Ce=[{title:"图文作业名称",dataIndex:"homework_name",align:"center",width:180,render:function(e,n,t){return(0,O.jsx)("span",{className:J.name,onClick:function(){(0,z.xg)("/classrooms/".concat(null==f?void 0:f.coursesId,"/common_homework/").concat(null==n?void 0:n.homework_id,"/detail"))},children:e})}},{title:"类型",align:"center",dataIndex:"normal_type_en",render:function(e){return(0,O.jsx)("span",{children:Ie[e]||0})}},{title:"优秀",align:"center",dataIndex:"excellent_count",sorter:!0,render:function(e,n){return(0,O.jsx)("span",{className:"c-black",children:e||0})}},{title:"良好",align:"center",dataIndex:"good_count",sorter:!0,render:function(e,n){return(0,O.jsx)("span",{className:"c-black",children:e||0})}},{title:"及格",align:"center",dataIndex:"pass_count",sorter:!0,render:function(e,n){return(0,O.jsx)("span",{className:"c-black",children:e||0})}},{title:"不及格",align:"center",dataIndex:"failed_count",sorter:!0,render:function(e,n){return(0,O.jsx)("span",{className:"c-black",children:e||0})}},{title:"未开始",align:"center",dataIndex:"not_submitted_count",sorter:!0,render:function(e,n){return(0,O.jsx)("span",{className:"c-black",children:e||0})}}].filter((function(e){return!!e})),Te=[{title:"序号",dataIndex:"number",width:80,fixed:"left",ellipsis:!0,render:function(e,n,t){return(0,O.jsx)("span",{style:{color:"#333"},children:g.limit*(g.page-1)+t+1})}},{title:"图文作业名称",dataIndex:"homework_name",align:"left",width:180,render:function(e,n,t){return(0,O.jsx)("span",{style:{color:"#666666"},children:e})}},{title:"类型",align:"left",dataIndex:"normal_type_en",render:function(e){return(0,O.jsx)("span",{children:Ie[e]||0})}},{title:"得分率",dataIndex:"rate",width:120,ellipsis:!0,render:function(e,n,t){return(0,O.jsxs)("span",{style:{color:"#000"},children:[parseFloat((100*e).toPrecision(12)).toFixed(1),"%"]})}},{title:"操作",align:"right",dataIndex:"challenge_count",render:function(e,n){return(0,O.jsx)("a",{style:{color:"#165DFF"},onClick:function(e){e.stopPropagation(),(0,z.xg)("/classrooms/".concat(null==f?void 0:f.coursesId,"/common_homework/").concat(null==n?void 0:n.homework_id,"/detail"))},children:"查看作业"})}}].filter((function(e){return!!e}));return(0,O.jsxs)("div",{children:[(0,O.jsxs)(b.Z,{spinning:ye,children:[(0,O.jsxs)("div",{style:{marginTop:"20px",background:"#ffffff",padding:"10px 20px"},children:[(0,O.jsxs)("div",{style:{fontSize:"16px",display:"flex",marginTop:"14px"},children:[(0,O.jsxs)("span",{style:{flex:"1"},children:["整体作业概览 ",(0,O.jsx)("span",{style:{fontSize:12,color:"#666666"},children:"统计已截止的作业"})]}),(0,O.jsx)("div",{children:(0,O.jsxs)(H.Z.Group,{defaultValue:["is_common","is_jupyter","is_jupyter_lab"],value:se,onChange:function(e){0!==(null==e?void 0:e.length)?(ie(e),Pe(e,0)):U.ZP.warning("至少存在一个选项")},children:[(0,O.jsx)(H.Z,{value:"is_common",children:"普通类型"}),(0,O.jsx)(H.Z,{value:"is_jupyter",children:"jupyter类型"}),(0,O.jsx)(H.Z,{value:"is_jupyter_lab",children:"jupyterLab类型"})]})})]}),(0,O.jsx)("div",{style:{display:"flex",height:"180px",marginTop:"10px",background:"#ffffff"},children:null==Z?void 0:Z.map((function(e,n){return(0,O.jsxs)("div",{className:J.titlespan,children:[(0,O.jsxs)("span",{style:{color:"#333333",fontSize:"34px"},children:[e.passed||0," %"]}),(0,O.jsx)("p",{style:{marginTop:"30px"},children:e.name})]})}))})]}),(0,O.jsxs)("div",{style:{marginTop:"20px",background:"#ffffff",padding:"10px 20px"},children:[(0,O.jsxs)("div",{style:{fontSize:"16px",display:"flex",marginTop:"14px"},children:[(0,O.jsx)("span",{style:{flex:"1"},children:"成绩分布情况"}),(0,O.jsx)("div",{children:(0,O.jsxs)(H.Z.Group,{defaultValue:["is_common","is_jupyter","is_jupyter_lab"],value:ce,onChange:function(e){0!==(null==e?void 0:e.length)?(de(e),Pe(e,1)):U.ZP.warning("至少存在一个选项")},children:[(0,O.jsx)(H.Z,{value:"is_common",children:"普通类型"}),(0,O.jsx)(H.Z,{value:"is_jupyter",children:"jupyter类型"}),(0,O.jsx)(H.Z,{value:"is_jupyter_lab",children:"jupyterLab类型"})]})})]}),(0,O.jsx)(k.Z,{option:{color:["#4F74C7"],tooltip:{trigger:"axis",axisPointer:{type:"shadow"},formatter:function(e){return e[0].axisValue,"占比:"+e[0].data+"%"}},grid:{left:"3%",right:"10%",bottom:"3%",containLabel:!0},xAxis:[{name:"分数",type:"category",data:["[0,60)","[60,70)","[70,80)","[80,90)","[90,100]"],axisTick:{alignWithLabel:!0}}],yAxis:[{name:"占比",type:"value",min:0,max:100,axisLabel:{formatter:"{value}%"}}],series:[{name:"占比",type:"bar",barWidth:"59%",data:null==Y?void 0:Y.map((function(e){return(100*e.rate).toFixed(1)})),label:{show:!0,position:"top",color:"#333333",formatter:function(e){return"".concat(e.data,"%")}}}]},style:{height:470,width:936},opts:{renderer:"svg"}})]}),(0,O.jsxs)("div",{style:{marginTop:"20px",background:"#ffffff",padding:"10px 20px"},children:[(0,O.jsxs)("div",{style:{fontSize:"16px",display:"flex",alignItems:"center",marginTop:"14px"},children:[(0,O.jsx)("span",{style:{flex:"1"},children:"得分率排行"}),(0,O.jsx)("div",{className:"mr20",children:(0,O.jsxs)(H.Z.Group,{defaultValue:["is_common","is_jupyter","is_jupyter_lab"],value:xe,onChange:function(e){0!==(null==e?void 0:e.length)?(fe(e),Pe(e,2)):U.ZP.warning("至少存在一个选项")},children:[(0,O.jsx)(H.Z,{value:"is_common",children:"普通类型"}),(0,O.jsx)(H.Z,{value:"is_jupyter",children:"jupyter类型"}),(0,O.jsx)(H.Z,{value:"is_jupyter_lab",children:"jupyterLab类型"})]})}),"排序:",(0,O.jsxs)(y.default,{style:{width:"100px"},defaultValue:"jack",onChange:function(e){var n,t;"jack"===e?null==G||null===(n=G.scoring_rate_ranking)||void 0===n||n.sort((function(e,n){return n.rate-e.rate})):null==G||null===(t=G.scoring_rate_ranking)||void 0===t||t.sort((function(e,n){return e.rate-n.rate}));V(d()({},G))},children:[(0,O.jsx)(y.default.Option,{value:"jack",children:"从高到低"}),(0,O.jsx)(y.default.Option,{value:"lucy",children:"从低到高"})]})]}),(0,O.jsx)(P.Z,{}),(0,O.jsxs)("div",{className:(null==G?void 0:G.count)>10?J.overcount:"",children:[(null==G?void 0:G.count)<=0&&(0,O.jsx)(I.Z,{}),null==G||null===(n=G.scoring_rate_ranking)||void 0===n?void 0:n.map((function(e,n){return(0,O.jsxs)("div",{className:J.porgress,children:[(0,O.jsxs)("span",{className:J.span1,children:[n+1,"、 ",(0,O.jsxs)(v.Link,{to:"/classrooms/".concat(null==f?void 0:f.coursesId,"/common_homework/").concat(null==e?void 0:e.homework_id,"/detail"),target:"_blank",children:[" ",(0,O.jsx)(E.Z,{title:null==e?void 0:e.homework_name,children:null==e?void 0:e.homework_name})," "]})]}),(0,O.jsx)("span",{className:J["normal_type_".concat(null==e?void 0:e.normal_type_en)],children:Ie[null==e?void 0:e.normal_type_en]}),(0,O.jsxs)("div",{style:{display:"flex"},children:[(0,O.jsx)("span",{className:100*(null==e?void 0:e.rate)>20?J.color_20:J.color_10,style:{width:"".concat(100*(null==e?void 0:e.rate),"%"),display:"flex",height:"40px"}}),(0,O.jsxs)("span",{className:J.span2,style:{color:100*(null==e?void 0:e.rate)>20?"#1989FA":"#E92216"},children:[parseFloat((100*(null==e?void 0:e.rate)).toPrecision(12)).toFixed(1)," %"]})]})]})}))]}),(0,O.jsx)("div",{style:{marginTop:"40px",marginBottom:"20px"},children:(null==G||null===(t=G.scoring_rate_ranking)||void 0===t?void 0:t.filter((function(e){return(null==e?void 0:e.rate)<.21})).length)>0&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)("span",{children:["本课堂中有 ",(0,O.jsx)("span",{style:{color:"#3061d0"},children:null==G||null===(a=G.scoring_rate_ranking)||void 0===a?void 0:a.filter((function(e){return(null==e?void 0:e.rate)<.21})).length})," 个作业的得分率低于20%,说明学生对相关知识点掌握比较薄弱。建议要求学生加强相关知识点的练习。"]}),(0,O.jsx)("span",{onClick:r()(i()().mark((function e(){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Pe(xe,2,!0),Ze(!0);case 2:case"end":return e.stop()}}),e)}))),style:{color:"#3061d0",cursor:"pointer"},children:"查看详情"})]})})]}),(0,O.jsxs)("div",{style:{marginTop:"20px",background:"#ffffff",padding:"10px 20px"},children:[(0,O.jsxs)("div",{style:{fontSize:"16px",display:"flex",alignItems:"center",marginTop:"14px"},children:[(0,O.jsx)("span",{style:{flex:"1"},children:"图文作业分布情况"}),"作业类型",(0,O.jsxs)(y.default,{style:{width:"140px",margin:"0 10px"},defaultValue:"all",onChange:function(e){"all"==e?(he(["is_common","is_jupyter","is_jupyter_lab"]),Pe(["is_common","is_jupyter","is_jupyter_lab"],3)):(he([e]),Pe([e],3))},children:[(0,O.jsx)(y.default.Option,{value:"all",children:"全部"}),(0,O.jsx)(y.default.Option,{value:"is_common",children:"普通类型"}),(0,O.jsx)(y.default.Option,{value:"is_jupyter",children:"jupyter类型"}),(0,O.jsx)(y.default.Option,{value:"is_jupyter_lab",children:"jupyterLab类型"})]}),(0,O.jsx)(Q.t7,{style:{width:280,marginLeft:20},placeholder:"请输入图文作业名称进行搜索",value:f.keywords,onChange:function(e){f.keywords=e,m(d()({},f)),Pe(_e,3)}})]}),(0,O.jsx)(P.Z,{}),(0,O.jsx)(F.Z,{columns:Ce,dataSource:null==M?void 0:M.distribution_info,onChange:function(e,n,t){f.page=null==e?void 0:e.current,f.limit=null==e?void 0:e.pageSize,null!=t&&t.order?(f.order_column=null==t?void 0:t.field,f.order="ascend"===(null==t?void 0:t.order)?"asc":"desc"):(f.order=null,f.b_order=null),m(d()({},f)),Pe(_e,3)},pagination:{size:"default",hideOnSinglePage:!1,showSizeChanger:!0,total:null==M?void 0:M.count,showTotal:function(e){return(0,O.jsxs)("span",{className:"mr10",children:["共 ",(0,O.jsx)("span",{style:{color:"#165DFF"},children:e})," 条数据"]})}}})]})]}),(0,O.jsx)(X.Z,{centered:!0,title:"作业列表",open:Se,onCancel:function(){return Ze(!1)},footer:(0,O.jsx)("div",{children:(0,O.jsx)(N.ZP,{type:"primary",onClick:function(){return Ze(!1)},children:"知道了"})}),width:800,bodyStyle:{minHeight:100},onOk:r()(i()().mark((function e(){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Ze(!1);case 1:case"end":return e.stop()}}),e)}))),children:(0,O.jsxs)("div",{className:"",children:[(0,O.jsx)("div",{children:(0,O.jsxs)("span",{children:["本课堂中有 ",(0,O.jsx)("span",{style:{color:"#3061d0"},children:null==ne?void 0:ne.count})," 个作业的得分率低于20%,说明学生对相关知识点掌握比较薄弱。建议要求学生加强相关知识点的练习。"]})}),(0,O.jsx)("div",{children:(0,O.jsx)(Q.t7,{style:{width:"100%",marginTop:30},placeholder:"请输入图文作业名称进行搜索",value:g.keywords,onChange:function(){var e=r()(i()().mark((function e(n){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:g.keywords=n,j(d()({},g)),Pe(xe,2,!0);case 3:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()})}),(0,O.jsx)("div",{className:"mt20",children:(0,O.jsx)(F.Z,{columns:Te,dataSource:null==ne?void 0:ne.scoring_rate_ranking,onChange:function(e,n,t){g.page=null==e?void 0:e.current,g.limit=null==e?void 0:e.pageSize,j(d()({},g)),Pe(xe,2,!0)},scroll:{y:500},pagination:{size:"default",hideOnSinglePage:!1,showSizeChanger:!0,total:null==ne?void 0:ne.count,showTotal:function(e){return(0,O.jsxs)("span",{className:"mr10",children:["共 ",(0,O.jsx)("span",{style:{color:"#165DFF"},children:e})," 条数据"]})}}})})]})})]})}));m().locale("zh-cn");var ee=(0,v.connect)((function(e){var n=e.classroomList,t=e.loading;return{classroomList:n,globalSetting:e.globalSetting,loading:t,teachers:e.teachers,video:e.video}}))((function(e){var n,t,a,s,o=e.classroomList,c=(e.globalSetting,e.video),u=(e.loading,e.dispatch),f=e.teachers,m=(0,x.useState)(d()(d()({},(0,v.useParams)()),{},{page:1})),N=p()(m,2),P=N[0],F=(N[1],o.detailCourseStatisticsList),C=(o.detailCourseGroupsList,o.detailCourseWorkscore,o.detailCourseActscore,o.detailLeftMenus),T=c.videoPeopleStatics,L=c.videoDurationStatics,z=_.default.RangePicker,D=(0,x.useState)([]),E=p()(D,2),V=E[0],A=E[1],B=(F.top_scores,(0,x.useState)([])),M=p()(B,2),K=(M[0],M[1],(0,x.useState)("1")),R=p()(K,2),W=(R[0],R[1],(0,x.useState)(!1)),Y=p()(W,2),H=(Y[0],Y[1],(0,x.useState)()),U=p()(H,2),X=(U[0],U[1],(0,x.useState)(!1)),J=p()(X,2),Q=(J[0],J[1],(0,x.useState)([])),ee=p()(Q,2),ne=ee[0],te=ee[1],ae=(0,x.useState)(!0),le=p()(ae,2),se=le[0],ie=le[1],oe=(0,x.useState)(-1),re=p()(oe,2),ce=re[0],de=re[1],ue=(0,x.useState)(!1),pe=p()(ue,2),xe=pe[0],fe=pe[1],me=(0,x.useState)("1"),ve=p()(me,2),_e=ve[0],he=ve[1],ge=(0,x.useState)({course_id:P.coursesId}),je=p()(ge,2),ye=je[0],be=je[1];P.id=P.coursesId,P.course_group_id=0,P.sort="desc",P.limit=20,C.course_modules&&o.detailLeftMenus.course_modules.filter((function(e){return"board"===e.type}))[0];var ke=function(e){0===(null==e?void 0:e.status)&&0===ne.length&&(ie(!1),te([null==e?void 0:e.shixuns_count,null==e?void 0:e.video_count,null==e?void 0:e.normals_count]),null!=e&&e.shixuns_count||null==e||!e.video_count||he("0"),null!=e&&e.shixuns_count||null!=e&&e.video_count||null==e||!e.normals_count||he("2"))};(0,x.useEffect)((function(){u({type:"teachers/getAllCourseGroups",payload:{coursesId:null==P?void 0:P.coursesId,id:null==P?void 0:P.coursesId,page:1,limit:2e3}})}),[]),(0,x.useEffect)((function(){0===parseInt(_e)&&Se()}),[ce,_e]);var we,Se=function(){var e=r()(i()().mark((function e(){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return fe(!0),e.next=3,u({type:"video/getVideoDurationStatics",payload:{course_id:P.coursesId,group_ids:[ce]}});case 3:return e.next=5,u({type:"video/getVideoPeopleStatics",payload:d()(d()({},ye),{},{group_ids:[ce]})});case 5:fe(!1);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Ze=(0,x.useMemo)((function(){var e,n=(f||{}).allCourseGroups,t=(null==n||null===(e=n.course_groups)||void 0===e?void 0:e.map((function(e){return{label:null==e?void 0:e.name,value:null==e?void 0:e.id}})))||[];return[{label:"全部",value:-1},{label:"未分班",value:0}].concat(l()(t))}),[f]);return(0,O.jsxs)("section",{children:[(0,O.jsxs)("aside",{className:w,children:[(0,O.jsx)("div",{className:S,children:(0,O.jsx)("div",{className:"font16",children:"学情分析"})}),!!ne.length&&ne.some((function(e){return!!e}))&&(0,O.jsxs)(h.Z,{className:Z,align:"middle",children:[(0,O.jsx)(g.Z,{flex:"1",children:(0,O.jsx)(j.Z,{className:"blod font16",mode:"horizontal",onClick:function(e){he(e.key)},style:{margin:"0 18px"},defaultSelectedKeys:["1"],selectedKeys:[_e],children:[{name:"课程实验",id:"1"},{name:"视频",id:"0"},{name:"图文作业",id:"2"}].map((function(e,n){return ne[n]?(0,O.jsx)(j.Z.Item,{className:"font16",style:{padding:"0 0 12px 0 ",margin:"0 15px"},children:e.name},e.id):null}))})}),(0,O.jsx)(g.Z,{flex:"180px",children:(0,O.jsx)(y.default,{options:Ze,style:{width:180},value:ce,onChange:function(e){de(e)}})})]})]}),0===ne.length||ne.every((function(e){return!e}))?(0,O.jsxs)(O.Fragment,{children:[se?(0,O.jsx)(b.Z,{style:{width:"100%",marginTop:150}}):(0,O.jsx)(I.Z,{}),(0,O.jsx)("div",{style:{display:"none"},children:(0,O.jsx)(q,{courseGroupId:ce,sendToData:ke})})]}):(0,O.jsx)(O.Fragment,{children:0===parseInt(_e)?(0,O.jsx)(b.Z,{spinning:xe,children:(0,O.jsxs)("div",{children:[(0,O.jsxs)("aside",{className:"c-grey-999 mt20 mb20",children:[(0,O.jsx)("i",{className:"iconfont icon-tishi3 mr3 font20",style:{color:"#0152d9"}}),"视频学习情况仅针对教师上传到本平台的视频,外链视频不在统计范围内。"]}),(0,O.jsxs)("aside",{className:"mt20 bg-white inline-block w100",children:[(0,O.jsxs)(h.Z,{className:"pt30 pl40 pr40",children:[(0,O.jsx)(g.Z,{flex:"1",children:(0,O.jsx)("span",{className:"font18",children:"视频学习人数变化"})}),(0,O.jsx)(g.Z,{children:(0,O.jsx)(z,{allowClear:!0,disabledDate:function(e){if(!V||0===V.length)return!1;var n=V[0]&&e.diff(V[0],"days")>30;return V[1]&&V[1].diff(e,"days")>30||n},onCalendarChange:function(e){A(e)},onChange:function(e,n){n[0]?(ye.start_at=n[0],ye.end_at=n[1]):(delete ye.start_at,delete ye.end_at),be(d()({},ye))}})})]}),!(null==T||null===(n=T.data)||void 0===n||!n.length)&&(0,O.jsx)(k.Z,{option:null!=T&&T.data?{tooltip:{trigger:"item",formatter:"{a} <br/>{b} : {c}人"},xAxis:{type:"category",name:"日期",splitLine:{show:!0},data:null==T?void 0:T.data.map((function(e){return e[0]}))},grid:{left:"3%",right:"8%",bottom:"13%",containLabel:!0},yAxis:{name:"人数",minorTick:{show:!0},minorSplitLine:{show:!0}},series:[{name:"日期",type:"line",smooth:!0,data:null==T?void 0:T.data.map((function(e){return e[1]}))}]}:{},style:{height:470,width:966},opts:{renderer:"svg"}}),!(null!=T&&null!==(t=T.data)&&void 0!==t&&t.length)&&(0,O.jsx)(I.Z,{})]}),(0,O.jsxs)("aside",{className:"mt20 bg-white pr30 inline-block w100",children:[(0,O.jsxs)(h.Z,{className:"pt30 pl40 pr40",children:[(0,O.jsx)(g.Z,{children:(0,O.jsx)("span",{className:"font18",children:"视频学习时长情况"})}),(0,O.jsx)(g.Z,{})]}),!(null!=L&&null!==(a=L.data)&&void 0!==a&&a.every((function(e){return 0===e[1]})))&&(0,O.jsx)(k.Z,{option:null!=T&&T.data?{color:["#3398DB"],tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{left:"3%",right:"8%",bottom:"3%",containLabel:!0},xAxis:[{name:"学习时长",type:"category",data:["10分钟内","10-30分钟","30分钟-1小时","1小时-2小时","2小时以上"],axisTick:{alignWithLabel:!0}}],yAxis:[{name:"人数",type:"value"}],series:[{name:"人数",type:"bar",barWidth:"60%",data:null==L||null===(we=L.data)||void 0===we?void 0:we.map((function(e){return e[1]}))}]}:{},style:{height:470,width:936},opts:{renderer:"svg"}}),(null==L||null===(s=L.data)||void 0===s?void 0:s.every((function(e){return 0===e[1]})))&&(0,O.jsx)(I.Z,{})]}),(0,O.jsx)("aside",{className:"mt20",children:(0,O.jsx)(G,{courseGroupId:ce})})]})}):1===parseInt(_e)?(0,O.jsx)(q,{courseGroupId:ce,sendToData:ke}):(0,O.jsx)($,{courseGroupId:ce,sendToData:ke})})]})}))},87011:function(e,n){n.Z={divback:"divback___ntOaK",title:"title___YscwY",divstyle:"divstyle___ZqCpS",studentListTable:"studentListTable___Ft0kg"}}}]); |