import{q as b,r as l,o as k,K as x,H as u,p as V,t,v as e,aY as h,S as v}from"./index.d8ce26ef.js";import{u as A}from"./use-review-process.05bb1ce9.js";import{R as E}from"./global.9ad647c8.js";const R={flex:"","flex-col":"",style:{width:"50%"}},S=v("\u63D0\u4EA4\u5BA1\u6838\u7ED3\u679C"),N=b({__name:"confirm",emits:["changeStatus"],setup(w,{emit:c}){const s={successStatus:"6",failstatus:"8"},{formRef:_,formRules:p,formData:o,handleChangeStatus:f}=A({callback:()=>c("changeStatus",o),failStatus:s.failstatus});return(y,a)=>{const r=l("el-option"),i=l("el-select"),m=l("el-form-item"),d=l("el-input"),C=l("el-button"),B=l("el-form");return k(),x(B,{rules:e(p),model:e(o),ref_key:"formRef",ref:_,"label-width":"100px","justify-between":"",inline:"",flex:""},{default:u(()=>[V("div",R,[t(m,{label:"\u5BA1\u6838\u72B6\u6001",prop:"status"},{default:u(()=>[t(i,{placeholder:"\u8BF7\u9009\u62E9\u5BA1\u6838\u72B6\u6001",modelValue:e(o).status,"onUpdate:modelValue":a[0]||(a[0]=n=>e(o).status=n)},{default:u(()=>[t(r,{value:s.successStatus,label:"\u901A\u8FC7"},null,8,["value"]),t(r,{value:s.failstatus,label:"\u4E0D\u901A\u8FC7"},null,8,["value"])]),_:1},8,["modelValue"])]),_:1}),t(m,{label:"\u5907\u6CE8",prop:"remark"},{default:u(()=>[t(d,h({type:"textarea",rows:5,placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8",modelValue:e(o).remark,"onUpdate:modelValue":a[1]||(a[1]=n=>e(o).remark=n)},e(E)),null,16,["modelValue"])]),_:1})]),t(C,{type:"primary",onClick:e(f)},{default:u(()=>[S]),_:1},8,["onClick"])]),_:1},8,["rules","model"])}}});export{N as default};
