From 02e6cf645a0a3996250d969e9077dc0a28e3fe36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E5=8F=B6?= Date: Wed, 16 Mar 2022 18:00:09 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=99=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commons/js/config.js | 2 +- pages/customer/index.js | 23 +++++++++++++++++++++-- pages/customer/index.wxml | 27 +++++++++++++++++++++++++-- 3 files changed, 47 insertions(+), 5 deletions(-) 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