import{u as P}from"./useFormEdit-e67d5b61-1782572373740v=1.0.0.js";import{g as I}from"./scoreApi-49c9277f-1782572373740v=1.0.0.js";import{b as R,a as q,D as A,_ as M}from"./index-f6f689f9-1782572373740v=1.0.0.js";import{E as N}from"./eleVendor-48a7d3b8-1782572373740v=1.0.0.js";import{y as d,r as t,m as S,al as o,z as c,I as _,J as a,R as n,u,M as V,A as h,Q as T,a4 as H,F as O,B as Z,O as z}from"./vendor-866bb149-1782572373740v=1.0.0.js";import"./keepAlive-0ac97bbd-1782572373740v=1.0.0.js";const J={class:"pt20 mt30"},Q=d({name:"scoreDetail"}),U=d({...Q,setup(j){const i=t({xs:24,sm:22,md:20,lg:14,xl:23}),f=t({xs:24,sm:24,md:12,lg:12,xl:12}),p=t({xs:24,sm:22,md:18,lg:16,xl:8}),{closeCurrent:y}=P();R();const r=t({}),l=q(),b=t(""),g=t([{key:"type",col:2,label:"\u7C7B\u578B "},{key:"name",col:2,label:"\u540D\u79F0"},{key:"dictTypeSign",col:2,label:"\u5B57\u5178\u6807\u8BC6"},{key:"status",col:2,label:"\u72B6\u6001"},{key:"creatorOrganUnitType",col:2,label:"\u521B\u5EFA\u4EBA"}]),x=t({1:i,2:f,3:p}),v=async m=>{let e=await I(m);if(e.code!==0){N.error(e.msg);return}e.data,r.value={...e.data}};S(()=>{l.query.id&&(b.value=l.query.id,r.value.id=l.query.id,v(l.query.id))});const B=()=>{y()};return(m,e)=>{const k=o("PaCol"),C=o("PaRow"),F=o("el-button"),E=o("el-form-item"),w=o("el-form"),D=o("HZPageLayout");return c(),_(D,{isBack:!0,title:u(l).meta.title},{default:a(()=>[n(w,{model:u(r),ref:"ruleFormRef","label-width":"170px"},{default:a(()=>[V(' <div class="divider mt16 mb28">\u57FA\u672C\u4FE1\u606F</div> '),n(C,null,{default:a(()=>[(c(!0),h(T,null,H(u(g),(s,L)=>(c(),_(k,O({key:L},{ref_for:!0},u(x)[s.col]),{default:a(()=>[n(A,{label:s.label,value:u(r)[s.key],type:s.type,enum:s.enum},null,8,["label","value","type","enum"])]),_:2},1040))),128))]),_:1}),n(E,null,{default:a(()=>[Z("div",J,[n(F,{onClick:B},{default:a(()=>e[0]||(e[0]=[z("\u8FD4\u56DE",-1)])),_:1,__:[0]})])]),_:1})]),_:1},8,["model"])]),_:1},8,["title"])}}});const ee=M(U,[["__scopeId","data-v-7fb01a3a"]]);export{ee as default};
