import{a as p}from"./rules.21a487e9.js";import{u as A}from"./use-audit.a07b8329.js";import{q as B,a4 as b,r as o,o as h,n as x,t as e,H as u,p as n,v as a,bi as C,I as E,S as v}from"./index.10c3f8e5.js";const V=n("h1",{"text-xl":"","font-bold":"","py-2":""},"\u4E1A\u52A1\u5BA1\u6838",-1),k={flex:"","justify-between":"","w-full":""},y=v("\u63D0\u4EA4\u5BA1\u6838\u7ED3\u679C"),S=B({__name:"index",emits:["changeStatus"],setup(F,{emit:r}){const{handleAudit:m,formRef:_}=A(()=>r("changeStatus",t.status)),t=b({status:""});return(D,s)=>{const l=o("el-option"),c=o("el-select"),d=o("el-button"),i=o("el-form-item");return h(),x(E,null,[V,e(a(C),{ref_key:"formRef",ref:_,model:t,rules:a(p)},{default:u(()=>[e(i,{label:"\u5BA1\u6838\u72B6\u6001",prop:"status"},{default:u(()=>[n("div",k,[e(c,{placeholder:"\u8BF7\u9009\u62E9\u5BA1\u6838\u72B6\u6001",modelValue:t.status,"onUpdate:modelValue":s[0]||(s[0]=f=>t.status=f)},{default:u(()=>[e(l,{label:"\u901A\u8FC7",value:"2"}),e(l,{label:"\u4E0D\u901A\u8FC7",value:"5"})]),_:1},8,["modelValue"]),e(d,{type:"primary",onClick:a(m)},{default:u(()=>[y]),_:1},8,["onClick"])])]),_:1})]),_:1},8,["model","rules"])],64)}}});export{S as default};
