Browse Source

refactor(market): 重构线索跟进页面

- 添加新的数据属性和方法,用于处理字典数据和选择器功能
- 优化页面初始化逻辑,增加字典数据获取方法
- 删除冗余注释代码,提高代码可读性
master
liutong 1 year ago
parent
commit
0e9eabd1a5
  1. 110
      pages/market/clue/writing_followUp.vue

110
pages/market/clue/writing_followUp.vue

@ -176,6 +176,7 @@ export default {
follow_up_content:'',//备注
//##### 跟进任务 #####
is_warn:'1',//是否转角跟进任务(是否提醒 1提醒 2不提醒)
is_warn_btn:true,//是否转角跟进任务(是否提醒 true=提醒 false=不提醒),只做前端按钮展示使用
//跟进类型
follow_staff_id:'',//跟进人员
reminder_time:'',//跟进时间
@ -186,47 +187,71 @@ export default {
options_type: undefined,//选择器标识
show: false,//是否显示下拉选择器
linkage: true,//是否联动选择
options: [],//下拉选择器可选值列表
options: [
// {
// 'value': 1,
// 'text': '类型1'
// }
],//下拉选择器可选值列表
//时间选择器相关
show_date: false,//是否显示时间选择器|true=是,false=否
//选择线索-相关
//字典-
//文本展示-
//-相关
//字典-
//文本展示-
//-相关
//字典-
//文本展示-
//-相关
//字典-
//文本展示-
//-相关
//字典-
//文本展示-
//-相关
//字典-
//文本展示-
//-相关
//字典-
//文本展示-
//-相关
//字典-
//文本展示-
//字典-选择线索
options_sales_id:[],
//文本展示-选择线索
str_sales_id:'',
//跟进类型-相关
//字典-跟进类型
options_entry_type:[],
//文本展示-跟进类型
str_entry_type:'',
//跟进人员-相关
//字典-跟进人员
options_staff_id:[],
//文本展示-跟进人员
str_staff_id:'',
//购买力-相关
//字典-购买力
options_purchasing_power:[],
//文本展示-购买力
str_purchasing_power:'',
//认知理念-相关
//字典-认知理念
options_cognitive_concept:[],
//文本展示-认知理念
str_cognitive_concept:'',
//情感粘度-相关
//字典-情感粘度
options_emotional_intensity:[],
//文本展示-情感粘度
str_emotional_intensity:'',
//意向分类-相关
//字典-意向分类
options_initial_customer_intent:[],
//文本展示-意向分类
str_initial_customer_intent:'',
//意向度-相关
//字典-意向度
options_initial_relationship_intent:[],
//文本展示-意向度
str_initial_relationship_intent:'',
//跟进任务-跟进人员-相关
//字典-跟进任务-跟进人员(市场)
options_follow_staff_id_sc:[],
//字典-跟进任务-跟进人员(销售)
options_follow_staff_id_xs:[],
//文本展示-跟进任务-跟进人员
str_follow_staff_id:'',
}
},
onLoad(options) {
@ -240,6 +265,19 @@ export default {
async init() {
this.getDicFollow_up_type()//获取字典-跟进类型
},
//获取字典-选择线索
//获取字典-跟进类型
//获取字典-跟进人员(全部)
//获取字典-跟进任务-跟进人员(市场)
//获取字典-跟进任务-跟进人员(销售)
//获取字典-购买力
//获取字典-认知理念
//获取字典-情感粘度
//获取字典-意向分类
//获取字典-意向度
//获取字典-跟进类型
async getDicFollow_up_type() {
let key = 'follow_up_type'

Loading…
Cancel
Save