|
|
|
@ -3,8 +3,6 @@ |
|
|
|
<fui-segmented-control :values="values" type="text" activeColor="#29d3b4" color="#fff" |
|
|
|
@click="segmented"></fui-segmented-control> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--我的客户--> |
|
|
|
<scroll-view |
|
|
|
v-if="segmented_type == 1" |
|
|
|
@ -471,22 +469,33 @@ export default { |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
let param = { |
|
|
|
sales_id: item.customerResource.id//线索id |
|
|
|
} |
|
|
|
// let res = await marketApi.setCallUp(param)//添加通过记录 |
|
|
|
// if (res.code != 1) { |
|
|
|
// uni.showToast({ |
|
|
|
// title: res.msg, |
|
|
|
// icon: 'none' |
|
|
|
// }) |
|
|
|
// return |
|
|
|
// } |
|
|
|
staff_id: this.userInfo.id,//员工id |
|
|
|
resource_id: item.customerResource.id,//资源ID |
|
|
|
resource_type: '',//资源类型(如设备、文件、系统等) |
|
|
|
communication_type: 'phone',//沟通类型: phone-电话, email-邮件, meeting-会议, other-其他 |
|
|
|
communication_result: 'success',//沟通结果: success-成功, failure-失败, pending-待定 |
|
|
|
remarks: null,//备注 |
|
|
|
tag: null,//标签 |
|
|
|
} |
|
|
|
|
|
|
|
let res = await apiRoute.xs_communicationRecordsAdd(param)//添加通过记录 |
|
|
|
if (res.code != 1) { |
|
|
|
uni.showToast({ |
|
|
|
title: res.msg, |
|
|
|
icon: 'none' |
|
|
|
}) |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
uni.makePhoneCall({ |
|
|
|
phoneNumber: tel |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//客户详情 |
|
|
|
|