import{u as f,a as h}from"./order.84a9233c.js";import{d as g,a6 as B,c as n,e as C,k as S,i as o,g as l,h as u,m as c,R as y,S as E,_ as A}from"./index.0308b213.js";const v=e=>(y("data-v-fae7dacc"),e=e(),E(),e),w=v(()=>l("span",{style:{margin:"auto"}}," \u786E\u5B9A\u8BBE\u7F6E\u4E3A\u5DF2\u9000\u6B3E\u5417? ",-1)),x={class:"dialog-footer"},V=c("\u786E\u5B9A?"),k=c(" \u53D6\u6D88 "),O=g({props:{Show:{type:Boolean,default:!1},id:{type:Number,default:0}},emits:["onClose"],setup(e,{emit:i}){const t=e,{OpPlatform:p}=B(),r=async()=>{p.value==="agent"?f({id:t.id}):h({id:t.id}),a()},a=()=>{i("onClose")};return(b,s)=>{const d=n("el-button"),_=n("el-dialog");return C(),S(_,{modelValue:t.Show,"onUpdate:modelValue":s[0]||(s[0]=m=>t.Show=m),title:"\u63D0\u793A",width:"30%","align-center":"",onClose:a},{footer:o(()=>[l("span",x,[u(d,{onClick:r},{default:o(()=>[V]),_:1}),u(d,{type:"primary",onClick:a},{default:o(()=>[k]),_:1})])]),default:o(()=>[w]),_:1},8,["modelValue"])}}});const N=A(O,[["__scopeId","data-v-fae7dacc"]]);export{N as default};
