diff --git a/app.json b/app.json
index 64e8e4b..a6552dc 100644
--- a/app.json
+++ b/app.json
@@ -24,7 +24,8 @@
"pages/customer/editCard/index",
"pages/channel/index",
"pages/dataAnalysis/index",
- "pages/distribute/special/index"
+ "pages/distribute/special/index",
+ "pages/customer/optDefeat/index"
],
"echarts": [
{
diff --git a/commons/css/base/border.wxss b/commons/css/base/border.wxss
index 580a24a..a5a7128 100644
--- a/commons/css/base/border.wxss
+++ b/commons/css/base/border.wxss
@@ -14,4 +14,6 @@
.bds-7dbeeb{border:#7dbeeb 1rpx solid;box-sizing:border-box;}
.bds-2-36afa2{border:#36afa2 2rpx solid;box-sizing:border-box;}
+.bbs-1-474a65{border-bottom:#474a65 1rpx solid; box-sizing:border-box;}
+
.last-b-none:last-child{border-bottom:none;}
diff --git a/commons/js/config.js b/commons/js/config.js
index 03159fb..1e3ffb2 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/detail/index.wxml b/pages/customer/detail/index.wxml
index c7daa86..dd5c1ca 100644
--- a/pages/customer/detail/index.wxml
+++ b/pages/customer/detail/index.wxml
@@ -191,9 +191,15 @@
-
-
-
+
+
+
+
+
+
+
+
+
@@ -263,6 +269,9 @@
+
+
+
diff --git a/pages/customer/index.js b/pages/customer/index.js
index 010fc9e..30e832a 100644
--- a/pages/customer/index.js
+++ b/pages/customer/index.js
@@ -60,6 +60,15 @@ Page({
content:'',//短信内容
isRefresh:false,//判断返回是否需要刷新
isShowMobile: false,
+ cf_clues:'',//线索来源
+ cluesArray:[
+ '自然进店',
+ '外展',
+ 'DM',
+ '转介绍',
+ '其他',
+ ],//线索来源
+ cluesIndex:-1,//索来源索引
},
onLoad(options) {
for (let key in options) {
@@ -191,6 +200,9 @@ Page({
if(this.data.o_type != ''){
params['o_type'] = this.data.o_type;
}
+ if(this.data.cf_clues != ''){
+ params['cf_clues'] = this.data.cf_clues;
+ }
_.apiQuery.getAppCustomersList(params).then(res => {
this.setData({
flag: this.data.flag - 1
@@ -436,6 +448,14 @@ Page({
})
},
+ //线索来源
+ changeClues(e) {
+ this.setData({
+ cf_clues:this.data.cluesArray[e.detail.value],
+ cluesIndex:e.detail.value,
+ })
+ },
+
//显示高级搜索
optfilter(){
this.setData({
@@ -464,12 +484,14 @@ Page({
brand_id:'',
s_id:'',
cfrom:'',
+ cf_clues:'',//线索来源
timeSlotIndex:-1,
testDriveIndex:-1,
levelIndex:-1,
brandIndex:-1,
modelIndex:-1,
cfromIndex:-1,
+ cluesIndex:-1,//索来源索引
})
},
diff --git a/pages/customer/index.wxml b/pages/customer/index.wxml
index 3abd7bb..ea35ef2 100644
--- a/pages/customer/index.wxml
+++ b/pages/customer/index.wxml
@@ -39,6 +39,7 @@
+ 战败申请中
{{item.name}}
@@ -137,7 +138,7 @@
-
+
意向等级
@@ -187,6 +188,16 @@
+
+ 线索来源
+
+
+ 请选择
+ {{cluesArray[cluesIndex]}}
+
+
+
+