data.config-8ac65acb.js 5.3 KB

1
  1. var i=(e,t,o)=>new Promise((m,p)=>{var f=a=>{try{n(o.next(a))}catch(s){p(s)}},b=a=>{try{n(o.throw(a))}catch(s){p(s)}},n=a=>a.done?m(a.value):Promise.resolve(a.value).then(f,b);n((o=o.apply(e,t)).next())});import{fy as l,__tla as x}from"./index-b5895273.js";import{f as r,__tla as w}from"./index-f35bbafa.js";import{b as I,__tla as h}from"./SubjectGroupController-910b22b0.js";let d,c,u,P=Promise.all([(()=>{try{return x}catch(e){}})(),(()=>{try{return w}catch(e){}})(),(()=>{try{return h}catch(e){}})()]).then(()=>i(void 0,null,function*(){d=[{title:"\u51FA\u5E93\u65B9\u5F0F",dataIndex:"issueModeCn",width:80,align:"left",customRender:({text:e})=>e||"/"},{title:"\u51FA\u5E93\u65F6\u95F4",dataIndex:"createDate",width:150,align:"left",customRender:({text:e})=>e||"/"},{title:"\u51FA\u5E93\u6570\u91CF",dataIndex:"issueNumber",width:80,align:"left",customRender:({text:e})=>e||"/"},{title:"\u9886\u53D6\u4EBA\u5458",dataIndex:"claimUser",width:100,align:"left",customRender:({text:e})=>e||"/"},{title:"\u4E66\u53F7\uFF08ISSN\uFF09",dataIndex:"issn",width:120,align:"left",customRender:({text:e})=>e||"/"},{title:"\u4E66\u540D",dataIndex:"bookName",align:"left",customRender:({text:e})=>e||"/"},{title:"\u51FA\u7248\u793E",dataIndex:"publishingHouse",width:120,align:"left",customRender:({text:e})=>e||"/"},{title:"\u4F5C\u8005\uFF08\u4E3B\u7F16\uFF09",dataIndex:"editorInChief",width:120,align:"left",customRender:({text:e})=>e||"/"},{title:"\u5B66\u79D1\u7EC4",dataIndex:"groupName",width:100,align:"left",customRender:({text:e})=>e||"/"},{title:"\u4F7F\u7528\u5B66\u671F",dataIndex:"baseSemesterIdCn",width:120,align:"left",customRender:({text:e})=>e||"/"},{title:"\u4F7F\u7528\u73ED\u7EA7",dataIndex:"className",width:100,align:"left",customRender:({text:e})=>e||"/"},{title:"\u5BF9\u5E94\u8BFE\u7A0B",dataIndex:"courseName",width:100,align:"left",customRender:({text:e})=>e||"/"},{title:"\u89C4\u5212\u6559\u6750",dataIndex:"isTextbookPlanCn",width:100,align:"left",customRender:({text:e})=>e||"/"},{title:"\u7C7B\u578B",dataIndex:"textbookTypeCn",width:100,align:"left",customRender:({text:e})=>e||"/"},{title:"\u89C4\u5219\u578B\u53F7",dataIndex:"specificationsModels",width:100,align:"left",customRender:({text:e})=>e||"/"}],c=[{field:"id",component:"Input",label:"id",show:!1},{label:"\u5B66\u79D1\u7EC4\u540D",field:"groupName",component:"Input",required:!0,colProps:{span:24}},{label:"\u7EC4\u957F\u540D\u79F0",field:"leaderUserId",component:"ApiSelect",componentProps:{api:l,params:{url:"/educational/all-teacher"},valueField:"teacherUserId",labelField:"teacherUserName",showSearch:!0,filterOption:(e,t)=>(t==null?void 0:t.label.toLowerCase().indexOf(e.toLowerCase()))>=0||(t==null?void 0:t.value.toLowerCase().indexOf(e.toLowerCase()))>=0},required:!0,colProps:{span:24}},{label:"\u5B66\u79D1\u7EC4\u8BFE\u7A0B",field:"subjectGroupCourseIds",component:"ApiSelect",componentProps:{api:l,params:{url:"/educational/subject/option-unselected"},showSearch:!0,mode:"multiple",filterOption:(e,t)=>(t==null?void 0:t.label.toLowerCase().indexOf(e.toLowerCase()))>=0||(t==null?void 0:t.value.toLowerCase().indexOf(e.toLowerCase()))>=0},required:!0,colProps:{span:24}},{label:"\u5907\u6CE8",field:"remark",component:"InputTextArea",colProps:{span:24}}],u=[{label:"\u6559\u6750\u7C7B\u578B",field:"textbookType",component:"ApiSelect",componentProps:{getPopupContainer:()=>document.body,api:r,params:{code:"textbook_type"}},colProps:{span:6}},{label:"\u5B66\u671F",field:"baseSemesterId",component:"ApiSelect",componentProps:{getPopupContainer:()=>document.body,api:l,params:{url:"baseData/semester/option"}},colProps:{span:6}},{label:"\u5B66\u79D1\u7EC4",field:"subjectGroupId",component:"ApiSelect",componentProps:{getPopupContainer:()=>document.body,api:l,params:{url:"/educational/subjectGroup/list"}},colProps:{span:6}},{label:"\u4E66\u53F7",field:"issn",component:"Input",colProps:{span:6}},{label:"\u4E66\u540D",field:"bookName",component:"Input",colProps:{span:6}},{label:"\u89C4\u5212\u6559\u6750",field:"isTextbookPlan",component:"ApiSelect",componentProps:{getPopupContainer:()=>document.body,api:r,params:{code:"judgment_method_1"}},colProps:{span:6}},{label:"\u5BF9\u5E94\u8BFE\u7A0B",field:"courseSubjectId",component:"ApiSelect",componentProps:({formModel:e})=>({getPopupContainer:()=>document.body,api:()=>i(void 0,null,function*(){return e.subjectGroupId?(yield I({id:e.subjectGroupId})).subjectGroupCourseList.map(t=>({label:t.courseSubjectIdCN,value:t.courseSubjectId})):[]}),showSearch:!0,filterOption:(t,o)=>(o==null?void 0:o.label.toLowerCase().indexOf(t.toLowerCase()))>=0||(o==null?void 0:o.value.toLowerCase().indexOf(t.toLowerCase()))>=0}),colProps:{span:6}},{label:"\u4F7F\u7528\u73ED\u7EA7",field:"classId",component:"ApiSelect",componentProps:({formModel:e})=>({getPopupContainer:()=>document.body,api:l,params:{url:"educational/class/option"},showSearch:!0,filterOption:(t,o)=>(o==null?void 0:o.label.toLowerCase().indexOf(t.toLowerCase()))>=0||(o==null?void 0:o.value.toLowerCase().indexOf(t.toLowerCase()))>=0}),colProps:{span:6}},{label:"\u4F5C\u4E1A\u672C\u7C7B\u578B",field:"textBookType",component:"ApiSelect",componentProps:{getPopupContainer:()=>document.body,api:r,params:{code:"exercise_book_type"}},colProps:{span:6}},{label:"\u89C4\u683C\u578B\u53F7",field:"specificationsModels",component:"Input",colProps:{span:6}}]}));export{d as T,P as __tla,c as f,u as s};