diff --git a/commons/js/config.js b/commons/js/config.js index a5bd5d4..90c76d0 100644 --- a/commons/js/config.js +++ b/commons/js/config.js @@ -1,4 +1,4 @@ -const env = "p"; +const env = "d"; const version = 1, diff --git a/pages/customer/index.js b/pages/customer/index.js index 2e88097..cd97e55 100644 --- a/pages/customer/index.js +++ b/pages/customer/index.js @@ -77,14 +77,20 @@ Page({ [key]: options[key] }) } + //客户-tab this.getAppCustomersTabs() + //获取列表筛选条件 this.getAppCustomersFilter() - this.getAppSeriesBrands() + //获取车型品牌 + //this.getAppSeriesBrands() + //销售顾问 this.getAppUserAdmins() + //线索来源 this.getAppCustomersOffline_sources() }, onShow(){ + //获取常用时间段 this.getDateLater() }, @@ -277,7 +283,7 @@ Page({ }) }, - //候取常用时间段 + //获取常用时间段 getDateLater(){ popularData.getDateLater(0,0).then(res => { this.setData({ @@ -626,6 +632,19 @@ Page({ } }, + //销售弹窗显示隐藏 + optEmployees(e){ + if(e.currentTarget.dataset.cid){ + this.setData({ + isShowEmployees:true, + }) + }else{ + this.setData({ + isShowEmployees:!this.data.isShowEmployees, + }) + } + }, + //页面相关事件处理函数--监听用户下拉动作 onPullDownRefresh(){ this.setData({ diff --git a/pages/customer/index.wxml b/pages/customer/index.wxml index 5eb18cb..1392876 100644 --- a/pages/customer/index.wxml +++ b/pages/customer/index.wxml @@ -68,7 +68,13 @@ {{key}} - 待分配 + + + 分配 + {{value}} + 待分配 + + {{value}} @@ -257,4 +263,21 @@ - \ No newline at end of file + + + + + + 销售选择 + + 请选择 + {{employeeArray[employeeIndex]}} + + + + + + + + + \ No newline at end of file