import{_ as g,q as x,w as I,x as N,a2 as C,B as h,C as w,r as l,o as n,n as A,t,H as a,K as r,P as c,v as i}from"./index.10c3f8e5.js";import{a as S,b as V}from"./index.81aab67e.js";import{u as q}from"./use-response-handle.23bba72b.js";import R from"./index.78b780f8.js";import T from"./financial-audit.9df4f82f.js";import $ from"./authentication.da849a08.js";import F from"./confirm.19bea0ea.js";import"./configs.a31a4c72.js";import"./status.7319085b.js";import"./use-review-process.41795506.js";const H={class:"ticker__content","bg-white":"","mb-5":""},P=x({__name:"detail",setup(K){const{query:B}=I(),{push:E}=N(),p=C(()=>B.id),d=h(["0","1","2","3"]),u=h(null),f=q(),_=C(()=>u.value?Number(u.value.status):0);async function b(){const{code:s,message:o,data:e}=await S({hpNo:p.value});f({code:s,message:o,handler:()=>u.value=e})}async function m(s){const{code:o,message:e}=await V({hpNo:p.value,...s});f({code:o,message:e,handler:()=>E("/purchase/ticketReturn")})}return w(()=>b()),(s,o)=>{const e=l("ElCollapseItem"),k=l("ElCollapse"),v=l("ElTabPane"),y=l("ElTabs");return n(),A("div",H,[t(y,null,{default:a(()=>[t(v,{label:"\u91C7\u8D2D\u56DE\u7968\u8BE6\u60C5"},{default:a(()=>[t(k,{modelValue:d.value,"onUpdate:modelValue":o[0]||(o[0]=D=>d.value=D)},{default:a(()=>[u.value?(n(),r(e,{key:0,name:"0",title:"\u91C7\u8D2D\u56DE\u7968\u8BE6\u60C5"},{default:a(()=>[t(R,{"inv-detail":u.value},null,8,["inv-detail"])]),_:1})):c("",!0),i(_)===3?(n(),r(e,{key:1,name:"1",title:"\u8D22\u52A1\u5BA1\u6838"},{default:a(()=>[t(T,{onChangeStatus:m})]),_:1})):c("",!0),i(_)===4?(n(),r(e,{key:2,name:"2",title:"\u5F85\u8BA4\u8BC1"},{default:a(()=>[t($,{onChangeStatus:m})]),_:1})):c("",!0),i(_)===5?(n(),r(e,{key:3,name:"3",title:"\u5F85\u786E\u8BA4\u5B8C\u6210"},{default:a(()=>[t(F,{onChangeStatus:m})]),_:1})):c("",!0)]),_:1},8,["modelValue"])]),_:1}),t(v,{label:"\u5BA1\u6279\u8BB0\u5F55"})]),_:1})])}}});var X=g(P,[["__scopeId","data-v-c05e0b94"]]);export{X as default};
