...
|
...
|
@@ -6,7 +6,7 @@ |
|
|
<!-- 引入 echarts.js -->
|
|
|
<script src="/union/js/echarts.min.js"></script>
|
|
|
<script src="/union/js/include.js"></script>
|
|
|
<script src="/union/html/reportform/echartJs.js"></script>
|
|
|
<script src="/union/admin/echartJs.js"></script>
|
|
|
</head>
|
|
|
<body>
|
|
|
<table>
|
...
|
...
|
@@ -59,95 +59,97 @@ |
|
|
debugger;
|
|
|
// 曝光量
|
|
|
var exposureOption = getEchartOption("市场费用/曝光量",
|
|
|
['实际费用','曝光量','市场费用/曝光量'],
|
|
|
['费用','曝光量','曝光成本'],
|
|
|
data.data.dateIdStrList,
|
|
|
data.data.totalActualCostList,
|
|
|
data.data.totalExpoureNumList,
|
|
|
data.data.totalExpoureRatio,
|
|
|
data.data.topActualCost,
|
|
|
data.data.topExpoureNum );
|
|
|
data.data.topExpoureNum,
|
|
|
data.data.topExpoureRatio);
|
|
|
drawEchart('exposure',exposureOption);
|
|
|
|
|
|
var exposureIosOption = getEchartOption("ios端市场费用/曝光量",
|
|
|
['实际费用','曝光量','市场费用/曝光量'],
|
|
|
['费用','曝光量','曝光成本'],
|
|
|
data.data.dateIdStrList,
|
|
|
data.data.iosActualCostList,
|
|
|
data.data.iosExpoureNumList,
|
|
|
data.data.iosExpoureRatio,
|
|
|
data.data.topActualCost,
|
|
|
data.data.topExpoureNum);
|
|
|
data.data.topExpoureNum,data.data.topExpoureRatio);
|
|
|
drawEchart('exposure_ios',exposureIosOption);
|
|
|
|
|
|
var exposureAndroidOption = getEchartOption("android市场费用/曝光量",
|
|
|
['实际费用','曝光量','市场费用/曝光量'],
|
|
|
['费用','曝光量','曝光成本'],
|
|
|
data.data.dateIdStrList,
|
|
|
data.data.androidActualCost,
|
|
|
data.data.androidExpoureNumList,
|
|
|
data.data.androidExpoureRatio,
|
|
|
data.data.topActualCost,
|
|
|
data.data.topExpoureNum);
|
|
|
data.data.topExpoureNum,data.data.topExpoureRatio);
|
|
|
drawEchart('exposure_android',exposureAndroidOption);
|
|
|
|
|
|
// 激活
|
|
|
var activeOption = getEchartOption("市场费用/激活量",
|
|
|
['实际费用','激活量','市场费用/激活量'],
|
|
|
['费用','激活量','激活成本'],
|
|
|
data.data.dateIdStrList,
|
|
|
data.data.totalActualCostList,
|
|
|
data.data.totalAppActiveList,
|
|
|
data.data.totalActiveRatio,
|
|
|
data.data.topActualCost,
|
|
|
data.data.topAppActive);
|
|
|
data.data.topAppActive,
|
|
|
data.data.topActiveRatio);
|
|
|
drawEchart('active',activeOption);
|
|
|
|
|
|
var activeIosOption = getEchartOption("ios端市场费用/激活量",
|
|
|
['实际费用','激活量','市场费用/激活量'],
|
|
|
['费用','激活量','激活成本'],
|
|
|
data.data.dateIdStrList,
|
|
|
data.data.iosActualCostList,
|
|
|
data.data.iosAppActiveList,
|
|
|
data.data.iosActiveRatio,
|
|
|
data.data.topActualCost,
|
|
|
data.data.topAppActive);
|
|
|
data.data.topAppActive,data.data.topActiveRatio);
|
|
|
drawEchart('active_ios',activeIosOption);
|
|
|
|
|
|
var activeAndroidOption = getEchartOption("android端市场费用/激活量",
|
|
|
['实际费用','激活量','市场费用/激活量'],
|
|
|
['费用','激活量','激活成本'],
|
|
|
data.data.dateIdStrList,
|
|
|
data.data.androidActualCost,
|
|
|
data.data.androidAppActiveList,
|
|
|
data.data.androidActiveRatio,
|
|
|
data.data.topActualCost,
|
|
|
data.data.topAppActive);
|
|
|
data.data.topAppActive,data.data.topActiveRatio);
|
|
|
drawEchart('active_android',activeAndroidOption);
|
|
|
|
|
|
// 新客
|
|
|
var newuserOption = getEchartOption("市场费用/曝光量",
|
|
|
['实际费用','曝光量','市场费用/曝光量'],
|
|
|
var newuserOption = getEchartOption("市场费用/新客量",
|
|
|
['费用','新客量','新客成本'],
|
|
|
data.data.dateIdStrList,
|
|
|
data.data.totalActualCostList,
|
|
|
data.data.totalNewUserList,
|
|
|
data.data.totalNewUdidRatio,
|
|
|
data.data.topActualCost,
|
|
|
data.data.topNewUdid);
|
|
|
data.data.topNewUdid,data.data.topNewUdidRatio);
|
|
|
drawEchart('newuser',newuserOption);
|
|
|
|
|
|
var newuserIosOption = getEchartOption("市场费用/曝光量",
|
|
|
['实际费用','曝光量','市场费用/曝光量'],
|
|
|
var newuserIosOption = getEchartOption("ios端市场费用/新客量",
|
|
|
['费用','新客量','新客成本'],
|
|
|
data.data.dateIdStrList,
|
|
|
data.data.iosActualCostList,
|
|
|
data.data.iosNewUserList,
|
|
|
data.data.iosNewUdidRatio,
|
|
|
data.data.topActualCost,
|
|
|
data.data.topNewUdid);
|
|
|
data.data.topNewUdid,data.data.topNewUdidRatio);
|
|
|
drawEchart('newuser_ios',newuserIosOption);
|
|
|
|
|
|
var newuserAndroidOption = getEchartOption("市场费用/曝光量",
|
|
|
['实际费用','曝光量','市场费用/曝光量'],
|
|
|
var newuserAndroidOption = getEchartOption("android市场费用/新客量",
|
|
|
['费用','新客量','新客成本'],
|
|
|
data.data.dateIdStrList,
|
|
|
data.data.androidActualCost,
|
|
|
data.data.androidNewUserList,
|
|
|
data.data.androidNewUdidRatio,
|
|
|
data.data.topActualCost,
|
|
|
data.data.topNewUdid);
|
|
|
data.data.topNewUdid,data.data.topNewUdidRatio);
|
|
|
drawEchart('newuser_android',newuserAndroidOption);
|
|
|
} else {
|
|
|
window.self.$.messager.alert("失败", data.message, "error");
|
...
|
...
|
|