ApiAccessLogDetail-366ef3ce.js 2.4 KB

1
  1. import{_ as x,__tla as T}from"./Dialog-4c2de357.js";import{d as w,r as o,o as i,C,A as t,f as r,D as _,E as l,a,c as p,a3 as E,a2 as I,_ as L,__tla as P}from"./index-286756b9.js";import{E as U,a as q,__tla as V}from"./el-descriptions-item-63e151c1.js";import{_ as j,__tla as k}from"./DictTag-f72b04ca.js";import{D as z,__tla as M}from"./dict-82dca549.js";import{f as y,__tla as N}from"./formatTime-83e416ef.js";import"./color-6e929987.js";let b,R=Promise.all([(()=>{try{return T}catch{}})(),(()=>{try{return P}catch{}})(),(()=>{try{return V}catch{}})(),(()=>{try{return k}catch{}})(),(()=>{try{return M}catch{}})(),(()=>{try{return N}catch{}})()]).then(async()=>{let d,n;d={key:0},n={key:1},b=L(w({name:"ApiAccessLogDetail",__name:"ApiAccessLogDetail",setup(S,{expose:h}){const u=o(!1),c=o(!1),e=o({});return h({open:async m=>{u.value=!0,c.value=!0;try{e.value=m}finally{c.value=!1}}}),(m,f)=>{const s=U,v=j,A=q,g=x;return i(),C(g,{modelValue:a(u),"onUpdate:modelValue":f[0]||(f[0]=D=>I(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(z).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?(i(),p("div",d,"\u6B63\u5E38")):a(e).resultCode>0?(i(),p("div",n," \u5931\u8D25 | "+l(a(e).resultCode)+" | "+l(a(e).resultMsg),1)):E("",!0)]),_:1})]),_:1})]),_:1},8,["modelValue"])}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/views/infra/apiAccessLog/ApiAccessLogDetail.vue"]])});export{R as __tla,b as default};