import{_ as S,__tla as U}from"./Dialog-1050d437.js";import{d as I,r as c,o as i,l as d,w as l,i as t,j as s,t as _,a as e,a2 as p,y as P,U as R,_ as g,__tla as k}from"./index-2c56227b.js";import{E as w,a as V,__tla as L}from"./el-descriptions-item-1b67c432.js";import{_ as D,__tla as O}from"./DictTag-cfe1898d.js";import{D as b,__tla as q}from"./dict-763dd292.js";import{f as v,__tla as N}from"./formatTime-7f0ec2bf.js";import"./color-6e929987.js";let h,G=Promise.all([(()=>{try{return U}catch{}})(),(()=>{try{return k}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return O}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return N}catch{}})()]).then(async()=>{h=g(I({name:"ApiErrorLogDetail",__name:"ApiErrorLogDetail",setup(j,{expose:x}){const u=c(!1),m=c(!1),a=c({});return x({open:async f=>{u.value=!0,m.value=!0;try{a.value=f}finally{m.value=!1}}}),(f,o)=>{const r=w,y=D,T=R,E=V,A=S;return i(),d(A,{modelValue:e(u),"onUpdate:modelValue":o[1]||(o[1]=n=>P(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)+" "+_(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(v)(e(a).exceptionTime)),1)]),_:1}),t(r,{label:"\u5F02\u5E38\u540D"},{default:l(()=>[s(_(e(a).exceptionName),1)]),_:1}),e(a).exceptionStackTrace?(i(),d(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(),d(r,{key:1,label:"\u5904\u7406\u4EBA"},{default:l(()=>[s(_(e(a).processUserId),1)]),_:1})):p("",!0),e(a).processTime?(i(),d(r,{key:2,label:"\u5904\u7406\u65F6\u95F4"},{default:l(()=>[s(_(e(v)(e(a).processTime)),1)]),_:1})):p("",!0)]),_:1})]),_:1},8,["modelValue"])}}}),[["__file","E:/GAOHP_2023/mall/newfeifan-front/yudao-ui-admin-vue3/src/views/infra/apiErrorLog/ApiErrorLogDetail.vue"]])});export{G as __tla,h as default};
