import{_ as A,__tla as g}from"./Dialog-2be588df.js";import{d as I,r as d,o as i,x as c,w as l,g as t,q as _,t as s,a as e,R as p,Q as R,X as U,_ as k,__tla as w}from"./index-7d5b26d3.js";import{E as P,a as V,__tla as D}from"./el-descriptions-item-bfa341f2.js";import{_ as L,__tla as q}from"./DictTag-89bfbd38.js";import{D as b,__tla as z}from"./dict-37d1dfe8.js";import{f as x,__tla as N}from"./formatTime-5152c108.js";import"./color-6e929987.js";let v,O=Promise.all([(()=>{try{return g}catch{}})(),(()=>{try{return w}catch{}})(),(()=>{try{return D}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return N}catch{}})()]).then(async()=>{v=k(I({name:"ApiErrorLogDetail",__name:"ApiErrorLogDetail",setup(C,{expose:h}){const u=d(!1),m=d(!1),a=d({});return h({open:async f=>{u.value=!0,m.value=!0;try{a.value=f}finally{m.value=!1}}}),(f,o)=>{const r=P,y=L,T=U,E=V,S=A;return i(),c(S,{modelValue:e(u),"onUpdate:modelValue":o[1]||(o[1]=n=>R(u)?u.value=n:null),"max-height":500,scroll:!0,title:"\u8BE6\u60C5",width:"800"},{default:l(()=>[t(E,{column:1,border:""},{default:l(()=>[t(r,{label:"\u65E5\u5FD7\u4E3B\u952E","min-width":"120"},{default:l(()=>[_(s(e(a).id),1)]),_:1}),t(r,{label:"\u94FE\u8DEF\u8FFD\u8E2A"},{default:l(()=>[_(s(e(a).traceId),1)]),_:1}),t(r,{label:"\u5E94\u7528\u540D"},{default:l(()=>[_(s(e(a).applicationName),1)]),_:1}),t(r,{label:"\u7528\u6237\u7F16\u53F7"},{default:l(()=>[_(s(e(a).userId)+" ",1),t(y,{type:e(b).USER_TYPE,value:e(a).userType},null,8,["type","value"])]),_:1}),t(r,{label:"\u7528\u6237 IP"},{default:l(()=>[_(s(e(a).userIp),1)]),_:1}),t(r,{label:"\u7528\u6237 UA"},{default:l(()=>[_(s(e(a).userAgent),1)]),_:1}),t(r,{label:"\u8BF7\u6C42\u4FE1\u606F"},{default:l(()=>[_(s(e(a).requestMethod)+" "+s(e(a).requestUrl),1)]),_:1}),t(r,{label:"\u8BF7\u6C42\u53C2\u6570"},{default:l(()=>[_(s(e(a).requestParams),1)]),_:1}),t(r,{label:"\u5F02\u5E38\u65F6\u95F4"},{default:l(()=>[_(s(e(x)(e(a).exceptionTime)),1)]),_:1}),t(r,{label:"\u5F02\u5E38\u540D"},{default:l(()=>[_(s(e(a).exceptionName),1)]),_:1}),e(a).exceptionStackTrace?(i(),c(r,{key:0,label:"\u5F02\u5E38\u5806\u6808"},{default:l(()=>[t(T,{modelValue:e(a).exceptionStackTrace,"onUpdate:modelValue":o[0]||(o[0]=n=>e(a).exceptionStackTrace=n),autosize:{maxRows:20},readonly:!0,type:"textarea"},null,8,["modelValue"])]),_:1})):p("",!0),t(r,{label:"\u5904\u7406\u72B6\u6001"},{default:l(()=>[t(y,{type:e(b).INFRA_API_ERROR_LOG_PROCESS_STATUS,value:e(a).processStatus},null,8,["type","value"])]),_:1}),e(a).processUserId?(i(),c(r,{key:1,label:"\u5904\u7406\u4EBA"},{default:l(()=>[_(s(e(a).processUserId),1)]),_:1})):p("",!0),e(a).processTime?(i(),c(r,{key:2,label:"\u5904\u7406\u65F6\u95F4"},{default:l(()=>[_(s(e(x)(e(a).processTime)),1)]),_:1})):p("",!0)]),_:1})]),_:1},8,["modelValue"])}}}),[["__file","D:/zx/mall-newfeifan-zx-business/src/views/infra/apiErrorLog/ApiErrorLogDetail.vue"]])});export{O as __tla,v as default};
