Commit fcfba445 by 王志慧

Merge branch 'v2.3.3' of http://192.168.3.233:8090/glsx/dj-scrm-wx-work-attachme…

…nt-customer into wangzh_dev_2.3.3
2 parents d6393baa 744764e2
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<div class="customer-info-right"> <div class="customer-info-right">
<div class="customer-info-label"> <div class="customer-info-label">
<div class="customer-info-name">企微账号:</div> <div class="customer-info-name">企微账号:</div>
<div v-if="item.nickName"> <div v-if="item.type">
<span class="customer-info-message customer-info-wechatnick text-hide">{{ item.nickName }}</span> <span class="customer-info-message customer-info-wechatnick text-hide">{{ item.nickName }}</span>
<span class="customer-info-message" :class="[item.type == 1 ? 'customer-info-wechat' : 'customer-info-qiwechat']">{{ item.type == 1 ? '@微信' : item.type == 2 ? '@企微' : '' }}</span> <span class="customer-info-message" :class="[item.type == 1 ? 'customer-info-wechat' : 'customer-info-qiwechat']">{{ item.type == 1 ? '@微信' : item.type == 2 ? '@企微' : '' }}</span>
</div> </div>
...@@ -165,8 +165,14 @@ export default { ...@@ -165,8 +165,14 @@ export default {
// 如果未添加企微客户 // 如果未添加企微客户
if (!val.userId) { if (!val.userId) {
if (val.phoneNumber) { if (val.phoneNumber) {
this.setClipboardData(val.phoneNumber) wx.setClipboardData({
Toast('已复制手机号,请尝试通过用户手机号来添加好友') data,
success(res) {
console.log(res)
Toast('已复制手机号,请尝试通过用户手机号来添加好友')
},
fail(res) {}
})
} else { } else {
Toast('尚未添加好友,请尝试添加客户为好友') Toast('尚未添加好友,请尝试添加客户为好友')
} }
...@@ -206,7 +212,7 @@ export default { ...@@ -206,7 +212,7 @@ export default {
.customer-title { .customer-title {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
padding: 10px 12px; height: 39px;
} }
.customer-name { .customer-name {
...@@ -215,7 +221,8 @@ export default { ...@@ -215,7 +221,8 @@ export default {
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #282829; color: #282829;
line-height: 20px; line-height: 39px;
padding-left: 12px;
} }
.customer-carnumber { .customer-carnumber {
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
</div> </div>
<div class="customer-info-item"> <div class="customer-info-item">
<div class="customer-info-item-title">人群分组</div> <div class="customer-info-item-title">人群分组</div>
<div class="customer-info-item-content">{{ groupName }}</div> <div class="customer-info-item-content text-hide">{{ groupName }}</div>
</div> </div>
<div class="customer-info-item"> <div class="customer-info-item">
<div class="customer-info-item-title">企微账号</div> <div class="customer-info-item-title">企微账号</div>
...@@ -131,20 +131,20 @@ export default { ...@@ -131,20 +131,20 @@ export default {
if (data.cars && data.cars.length) { if (data.cars && data.cars.length) {
this.carInfoList = data.cars this.carInfoList = data.cars
this.carInfoList.map(item => { this.carInfoList.map(item => {
item.carBuyDate = this.timeTransfer(item.carBuyDate) item.carBuyDate = item.carBuyDate&&this.timeTransfer(item.carBuyDate)
}) })
} }
if (data.maList && data.maList.length) { if (data.maList && data.maList.length) {
this.maintennceList = data.maList this.maintennceList = data.maList
this.maintennceList.map(item => { this.maintennceList.map(item => {
item.maDate = this.timeTransfer(item.maDate) item.maDate = item.maDate&&this.timeTransfer(item.maDate)
}) })
} }
if (data.followRecordList && data.followRecordList.length) { if (data.followRecordList && data.followRecordList.length) {
this.followRecordList = data.followRecordList this.followRecordList = data.followRecordList
this.followRecordList.map(item => { this.followRecordList.map(item => {
item.orderTime = item.orderTime && this.timeTransfer(item.orderTime) item.orderTime = item.orderTime && this.timeTransfer(item.orderTime)
item.createdTime = this.timeTransfer(item.createdTime) item.createdTime = item.createdTime&&this.timeTransfer(item.createdTime)
}) })
} }
} }
...@@ -228,6 +228,7 @@ export default { ...@@ -228,6 +228,7 @@ export default {
} }
&-content { &-content {
color: #333333; color: #333333;
max-width: 200px;
} }
&-message { &-message {
font-size: 12px; font-size: 12px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!