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__Classrooms__Lists__Stati...

2 lines
21 KiB

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[8885],{6629:function(ye,j,p){var l=p(59301),n=p(93314),u=p(3113),P=Object.defineProperty,d=Object.defineProperties,T=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,Z=(h,F,I)=>F in h?P(h,F,{enumerable:!0,configurable:!0,writable:!0,value:I}):h[F]=I,v=(h,F)=>{for(var I in F||(F={}))R.call(F,I)&&Z(h,I,F[I]);if(b)for(var I of b(F))M.call(F,I)&&Z(h,I,F[I]);return h},r=(h,F)=>d(h,T(F));const Y=({img:h,buttonProps:F={},styles:I={},customText:E,ButtonText:H,ButtonClick:W,Buttonclass:K,ButtonTwo:k,imgStyles:U,loading:q=!1})=>l.createElement("section",{className:"tc animated fadeIn",style:v(v({},{color:"#999",margin:"100px auto",visibility:q?"hidden":"visible"}),I)},l.createElement("img",{src:h||n,style:r(v({},U),{pointerEvents:"none",userSelect:"none"})}),l.createElement("p",{className:"mt20 font14"},E||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),H&&l.createElement(u.ZP,v({className:K,onClick:W},F),H),k&&k);j.Z=Y},16421:function(ye,j,p){p.r(j),p.d(j,{default:function(){return oe}});var l=p(59301),n=p(63144),u=p(24905),P=p(56511),d=p(20834),T=p(14491),b=p(76265),R={flex_box_center:"flex_box_center___t6ZRf",flex_space_between:"flex_space_between___iLqvT",flex_box_vertical_center:"flex_box_vertical_center___vhciq",flex_box_center_end:"flex_box_center_end___Ajnyq",flex_box_column:"flex_box_column___voQHo",containerTitle:"containerTitle___jrfsf",menu:"menu___hWawk",export:"export___p1CrQ",selecGroup:"selecGroup___npKNz",zhankai:"zhankai___HixZB"},M=p(15826),Z=p(99232),v=p.n(Z),r=p(59301);const Y=[{type:"shixun",sorter:{field:"",order:""},column:(i,y={})=>{const{field:c="",order:g=""}=y;return[{title:"\u5E8F\u53F7",dataIndex:"number",align:"center",width:70,render:(o,a,D)=>i.limit*(i.page-1)+D+1},{title:"\u59D3\u540D",dataIndex:"user_name",ellipsis:!0},{title:"\u5B66\u53F7",dataIndex:"student_id",ellipsis:!0},{title:"\u5206\u73ED",dataIndex:"course_group_name",ellipsis:!0},{title:"\u6311\u6218\u5B9E\u8BAD\u6570",dataIndex:"shixuns_count",sortOrder:c==="shixuns_count"&&g,sorter:!0,width:104,render:o=>o||0},{title:"\u901A\u5173\u5B9E\u8BAD\u6570",dataIndex:"passed_count",sortOrder:c==="passed_count"&&g,sorter:!0,width:104,render:o=>o||0},{title:"\u5B8C\u6210\u5173\u5361\u6570",dataIndex:"passed_game_count",sortOrder:c==="passed_game_count"&&g,sorter:!0,width:104,render:o=>o||0},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",sortOrder:c==="evaluate_count"&&g,sorter:!0,width:90,render:o=>o||0},{title:"\u6240\u7528\u65F6\u95F4",dataIndex:"cost_time",sortOrder:c==="cost_time"&&g,sorter:!0,width:130,render:o=>o&&(0,M.li)(o)||0},{title:"\u64CD\u4F5C",width:60,dataIndex:"user_id",render:(o,a)=>(a==null?void 0:a.shixuns_count)===null?"":r.createElement("a",{href:`/classrooms/${i==null?void 0:i.coursesId}/student_statistics/${i==null?void 0:i.categoryId}/${o}/shixun`,target:"_blank"},"\u8BE6\u60C5")}]}},{type:"video",sorter:{field:"",order:""},column:(i,y={})=>{const{field:c="",order:g=""}=y;return[{title:"\u5E8F\u53F7",dataIndex:"number",align:"center",width:70,render:(o,a,D)=>i.limit*(i.page-1)+D+1},{title:"\u59D3\u540D",width:120,dataIndex:"user_name",ellipsis:!0},{title:"\u5B66\u53F7",dataIndex:"student_id",width:70,ellipsis:!0},{title:"\u5206\u73ED",width:100,dataIndex:"course_group_name",ellipsis:!0},{title:"\u5B66\u4E60\u89C6\u9891\u6570",dataIndex:"num",sortOrder:c==="num"&&g,sorter:!0,width:104},{title:"\u7D2F\u8BA1\u5B66\u4E60\u65F6\u957F",dataIndex:"total_duration",sortOrder:c==="total_duration"&&g,sorter:!0,width:130,render:o=>o&&(0,M.li)(o)||0},{title:"\u5E73\u5747\u5B66\u4E60\u5B8C\u6210\u5EA6",dataIndex:"rate",sortOrder:c==="rate"&&g,sorter:!0,width:130,render:o=>o&&`${o}%`||0},{title:"\u5F00\u59CB\u5B66\u4E60\u65F6\u95F4",dataIndex:"start_at",width:100,render:o=>o&&v()(o).format("YYYY-MM-DD")||"-"},{title:"\u6700\u540E\u5B66\u4E60\u65F6\u95F4",dataIndex:"end_at",width:100,render:o=>o&&v()(o).format("YYYY-MM-DD")||"-"},{title:"\u64CD\u4F5C",width:60,fixed:"right",dataIndex:"user_id",render:(o,a)=>(a==null?void 0:a.total_duration)===""?"":r.createElement("a",{href:`/classrooms/${i==null?void 0:i.coursesId}/student_statistics/${i==null?void 0:i.categoryId}/${o}/video`,target:"_blank"},"\u8BE6\u60C5")}]}},{type:"files",sorter:{field:"",order:""},column:(i,y={})=>{const{field:c="",order:g=""}=y;return[{title:"\u5E8F\u53F7",dataIndex:"number",align:"center",width:70,render:(o,a,D)=>i.limit*(i.page-1)+D+1},{title:"\u59D3\u540D",dataIndex:"user_name",ellipsis:!0},{title:"\u5B66\u53F7",dataIndex:"student_id",ellipsis:!0},{title:"\u4E0B\u8F7D\u8D44\u6E90\u6B21\u6570",dataIndex:"num",sortOrder:c==="num"&&g,sorter:!0,render:o=>o||0},{title:"\u6700\u540E\u4E0B\u8F7D\u65F6\u95F4",dataIndex:"end_at",render:o=>o&&v()(o).format("YYYY-MM-DD HH:mm:ss")||"-"},{title:"\u64CD\u4F5C",dataIndex:"user_id",width:60,render:(o,a)=>(a==null?void 0:a.num)===null?"":r.createElement("a",{href:`/classrooms/${i==null?void 0:i.coursesId}/student_statistics/${i==null?void 0:i.categoryId}/${o}/files`,target:"_blank"},"\u8BE6\u60C5")}]}}];var h=p(89392),F=p(6629),I=p(2054),E=p(59301),H=Object.defineProperty,W=Object.defineProperties,K=Object.getOwnPropertyDescriptors,k=Object.getOwnPropertySymbols,U=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable,X=(i,y,c)=>y in i?H(i,y,{enumerable:!0,configurable:!0,writable:!0,value:c}):i[y]=c,m=(i,y)=>{for(var c in y||(y={}))U.call(y,c)&&X(i,c,y[c]);if(k)for(var c of k(y))q.call(y,c)&&X(i,c,y[c]);return i},A=(i,y)=>W(i,K(y)),ee=(i,y,c)=>new Promise((g,o)=>{var a=S=>{try{L(c.next(S))}catch(V){o(V)}},D=S=>{try{L(c.throw(S))}catch(V){o(V)}},L=S=>S.done?g(S.value):Promise.resolve(S.value).then(a,D);L((c=c.apply(i,y)).next())});const se=({classroomList:i,globalSetting:y,dispatch:c})=>{const[g]=(0,n.useSearchParams)(),o=(0,n.useParams)(),[a,D]=(0,l.useState)(A(m({},o),{page:1,limit:10})),[L,S]=(0,l.useState)(!0),[V,re]=(0,l.useState)(!0),[x,z]=(0,l.useState)(g.get("type")||"shixun"),[ne,ie]=(0,l.useState)([]),B=s=>Y.find(C=>C.type===s),[le,G]=(0,l.useState)(B(x).column(a)),[ce,ae]=(0,l.useState)(B(x).sorter),[de,e]=(0,l.useState)(0),[t,_]=(0,l.useState)([]),[$,te]=(0,l.useState)([]),_e=[{name:"\u5B9E\u8DF5\u9879\u76EE",id:"shixun"},{name:"\u89C6\u9891",id:"video"},{name:"\u6559\u5B66\u8BFE\u4EF6",id:"files"}],pe=u.default.Group,[w,O]=(0,l.useState)(),[Q,Ee]=(0,l.useState)(!1),[ve,xe]=(0,l.useState)(!0),[ue,fe]=(0,l.useState)(0),he=s=>{O(s),Ee(!!s.length&&s.length<$.length),xe(s.length===$.length);const C=A(m(A(m({menuKey:x},a),{page:1,limit:10}),B(x).sorter),{course_group_id:s||[]});J(C)},Ae=s=>ee(void 0,null,function*(){O(s.checkAll?$.map(C=>C.value):[]),Ee(!1),xe(s.checkAll),J(A(m({},s),{course_group_id:s.checkAll?"":[]}))}),J=s=>ee(void 0,null,function*(){var C;S(!0);const f=yield(0,b.ZP)(`/api/courses/${s==null?void 0:s.coursesId}/${s==null?void 0:s.menuKey}_statistic.json`,{params:{sort_by:s==null?void 0:s.field,sort_direction:s!=null&&s.order?(C=s==null?void 0:s.order)==null?void 0:C.slice(0,-3):"",page:s==null?void 0:s.page,limit:s==null?void 0:s.limit,course_group_id:s==null?void 0:s.course_group_id}});if(f!=null&&f.data&&(ie((f==null?void 0:f.data)||[]),e(f==null?void 0:f.count),S(!1),t.length===0&&(_([f==null?void 0:f.shixuns_count,f==null?void 0:f.videos_count,f==null?void 0:f.files_count]),re(!1),!(f!=null&&f.shixuns_count)))){if(f!=null&&f.videos_count){z("video");return}if(f!=null&&f.files_count){z("files");return}}});(0,l.useEffect)(()=>{ve&&O($.map(s=>s.value))},[$]),(0,l.useEffect)(()=>{(0,b.ZP)(`/api/courses/${a==null?void 0:a.coursesId}/course_group_list_other.json`,{}).then(C=>{C.course_groups&&(C.course_groups.length>6&&fe(1),te(C.course_groups.map(f=>({label:f.name,value:f.id}))))});const s=A(m(A(m({menuKey:x},a),{page:1,limit:10}),B(x).sorter),{course_group_id:w||""});D(A(m({},a),{page:1,limit:10})),G(B(x).column(s)),J(s)},[x]);const ge=(s,C,f)=>{let N={field:f.field,order:f.order};if((f==null?void 0:f.order)===!1&&(N={field:"",order:""}),!(0,h.isEqual)(N,ce)){f.order||(N=B(x).sorter);const me=A(m(A(m({menuKey:x},a),{page:1,limit:10}),N),{course_group_id:w||""});D(A(m({},a),{page:1,limit:10})),ae(N),J(me),G(B(x).column(me,N));return}const Fe=A(m(A(m({menuKey:x},a),{page:s.current,limit:s.pageSize}),N),{course_group_id:w||""});D(A(m({},a),{page:s.current,limit:s.pageSize})),G(B(x).column(Fe,N)),J(Fe)};return E.createElement("section",{className:R.bg},E.createElement("div",{className:R.containerTitle},E.createElement("div",{className:"font16"},"\u5B66\u751F\u5206\u6790")),E.createElement(P.Z,{loading:V,active:!0,paragraph:{rows:5}},t.every(s=>!s)?E.createElement(F.Z,null):E.createElement(E.Fragment,null,E.createElement(d.default,{style:{position:"relative"},className:R.menu,mode:"horizontal",onClick:s=>{z(s.key)},selectedKeys:x},_e.map(function(s,C){return t[C]?E.createElement(d.default.Item,{className:"font16",style:{padding:"0 0 12px 0 ",margin:"0 30px"},key:s.id},s.name):null}),x!=="files"&&E.createElement("span",{className:R.export,onClick:()=>{(0,I.D9)(A(m({},a),{checkedList:w,menuKey:x}))}},"\u5BFC\u51FA")),x!=="files"&&E.createElement("div",{style:{display:"flex",padding:"10px 0",position:"relative",overflow:"hidden",height:ue===1?70:"auto"},className:"bg-white"},E.createElement("div",{className:R.selecGroup,style:{width:$.length>5?"116px":"56px",whiteSpace:"nowrap"}},"\u9009\u62E9\u73ED\u7EA7:"),E.createElement(u.default,{style:{width:"121px",fontSize:"13px",whiteSpace:"nowrap"},indeterminate:Q,onChange:s=>Ae(A(m(A(m({menuKey:x},a),{page:1,limit:10}),B(x).sorter),{checkAll:s.target.checked})),checked:ve},"\u5168\u90E8"),E.createElement(pe,{options:$,value:w,onChange:he}),!!ue&&E.createElement("div",{className:R.zhankai},ue===1&&E.createElement("span",{onClick:()=>fe(2),style:{whiteSpace:"nowrap"}},"\u5C55\u5F00",E.createElement("i",{className:"iconfont icon-xiala"})),ue===2&&E.createElement("span",{onClick:()=>fe(1),style:{whiteSpace:"nowrap"}},"\u6536\u8D77",E.createElement("i",{style:{transform:"scale(0.5) rotate(180deg) translateY(2px)"},className:"iconfont icon-xiala"})))),E.createElement(T.default,{scroll:{x:830},className:"table-layout bg-white mb20",columns:le,dataSource:ne,rowKey:s=>s.id,loading:L,onChange:ge,pagination:{pageSize:a.limit,total:de,current:a.page,showQuickJumper:!0,hideOnSinglePage:!0,position:["bottomCenter"]}}))))};var oe=(0,n.connect)(({classroomList:i,globalSetting:y})=>({classroomList:i,globalSetting:y}))(se)},2054:function(ye,j,p){p.d(j,{AD:function(){return c},D9:function(){return S},Hp:function(){return q},IM:function(){return re},Iy:function(){return m},KM:function(){return de},MJ:function(){return X},Ne:function(){return V},ON:function(){return B},Uj:function(){return ce},VY:function(){return ne},YO:function(){return G},YX:function(){return le},Zn:function(){return F},_g:function(){return K},_k:function(){return D},c6:function(){return i},cr:function(){return I},eV:function(){return y},fi:function(){return E},gh:function(){return se},hS:function(){return x},iA:function(){return H},j6:function(){return k},je:function(){return a},jj:function(){return U},kS:function(){return ie},o6:function(){return oe},pO:function(){return ae},rQ:function(){return g},sA:function(){return ee},xm:function(){return L},xo:function(){return z},y8:function(){return o},yd:function(){return W}});var l=p(43785),n=p(63144),u=p(15826),P=p(8591),d=p(46961),T=Object.defineProperty,b=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,Z=(e,t,_)=>t in e?T(e,t,{enumerable:!0,configurable:!0,writable:!0,value:_}):e[t]=_,v=(e,t)=>{for(var _ in t||(t={}))R.call(t,_)&&Z(e,_,t[_]);if(b)for(var _ of b(t))M.call(t,_)&&Z(e,_,t[_]);return e},r=(e,t,_)=>new Promise(($,te)=>{var _e=O=>{try{w(_.next(O))}catch(Q){te(Q)}},pe=O=>{try{w(_.throw(O))}catch(Q){te(Q)}},w=O=>O.done?$(O.value):Promise.resolve(O.value).then(_e,pe);w((_=_.apply(e,t)).next())});const Y=()=>{(0,n.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},h=()=>{(0,n.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},F=e=>r(void 0,null,function*(){Y(),(yield(0,l.YR)(v({},e))).status===0&&(yield(0,u.QH)("",(0,u.NY)({url:d.Z.API_SERVER+`/api/courses/${e.coursesId}/export_couser_info.json`,query:e}))),h()}),I=e=>r(void 0,null,function*(){const t=yield(0,l.yS)(v({},e));if(t.status===0)P.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),n.history.push(`/classrooms/${e.coursesId}/exportlist/course_member_act_score`);else{if(t.status===-2)return t;t.status===-3&&((0,n.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),n.history.push(`/classrooms/${e.coursesId}/exportlist/course_member_act_score`))}}),E=e=>r(void 0,null,function*(){const t=yield(0,l.W0)(v({},e));if(t.status===0)P.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),n.history.push(`/classrooms/${e.coursesId}/exportlist/course_total_score`);else{if(t.status===-4)return t;t.status===-3&&((0,n.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),n.history.push(`/classrooms/${e.coursesId}/exportlist/course_total_score`))}}),H=e=>r(void 0,null,function*(){const t=yield(0,l.Nl)(v({},e));if(t.status===0)P.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),n.history.push(`/classrooms/${e.coursesId}/exportlist/course_total_exercise_and_other`);else{if(t.status===-4)return t;t.status===-3&&((0,n.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),n.history.push(`/classrooms/${e.coursesId}/exportlist/course_total_exercise_and_other`))}}),W=e=>r(void 0,null,function*(){const t=yield(0,l.IU)(v({},e));if(t.status===0)P.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),n.history.push(`/classrooms/${e.coursesId}/exportlist/export_star_user`);else{if(t.status===-4)return t;t.status===-3&&((0,n.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),n.history.push(`/classrooms/${e.coursesId}/exportlist/export_star_user`))}}),K=e=>r(void 0,null,function*(){const t=yield(0,l.td)(v({},e));if(t.status===0)P.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),n.history.push(`/classrooms/${e.coursesId}/exportlist/course_total_exercise_and_other`);else{if(t.status===-2)return t;if(t.status===-3)(0,n.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),n.history.push(`/classrooms/${e.coursesId}/exportlist/course_total_exercise_and_other`);else if(t.status===-4)return t}}),k=e=>r(void 0,null,function*(){const t=yield(0,l.QX)(v({},e));if(t.status===0)P.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),n.history.push(`/classrooms/${e.coursesId}/exportlist/course_total_homework`);else{if(t.status===-4)return t;t.status===-3&&((0,n.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),n.history.push(`/classrooms/${e.coursesId}/exportlist/course_total_homework`))}}),U=(e,t)=>r(void 0,null,function*(){const _=yield(0,l.o_)(v({},e));_.status===0?(P.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),n.history.push(`/classrooms/${e.coursesId}/exportlist/${t}`)):_.status===-3&&((0,n.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),n.history.push(`/classrooms/${e.coursesId}/exportlist/${t}`))}),q=(e,t)=>r(void 0,null,function*(){const _=yield(0,l.ZL)(v({},e));_.status===0?(P.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),n.history.push(`/classrooms/${e.coursesId}/exportlist/${t}`)):_.status===-3&&((0,n.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),n.history.push(`/classrooms/${e.coursesId}/exportlist/${t}`))}),X=(e,t)=>r(void 0,null,function*(){const _=yield(0,l.vV)(v({},e));_.status===0?(P.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),n.history.push(`/classrooms/${e.coursesId}/exportlist/${t}`)):_.status===-3&&((0,n.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),n.history.push(`/classrooms/${e.coursesId}/exportlist/${t}`))}),m=(e,t)=>r(void 0,null,function*(){const _=yield(0,l.aP)(v({},e));_.status===0?(P.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),n.history.push(`/classrooms/${e.coursesId}/exportlist/${t}`)):_.status===-3&&((0,n.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),n.history.push(`/classrooms/${e.coursesId}/exportlist/${t}`))}),A=e=>r(void 0,null,function*(){Y(),(yield exportCourseWorkListAppendix(v({},e))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${e.categoryId}/works_list.zip`,query:e}))),h()}),ee=e=>r(void 0,null,function*(){Y(),(yield(0,l.MJ)(v({},e))).status===0&&(yield(0,u.FH)("",(0,u.NY)({url:d.Z.API_SERVER+`/api/polls/${e.categoryId}/commit_result.xlsx`,query:e}))),h()}),se=e=>r(void 0,null,function*(){yield(0,u.FH)("",(0,u.NY)({url:d.Z.API_SERVER+`/api/courses/${e.coursesId}/attendances/export_xlsx_data.xlsx`,query:e}))}),oe=e=>r(void 0,null,function*(){yield(0,u.FH)("",(0,u.NY)({url:d.Z.API_SERVER+`/api/courses/${e.coursesId}/video_study_statics.xlsx`,query:e}))}),i=e=>r(void 0,null,function*(){yield(0,u.FH)("",(0,u.NY)({url:d.Z.API_SERVER+`/api/courses/${e.coursesId}/export_video_study.xlsx`,query:e}))}),y=e=>r(void 0,null,function*(){yield(0,u.FH)("",(0,u.NY)({url:d.Z.API_SERVER+`/api/courses/${e.coursesId}/export_course_students_info.xlsx`,query:e}))}),c=e=>r(void 0,null,function*(){yield(0,u.FH)("",(0,u.NY)({url:d.Z.API_SERVER+"/api/school_manages/students.xlsx",query:e}))}),g=e=>r(void 0,null,function*(){yield(0,u.FH)("",(0,u.NY)({url:d.Z.API_SERVER+"/api/item_banks/export.xlsx",query:e}))}),o=e=>r(void 0,null,function*(){yield(0,u.FH)("",(0,u.NY)({url:d.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:e}))}),a=e=>r(void 0,null,function*(){const t=yield(0,l.Uy)(v({},e));t.status===0?(P.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),n.history.push(`/classrooms/${e.coursesId}/exportlist/exercise_score`)):t.status===-3&&((0,n.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),n.history.push(`/classrooms/${e.coursesId}/exportlist/exercise_score`))}),D=e=>r(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,u.FH)("",(0,u.NY)({url:d.Z.API_SERVER+`/api/export_records/${e.id}.xlsx`,query:e}))}),L=e=>r(void 0,null,function*(){yield(0,u.FH)("",(0,u.NY)({url:d.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:e}))}),S=e=>r(void 0,null,function*(){yield(0,u.FH)("",(0,u.NY)({url:d.Z.API_SERVER+`/api/courses/${e==null?void 0:e.coursesId}/${e.menuKey}_statistic.xlsx?${e.checkedList.map(t=>`course_group_id[]=${t}`).join("&")}`,query:e}))}),V=e=>r(void 0,null,function*(){yield(0,u.FH)("",(0,u.NY)({url:d.Z.API_SERVER+`/api/ec_years/${e==null?void 0:e.ec_year_id}/ec_training_objectives.xlsx`,query:e}))}),re=e=>r(void 0,null,function*(){yield(0,u.FH)(e==null?void 0:e.name,(0,u.NY)({url:d.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:e}))}),x=e=>r(void 0,null,function*(){yield(0,u.FH)("",(0,u.NY)({url:d.Z.API_SERVER+`/api/ec_years/${e==null?void 0:e.ec_year_id}/ec_courses.xlsx`,query:e}))}),z=e=>r(void 0,null,function*(){yield(0,u.FH)("",(0,u.NY)({url:d.Z.API_SERVER+`/api/ec_years/${e==null?void 0:e.ec_year_id}/ec_graduation_requirements.xlsx`,query:e}))}),ne=e=>r(void 0,null,function*(){yield(0,u.FH)("",(0,u.NY)({url:d.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:e}))}),ie=e=>r(void 0,null,function*(){yield(0,u.FH)("",(0,u.NY)({url:d.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:e}))}),B=e=>r(void 0,null,function*(){yield(0,u.FH)("",(0,u.NY)({url:d.Z.API_SERVER+`/api/examination_banks/${e.id}.json`,query:e}))}),le=e=>r(void 0,null,function*(){yield(0,u.FH)("",(0,u.NY)({url:d.Z.API_SERVER+`/api/exercises/${e.categoryId}.json`,query:e}))}),G=e=>r(void 0,null,function*(){yield(0,u.FH)("",(0,u.NY)({url:d.Z.API_SERVER+`/api/polls/${e==null?void 0:e.id}/commit_result.json`,query:e}))}),ce=e=>r(void 0,null,function*(){yield(0,u.FH)("",(0,u.NY)({url:d.Z.API_SERVER+"/api/paths/get_task_pass.json",query:e}))}),ae=(e,t)=>r(void 0,null,function*(){yield(0,u.FH)(t||"",(0,u.NY)({url:d.Z.API_SERVER+`/api/exercises/${e==null?void 0:e.exercise_id}/consult_exercise.json`,query:e}))}),de=e=>r(void 0,null,function*(){yield(0,u.FH)("",(0,u.NY)({url:d.Z.API_SERVER+`/api/competitions/${e==null?void 0:e.identifier}/competition_commit_records/member_works.xlsx`,query:e}))})}}]);