EvaluateResultController-521b75ab.js 6.5 KB

1
  1. var o=(e,a,p)=>new Promise((x,d)=>{var y=t=>{try{i(p.next(t))}catch(r){d(r)}},C=t=>{try{i(p.throw(t))}catch(r){d(r)}},i=t=>t.done?x(t.value):Promise.resolve(t.value).then(y,C);i((p=p.apply(e,a)).next())});import{fy as l,F as n,__tla as v}from"./index-b5895273.js";import{f as _,__tla as T}from"./index-f35bbafa.js";import{a as M,__tla as N}from"./DepartmentController-2e9ada4e.js";let s,c,m,u,f,g,b,w,P,h,S,I,A=Promise.all([(()=>{try{return v}catch(e){}})(),(()=>{try{return T}catch(e){}})(),(()=>{try{return N}catch(e){}})()]).then(()=>o(void 0,null,function*(){I=[{title:"\u5B66\u671F",dataIndex:"semesterName",align:"left",width:100},{title:"\u53D1\u5E03\u90E8\u95E8",dataIndex:"orgName",align:"left",width:150},{title:"\u8BC4\u4EF7\u7C7B\u578B",dataIndex:"evaluateTypeCN",align:"left",width:120},{title:"\u8BC4\u4EF7\u540D\u79F0",dataIndex:"name",align:"left"},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"startTime",width:150},{title:"\u7ED3\u675F\u65F6\u95F4",dataIndex:"endTime",width:150},{title:"\u64CD\u4F5C",dataIndex:"action",slots:{customRender:"action"},align:"center",width:180}],s=[{label:"\u5B66\u671F",field:"baseSemesterId",component:"ApiSelect",colProps:{span:8},componentProps:()=>({getPopupContainer:()=>document.body,api:l,params:{url:"/baseData/semester/option"},showSearch:!0,filterOption:(e,a)=>a.label.toLowerCase().indexOf(e.toLowerCase())>=0||a.value.toLowerCase().indexOf(e.toLowerCase())>=0})},{label:"\u90E8\u95E8",field:"orgId",component:"ApiTreeSelect",colProps:{span:8},componentProps:()=>({getPopupContainer:()=>document.body,api:M,fieldNames:{label:"name",key:"id",value:"id"},showSearch:!0,treeNodeFilterProp:"name"})},{label:"\u8BC4\u4EF7\u7C7B\u578B",field:"evaluateType",component:"ApiSelect",colProps:{span:8},componentProps:{getPopupContainer:()=>document.body,api:_,params:{code:"evaluate_type"}}},{label:"\u540D\u79F0",field:"name",component:"Input",colProps:{span:8}},{label:"\u65F6\u95F4",field:"[startTime,endTime]",component:"RangePicker",componentProps:{getPopupContainer:()=>document.body,format:"YYYY-MM-DD HH:mm:ss",showTime:{format:"HH:mm"}},colProps:{span:8}}],f=[{title:"\u88AB\u8BC4\u5BF9\u8C61",dataIndex:"ObjectIdCN",align:"left"},{title:"\u53C2\u8BC4\u4EBA",dataIndex:"userIdCN",width:120,align:"left"},{title:"\u8BC4\u5206\u72B6\u6001",dataIndex:"status",width:80},{title:"\u7EFC\u5408\u8BC4\u5206",dataIndex:"comprehensiveScore",width:80},{title:"\u64CD\u4F5C",dataIndex:"action",slots:{customRender:"action"},align:"center",width:80}],c=[{field:"baseGradeId",label:"\u5E74\u7EA7",component:"ApiSelect",componentProps:{api:l,getPopupContainer:()=>document.body,params:{url:"baseData/grade/option"}},colProps:{span:8}},{field:"teacherId",label:"\u4EFB\u8BFE\u6559\u5E08",component:"ApiSelect",componentProps:{api:l,getPopupContainer:()=>document.body,params:{url:"educational/abutment/teacher-info"},fieldNames:{label:"name",value:"id"}},colProps:{span:8}},{field:"classId",label:"\u73ED\u7EA7",component:"ApiSelect",componentProps:{api:l,getPopupContainer:()=>document.body,params:{url:"educational/class/option"}},colProps:{span:8}},{field:"status",label:"\u662F\u5426\u8BC4\u5206",component:"Select",componentProps:{options:[{label:"\u672A\u8BC4\u5206",value:"0"},{label:"\u5DF2\u8BC4\u5206",value:"1"}],getPopupContainer:()=>document.body},colProps:{span:8}},{field:"checkObject",label:"\u67E5\u8BE2\u5BF9\u8C61",component:"Select",componentProps:{options:[{label:"\u5168\u90E8",value:"0"},{label:"\u88AB\u8BC4\u5BF9\u8C61",value:"1"},{label:"\u53C2\u8BC4\u4EBA",value:"2"}],getPopupContainer:()=>document.body},colProps:{span:8}},{label:"\u59D3\u540D",field:"name",component:"Input",colProps:{span:8}}],S=[{title:"\u5E8F\u53F7",dataIndex:"index",width:60,customCell:e=>({rowSpan:e.rowSpan})},{title:"\u6807\u9898",dataIndex:"topic",align:"left",customCell:e=>({rowSpan:e.rowSpan})},{title:"\u9898\u76EE",dataIndex:"problem",align:"left"},{title:"\u9898\u76EE\u5206\u6570",width:120,dataIndex:"score",align:"left"},{title:"\u5B9E\u9645\u5206\u6570",dataIndex:"actualScore",align:"left",width:100},{title:"\u610F\u89C1",dataIndex:"opinion",align:"left",width:200}],b=[{field:"grade",label:"\u5E74\u7EA7",component:"ApiSelect",componentProps:{api:l,getPopupContainer:()=>document.body,params:{url:"baseData/grade/option"}},colProps:{span:8}},{field:"classId",label:"\u73ED\u7EA7",component:"ApiSelect",componentProps:{api:l,getPopupContainer:()=>document.body,params:{url:"educational/class/option"}},colProps:{span:8}},{field:"teacher",label:"\u4EFB\u8BFE\u6559\u5E08",component:"ApiSelect",componentProps:{api:l,getPopupContainer:()=>document.body,params:{url:"educational/abutment/teacher-info"},fieldNames:{label:"name",value:"id"}},colProps:{span:8}},{label:"\u59D3\u540D",field:"name",component:"Input",colProps:{span:8}}],g=[{title:"\u5E8F\u53F7",dataIndex:"index",width:60,customCell:e=>({rowSpan:e.rowSpanTopic})},{title:"\u88AB\u8BC4\u5BF9\u8C61",dataIndex:"objectIdCN",width:120,align:"left",customCell:e=>({rowSpan:e.rowSpanTopic})},{title:"\u5E94\u6253\u5206\u4EBA\u6570",dataIndex:"planExecuterNum",width:80,align:"left",customCell:e=>({rowSpan:e.rowSpanTopic})},{title:"\u5B9E\u9645\u6253\u5206\u4EBA\u6570",dataIndex:"actualExecuterNum",width:80,align:"left",customCell:e=>({rowSpan:e.rowSpanTopic})},{title:"\u9898\u76EE",align:"left",dataIndex:"problem"},{title:"\u5F97\u5206",width:80,align:"left",dataIndex:"sumScore"},{title:"\u6807\u9898",dataIndex:"topic",width:200,align:"left",customCell:e=>({rowSpan:e.rowSpanProblem})},{title:"\u5F97\u5206",dataIndex:"topicScore",width:80,align:"left",customCell:e=>({rowSpan:e.rowSpanProblem})},{title:"\u7EFC\u5408\u8BC4\u5206",dataIndex:"synthesisScore",width:80,align:"left",customCell:e=>({rowSpan:e.rowSpanTopic})}],w=function(e,a="modal"){return o(this,null,function*(){return n.get({url:"/evaluate/evaluateResult/detail-page",params:e},{errorMessageMode:a})})},m=function(e,a="modal"){return o(this,null,function*(){return n.get({url:"/evaluate/evaluateResult/detail-page-detail",params:e},{errorMessageMode:a})})},h=function(e,a="modal"){return o(this,null,function*(){return n.download({url:"/evaluate/evaluateResult/export-query",responseType:"blob",method:"POST",data:e},{errorMessageMode:a})})},P=function(e,a="modal"){return o(this,null,function*(){return n.get({url:"/evaluate/evaluateResult/index-page",params:e},{errorMessageMode:a})})},u=function(e,a="modal"){return o(this,null,function*(){return n.get({url:"/evaluate/evaluateResult/result-viewing-page",params:e},{errorMessageMode:a})})}}));export{s as S,A as __tla,c as a,m as b,u as c,f as d,g as e,b as f,w as g,P as h,h as p,S as q,I as t};