Commit 585e90c8 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 a42814d8 54ab9d76
...@@ -63,15 +63,15 @@ export default { ...@@ -63,15 +63,15 @@ export default {
}) })
}, },
// 触达统计-客户送达分层 // 触达统计-客户送达分层
deliveredStatistics(data) { deliveredStatistics(data) {
data.method = 'marketing.api.solicit.customer.delivered.statistics' data.method = 'marketing.api.solicit.customer.delivered.statistics'
return window.$HTTP({ return window.$HTTP({
url, url: 'http://192.168.1.170:8065/rop-scrm-marketing/router',
data, data,
returnAll: true returnAll: true
}) })
}, },
// 获取送达、未送达列表 // 获取送达、未送达列表
getCustomerList(data) { getCustomerList(data) {
...@@ -86,7 +86,7 @@ deliveredStatistics(data) { ...@@ -86,7 +86,7 @@ deliveredStatistics(data) {
getCustomerDetail(data) { getCustomerDetail(data) {
data.method = 'marketing.api.solicit.customer.detail' data.method = 'marketing.api.solicit.customer.detail'
return window.$HTTP({ return window.$HTTP({
url, url: 'http://192.168.1.170:8065/rop-scrm-marketing/router',
data, data,
returnAll: true returnAll: true
}) })
......
...@@ -17,14 +17,14 @@ ...@@ -17,14 +17,14 @@
</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.checkStatus }}</div> <div class="customer-info-message">{{ item.checkStatus == 0 ? '未查看' : '已查看' }}</div>
</div> </div>
</div> </div>
<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.wechatnick"> <div v-if="item.wechatnick">
<span class="customer-info-message">{{ item.wechatnick }}</span> <span class="customer-info-message customer-info-wechatnick text-hide">{{ item.wechatnick }}</span>
<span class="customer-info-wechat customer-info-message" v-if="item.type == 1">@微信</span> <span class="customer-info-wechat customer-info-message" v-if="item.type == 1">@微信</span>
<span class="customer-info-qiwechat customer-info-message" v-else>@企微</span> <span class="customer-info-qiwechat customer-info-message" v-else>@企微</span>
</div> </div>
...@@ -70,6 +70,18 @@ export default { ...@@ -70,6 +70,18 @@ export default {
default: () => { default: () => {
return [] return []
} }
},
groupId: {
type: String,
default: () => {
return null
}
},
groupName: {
type: String,
default: () => {
return ''
}
} }
}, },
watch: { watch: {
...@@ -98,7 +110,7 @@ export default { ...@@ -98,7 +110,7 @@ export default {
// this.initWx() // this.initWx()
}, },
methods: { methods: {
//初始化微信接口 // 初始化微信接口
initWx() { initWx() {
window.$wx = wxConfig window.$wx = wxConfig
window.$wx.init(['setClipboardData', 'makePhoneCall']).then(() => {}) window.$wx.init(['setClipboardData', 'makePhoneCall']).then(() => {})
...@@ -141,12 +153,12 @@ export default { ...@@ -141,12 +153,12 @@ export default {
followCustomer(val) { followCustomer(val) {
console.log(val) console.log(val)
this.followCustomerData = val this.followCustomerData = val
this.$refs.customerFollowRef.init() this.$refs.customerFollowRef.init(val)
}, },
// 客户详情 // 客户详情
sendMessage(val) { sendMessage(val) {
console.log(val) console.log(val)
this.$refs.customerInfoRef.init() this.$refs.customerInfoRef.init(val)
}, },
// 企微沟通 // 企微沟通
sendWechat(val) { sendWechat(val) {
...@@ -219,10 +231,16 @@ export default { ...@@ -219,10 +231,16 @@ export default {
color: #333333; color: #333333;
line-height: 18px; line-height: 18px;
} }
.customer-info-wechatnick {
display: inline-block;
max-width: 58px;
}
.customer-info-wechat { .customer-info-wechat {
vertical-align: bottom;
color: #3975c6; color: #3975c6;
} }
.customer-info-qiwechat { .customer-info-qiwechat {
vertical-align: bottom;
color: #2cca74; color: #2cca74;
} }
</style> </style>
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div> <div>
<van-action-sheet v-model="show"> <van-action-sheet v-model="show">
<van-sticky class="name-title"> <van-sticky class="name-title">
<div class="name-title-text">{{ info.name }}</div> <div class="name-title-text">xxx</div>
</van-sticky> </van-sticky>
<div class="follow-content"> <div class="follow-content">
<!-- <div class="name-title"> <!-- <div class="name-title">
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
<van-field name="跟进结果" label="跟进结果" class="field-bottom"> <van-field name="跟进结果" label="跟进结果" class="field-bottom">
<template #input> <template #input>
<div class="follow-list"> <div class="follow-list">
<div class="follow-list-item" v-for="item in followResultList" :key="item.dictValue" @click="selectFollow(item)"> <div class="follow-list-tag" v-for="item in followResultList" :key="item.dictValue" @click="selectFollow(item)">
<div :class="item.dictValue == selectFollowForm.followResult ? 'follow-list-item-select' : ''">{{ item.dictLabel }}</div> <div :class="item.dictValue == selectFollowForm.followResult ? 'follow-list-item-select' : 'follow-list-item'">{{ item.dictLabel }}</div>
</div> </div>
</div> </div>
</template> </template>
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
</template> </template>
<script> <script>
import { Toast } from 'vant' import { Toast, Notify } from 'vant'
import { mapState } from 'vuex' import { mapState } from 'vuex'
import { solicitApi } from '@/api' import { solicitApi } from '@/api'
export default { export default {
...@@ -101,10 +101,10 @@ export default { ...@@ -101,10 +101,10 @@ export default {
} }
}, },
props: { props: {
info: { // info: {
type: Object, // type: Object,
default: () => {} // default: () => {}
}, // },
groupId: { groupId: {
type: String, type: String,
default: '' default: ''
...@@ -121,7 +121,10 @@ export default { ...@@ -121,7 +121,10 @@ export default {
}) })
}, },
methods: { methods: {
init() { init(val) {
// this.customerName = val.customerName
console.log(this.followResultList)
console.log(this.activityId)
this.show = true this.show = true
// 获取当前时间 // 获取当前时间
const date = new Date(new Date().getTime() + (parseInt(new Date().getTimezoneOffset() / 60) + 8) * 3600 * 1000) const date = new Date(new Date().getTime() + (parseInt(new Date().getTimezoneOffset() / 60) + 8) * 3600 * 1000)
...@@ -131,14 +134,14 @@ export default { ...@@ -131,14 +134,14 @@ export default {
selectFollow(val) { selectFollow(val) {
this.selectFollowForm.followResult = val.dictValue this.selectFollowForm.followResult = val.dictValue
}, },
// // 获取跟进备注 // 获取跟进备注
// getTips(e) { getTips(e) {
// console.log(e) console.log(e)
// this.selectFollowForm.followTips = e this.selectFollowForm.followTips = e
// }, },
// 继续跟进按钮切换 // 继续跟进按钮切换
switchChange() { switchChange() {
// this.selectFollowForm.checked = !this.selectFollowForm.checked this.selectFollowForm.checked = !this.selectFollowForm.checked
console.log(this.selectFollowForm.checked) console.log(this.selectFollowForm.checked)
}, },
// 展示日历表 // 展示日历表
...@@ -202,7 +205,7 @@ export default { ...@@ -202,7 +205,7 @@ export default {
} }
}) })
}, },
//数据清空 // 数据清空
initFormData() { initFormData() {
this.selectFollowForm = { this.selectFollowForm = {
followResult: '', followResult: '',
...@@ -272,21 +275,23 @@ export default { ...@@ -272,21 +275,23 @@ export default {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-around; justify-content: space-around;
&-item { &-tag {
width: 80px; width: 80px;
height: 28px; height: 28px;
margin-bottom: 8px; margin-bottom: 8px;
text-align: center;
line-height: 28px;
}
&-item {
background: #ffffff; background: #ffffff;
border-radius: 14px; border-radius: 14px;
border: 1px solid #dadde0; border: 1px solid #dadde0;
text-align: center;
line-height: 28px;
} }
&-item-select { &-item-select {
color: #3975c6; color: #3975c6;
border-radius: 14px; border-radius: 14px;
background: rgba(57, 117, 198, 0.1); background: rgba(57, 117, 198, 0.1);
border: none; border: 1px solid transparent;
} }
} }
.item { .item {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<van-action-sheet v-model:show="showCustomerDetail" cancel-text="关闭详情" close-on-click-action @cancel="onCancel"> <van-action-sheet v-model:show="showCustomerDetail" cancel-text="关闭详情" close-on-click-action @cancel="onCancel">
<div class="popup-card"> <div class="popup-card">
<div class="name-title"> <div class="name-title">
<div class="name-title-text">{{ customerList.name }}</div> <div class="name-title-text">{{ customerList.customerName }}</div>
</div> </div>
<!-- 客户信息 --> <!-- 客户信息 -->
<div class="customer-message"> <div class="customer-message">
...@@ -15,19 +15,19 @@ ...@@ -15,19 +15,19 @@
</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">{{ customerList.carBrand }}</div> <div class="customer-info-item-content">{{ customerList.cars.length > 0 && customerList.cars[0].carSeries }}</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>
<div class="customer-info-item-content">{{ customerList.carNumber }}</div> <div class="customer-info-item-content">{{ customerList.cars.length > 0 && customerList.cars[0].carNumber }}</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>
<div class="customer-info-item-content">{{ customerList.buyCarDate }}</div> <div class="customer-info-item-content">{{ customerList.cars.length > 0 && customerList.cars[0].carBuyDate }}</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>
<div class="customer-info-item-content">{{ customerList.recentCare }}</div> <div class="customer-info-item-content">{{ customerList.length > 0 && customerList.maListcars[0].maDate }}</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>
...@@ -35,7 +35,12 @@ ...@@ -35,7 +35,12 @@
</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">{{ customerList.wechatNumber }}</div> <div v-if="customerList.wechatnick">
<span class="customer-info-item-content">{{ customerList.wechatnick }}</span>
<span class="customer-info-wechat customer-info-message" v-if="customerList.type == 1">@微信</span>
<span class="customer-info-qiwechat customer-info-message" v-else>@企微</span>
</div>
<div class="customer-info-message" v-else>未添加</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -47,17 +52,17 @@ ...@@ -47,17 +52,17 @@
<div class="sprite-icon icon-maintant"></div> <div class="sprite-icon icon-maintant"></div>
<div class="stepBox"> <div class="stepBox">
<div class="stepBox-left"> <div class="stepBox-left">
<div class="stepBox-left-name">{{ item.name }}</div> <div class="stepBox-left-name">{{ item.repairItems }}</div>
<div class="stepBox-left-title"> <div class="stepBox-left-title">
费用: 费用:
<span class="stepBox-left-content">{{ item.price }}</span> <span class="stepBox-left-content">{{ item.price }}</span>
</div> </div>
<div class="stepBox-left-title"> <div class="stepBox-left-title">
跟进人: 跟进人:
<span class="stepBox-left-content">{{ item.followStaff }}</span> <span class="stepBox-left-content">{{ item.follower }}</span>
</div> </div>
</div> </div>
<div class="stepBox-right">{{ item.date }}</div> <div class="stepBox-right">{{ item.maDate }}</div>
</div> </div>
</div> </div>
</template> </template>
...@@ -66,22 +71,22 @@ ...@@ -66,22 +71,22 @@
<!-- 跟进记录 --> <!-- 跟进记录 -->
<div class="record"> <div class="record">
<div class="customer-info-title">跟进记录</div> <div class="customer-info-title">跟进记录</div>
<template v-if="recordList.length"> <template v-if="customerList.followRecordList.length">
<div class="stepItem" v-for="(item, index) in recordList" :key="index"> <div class="stepItem" v-for="(item, index) in customerList.followRecordList" :key="index">
<div class="sprite-icon icon-followRecord"></div> <div class="sprite-icon icon-followRecord"></div>
<div class="stepBox"> <div class="stepBox">
<div class="stepBox-left"> <div class="stepBox-left">
<div class="stepBox-left-name">{{ item.name }}</div> <div class="stepBox-left-name">{{ item.followResult }}</div>
<div class="stepBox-left-title"> <div class="stepBox-left-title">
预约时间: 预约时间:
<span class="stepBox-left-content">{{ item.recordDate ? item.recordDate : '-' }}</span> <span class="stepBox-left-content">{{ item.orderTime ? item.orderTime : '-' }}</span>
</div> </div>
<div class="stepBox-left-title"> <div class="stepBox-left-title">
备注: 备注:
<span class="stepBox-left-content">{{ item.tips ? item.tips : '-' }}</span> <span class="stepBox-left-content">{{ item.followMark ? item.followMark : '-' }}</span>
</div> </div>
</div> </div>
<div class="stepBox-right">{{ item.date }}</div> <div class="stepBox-right">{{ item.createdTime }}</div>
</div> </div>
</div> </div>
</template> </template>
...@@ -93,6 +98,8 @@ ...@@ -93,6 +98,8 @@
</template> </template>
<script> <script>
import { solicitApi } from '@/api'
import { Notify } from 'vant'
export default { export default {
name: 'CustomerInfoPopup', name: 'CustomerInfoPopup',
data() { data() {
...@@ -102,78 +109,87 @@ export default { ...@@ -102,78 +109,87 @@ export default {
// 客户信息表 // 客户信息表
customerList: { customerList: {
id: 1, id: 1,
name: '徐妹妹', customerName: '徐妹妹',
vinCode: 'LFMAYACC5M029512', vinCode: 'LFMAYACC5M029512',
carBrand: '兰博基尼',
carNumber: '粤B 88888',
buyCarDate: '2021-04-20',
recentCare: '2022-05-16', recentCare: '2022-05-16',
customerGroup: '定保招揽 N-6', customerGroup: '定保招揽 N-6',
wechatNumber: '未添加', wechatNumber: '未添加',
careRecord: [ cars: [
{
customerId: 0,
carSeries: '奔驰 G63',
carNumber: '粤B 6666',
carBuyDate: '2022-06-04T06:36:16.314Z'
}
],
maList: [
{ {
type: '保养项目保养项目AAA', repairItems: '保养项目保养项目AAA',
cost: '240元', price: '240元',
followStaff: 'kuangge', follower: 'kuangge',
date: '05-28 16:00' maDate: '05-28 16:00'
}, },
{ {
type: '保养项目保养项目保养项目BB', repairItems: '保养项目保养项目保养项目BB',
cost: '240元', price: '240元',
followStaff: 'kuangge', follower: 'kuangge',
date: '05-28 16:00' maDate: '05-28 16:00'
} }
], ],
followRecord: [ followRecordList: [
{ {
type: '预约到店', followResult: '预约到店',
oppointmentTime: '2022-05-21', orderTime: '2022-05-21',
tips: '', followMark: '',
date: '05-28 16:00' createdTime: '05-28 16:00'
}, },
{ {
type: '未接听', followResult: '未接听',
oppointmentTime: '', orderTime: '',
tips: '', followMark: '',
date: '05-28 16:00' createdTime: '05-28 16:00'
} }
] ]
}, },
// 维保记录表 // 维保记录表
maintennceList: [ maintennceList: [
// {
// name: '保养项目A',
// price: '240元',
// followStaff: '续梅厄米',
// date: '05-28 16:00'
// },
// {
// name: '保养项目B',
// price: '240元',
// followStaff: '续梅厄米',
// date: '05-28 16:00'
// }
],
// 跟进记录表
recordList: [
{ {
name: '预约到店', repairItems: '保养项目保养项目AAA',
recordDate: '2022-05-21', price: '240元',
tips: '续梅厄米', follower: 'kuangge',
date: '05-28 16:00' maDate: '05-28 16:00'
}, },
{ {
name: '未接听', repairItems: '保养项目保养项目保养项目BB',
recordDate: '', price: '240元',
tips: '续梅厄米', follower: 'kuangge',
date: '05-28 16:00' maDate: '05-28 16:00'
} }
] ]
} }
}, },
methods: { methods: {
init() { init(val) {
console.log(val)
this.showCustomerDetail = true this.showCustomerDetail = true
this.getCustomerDetail(val)
},
// 获取客户详情
getCustomerDetail(val) {
var params = {
// customerId:
groupId: val.groupId,
id: val.id,
staffId: val.staffId
}
console.log(params)
// solicitApi.getCustomerDetail().then(({ code, data, message }) => {
// if (code === 0) {
// this.customerList = data
// } else {
// Notify(message)
// }
// })
}, },
// 关闭弹窗 // 关闭弹窗
onCancel() { onCancel() {
...@@ -196,7 +212,7 @@ export default { ...@@ -196,7 +212,7 @@ export default {
&-text { &-text {
font-size: 16px; font-size: 16px;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 600;
color: #333333; color: #333333;
line-height: 48px; line-height: 48px;
} }
...@@ -211,6 +227,7 @@ export default { ...@@ -211,6 +227,7 @@ export default {
font-weight: 400; font-weight: 400;
color: #333333; color: #333333;
line-height: 22px; line-height: 22px;
margin-bottom: 12px;
} }
.customer-info-item { .customer-info-item {
display: flex; display: flex;
...@@ -226,6 +243,18 @@ export default { ...@@ -226,6 +243,18 @@ export default {
&-content { &-content {
color: #333333; color: #333333;
} }
&-message {
font-size: 12px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
line-height: 18px;
}
&-wechat {
color: #3975c6;
}
&-qiwei {
color: #2cca74;
}
} }
.record { .record {
margin-top: 16px; margin-top: 16px;
...@@ -244,8 +273,8 @@ export default { ...@@ -244,8 +273,8 @@ export default {
width: 1px; width: 1px;
background: #e6e8eb; background: #e6e8eb;
position: absolute; position: absolute;
left: 8px; left: 10px;
top: 4px; top: 20px;
} }
.stepBox { .stepBox {
width: 90%; width: 90%;
...@@ -256,7 +285,7 @@ export default { ...@@ -256,7 +285,7 @@ export default {
&-name { &-name {
font-size: 14px; font-size: 14px;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 600;
color: #333333; color: #333333;
line-height: 22px; line-height: 22px;
} }
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
*/ */
// 本地环境配置 // 本地环境配置
module.exports = { module.exports = {
envVersion: "develop", envVersion: 'develop',
title: '嘀加企微管家', title: '嘀加企微管家',
request: { request: {
baseURL: 'http://scrm.dev.glsx.com.cn', // 本地测试项目地址, baseURL: 'http://scrm.dev.glsx.com.cn', // 本地测试项目地址,
...@@ -28,14 +28,14 @@ module.exports = { ...@@ -28,14 +28,14 @@ module.exports = {
logout_function: 'reLogin', logout_function: 'reLogin',
code_message_map: {} code_message_map: {}
}, },
secret: "c24619ed7fef02a0ae16328146bca5f97cc6493957a2137b", secret: 'c24619ed7fef02a0ae16328146bca5f97cc6493957a2137b',
shopmall_appid: "wxe10067a63c1856ac", shopmall_appid: 'wxe10067a63c1856ac',
sign: { sign: {
appKey: "48e5e13229b82c1b4e6e8c96151f0637", appKey: '48e5e13229b82c1b4e6e8c96151f0637',
format: "json", format: 'json',
locale: "zh_CN", locale: 'zh_CN',
source: "scrm-main", source: 'scrm-main',
v: "1.0.0", v: '1.0.0'
}, },
vconsole: true vconsole: true
}
\ No newline at end of file \ No newline at end of file
}
...@@ -101,6 +101,12 @@ export default { ...@@ -101,6 +101,12 @@ export default {
} }
} }
}, },
computed: {
...mapState({
activityId: state => state.solicit.activityId,
staffId: state => state.solicit.staffId
})
},
created() { created() {
this.bulletinList = this.$constants.BULLETINLIST this.bulletinList = this.$constants.BULLETINLIST
this.getStaffId({ this.getStaffId({
...@@ -121,8 +127,10 @@ export default { ...@@ -121,8 +127,10 @@ export default {
}), }),
getTaskOverviewData() { getTaskOverviewData() {
let params = { let params = {
activityId: this.activityId, // activityId: this.activityId,
staffId: this.staffId activityId: 1,
// staffId: this.staffId
staffId: 363
} }
this.showLoading() this.showLoading()
solicitApi.taskOverviewData(params).then(({ code, data, message }) => { solicitApi.taskOverviewData(params).then(({ code, data, message }) => {
......
...@@ -42,6 +42,7 @@ import ScrollView from '../../components/ScrollView.vue' ...@@ -42,6 +42,7 @@ import ScrollView from '../../components/ScrollView.vue'
import SelectBar from '../../components/SelectBar.vue' import SelectBar from '../../components/SelectBar.vue'
import { solicitApi } from '@/api' import { solicitApi } from '@/api'
import { mapState } from 'vuex' import { mapState } from 'vuex'
import { Notify } from 'vant'
export default { export default {
components: { SelectBar, Empty, ScrollView }, components: { SelectBar, Empty, ScrollView },
data() { data() {
...@@ -107,6 +108,7 @@ export default { ...@@ -107,6 +108,7 @@ export default {
}, },
created() { created() {
this.groupId = this.getQuery().groupId ? this.getQuery().groupId : '' this.groupId = this.getQuery().groupId ? this.getQuery().groupId : ''
this.groupName = this.getQuery().groupName ? this.getQuery().groupName : ''
}, },
mounted() { mounted() {
this.showLoading() this.showLoading()
...@@ -120,7 +122,7 @@ export default { ...@@ -120,7 +122,7 @@ export default {
tabChange(e) { tabChange(e) {
this.tabIndex = e this.tabIndex = e
}, },
//已送达Tab四种状态 // 已送达Tab四种状态
changeSelectTab(e) { changeSelectTab(e) {
this.alreadyIndex = e this.alreadyIndex = e
this.getSendCustomerList(1) this.getSendCustomerList(1)
...@@ -137,10 +139,13 @@ export default { ...@@ -137,10 +139,13 @@ export default {
groupId: this.groupId, groupId: this.groupId,
sendStatus: index //发送状态 0-未发送 1-已发送 sendStatus: index //发送状态 0-未发送 1-已发送
} }
if (index == 1) { if (index === 1) {
if (alreadyIndex == 1) params.checkStatus = 1 //0-未查看 1-已查看 // 0-未查看 1-已查看
if (alreadyIndex == 2) params.receiveStatus = 1 //0-未领取 1-已领取 if (alreadyIndex === 1) params.checkStatus = 1
if (alreadyIndex == 3) params.retFacFlag = 1 //0.未到店 1.已到店 // 0-未领取 1-已领取
if (alreadyIndex === 2) params.receiveStatus = 1
// 0.未到店 1.已到店
if (alreadyIndex === 3) params.retFacFlag = 1
} }
solicitApi.getCustomerList(params).then(({ code, data, message }) => { solicitApi.getCustomerList(params).then(({ code, data, message }) => {
if (code == 0) { if (code == 0) {
...@@ -153,13 +158,17 @@ export default { ...@@ -153,13 +158,17 @@ export default {
// 客户送达分层 // 客户送达分层
deliveredStatistics() { deliveredStatistics() {
let params = { let params = {
id: this.activityId, // id: this.activityId,
staffId: this.staffId, id: 3,
groupId: this.groupId // staffId: this.staffId,
staffId: 363,
// groupId: this.groupId
groupId: 527
} }
solicitApi.deliveredStatistics({ params }).then(({ code, data, message }) => { solicitApi.deliveredStatistics(params).then(({ code, data, message }) => {
if (code == 0) { if (code == 0) {
this.deliveredData = data this.deliveredData = data
console.log(this.deliveredData, '------')
} }
}) })
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!