Commit aaa1d1f6 by 前端

Merge branch 'xuyl_dev_v2.3.0' into 'v2.3.0'

Xuyl dev v2.3.0

See merge request !85
2 parents 0e7d6a0a 375ee2ce
...@@ -619,9 +619,13 @@ export default { ...@@ -619,9 +619,13 @@ export default {
}, },
tabClick(index) { tabClick(index) {
this.currentIndex = index this.currentIndex = index
this.$nextTick(() => {
if (this.currentIndex == 2 && this.clientTagsList.length <= 0) { if (this.currentIndex == 2 && this.clientTagsList.length <= 0) {
this.$refs.clientTagsListRef.setTableHeightFun() this.$refs.clientTagsListRef.setTableHeightFun()
console.log(this.$refs.clientTagsListRef.tableHeightValues, '----------------')
// this.$refs.clientTagsListRef.tableHeightValues =
} }
})
}, },
showTagArray(list) { showTagArray(list) {
if (list.length == 0) { if (list.length == 0) {
...@@ -830,14 +834,15 @@ export default { ...@@ -830,14 +834,15 @@ export default {
}) })
}) })
}) })
const userIdList = this.nickNameList.map(item => item.userId)
let param = { let param = {
'req.OneId': this.id, 'req.OneId': this.id,
'req.merchantId': this.merchantId, 'req.merchantId': this.merchantId,
'req.uuId': this.userid, 'req.uuId': this.userid,
'req.staffId': this.staffId, 'req.staffId': this.staffId,
'req.labelIdAddList': labelIdAddList, 'req.labelIdAddList': labelIdAddList,
'req.labelIdDelList': labelIdDelList 'req.labelIdDelList': labelIdDelList,
'req.userIdList': userIdList
} }
addSingleClientTag(param) addSingleClientTag(param)
.then(res => { .then(res => {
...@@ -1115,6 +1120,18 @@ export default { ...@@ -1115,6 +1120,18 @@ export default {
} }
// 处理客户标签的样式 // 处理客户标签的样式
.clientTagsWrap { .clientTagsWrap {
/deep/ .el-table:before {
background-color: #fff !important;
}
/deep/ .el-table__empty-block {
height: auto;
position: absolute;
top: 50%;
transform: translateY(-50%);
}
/deep/ .glsx-table .emptyBg .noDataImg {
margin-top: 0;
}
.allTagsWrap { .allTagsWrap {
position: relative; position: relative;
.tag-box-wrap { .tag-box-wrap {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!