登录记录-导出
This commit is contained in:
@@ -20,6 +20,14 @@
|
||||
class="input-sm validate[required]"
|
||||
name="deviceId"
|
||||
id="deviceId">
|
||||
IP:<input type="text"
|
||||
class="input-sm validate[required]"
|
||||
name="ip"
|
||||
id="ip">
|
||||
IP地区:<input type="text"
|
||||
class="input-sm validate[required]"
|
||||
name="ipRegion"
|
||||
id="ipRegion">
|
||||
查询类型:<select name="loginType"
|
||||
id="loginType"
|
||||
class="input-sm">
|
||||
@@ -31,8 +39,8 @@
|
||||
<option value="5">苹果登录</option>
|
||||
<option value="6">ticket登录</option>
|
||||
</select>
|
||||
<button id="btnSearch"
|
||||
class="btn btn-sm btn-primary">查询</button>
|
||||
<button id="btnSearch" class="btn btn-primary">查询</button>
|
||||
<button id="btnExport" class="btn">导出</button>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -59,7 +67,6 @@ export default {
|
||||
$('#table').bootstrapTable('destroy');
|
||||
$('#table').bootstrapTable({
|
||||
columns: [
|
||||
{ field: 'recordId', title: 'recordId', align: 'center', valign: 'middle', width: '5%' },
|
||||
{ field: 'phone', title: '手机号', align: 'center', valign: 'middle', width: '5%' },
|
||||
{ field: 'erbanNo', title: '平台号', align: 'center', valign: 'middle', width: '5%' },
|
||||
{
|
||||
@@ -128,6 +135,7 @@ export default {
|
||||
align: 'center', width: '10%',
|
||||
valign: 'middle'
|
||||
},*/
|
||||
{ field: 'appVersion', title: 'app版本', align: 'center', width: '5%', valign: 'middle' },
|
||||
{
|
||||
field: 'os',
|
||||
title: '系统类型',
|
||||
@@ -136,7 +144,6 @@ export default {
|
||||
valign: 'middle'
|
||||
},
|
||||
{ field: 'osversion', title: '系统版本', align: 'center', width: '5%', valign: 'middle' },
|
||||
{ field: 'ispType', title: '运营商类型', align: 'center', width: '5%', valign: 'middle' },
|
||||
{ field: 'deviceId', title: '设备号', align: 'center', width: '10%', valign: 'middle' },
|
||||
{ field: 'model', title: '手机型号', align: 'center', width: '10%', valign: 'middle' },
|
||||
{
|
||||
@@ -182,6 +189,8 @@ export default {
|
||||
phone: $('#phone').val(),
|
||||
erbanNo: $('#erbanNo').val(),
|
||||
deviceId: $('#deviceId').val(),
|
||||
ip: $('#ip').val(),
|
||||
ipRegion: $('#ipRegion').val(),
|
||||
loginType: $('#loginType').val(),
|
||||
};
|
||||
return param;
|
||||
@@ -201,6 +210,17 @@ export default {
|
||||
$('#btnSearch').on('click', function () {
|
||||
TableHelper.doRefresh('#table');
|
||||
})
|
||||
|
||||
// 导出
|
||||
$('#btnExport').on('click', function () {
|
||||
const phone = $('#phone').val();
|
||||
const erbanNo = $('#erbanNo').val();
|
||||
const deviceId = $('#deviceId').val();
|
||||
const ip = $('#ip').val();
|
||||
const ipRegion = $('#ipRegion').val();
|
||||
const loginType = $('#loginType').val();
|
||||
window.location.href = `/admin/accountLoginRecord/export?phone=${phone}&erbanNo=${erbanNo}&deviceId=${deviceId}&ip=${ip}&ipRegion=${ipRegion}&loginType=${loginType}`;
|
||||
})
|
||||
})
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user