import{u as L}from"./useFormEdit-c3e1ba91-1785478469326v=1.0.0.js";import{u as N,b as A,e as q,K as M,_ as R}from"./index-5a47c360-1785478469326v=1.0.0.js";import{E as V}from"./eleVendor-bc05bc4d-1785478469326v=1.0.0.js";import{x as i,r as o,k as S,al as l,y as c,H as m,I as a,Q as u,u as r,A as _,z as h,P as j,a4 as z,E as H,M as K}from"./vendor-46662d77-1785478469326v=1.0.0.js";import"./keepAlive-4a384a77-1785478469326v=1.0.0.js";const Q={class:"pt20 mt30"},T=i({name:"warnListDetail"}),W=i({...T,setup(Y){const f=o({xs:24,sm:22,md:20,lg:14,xl:23}),p=o({xs:24,sm:24,md:12,lg:12,xl:12}),y=o({xs:24,sm:22,md:18,lg:16,xl:8}),{closeCurrent:b}=L();N();const n=o({}),s=A(),E=o(""),k=o([{key:"informStatus",col:2,label:"\u901A\u77E5\u72B6\u6001"},{key:"name",col:2,label:"\u59D3\u540D"},{key:"tsNo",col:2,label:"\u5B66\u5DE5\u53F7"},{key:"className",col:2,label:"\u73ED\u7EA7"},{key:"collegeName",col:2,label:"\u5B66\u9662"},{key:"companyId",col:2,label:"\u516C\u53F8id"},{key:"majorName",col:2,label:"\u4E13\u4E1A"},{key:"schoolYearId",col:2,label:"\u5B66\u5E74id,0\u4E3A\u5168\u90E8\u5B66\u5E74"},{key:"warnConfIdsCn",col:2,label:"\u9884\u8B66\u7C7B\u578B"},{key:"warnConfId",col:2,label:"\u9884\u8B66\u89C4\u5219\u8BBE\u7F6Eid"}]),x=o({1:f,2:p,3:y}),B=async d=>{let e=await M(d);if(e.code!==0){V.error(e.msg);return}e.data,n.value={...e.data}};S(()=>{s.query.id&&(E.value=s.query.id,n.value.id=s.query.id,B(s.query.id))});const C=()=>{b()};return(d,e)=>{const g=l("PaCol"),v=l("PaRow"),F=l("el-button"),I=l("el-form-item"),P=l("el-form"),w=l("PaIndexPage");return c(),m(w,null,{default:a(()=>[u(P,{model:r(n),ref:"ruleFormRef","label-width":"170px"},{default:a(()=>[e[1]||(e[1]=_("div",{class:"divider mt16 mb28"},"\u57FA\u672C\u4FE1\u606F",-1)),u(v,null,{default:a(()=>[(c(!0),h(j,null,z(r(k),(t,D)=>(c(),m(g,H({key:D},{ref_for:!0},r(x)[t.col]),{default:a(()=>[u(q,{label:t.label,value:r(n)[t.key],type:t.type,enum:t.enum},null,8,["label","value","type","enum"])]),_:2},1040))),128))]),_:1}),u(I,null,{default:a(()=>[_("div",Q,[u(F,{onClick:C},{default:a(()=>e[0]||(e[0]=[K("\u8FD4\u56DE",-1)])),_:1,__:[0]})])]),_:1})]),_:1,__:[1]},8,["model"])]),_:1})}}});const X=R(W,[["__scopeId","data-v-ebce827d"]]);export{X as default};
