|
|
|
@ -157,38 +157,38 @@
|
|
|
|
|
<el-menu class="visitorInfo" v-show="visitor.visitor_id">
|
|
|
|
|
<el-tooltip content="点击加入黑名单" placement="left">
|
|
|
|
|
<el-menu-item v-on:click="addIpblack(visitor.source_ip)" title="点击加入黑名单" style="padding-left:2px;">
|
|
|
|
|
<i class="el-icon-s-tools"></i>
|
|
|
|
|
<span slot="title">ClientIP:<{visitor.source_ip}></span>
|
|
|
|
|
<i class="el-icon-user"></i>
|
|
|
|
|
<span slot="title">IP地址:<{visitor.source_ip}></span>
|
|
|
|
|
</el-menu-item>
|
|
|
|
|
</el-tooltip>
|
|
|
|
|
<el-menu-item v-on:click="openUrl('https://www.baidu.com/s?wd='+visitor.client_ip)" style="padding-left:2px;">
|
|
|
|
|
<i class="el-icon-s-tools"></i>
|
|
|
|
|
<i class="el-icon-map-location"></i>
|
|
|
|
|
<span slot="title">城市:<{visitor.city}></span>
|
|
|
|
|
</el-menu-item>
|
|
|
|
|
<el-tooltip :content="visitor.refer" placement="left">
|
|
|
|
|
<el-menu-item style="padding-left:2px;">
|
|
|
|
|
<i class="el-icon-s-tools"></i>
|
|
|
|
|
<i class="el-icon-guide"></i>
|
|
|
|
|
<span slot="title" >来源:<{visitor.refer}></span>
|
|
|
|
|
</el-menu-item>
|
|
|
|
|
</el-tooltip>
|
|
|
|
|
|
|
|
|
|
<el-menu-item style="padding-left:2px;">
|
|
|
|
|
<i class="el-icon-s-tools"></i>
|
|
|
|
|
<span slot="title">创建时间:<{visitor.created_at}></span>
|
|
|
|
|
<i class="el-icon-time"></i>
|
|
|
|
|
<span slot="title">首次访问:<{visitor.created_at}></span>
|
|
|
|
|
</el-menu-item>
|
|
|
|
|
<el-menu-item style="padding-left:2px;">
|
|
|
|
|
<i class="el-icon-s-tools"></i>
|
|
|
|
|
<span slot="title">访问时间:<{visitor.updated_at}></span>
|
|
|
|
|
<i class="el-icon-time"></i>
|
|
|
|
|
<span slot="title">最后访问:<{visitor.updated_at}></span>
|
|
|
|
|
</el-menu-item>
|
|
|
|
|
<el-tooltip content="点击关闭连接" placement="left">
|
|
|
|
|
<el-menu-item v-on:click="closeVisitor(visitor.visitor_id)" style="padding-left:2px;">
|
|
|
|
|
<i class="el-icon-s-tools"></i>
|
|
|
|
|
<i class="el-icon-circle-close"></i>
|
|
|
|
|
<span slot="title">状态:<{visitor.status}></span>
|
|
|
|
|
</el-menu-item>
|
|
|
|
|
</el-tooltip>
|
|
|
|
|
<el-tooltip v-for="v in visitorExtra" :content="v.val" placement="left">
|
|
|
|
|
<el-menu-item :title="v.val" style="padding-left:2px;">
|
|
|
|
|
<i class="el-icon-s-tools"></i>
|
|
|
|
|
<i class="el-icon-paperclip"></i>
|
|
|
|
|
<span slot="title"><{v.key}>:<{v.val}></span>
|
|
|
|
|
</el-menu-item>
|
|
|
|
|
</el-tooltip>
|
|
|
|
|