1 |
- var g=(t,I,c)=>new Promise((p,u)=>{var y=s=>{try{m(c.next(s))}catch(_){u(_)}},x=s=>{try{m(c.throw(s))}catch(_){u(_)}},m=s=>s.done?p(s.value):Promise.resolve(s.value).then(y,x);m((c=c.apply(t,I)).next())});import{a as G,c as H,__tla as W}from"./index-5eb30ce0.js";import{h as T,d as X,c$ as L,r as Y,o as r,c as b,w as h,u as o,l as f,N as R,O as U,a as n,q as A,t as j,H as w,e as O,b$ as J,aX as K,aY as Q,_ as Z,__tla as ee}from"./index-b5895273.js";import{g as te,__tla as ae}from"./BaseStudentAssessmentInspectionController-9c8fecaa.js";import{b as D,f as E,__tla as se}from"./index-016fd85f.js";import{e as le}from"./base64-912b9db4.js";import{e as ne,__tla as ie}from"./download-801edd56.js";let F,S,N,de=Promise.all([(()=>{try{return W}catch(t){}})(),(()=>{try{return ee}catch(t){}})(),(()=>{try{return ae}catch(t){}})(),(()=>{try{return se}catch(t){}})(),(()=>{try{return ie}catch(t){}})()]).then(()=>g(void 0,null,function*(){S=[{title:"\u8003\u6838\u5E74\u7EA7",dataIndex:"gradeName"},{title:"\u53D7\u5F71\u54CD\u73ED\u7EA7",dataIndex:"assessmentClassNames"},{title:"\u8003\u6838\u65F6\u95F4",dataIndex:"assessmentDate"},{title:"\u8003\u6838\u7C7B\u522B",dataIndex:"assessmentProjectName"},{title:"\u8003\u6838\u7C7B\u578B",dataIndex:"scoreTypeCn"},{title:"\u8003\u6838\u9879\u76EE",dataIndex:"assessmentCategoryName"},{title:"\u8003\u6838\u5B66\u671F",dataIndex:"semesterName"},{title:"\u8003\u6838\u4EBA",dataIndex:"assessmentUserName"},{title:"\u5206\u6570",dataIndex:"score",customRender:({text:e,record:v})=>v.scoreType!=="score_add"?T("span",{style:{color:"red"}},`${e}`):T("span",{style:{color:"green"}},`+${e}`)},{title:"\u53D7\u5F71\u54CD\u5B66\u751F\u4EBA\u6570",dataIndex:"studentCount"},{title:"\u8003\u6838\u539F\u56E0",dataIndex:"reason"},{title:"\u64CD\u4F5C",dataIndex:"action",slots:{customRender:"action"}}];var t=(e=>(e.assessmentDate="\u8003\u6838\u65E5\u671F",e.assessmentUserName="\u8003\u6838\u4EBA",e.createUserName="\u767B\u8BB0\u4EBA",e.scoreTypeCn="\u8003\u6838\u7C7B\u578B",e.score="\u52A0\u6263\u5206",e.reason="\u8003\u6838\u539F\u56E0",e))(t||{});const I=e=>(K("data-v-bdc34556"),e=e(),Q(),e),c={style:{height:"300px"}},p={style:{height:"300px"}},u={key:1,class:"fileList"},y=I(()=>n("div",{class:"fileList-title"},"\u9644\u4EF6:",-1)),x={class:"fileList-content"},m={class:"fileList-content-item-title"},s=["onClick"],_=["onClick"],$=X({__name:"viewModal",setup(e){const v=L.Item,a=Y(),[P,{}]=G(d=>g(this,null,function*(){a.value=yield te({id:d.id}),z(a.value.studentList),V(a.value.classList)})),[M,{setTableData:V}]=D({title:"\u73ED\u7EA7\u8003\u6838\u8BE6\u60C5",showTableSetting:!1,pagination:!1,columns:[{title:"\u73ED\u7EA7\u540D\u79F0",dataIndex:"className"},{title:"\u73ED\u4E3B\u4EFB\u59D3\u540D",dataIndex:"teacherName"},{title:"\u8054\u7CFB\u65B9\u5F0F",dataIndex:"mobile"}]}),[q,{setTableData:z}]=D({title:"\u5B66\u751F\u8003\u6838\u8BE6\u60C5",showTableSetting:!1,pagination:!1,columns:[{title:"\u5B66\u53F7",dataIndex:"studentId"},{title:"\u5B66\u751F\u59D3\u540D",dataIndex:"name"},{title:"\u6240\u5C5E\u73ED\u7EA7",dataIndex:"className"},{title:"\u6240\u5C5E\u4E13\u4E1A",dataIndex:"majorName"},{title:"\u6027\u522B",dataIndex:"genderCn"},{title:"\u6C11\u65CF",dataIndex:"nation"}]}),k=(d,C)=>{const l=J().VITE_GLOB_FFFILEVIEW_URL+encodeURIComponent(le(d.fileUrl)),i=document.createElement("a");switch(i.href=l,C){case 1:i.target="blank",i.click();break;case 2:ne(d.fileUrl,d.fileName+d.fileType)}i.remove()};return(d,C)=>(r(),b(H,{footer:null,defaultFullscreen:"",onRegister:o(P),title:"\u73ED\u7EA7\u8003\u6838\u8BE6\u60C5"},{default:h(()=>[a.value&&Object.keys(a.value)?(r(),b(o(L),{key:0,bordered:"",title:"\u8BE6\u60C5"},{default:h(()=>[(r(!0),f(R,null,U(Object.keys(o(t)),(l,i)=>(r(),b(o(v),{key:i,label:o(t)[l]},{default:h(()=>[n("span",{style:A(l==="score"&&a.value.scoreType!="score_add"?{color:"red"}:{})},j(a.value[l]),5)]),_:2},1032,["label"]))),128))]),_:1})):w("",!0),n("div",c,[O(E,{onRegister:o(M)},null,8,["onRegister"])]),n("div",p,[O(E,{onRegister:o(q)},null,8,["onRegister"])]),a.value&&a.value.fileInfos?(r(),f("div",u,[y,n("div",x,[(r(!0),f(R,null,U(a.value.fileInfos,(l,i)=>(r(),f("div",{class:"fileList-content-item",key:i},[n("div",m,j(l.fileName),1),n("div",null,[n("span",{onClick:B=>k(l,1)},"\u9884\u89C8",8,s),n("span",{style:{"margin-left":"12px"},onClick:B=>k(l,2)},"\u4E0B\u8F7D",8,_)])]))),128))])])):w("",!0)]),_:1},8,["onRegister"]))}});N=Z($,[["__scopeId","data-v-bdc34556"]]),F=Object.freeze(Object.defineProperty({__proto__:null,default:N},Symbol.toStringTag,{value:"Module"}))}));export{de as __tla,F as a,S as c,N as v};
|