import{_ as d,c as f,w as o,C as n,E as c,H as y,o as k,k as t,j as C,p as l}from"./index-CZJgrp0v.js";import{_ as h}from"./uv-textarea.DacViCPM.js";import{_ as x}from"./uv-button.DwAMxj01.js";const b={name:"RemarkDialog",data(){return{remark:"",customStyle:{borderRadius:"16rpx"},popupCustomStyle:{borderRadius:"32rpx",paddingBottom:"32rpx"},textareaCustomStyle:{backgroundColor:"#fff",borderRadius:"16rpx",border:"none"}}},methods:{open(a=""){this.remark=a,this.$refs.popup.open()},close(){this.$refs.popup.close()},onCancel(){this.close(),this.$emit("cancel")},onConfirm(){this.$emit("confirm",this.remark)},onChange(a){this.$emit("change",a)}}};function g(a,m,v,S,e,s){const r=C,p=n(c("uv-textarea"),h),u=n(c("uv-button"),x),i=n(c("uv-popup"),y);return k(),f(i,{ref:"popup",mode:"center","custom-style":e.popupCustomStyle,closeable:!1,onChange:s.onChange},{default:o(()=>[t(r,{class:"audit-remark-modal"},{default:o(()=>[t(r,{class:"audit-remark-title"},{default:o(()=>[l("审核备注")]),_:1}),t(p,{modelValue:e.remark,"onUpdate:modelValue":m[0]||(m[0]=_=>e.remark=_),placeholder:"请输入审核备注",maxlength:"200",height:"120",border:"surround",class:"audit-remark-textarea","custom-style":e.textareaCustomStyle},null,8,["modelValue","custom-style"]),t(r,{class:"audit-remark-footer"},{default:o(()=>[t(u,{class:"audit-remark-btn cancel",plain:"",type:"default",onClick:s.onCancel,"custom-style":e.customStyle},{default:o(()=>[l(" 取消 ")]),_:1},8,["onClick","custom-style"]),t(u,{class:"audit-remark-btn confirm",type:"primary",onClick:s.onConfirm,"custom-style":e.customStyle},{default:o(()=>[l(" 确定 ")]),_:1},8,["onClick","custom-style"])]),_:1})]),_:1})]),_:1},8,["custom-style","onChange"])}const B=d(b,[["render",g],["__scopeId","data-v-b52bc525"]]);export{B as R};
