ApiErrorLogDetail-8f85d5e7.js 2.9 KB

1
  1. import{_ as A,__tla as g}from"./Dialog-7d4425a0.js";import{d as I,r as d,o as i,x as n,w as l,g as t,n as s,t as _,a as e,Q as p,P as U,W as P,_ as R,__tla as k}from"./index-3fb48822.js";import{E as w,a as V,__tla as D}from"./el-descriptions-item-afd57e92.js";import{_ as L,__tla as q}from"./DictTag-ec8c74d3.js";import{D as b,__tla as z}from"./dict-51415be4.js";import{f as x,__tla as N}from"./formatTime-1803573a.js";import"./color-6e929987.js";let v,O=Promise.all([(()=>{try{return g}catch{}})(),(()=>{try{return k}catch{}})(),(()=>{try{return D}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return N}catch{}})()]).then(async()=>{v=R(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=w,y=L,T=P,E=V,S=A;return i(),n(S,{modelValue:e(u),"onUpdate:modelValue":o[1]||(o[1]=c=>U(u)?u.value=c: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(x)(e(a).exceptionTime)),1)]),_:1}),t(r,{label:"\u5F02\u5E38\u540D"},{default:l(()=>[s(_(e(a).exceptionName),1)]),_:1}),e(a).exceptionStackTrace?(i(),n(r,{key:0,label:"\u5F02\u5E38\u5806\u6808"},{default:l(()=>[t(T,{modelValue:e(a).exceptionStackTrace,"onUpdate:modelValue":o[0]||(o[0]=c=>e(a).exceptionStackTrace=c),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(),n(r,{key:1,label:"\u5904\u7406\u4EBA"},{default:l(()=>[s(_(e(a).processUserId),1)]),_:1})):p("",!0),e(a).processTime?(i(),n(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-admin/src/views/infra/apiErrorLog/ApiErrorLogDetail.vue"]])});export{O as __tla,v as default};