Commit 58ec6f4d by 李长胜

修改右下角固定列出现横线问题

1 parent 3e280447
......@@ -21,7 +21,7 @@
<template slot="auth-button" slot-scope="scope" :data="scope.scope">
<!-- <auth-button :data="scope.scope"></auth-button> -->
<span @click="goDetail(scope.scope.id, scope.scope.custGroupName)" class="blue-text">详情</span>
<!-- <GLButton @click="goDetail(scope.scope.id, scope.scope.custGroupName)" fn="客户群详情" type="text">详情</GLButton> -->
<!-- <GLButton @click="goDetail(scope.scope.id, scope.scope.custGroupName)" fn="客户群详情" type="text">详情</GLButton> -->
</template>
</GLTable>
</div>
......@@ -30,7 +30,7 @@
</template>
<script>
import { getTableList, syncCustomerBase, getStatus,clientGroupExportApi } from '@/api/modules/clientGroupManage'
import { getTableList, syncCustomerBase, getStatus, clientGroupExportApi } from '@/api/modules/clientGroupManage'
import url from '@/assets/clientDataOverview/nodata.png'
export default {
name: 'clientGroupManage',
......@@ -142,7 +142,7 @@ export default {
label: '创建方式',
prop: 'creationMethod',
formatter: cellValue => {
return cellValue.creationMethod==1 ? '手动拉群' : cellValue.creationMethod==2 ? "一客一群" : ""
return cellValue.creationMethod == 1 ? '手动拉群' : cellValue.creationMethod == 2 ? '一客一群' : ''
},
minWidth: 140
},
......@@ -169,9 +169,9 @@ export default {
flushTime: false
}
},
activated() {
this.searchTable()
},
// activated() {
// this.searchTable()
// },
created() {
if (window.__POWERED_BY_QIANKUN__) {
//运行在qiankun容器中
......@@ -191,10 +191,10 @@ export default {
// }
// },
beforeDestroy() {
this.$message.closeAll()
this.$message.closeAll()
},
mounted() {
this.wxTips()
this.wxTips()
},
methods: {
jumpWx() {
......@@ -257,20 +257,20 @@ export default {
// }
this.$refs.clientGroupManage.data.length ? (this.$refs.clientGroupManage.tableHeightValues = '') : this.$refs.clientGroupManage.setTableHeightFun()
},
//导出
handleExport(){
//导出
handleExport() {
var params = this.getParams()
clientGroupExportApi(params).then(res => {
this.$Utils.exportFn(res)
})
},
},
searchTable() {
this.$refs.clientGroupManage.refreshTable()
},
getParams(){
getParams() {
var params = JSON.parse(JSON.stringify(this.searchForm))
if (params.daterange) {
params.beginTime = this.searchForm.daterange[0]
params.beginTime = this.searchForm.daterange[0]
params.endTime = this.searchForm.daterange[1]
} else {
if (params.beginTime) delete params.beginTime && delete params.endTime
......@@ -290,7 +290,7 @@ export default {
// }
// resolve()
// })
return new Promise((resolve, reject) => {
return new Promise((resolve, reject) => {
this.searchFormTable = this.getParams()
resolve()
})
......@@ -330,6 +330,12 @@ export default {
letter-spacing: 1px;
}
.pageContent {
.glsx-table {
/deep/ .el-table__fixed,
/deep/ .el-table__fixed-right {
height: 100% !important; //设置高优先,以覆盖内联样式
}
}
padding: 6px 20px 30px;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
// min-width: 1300px;
......
......@@ -22,7 +22,7 @@
<span class="pure-blue-text">{{ scope.scope.type == 1 ? '@微信' : scope.scope.type == 2 ? '@企微' : '' }}</span>
</span>
<span slot="customerSex" slot-scope="scope">
<span>{{ scope.scope.customerSex == 0 ? '未知' : scope.scope.customerSex == 1 ? '男' : scope.scope.customerSex == 2 ? '女' :'' }}</span>
<span>{{ scope.scope.customerSex == 0 ? '未知' : scope.scope.customerSex == 1 ? '男' : scope.scope.customerSex == 2 ? '女' : '' }}</span>
</span>
<div slot="followStaff" class="entmicro" slot-scope="scope">
<div class="entmicro-tag" v-for="(tag, idx) in followList(scope.scope.followStaff)" :key="idx">
......@@ -437,12 +437,15 @@ export default {
.searchTop {
// margin-bottom: 20px;
}
// .glsx-table {
// margin-top: 20px;
// /deep/ .el-table__fixed {
// height: 100% !important; //设置高优先,以覆盖内联样式
// }
// }
.glsx-table {
// /deep/ .el-table__fixed {
// height: 100% !important; //设置高优先,以覆盖内联样式
// }
/deep/ .el-table__fixed,
/deep/ .el-table__fixed-right {
height: 100% !important; //设置高优先,以覆盖内联样式
}
}
.entmicro {
// overflow: hidden;
......@@ -460,9 +463,9 @@ export default {
&-tag {
display: inline-block;
}
// /deep/ .entmicro-tag + .entmicro-tag {
// margin-bottom: 4px;
// }
// /deep/ .entmicro-tag + .entmicro-tag {
// margin-bottom: 4px;
// }
&-hover {
max-height: 214px;
overflow: auto;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!