...
|
...
|
@@ -63,7 +63,7 @@ |
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div title="激活点击查询" data-options="closable:true" style="overflow:auto;padding:20px;display:none;">
|
|
|
<div title="激活查询" data-options="closable:true" style="overflow:auto;padding:20px;display:none;">
|
|
|
<div id="search2" region="north" style="padding-bottom: 35px; ">
|
|
|
<form id="searchForm2" method="post" accept-charset="utf-8">
|
|
|
<input name="idfa" type="text" class="easyui-textbox" data-options="prompt:'请输入idfa'"
|
...
|
...
|
@@ -82,6 +82,111 @@ |
|
|
<div id="matchDiv" style="padding:30px;height:420px;"></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div title="点击查询" style="padding:20px;display:none;overflow:auto;">
|
|
|
<div id="searchClick" region="north" style="padding-bottom: 35px; ">
|
|
|
<!--<script>-->
|
|
|
<!--document.write(addHead('市场管理', '分组营销管理'));-->
|
|
|
<!--</script>-->
|
|
|
<style>
|
|
|
.div_search input {
|
|
|
margin-top: 20px;
|
|
|
}
|
|
|
|
|
|
.div_search .textbox {
|
|
|
margin-top: 20px;
|
|
|
}
|
|
|
|
|
|
.div_search .easyui-linkbutton {
|
|
|
margin-top: 20px;
|
|
|
}
|
|
|
|
|
|
.subtotal {
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
/*合计单元格样式*/
|
|
|
</style>
|
|
|
<div style="margin-left: 30px;" class="div_search">
|
|
|
<form id="clickForm" method="post" accept-charset="utf-8">
|
|
|
<input name="interfaceType" class="easyui-combobox" data-options="
|
|
|
valueField: 'id',
|
|
|
editable: false,
|
|
|
textField: 'text',
|
|
|
width:200,
|
|
|
prompt:'选择泛点击接口',
|
|
|
data: [
|
|
|
{ id: '', text: '全部' },
|
|
|
{ id: 'addUnion_ios', text: 'addUnion_ios' },
|
|
|
{ id: 'addUnion_android', text: 'addUnion_android' },
|
|
|
{ id: 'addUnion4Jump_ios', text: 'addUnion4Jump_ios' },
|
|
|
{ id: 'addUnion4Jump_android', text: 'addUnion4Jump_android' },
|
|
|
{ id: 'addMonitor_ios', text: 'addMonitor_ios' },
|
|
|
{ id: 'addMonitor_android', text: 'addMonitor_android' }
|
|
|
]"/>
|
|
|
<input name="unionType" type="text" class="easyui-textbox" data-options="prompt:'请输入渠道号'"
|
|
|
style="width: 200px;">
|
|
|
<input name="idfa" type="text" class="easyui-textbox" data-options="prompt:'请输入idfa'"
|
|
|
style="width: 200px;">
|
|
|
<input name="imei" type="text" class="easyui-textbox" data-options="prompt:'请输入imei'"
|
|
|
style="width: 200px;">
|
|
|
<input name="createTimeBegin" class="easyui-datetimebox" data-options="editable: false,showSeconds:false,prompt:'点击开始时间'" style="width: 200px;">
|
|
|
<input name="createTimeEnd" class="easyui-datetimebox" editable="false"
|
|
|
data-options="prompt:'点击结束时间'" style="width: 200px;">
|
|
|
<a id="clickBtn" class="easyui-linkbutton btn-info" style="margin-left: 30px; "></a>
|
|
|
</form>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div region="center">
|
|
|
<div style="margin-left: 30px;margin-top: 20px; height:500px;">
|
|
|
<table id="clickTable"></table>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div title="打开查询" style="padding:20px;display:none;overflow:auto;">
|
|
|
<div id="searchOpen" region="north" style="padding-bottom: 35px; ">
|
|
|
<!--<script>-->
|
|
|
<!--document.write(addHead('市场管理', '分组营销管理'));-->
|
|
|
<!--</script>-->
|
|
|
<style>
|
|
|
.div_search input {
|
|
|
margin-top: 20px;
|
|
|
}
|
|
|
|
|
|
.div_search .textbox {
|
|
|
margin-top: 20px;
|
|
|
}
|
|
|
|
|
|
.div_search .easyui-linkbutton {
|
|
|
margin-top: 20px;
|
|
|
}
|
|
|
|
|
|
.subtotal {
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
/*合计单元格样式*/
|
|
|
</style>
|
|
|
<div style="margin-left: 30px;" class="div_search">
|
|
|
<form id="openForm" method="post" accept-charset="utf-8">
|
|
|
<input name="unionType" type="text" class="easyui-textbox" data-options="prompt:'请输入渠道号'"
|
|
|
style="width: 200px;">
|
|
|
<input name="idfa" type="text" class="easyui-textbox" data-options="prompt:'请输入idfa'"
|
|
|
style="width: 200px;">
|
|
|
<input name="imei" type="text" class="easyui-textbox" data-options="prompt:'请输入imei'"
|
|
|
style="width: 200px;">
|
|
|
<input name="createTimeBegin" class="easyui-datetimebox" data-options="editable: false,showSeconds:false,prompt:'打开开始时间'" style="width: 200px;">
|
|
|
<input name="createTimeEnd" class="easyui-datetimebox" editable="false"
|
|
|
data-options="prompt:'打开结束时间'" style="width: 200px;">
|
|
|
<a id="openBtn" class="easyui-linkbutton btn-info" style="margin-left: 30px; "></a>
|
|
|
</form>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div region="center">
|
|
|
<div style="margin-left: 30px;margin-top: 20px; height:500px;">
|
|
|
<table id="openTable"></table>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
|
...
|
...
|
@@ -98,7 +203,7 @@ |
|
|
url: '',
|
|
|
// url: contextPath + "/ActivateUnionRest/queryActivateDeviceId",
|
|
|
method: 'POST',
|
|
|
queryParams: getParams(),
|
|
|
queryParams:getParam("searchForm"),
|
|
|
loadFilter: function (data) {
|
|
|
var temp = defaultLoadFilter(data);
|
|
|
temp.rows = temp.list;
|
...
|
...
|
@@ -157,7 +262,7 @@ |
|
|
onClick: function () {
|
|
|
// showIdfaClick($(this).attr("dataId"));
|
|
|
var p = $(this).parent();
|
|
|
var params = getParams();
|
|
|
var params = getParam("searchForm");
|
|
|
params['unionType'] = $(this).attr("dataId");
|
|
|
params['isIdfa'] = 1;
|
|
|
$.post(contextPath + "/ActivateUnionRest/queryActivateCount", params, function (data) {
|
...
|
...
|
@@ -175,7 +280,7 @@ |
|
|
onClick: function () {
|
|
|
// showImeiClick($(this).attr("dataId"));
|
|
|
var p = $(this).parent();
|
|
|
var params = getParams();
|
|
|
var params = getParam("searchForm");
|
|
|
params['unionType'] = $(this).attr("dataId");
|
|
|
params['isIdfa'] = 0;
|
|
|
$.post(contextPath + "/ActivateUnionRest/queryActivateCount", params, function (data) {
|
...
|
...
|
@@ -214,7 +319,7 @@ |
|
|
nowrap: false,
|
|
|
url: '',
|
|
|
method: 'POST',
|
|
|
queryParams: getParams2(),
|
|
|
queryParams: getParam("searchForm2"),
|
|
|
loadFilter: function (data) {
|
|
|
var temp = defaultLoadFilter(data);
|
|
|
temp.rows = temp.list;
|
...
|
...
|
@@ -245,8 +350,7 @@ |
|
|
field: "createTime",
|
|
|
width: 180,
|
|
|
align: "center"
|
|
|
}
|
|
|
, {
|
|
|
}, {
|
|
|
title: "激活接口",
|
|
|
field: "interfaceType",
|
|
|
width: 180,
|
...
|
...
|
@@ -261,17 +365,143 @@ |
|
|
checkOnSelect: false
|
|
|
});
|
|
|
|
|
|
function getParams() {
|
|
|
var paramsArray = $("#searchForm").serializeArray();
|
|
|
var params = {};
|
|
|
for (var i = 0; i < paramsArray.length; i++) {
|
|
|
params[paramsArray[i].name] = paramsArray[i].value;
|
|
|
$("#clickTable").myDatagrid({
|
|
|
fit: true,
|
|
|
fitColumns: true,
|
|
|
nowrap: false,
|
|
|
url: '',
|
|
|
method: 'POST',
|
|
|
queryParams: getParam("clickForm"),
|
|
|
loadFilter: function (data) {
|
|
|
var temp = defaultLoadFilter(data);
|
|
|
temp.rows = temp.list;
|
|
|
return temp;
|
|
|
},
|
|
|
columns: [[{
|
|
|
title: "渠道Id",
|
|
|
field: "unionType",
|
|
|
width: 120,
|
|
|
align: "center"
|
|
|
}, {
|
|
|
title: "渠道名称",
|
|
|
field: "unionName",
|
|
|
width: 120,
|
|
|
align: "center"
|
|
|
}, {
|
|
|
title: "idfa",
|
|
|
field: "idfa",
|
|
|
width: 230,
|
|
|
align: "center"
|
|
|
}, {
|
|
|
title: "imei",
|
|
|
field: "imei",
|
|
|
width: 180,
|
|
|
align: "center"
|
|
|
}, {
|
|
|
title: "激活时间",
|
|
|
field: "createTime",
|
|
|
width: 120,
|
|
|
align: "center"
|
|
|
},{
|
|
|
title: "激活接口",
|
|
|
field: "interfaceType",
|
|
|
width: 140,
|
|
|
align: "center"
|
|
|
},{
|
|
|
title: "客户端类型",
|
|
|
field: "clientType",
|
|
|
width: 120,
|
|
|
align: "center"
|
|
|
},{
|
|
|
title: "td",
|
|
|
field: "td",
|
|
|
width: 180,
|
|
|
align: "center"
|
|
|
},{
|
|
|
title: "ip",
|
|
|
field: "clientIp",
|
|
|
width: 120,
|
|
|
align: "center"
|
|
|
},{
|
|
|
title: "ua",
|
|
|
field: "userAgent",
|
|
|
width: 250,
|
|
|
align: "center"
|
|
|
}
|
|
|
return params;
|
|
|
}
|
|
|
]],
|
|
|
cache: false,
|
|
|
pagination: true,
|
|
|
pageSize: 10,
|
|
|
pageList: [10],
|
|
|
idField: "id",
|
|
|
singleSelect: false,
|
|
|
checkOnSelect: false
|
|
|
});
|
|
|
|
|
|
function getParams2() {
|
|
|
var paramsArray = $("#searchForm2").serializeArray();
|
|
|
$("#openTable").myDatagrid({
|
|
|
fit: true,
|
|
|
fitColumns: true,
|
|
|
nowrap: false,
|
|
|
url: '',
|
|
|
method: 'POST',
|
|
|
queryParams: getParam("openForm"),
|
|
|
loadFilter: function (data) {
|
|
|
var temp = defaultLoadFilter(data);
|
|
|
temp.rows = temp.list;
|
|
|
return temp;
|
|
|
},
|
|
|
columns: [[{
|
|
|
title: "渠道Id",
|
|
|
field: "unionType",
|
|
|
width: 120,
|
|
|
align: "center"
|
|
|
}, {
|
|
|
title: "渠道名称",
|
|
|
field: "unionName",
|
|
|
width: 120,
|
|
|
align: "center"
|
|
|
}, {
|
|
|
title: "idfa",
|
|
|
field: "idfa",
|
|
|
width: 230,
|
|
|
align: "center"
|
|
|
}, {
|
|
|
title: "imei",
|
|
|
field: "imei",
|
|
|
width: 180,
|
|
|
align: "center"
|
|
|
}, {
|
|
|
title: "打开时间",
|
|
|
field: "createTime",
|
|
|
width: 120,
|
|
|
align: "center"
|
|
|
},{
|
|
|
title: "客户端类型",
|
|
|
field: "clientType",
|
|
|
width: 120,
|
|
|
align: "center"
|
|
|
},{
|
|
|
title: "td",
|
|
|
field: "td",
|
|
|
width: 180,
|
|
|
align: "center"
|
|
|
},{
|
|
|
title: "ip",
|
|
|
field: "clientIp",
|
|
|
width: 120,
|
|
|
align: "center"
|
|
|
}]],
|
|
|
cache: false,
|
|
|
pagination: true,
|
|
|
pageSize: 10,
|
|
|
pageList: [10],
|
|
|
idField: "id",
|
|
|
singleSelect: false,
|
|
|
checkOnSelect: false
|
|
|
});
|
|
|
|
|
|
function getParam(table) {
|
|
|
var paramsArray = $("#"+table+"").serializeArray();
|
|
|
var params = {};
|
|
|
for (var i = 0; i < paramsArray.length; i++) {
|
|
|
params[paramsArray[i].name] = paramsArray[i].value;
|
...
|
...
|
@@ -302,7 +532,7 @@ |
|
|
$("#activateTalbe").datagrid(
|
|
|
{
|
|
|
url: contextPath + "/ActivateUnionRest/queryActivateDeviceId",
|
|
|
queryParams: getParams()
|
|
|
queryParams: getParam("searchForm")
|
|
|
|
|
|
});
|
|
|
}
|
...
|
...
|
@@ -312,15 +542,36 @@ |
|
|
iconCls: "icon-search",
|
|
|
text: "查询",
|
|
|
onClick: function () {
|
|
|
// var params = getParams2();
|
|
|
// $.post(contextPath + "/ActivateUnionRest/queryByDeviceId", params, function (data) {
|
|
|
// var activate = data.data;
|
|
|
//
|
|
|
// }, "json");
|
|
|
$("#activateTalbe2").datagrid(
|
|
|
{
|
|
|
url: contextPath + "/ActivateUnionRest/queryByDeviceId",
|
|
|
queryParams: getParams2()
|
|
|
queryParams: getParam("searchForm2")
|
|
|
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
|
|
|
$("#clickBtn").linkbutton({
|
|
|
iconCls: "icon-search",
|
|
|
text: "查询",
|
|
|
onClick: function () {
|
|
|
$("#clickTable").datagrid(
|
|
|
{
|
|
|
url: contextPath + "/ClickUnionRest/queryUnionClickLogs",
|
|
|
queryParams: getParam("clickForm")
|
|
|
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
|
|
|
$("#openBtn").linkbutton({
|
|
|
iconCls: "icon-search",
|
|
|
text: "查询",
|
|
|
onClick: function () {
|
|
|
$("#openTable").datagrid(
|
|
|
{
|
|
|
url: contextPath + "/ClickUnionRest/queryUnionActivityLogs",
|
|
|
queryParams: getParam("openForm")
|
|
|
|
|
|
});
|
|
|
}
|
...
|
...
|
|