Commit 58ec6f4d by 李长胜

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

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