|
@@ -4,7 +4,7 @@
|
|
|
<div class="introduce">注:机构的互动详情,是截止至昨天24点的数据,非当前实时数据</div>
|
|
|
<div style="margin-top: 10px">
|
|
|
<el-tabs v-model="activeTypeName" @tab-click="typeHandleClick">
|
|
|
- <el-tab-pane :label="item" :name="item" v-for="item in typeList" :key="item"></el-tab-pane>
|
|
|
+ <el-tab-pane :label="item.label" :name="item.value" v-for="item in typeList" :key="item.value"></el-tab-pane>
|
|
|
</el-tabs>
|
|
|
</div>
|
|
|
<div class="tabs">
|
|
@@ -79,7 +79,7 @@
|
|
|
<template v-if="publicHaveMoveCompany">
|
|
|
<div v-for="item in chartList" :key="item.UserId">
|
|
|
<template v-if="item.ListChart">
|
|
|
- <ChartItem :chartData="item" :companyName="item.CompanyName" />
|
|
|
+ <ChartItem :chartData="item" :companyName="item.CompanyName" :activeTypeName="activeTypeName"/>
|
|
|
</template>
|
|
|
</div>
|
|
|
<el-col :span="24" class="toolbar">
|
|
@@ -136,7 +136,8 @@ export default {
|
|
|
KeyWord: this.searchVal,
|
|
|
ActivityName: this.activityName,
|
|
|
AdminId: salesArr.join(","),
|
|
|
- };
|
|
|
+ ClassType: this.activeTypeName,
|
|
|
+ };
|
|
|
for (let key in params) {
|
|
|
paramStr = `${paramStr}&${key}=${params[key]}`;
|
|
|
}
|
|
@@ -151,9 +152,15 @@ export default {
|
|
|
this.getSale();
|
|
|
},
|
|
|
methods: {
|
|
|
+ // 类型的点击事件
|
|
|
+ typeHandleClick(e) {
|
|
|
+ this.activeName = 1;
|
|
|
+ this.tableColums = wholeOrganizationTableColums(this.activeName);
|
|
|
+ this.getCygxMutualList();
|
|
|
+ },
|
|
|
//获取基础数据
|
|
|
async getCygxMutualList() {
|
|
|
- const res = await equityContacts.getUserTableCompanyList({});
|
|
|
+ const res = await equityContacts.getUserTableCompanyList({ ClassType: this.activeTypeName });
|
|
|
if (res.Ret === 200) {
|
|
|
this.list = res.Data.List || [];
|
|
|
this.userForm = res.Data;
|
|
@@ -204,6 +211,7 @@ export default {
|
|
|
KeyWord: this.searchVal,
|
|
|
ActivityName: this.activityName,
|
|
|
AdminId: salesArr.join(","),
|
|
|
+ ClassType: this.activeTypeName,
|
|
|
});
|
|
|
if (res.Ret === 200) {
|
|
|
this.total = res.Data.Paging.Totals;
|
|
@@ -227,6 +235,7 @@ export default {
|
|
|
PageSize: this.pageSize,
|
|
|
CurrentIndex: this.page_no,
|
|
|
AdminId: salesArr.join(","),
|
|
|
+ ClassType: this.activeTypeName,
|
|
|
});
|
|
|
if (res.Ret === 200) {
|
|
|
this.chartList = res.Data.List || [];
|