import{x as v,T as C,_ as I}from"./index-fNs72j9w.js";import{B as w,am as B,I as i,X as d,C as c,O as _,P as t,_ as m,G as L,$ as D,u as e,H as o,V as n,U as r,D as T}from"./vue-DweYBrEc.js";const V={class:"title"},k=w({__name:"info",setup(z){const a=B("baTable"),{t:s}=v.useI18n();return(N,O)=>{const l=i("el-descriptions-item"),f=i("el-tree"),p=i("el-descriptions"),b=i("el-scrollbar"),u=i("el-dialog"),g=d("drag"),h=d("zoom"),x=d("loading");return c(),_(u,{class:"ba-operate-dialog","model-value":!!e(a).form.operate,onClose:e(a).toggleForm},{header:t(()=>[m((c(),T("div",V,[n(r(e(s)("Info")),1)])),[[g,[".ba-operate-dialog",".el-dialog__header"]],[h,".ba-operate-dialog"]])]),default:t(()=>[m((c(),_(b,{class:"ba-table-form-scrollbar"},{default:t(()=>[L("div",{class:D(["ba-operate-form","ba-"+e(a).form.operate+"-form"])},[o(p,{column:2,border:""},{default:t(()=>[o(l,{label:e(s)("Id")},{default:t(()=>[n(r(e(a).form.extend.info.id),1)]),_:1},8,["label"]),o(l,{label:e(s)("auth.adminLog.Operation administrator")},{default:t(()=>[n(r(e(a).form.extend.info.username),1)]),_:1},8,["label"]),o(l,{label:e(s)("auth.adminLog.title")},{default:t(()=>[n(r(e(a).form.extend.info.title),1)]),_:1},8,["label"]),o(l,{label:e(s)("auth.adminLog.Operator IP")},{default:t(()=>[n(r(e(a).form.extend.info.ip),1)]),_:1},8,["label"]),o(l,{width:120,span:2,label:"URL"},{default:t(()=>[n(r(e(a).form.extend.info.url),1)]),_:1}),o(l,{width:120,span:2,label:"User Agent"},{default:t(()=>[n(r(e(a).form.extend.info.useragent),1)]),_:1}),o(l,{width:120,span:2,label:e(s)("Create time")},{default:t(()=>[n(r(e(C)(e(a).form.extend.info.create_time)),1)]),_:1},8,["label"]),o(l,{width:120,span:2,label:e(s)("auth.adminLog.Request data")},{default:t(()=>[o(f,{class:"table-el-tree",data:e(a).form.extend.info.data,props:{label:"label",children:"children"}},null,8,["data"])]),_:1},8,["label"])]),_:1})],2)]),_:1})),[[x,e(a).form.loading]])]),_:1},8,["model-value","onClose"])}}}),E=I(k,[["__scopeId","data-v-e3289675"]]);export{E as default};
