import{_ as T,__tla as x}from"./Dialog-44c9fa34.js";import{d as E,r as o,o as d,A as I,B as t,f as r,E as _,G as l,a,c as p,D as P,a2 as U,__tla as q}from"./index-92ad187a.js";import{E as C,a as V,__tla as j}from"./el-descriptions-item-809b8296.js";import{_ as k,__tla as w}from"./DictTag.vue_vue_type_script_lang-96bcb962.js";import{D as L,__tla as M}from"./dict-221f3e01.js";import{f as y,__tla as B}from"./formatTime-c7f253d6.js";let b,G=Promise.all([(()=>{try{return x}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return w}catch{}})(),(()=>{try{return M}catch{}})(),(()=>{try{return B}catch{}})()]).then(async()=>{let n,i;n={key:0},i={key:1},b=E({name:"ApiAccessLogDetail",__name:"ApiAccessLogDetail",setup(N,{expose:h}){const u=o(!1),m=o(!1),e=o({});return h({open:async c=>{u.value=!0,m.value=!0;try{e.value=c}finally{m.value=!1}}}),(c,f)=>{const s=C,v=k,A=V,g=T;return d(),I(g,{modelValue:a(u),"onUpdate:modelValue":f[0]||(f[0]=D=>U(u)?u.value=D:null),"max-height":500,scroll:!0,title:"\u8BE6\u60C5",width:"800"},{default:t(()=>[r(A,{column:1,border:""},{default:t(()=>[r(s,{label:"\u65E5\u5FD7\u4E3B\u952E","min-width":"120"},{default:t(()=>[_(l(a(e).id),1)]),_:1}),r(s,{label:"\u94FE\u8DEF\u8FFD\u8E2A"},{default:t(()=>[_(l(a(e).traceId),1)]),_:1}),r(s,{label:"\u5E94\u7528\u540D"},{default:t(()=>[_(l(a(e).applicationName),1)]),_:1}),r(s,{label:"\u7528\u6237\u4FE1\u606F"},{default:t(()=>[_(l(a(e).userId)+" ",1),r(v,{type:a(L).USER_TYPE,value:a(e).userType},null,8,["type","value"])]),_:1}),r(s,{label:"\u7528\u6237 IP"},{default:t(()=>[_(l(a(e).userIp),1)]),_:1}),r(s,{label:"\u7528\u6237 UA"},{default:t(()=>[_(l(a(e).userAgent),1)]),_:1}),r(s,{label:"\u8BF7\u6C42\u4FE1\u606F"},{default:t(()=>[_(l(a(e).requestMethod)+" "+l(a(e).requestUrl),1)]),_:1}),r(s,{label:"\u8BF7\u6C42\u53C2\u6570"},{default:t(()=>[_(l(a(e).requestParams),1)]),_:1}),r(s,{label:"\u8BF7\u6C42\u65F6\u95F4"},{default:t(()=>[_(l(a(y)(a(e).beginTime))+" ~ "+l(a(y)(a(e).endTime)),1)]),_:1}),r(s,{label:"\u8BF7\u6C42\u8017\u65F6"},{default:t(()=>[_(l(a(e).duration)+" ms",1)]),_:1}),r(s,{label:"\u64CD\u4F5C\u7ED3\u679C"},{default:t(()=>[a(e).resultCode===0?(d(),p("div",n,"\u6B63\u5E38")):a(e).resultCode>0?(d(),p("div",i," \u5931\u8D25 | "+l(a(e).resultCode)+" | "+l(a(e).resultMsg),1)):P("",!0)]),_:1})]),_:1})]),_:1},8,["modelValue"])}}})});export{b as _,G as __tla};
