1 |
- const e=[{label:"\u5B66\u751F\u4FE1\u606F",value:"student"},{label:"\u6559\u804C\u5DE5\u4FE1\u606F",value:"teacher"},{label:"\u6536\u8D39\u4FE1\u606F",value:"fee"}],n=[{title:"\u6570\u636E\u6E90\u540D\u79F0",dataIndex:"name",align:"left"},{title:"\u6570\u636E\u6E90\u7C7B\u578B",dataIndex:"sourceType",align:"left",width:150,customRender:({text:l})=>{const t=e.filter(a=>a.value===l);return t.length>0?t[0].label:l}}],o=[{field:"name",label:"\u6570\u636E\u6E90\u540D\u79F0",component:"Input",colProps:{span:8}}],p=[{label:"\u6570\u636E\u6E90\u540D\u79F0",field:"name",component:"Input",required:!0,colProps:{span:24}},{label:"\u6570\u636E\u6E90\u7C7B\u578B",field:"sourceType",component:"Select",required:!0,colProps:{span:24},componentProps:{options:e,getPopupContainer:()=>document.body}}];export{e,p as f,o as s,n as t};
|