import{_ as a}from"./index.vue_vue_type_script_setup_true_lang-a66505b9.js";import{u as e}from"./useGetList-4b13a7ea.js";import{d as s,p as t,m as l,r as o,K as r,o as p,c as u,J as n,f as d,j as i,w as _,a as c,b}from"./index-018fb6dd.js";const g={class:"table-default"},m=s({__name:"loginLog",setup(s){const{data:m,query:f,search:v,reset:y,loading:j}=e("user/login/log");t((()=>v()));const w=l((()=>{var a;return null==(a=m.value)?void 0:a.data}));return(e,s)=>{const t=o("el-table-column"),l=o("el-tag"),m=o("el-table"),f=a,v=r("loading");return p(),u("div",g,[n((p(),i(m,{data:d(w),class:"mt-3"},{default:_((()=>[c(t,{prop:"account",label:"账户"}),c(t,{prop:"browser",label:"浏览器"}),c(t,{prop:"platform",label:"平台"}),c(t,{prop:"login_ip",label:"IP"}),c(t,{prop:"status",label:"状态"},{default:_((a=>[1===a.row.status?(p(),i(l,{key:0,type:"success"},{default:_((()=>[b("成功")])),_:1})):(p(),i(l,{key:1,type:"danger"},{default:_((()=>[b("失败")])),_:1}))])),_:1}),c(t,{prop:"login_at",label:"登录时间"})])),_:1},8,["data"])),[[v,d(j)]]),c(f)])}}});export{m as _};
