diff --git a/pages/market/clue/add_clues.vue b/pages/market/clue/add_clues.vue
index 71ecde9..0f5cb72 100644
--- a/pages/market/clue/add_clues.vue
+++ b/pages/market/clue/add_clues.vue
@@ -12,76 +12,6 @@
基础信息
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 男
-
-
-
-
-
- 女
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -96,7 +26,6 @@
-
@@ -111,7 +40,7 @@
-
@@ -126,82 +55,97 @@
-
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
- 附加信息
+
+
+ 跟进任务
-
-
+
+
+
+
+
-
-
-
-
+
-
-
-
-
-
-
+
+
+
+
@@ -237,7 +181,7 @@ const rules = [
{
name: "student_phone",
rule: ["required", "isMobile"],
- msg: ["请输入学员手机号", "请输入正确的手机号"]
+ msg: ["请输入电话", "请输入正确的手机号"]
},
{
name: "age",
@@ -267,7 +211,7 @@ const rules = [
{
name: "add_staff_id",
rule: ["required"],
- msg: ["请选择归属人员"]
+ msg: ["请选择顾问"]
},
{
name: "contact_name",
@@ -302,13 +246,13 @@ export default {
formData: {
sex:'1',//性别|0=保密,1=男,2=女
student_name: '',//学员姓名*
- student_phone: '',//学员手机号*
+ student_phone: '',//电话*
age: '',//年龄*
school_name: '',//学校
grade: '',//年级
class_name: '',//班级
customer_source: '',//客户来源*
- add_staff_id: '',//归属人员id*
+ add_staff_id: '',//顾问id*
contact_name: '',//联系人*
province_id: '',//所在地区-省
city_id: '',//所在地区-市
@@ -326,6 +270,8 @@ export default {
reminder_method:'',//1=短信,2=邮箱,3=微信模板消息
},
+ is_follow:true,//是否创建跟进任务
+
show_date: false,
@@ -422,7 +368,7 @@ export default {
'text': '渠道2'
}
],//客户来源可选值
- //归属人员(add_staff_id,添加这条数据的工作人员id)
+ //顾问(add_staff_id,添加这条数据的工作人员id)
result_add_staff_id: '',//选中项的中文名称
options_add_staff_id: [
// {
@@ -571,7 +517,7 @@ export default {
}
if(!data.student_phone){
uni.showToast({
- title: '学员手机号必填',
+ title: '电话必填',
icon: 'none'
})
return false
@@ -592,7 +538,7 @@ export default {
}
if(!data.staff_id){
uni.showToast({
- title: '归属人员必填',
+ title: '顾问必填',
icon: 'none'
})
return false
@@ -718,7 +664,7 @@ export default {
this.result_customer_source = e.result
this.formData.customer_source = e.value
} else if (this.options_type == 2) {
- //归属人员(添加这条数据的工作人员id)
+ //顾问(添加这条数据的工作人员id)
this.result_add_staff_id = e.result
this.formData.add_staff_id = e.value
} else if (this.options_type == 3) {
@@ -782,6 +728,24 @@ export default {
changeSex(e){
this.formData.sex = e.detail.value
},
+
+ //监听-是否创建跟进任务
+ changeIsFollow(e) {
+ console.log(111, e.detail.value)
+ this.is_follow = e.detail.value
+ //是否创建跟进任务 1跟进
+ if (this.is_follow) {
+ this.formData.is_follow = '1'
+ } else {
+ //2不跟进
+ this.formData.is_follow = '2'
+
+ // this.formData. = ''//跟进类型
+ // this.formData.staff_id = ''//跟进人员
+ // this.formData.follow_up_time = ''//跟进时间
+ // this.formData. = ''//备注
+ }
+ },
}
}