1 |
- import{d as T,o as c,c as n,f as p,A as s,F as h,Q as C,C as v,a as e,B as u,aG as F,E as l,av as x,D as m,__tla as L}from"./index-f65577b8.js";import{E as A,a as P,__tla as j}from"./el-timeline-item-f70fc29c.js";import{f as k,__tla as w}from"./formatTime-411ed1a1.js";import{d as D,D as i,c as O,__tla as R}from"./dict-fa3ffbd2.js";import{_ as S}from"./_plugin-vue_export-helper-1b428a4d.js";let d,U=Promise.all([(()=>{try{return L}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return w}catch{}})(),(()=>{try{return R}catch{}})()]).then(async()=>{let o,_;o={class:"pt-20px"},_={class:"el-timeline-right-content"},d=S(T({name:"OperateLogV2",__name:"OperateLogV2",props:{logList:{default:()=>[]}},setup(V){const f=r=>{const t=O(i.USER_TYPE,r);switch(t==null?void 0:t.colorType){case"success":return"#67C23A";case"info":return"#909399";case"warning":return"#E6A23C";case"danger":return"#F56C6C"}return"#409EFF"};return(r,t)=>{const y=A,g=P;return c(),n("div",o,[p(g,null,{default:s(()=>[(c(!0),n(h,null,C(r.logList,(a,E)=>(c(),v(y,{key:E,timestamp:e(k)(a.createTime),placement:"top"},{dot:s(()=>[u("span",{style:F({backgroundColor:f(a.userType)}),class:"dot-node-style"},l(e(D)(e(i).USER_TYPE,a.userType)[0]),5)]),default:s(()=>[u("div",_,[p(e(x),{class:"mr-10px",type:"success"},{default:s(()=>[m(l(a.userName),1)]),_:2},1024),m(" "+l(a.action),1)])]),_:2},1032,["timestamp"]))),128))]),_:1})])}}}),[["__scopeId","data-v-49d52aec"]])});export{d as _,U as __tla};
|