|
@@ -44,7 +44,7 @@
|
|
|
<div class="tu-unusual box-public-shadow flex1">
|
|
|
<div class="tu-unusual-content h100 flex">
|
|
|
<div class="tu-unusual-content-left w160 relative">
|
|
|
- <commonChartsPie :option="unusualOption" id="tu-unusual-content" />
|
|
|
+ <commonChartsPie @getChartData="getChartData" :option="unusualOption" id="tu-unusual-content" />
|
|
|
</div>
|
|
|
<div class="tu-unusual-content-right">
|
|
|
<commonChartsNum @handleLog="handleLog" style="margin-top: 0" :arrs="unusualTeams" />
|
|
@@ -55,7 +55,7 @@
|
|
|
<div class="tu-login box-public-shadow flex1 l22">
|
|
|
<div class="tu-login-content h100 flex">
|
|
|
<div class="tu-login-content-left w160 relative">
|
|
|
- <commonChartsPie :option="loginOption" id="tu-login-content" />
|
|
|
+ <commonChartsPie @getChartData="getChartData" :option="loginOption" id="tu-login-content" />
|
|
|
</div>
|
|
|
<div class="tu-login-content-right">
|
|
|
<commonChartsNum @handleLog="handleLog" :arrs="loginTeams" />
|
|
@@ -66,7 +66,7 @@
|
|
|
<div class="tu-authorize box-public-shadow flex1 l22">
|
|
|
<div class="tu-authorize-content h100 flex">
|
|
|
<div class="tu-authorize-content-left w160 relative">
|
|
|
- <commonChartsPie :option="authorizeOption" id="tu-authorize-content" />
|
|
|
+ <commonChartsPie @getChartData="getChartData" :option="authorizeOption" id="tu-authorize-content" />
|
|
|
</div>
|
|
|
<div class="tu-authorize-content-right">
|
|
|
<div v-for="(item, index) in authorizeArr" @click="handleLog(item)" :key="index" class="behavior-list">
|
|
@@ -81,7 +81,7 @@
|
|
|
<div class="tu-behavior box-public-shadow flex1 l22">
|
|
|
<div class="tu-behavior-content h100 flex">
|
|
|
<div class="tu-behavior-content-left w160 relative">
|
|
|
- <commonChartsPie :option="behaviorOption" id="tu-behavior-content" />
|
|
|
+ <commonChartsPie @getChartData="getChartData" :option="behaviorOption" id="tu-behavior-content" />
|
|
|
</div>
|
|
|
<div class="tu-behavior-content-right">
|
|
|
<div v-for="(item, index) in behaviorArr" @click="handleLog(item)" :key="index" class="behavior-list">
|
|
@@ -209,28 +209,28 @@ export default {
|
|
|
accountTeamsOne: [
|
|
|
{
|
|
|
number: 0,
|
|
|
- txt: "账号数",
|
|
|
+ name: "账号数",
|
|
|
color: "#94C6E0",
|
|
|
key: "userCount",
|
|
|
ana: "officeCount",
|
|
|
},
|
|
|
{
|
|
|
number: 0,
|
|
|
- txt: "账号分组",
|
|
|
+ name: "账号分组",
|
|
|
color: "#F4C23A",
|
|
|
key: "groupCount",
|
|
|
ana: "groupCount",
|
|
|
},
|
|
|
{
|
|
|
number: 0,
|
|
|
- txt: "日活跃度",
|
|
|
+ name: "日活跃度",
|
|
|
color: "#8969BE",
|
|
|
key: "dayAct",
|
|
|
ana: "dayAct",
|
|
|
},
|
|
|
{
|
|
|
number: 0,
|
|
|
- txt: "月活跃度",
|
|
|
+ name: "月活跃度",
|
|
|
color: "#E752A3",
|
|
|
key: "monthAct",
|
|
|
ana: "monthAct",
|
|
@@ -773,9 +773,6 @@ export default {
|
|
|
handleLog (item) {
|
|
|
this.$emit('sendLog', item);
|
|
|
},
|
|
|
- msgHandleLog (item) {
|
|
|
- console.log('xx')
|
|
|
- },
|
|
|
//账号信息切换
|
|
|
checkAccountType (params) {
|
|
|
if (params.value === 1 && params.name === "账号") {
|
|
@@ -798,6 +795,9 @@ export default {
|
|
|
checkApiType (params) {
|
|
|
//console.log(`API调用情况---->name:${params.name},value:${params.value}`)
|
|
|
},
|
|
|
+ getChartData (params) {
|
|
|
+ this.$emit('sendLog', params.data);
|
|
|
+ },
|
|
|
//---------------获取数据方法------------------
|
|
|
//获取账号信息分析
|
|
|
async getUserAna () {
|