|
@@ -6,10 +6,8 @@
|
|
<span class="attention">注:机构的互动详情,是截止至昨天24点的数据,非当前实时数据</span>
|
|
<span class="attention">注:机构的互动详情,是截止至昨天24点的数据,非当前实时数据</span>
|
|
<span class="organization-details" @click="goWholeDetail">全机构互动详情>></span>
|
|
<span class="organization-details" @click="goWholeDetail">全机构互动详情>></span>
|
|
</div>
|
|
</div>
|
|
- <div style="margin-top: 10px">
|
|
|
|
- <el-tabs v-model="activeTypeName" @tab-click="typeHandleClick">
|
|
|
|
- <el-tab-pane :label="item.label" :name="item.value" v-for="item in typeList" :key="item.value"></el-tab-pane>
|
|
|
|
- </el-tabs>
|
|
|
|
|
|
+ <div class="department-tabs">
|
|
|
|
+ <span :class="['item', activeTypeName == item.value && 'active']" v-for="item in typeList" :key="item.value" @click="typeHandleClick(item)">{{ item.label }}</span>
|
|
</div>
|
|
</div>
|
|
<div class="tabs">
|
|
<div class="tabs">
|
|
<span :class="['item', activeName == item.Source && 'active']" v-for="item in list" :key="item.Source" @click="handleTabsClick(item)">{{ item.PermissionName }} ({{ item.TotalNum }})</span>
|
|
<span :class="['item', activeName == item.Source && 'active']" v-for="item in list" :key="item.Source" @click="handleTabsClick(item)">{{ item.PermissionName }} ({{ item.TotalNum }})</span>
|
|
@@ -138,7 +136,9 @@ export default {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
// 类型的点击事件
|
|
// 类型的点击事件
|
|
- typeHandleClick(e) {
|
|
|
|
|
|
+ typeHandleClick(item) {
|
|
|
|
+ if (this.activeTypeName == item.value) return;
|
|
|
|
+ this.activeTypeName = item.value;
|
|
this.activeName = 1;
|
|
this.activeName = 1;
|
|
this.tableColums = organizationTableColums(this.activeName);
|
|
this.tableColums = organizationTableColums(this.activeName);
|
|
this.getCygxMutualList();
|
|
this.getCygxMutualList();
|