Commit a41d6cdd by 前端

Merge branch 'wangzh_dev_2.3.3' into 'v2.3.3'

Wangzh dev 2.3.3

See merge request !62
2 parents 744764e2 fcfba445
...@@ -17,7 +17,9 @@ ...@@ -17,7 +17,9 @@
</div> </div>
<div class="customer-info-label"> <div class="customer-info-label">
<div class="customer-info-name">企微营销:</div> <div class="customer-info-name">企微营销:</div>
<div class="customer-info-message">{{ item.receiveStatus == 1?'已领取':item.checkStatus == 1 ? '已查看' : item.sendStatus == 1 ? '已送达' : item.sendStatus == 0?'未送达':'' }}</div> <div class="customer-info-message">
{{ item.receiveStatus == 1 ? '已领取' : item.checkStatus == 1 ? '已查看' : item.sendStatus == 1 ? '已送达' : item.sendStatus == 0 ? '未送达' : '' }}
</div>
</div> </div>
</div> </div>
<div class="customer-info-right"> <div class="customer-info-right">
...@@ -111,7 +113,7 @@ export default { ...@@ -111,7 +113,7 @@ export default {
// 初始化微信接口 // 初始化微信接口
initWx() { initWx() {
window.$wx = wxConfig window.$wx = wxConfig
window.$wx.init(['setClipboardData', 'navigateToAddCustomer', 'openEnterpriseChat','makePhoneCall']).then(() => {}) window.$wx.init(['setClipboardData', 'navigateToAddCustomer', 'openEnterpriseChat', 'makePhoneCall']).then(() => {})
}, },
getuserInfo() { getuserInfo() {
ssoApi.getuserInfo().then(res => { ssoApi.getuserInfo().then(res => {
...@@ -214,7 +216,7 @@ export default { ...@@ -214,7 +216,7 @@ export default {
} }
.customer-name { .customer-name {
width: calc(100% - 80px); width: calc(100% - 120px);
font-size: 14px; font-size: 14px;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
...@@ -228,8 +230,8 @@ export default { ...@@ -228,8 +230,8 @@ export default {
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
color: #999999; color: #999999;
line-height: 39px; line-height: 16px;
padding-right: 12px; white-space: nowrap;
} }
.customer-info { .customer-info {
......
...@@ -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;
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
</div> </div>
</div> </div>
<div class="succeed-wrap-order-info"> <div class="succeed-wrap-order-info">
<template v-if="appointmentDailyCharts"> <template v-if="getFollowResultDetail.appointmentDailyCharts&&getFollowResultDetail.appointmentDailyCharts.length>0">
<lineChart id="orderRef" :lineData="lineData"></lineChart> <lineChart id="orderRef" :lineData="lineData"></lineChart>
</template> </template>
<template v-else> <template v-else>
...@@ -133,6 +133,7 @@ export default { ...@@ -133,6 +133,7 @@ export default {
solicitApi.getFollowResult(params).then(res => { solicitApi.getFollowResult(params).then(res => {
this.getFollowResultDetail = res.data this.getFollowResultDetail = res.data
const { joinEntmicroCustomerNums, notYetJoinEntmicroCustomerNums, followResultsAnalyzeVos, appointmentDailyCharts, successDailyCharts } = this.getFollowResultDetail const { joinEntmicroCustomerNums, notYetJoinEntmicroCustomerNums, followResultsAnalyzeVos, appointmentDailyCharts, successDailyCharts } = this.getFollowResultDetail
if (joinEntmicroCustomerNums || notYetJoinEntmicroCustomerNums) { if (joinEntmicroCustomerNums || notYetJoinEntmicroCustomerNums) {
this.pieData = [ this.pieData = [
{ {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!