import{q as x,r as o,o as C,K as B,H as u,p as c,t,v as e,bi as k,S as v}from"./index.10c3f8e5.js";import{u as w}from"./use-review-process.41795506.js";const V={flex:"","justify-between":"","w-full":""},E={flex:"","flex-col":"",style:{width:"50%"}},y=v("\u63D0\u4EA4\u5BA1\u6838\u7ED3\u679C"),D=x({__name:"business-audit",emits:["changeStatus"],setup(A,{emit:i}){const s={fail:"5",success:"2"},{handleChangeStatus:d,formRef:_,formRules:f,formData:l}=w({failStatus:s.fail,callback:()=>i("changeStatus",l.status)});return(F,a)=>{const r=o("el-option"),p=o("el-select"),m=o("el-form-item"),b=o("el-input"),h=o("el-button");return C(),B(e(k),{ref_key:"formRef",ref:_,model:e(l),rules:e(f),"label-width":"100px",flex:""},{default:u(()=>[c("div",V,[c("div",E,[t(m,{label:"\u5BA1\u6838\u72B6\u6001",prop:"status"},{default:u(()=>[t(p,{placeholder:"\u8BF7\u9009\u62E9\u5BA1\u6838\u72B6\u6001",modelValue:e(l).status,"onUpdate:modelValue":a[0]||(a[0]=n=>e(l).status=n)},{default:u(()=>[t(r,{label:"\u901A\u8FC7",value:s.success},null,8,["value"]),t(r,{label:"\u4E0D\u901A\u8FC7",value:s.fail},null,8,["value"])]),_:1},8,["modelValue"])]),_:1}),t(m,{label:"\u5907\u6CE8",prop:"remark"},{default:u(()=>[t(b,{type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8",rows:12,maxlength:"2000","show-word-limit":"",modelValue:e(l).remark,"onUpdate:modelValue":a[1]||(a[1]=n=>e(l).remark=n)},null,8,["modelValue"])]),_:1})]),t(h,{type:"primary",onClick:e(d)},{default:u(()=>[y]),_:1},8,["onClick"])])]),_:1},8,["model","rules"])}}});export{D as default};
