|
@@ -2,10 +2,16 @@
|
|
|
<div class="container-mutualList">
|
|
|
<el-card>
|
|
|
<span class="intro">{{ userForm.UserName }}-{{ userForm.Mobile }}-{{ userForm.ComapnyName }}</span>
|
|
|
+ <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-tabs>
|
|
|
+ </div>
|
|
|
<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>
|
|
|
</div>
|
|
|
- <div class="son-box" v-if="activeName === 2 || activeName === 1">
|
|
|
+ <!-- -->
|
|
|
+ <div class="son-box" v-if="showSelectBox">
|
|
|
<div style="display: flex; align-items: center" v-if="activeName === 2">
|
|
|
<el-checkbox-group v-model="checkActiveList" @change="dataChangeHandler">
|
|
|
<el-checkbox :label="item.key" v-for="item in screenList" :key="item.key">{{ item.name }}</el-checkbox>
|
|
@@ -23,7 +29,7 @@
|
|
|
type="date"
|
|
|
range
|
|
|
value-type="format"
|
|
|
- :placeholder="activeName === 1 ? '阅读时间' : '活动时间'"
|
|
|
+ :placeholder="activeName === 2 ? '活动时间' : '阅读时间'"
|
|
|
:editable="false"
|
|
|
@change="dateChange"
|
|
|
style="width: 200px; margin-right: 20px"
|
|
@@ -41,7 +47,7 @@
|
|
|
</div>
|
|
|
<template v-if="activeName != 4">
|
|
|
<el-table style="margin-top: 20px" :data="tableData" v-loading="tableLoading" element-loading-text="数据加载中..." border>
|
|
|
- <el-table-column v-for="item in tableColums" :key="item.label" :label="item.label" :width="item.widthsty" :min-width="item.minwidthsty" align="center">
|
|
|
+ <el-table-column v-for="item in tableColumsList" :key="item.label" :label="item.label" :width="item.widthsty" :min-width="item.minwidthsty" align="center">
|
|
|
<template slot-scope="{ row }">
|
|
|
<span @click="handleRowClick(row, item.key)" :style="handleRowStyle(item.key)">{{ handleRowContent(row, item.key) }}</span>
|
|
|
</template>
|
|
@@ -112,12 +118,12 @@ export default {
|
|
|
}
|
|
|
return `${baseUrl}?${token}${paramStr}`;
|
|
|
},
|
|
|
+
|
|
|
},
|
|
|
data() {
|
|
|
return {};
|
|
|
},
|
|
|
mixins: [mutualMixin],
|
|
|
- watch: {},
|
|
|
created() {},
|
|
|
mounted() {
|
|
|
this.tableColums = tableColums(1);
|
|
@@ -208,3 +214,8 @@ export default {
|
|
|
@import "./compontents/details.scss";
|
|
|
}
|
|
|
</style>
|
|
|
+<style>
|
|
|
+.el-tabs__nav-wrap::after {
|
|
|
+ background-color: rgba(255, 255, 255, 0.5);
|
|
|
+}
|
|
|
+</style>
|