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