修改模板文件

This commit is contained in:
Anyon 2020-12-21 14:26:25 +08:00
parent 25ae64280f
commit b7638e42cf
2 changed files with 2 additions and 8 deletions

View File

@ -39,13 +39,7 @@
</td>
<td class='text-left nowrap padding-row-0 padding-right-0'>
<p class="color-text layui-elip" style="max-width:550px">{$vo.action|default='-'}</p>
{if preg_match('|\s+(\w+)\s+数据|', $vo.action)}
<label data-tips-desc class="notselect pointer color-blue">
查看详情内容<textarea class="layui-hide">{$vo.content|raw|default=''}</textarea>
</label>
{else}
<span class="color-desc" style="white-space:normal">{$vo.content|default='-'}</span>
{/if}
</td>
<td class='text-left nowrap'>
<p class="color-text">{$vo.geoip|default='-'}</p>

View File

@ -51,9 +51,9 @@
require(['excel'], function (excel) {
excel.bind(function (data) {
data.forEach(function (item, index) {
data[index] = [item.username, item.node, item.geoip, item.action, item.create_at];
data[index] = [item.username, item.node, item.geoip, item.isp, item.action, item.create_at];
});
data.unshift(['操作账号', '访问节点', '访问IP地址', '访问操作', '操作时间']);
data.unshift(['操作账号', '访问节点', '访问IP地址', '访问地理区域', '访问操作', '操作时间']);
return data;
}, '访问日志');
});