1 |
- import{d as v,az as C,a2 as w,K as i,aq as d,e as c,y as _,L as t,u as e,t as n,m as r,f as I,am as m,G as L,j as o,i as z}from"./vue-A59npLRR.js";import{a5 as B,_ as k}from"./index-EwE51S_X.js";import"./echarts-cxb9vJr1.js";const D={class:"title"},N=v({__name:"info",setup(T){const a=C("baTable"),{t:s}=w();return(V,j)=>{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(),I("div",D,[r(n(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(()=>[z("div",{class:L(["ba-operate-form","ba-"+e(a).form.operate+"-form"])},[o(p,{column:2,border:""},{default:t(()=>[o(l,{label:e(s)("Id")},{default:t(()=>[r(n(e(a).form.extend.info.id),1)]),_:1},8,["label"]),o(l,{label:e(s)("auth.adminLog.Operation administrator")},{default:t(()=>[r(n(e(a).form.extend.info.username),1)]),_:1},8,["label"]),o(l,{label:e(s)("auth.adminLog.title")},{default:t(()=>[r(n(e(a).form.extend.info.title),1)]),_:1},8,["label"]),o(l,{label:e(s)("auth.adminLog.Operator IP")},{default:t(()=>[r(n(e(a).form.extend.info.ip),1)]),_:1},8,["label"]),o(l,{width:120,span:2,label:"URL"},{default:t(()=>[r(n(e(a).form.extend.info.url),1)]),_:1}),o(l,{width:120,span:2,label:"User Agent"},{default:t(()=>[r(n(e(a).form.extend.info.useragent),1)]),_:1}),o(l,{width:120,span:2,label:e(s)("Create time")},{default:t(()=>[r(n(e(B)(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"])}}}),O=k(N,[["__scopeId","data-v-e3289675"]]);export{O as default};
|