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
if (this.currentIndex == 2 && this.clientTagsList.length <= 0) { this.$nextTick(() => {
this.$refs.clientTagsListRef.setTableHeightFun() if (this.currentIndex == 2 && this.clientTagsList.length <= 0) {
} 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) {
...@@ -630,7 +634,7 @@ export default { ...@@ -630,7 +634,7 @@ export default {
return list.slice(0, 9) return list.slice(0, 9)
}, },
/* * /* *
用途:js中字符串超长作固定长度加省略号(...)处理 用途:js中字符串超长作固定长度加省略号(...)处理
参数说明: 参数说明:
str:需要进行处理的字符串,可含汉字 str:需要进行处理的字符串,可含汉字
...@@ -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!