diff --git a/config.js b/config.js index 72d9e33..be10eb6 100644 --- a/config.js +++ b/config.js @@ -2,9 +2,9 @@ * 小程序配置文件 */ // 此处主机域名修改成腾讯云解决方案分配的域名 -// var host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站 +var host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站 // var host = 'http://192.168.31.163:8080/autoSR/api'; // 长龙 -var host = 'http://192.168.31.128:8080/autoSR/api'; // 佳豪 +// var host = 'http://192.168.31.128:8080/autoSR/api'; // 佳豪 // var host = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 // var host = 'https://zkgj.quhouse.com/api'; // 质控正式 // var host = 'https://hfju.com/api'; // 数智正式 diff --git a/pages/center/consumer/consumerDetail.vue b/pages/center/consumer/consumerDetail.vue index 9d17cab..d832f1c 100644 --- a/pages/center/consumer/consumerDetail.vue +++ b/pages/center/consumer/consumerDetail.vue @@ -32,7 +32,7 @@ 添加时间:{{customerInfo.createTime}} - {{customerInfo.visitRecord}}次到访 + {{customerInfo.visitRecord || '--'}}次到访 {{customerInfo.fraction || '0'}}% | {{customerInfo.fraction || '0'}}分 @@ -74,12 +74,12 @@ 客户:{{item.name || ''}} | - {{item.visitRecord}}次到访 + {{item.visitRecord || '--'}}次到访 {{item.fraction || '0'}}% | {{item.fraction || '0'}}分 - {{item.createTime}} | 80分钟 + {{item.createTime}} | {{item.mm || '--'}}分钟 diff --git a/pages/center/consumer/index.vue b/pages/center/consumer/index.vue index 7674b97..4d4a105 100644 --- a/pages/center/consumer/index.vue +++ b/pages/center/consumer/index.vue @@ -15,7 +15,15 @@ - + + + + + + 暂无数据 + + + {{item.name.slice(0,1)}} @@ -33,7 +41,8 @@ 客户标签: - + 暂无 + {{che.name}} @@ -43,7 +52,7 @@ 添加时间:{{item.createTime}} - {{item.visitRecord}}次到访 + {{item.visitRecord || '--'}}次到访 {{item.fraction || '0'}}% | {{item.fraction || '0'}}分 diff --git a/pages/center/records/index.vue b/pages/center/records/index.vue index db3bbe8..317b95f 100644 --- a/pages/center/records/index.vue +++ b/pages/center/records/index.vue @@ -30,8 +30,15 @@ - - + + + + + + 暂无数据 + + + {{item.agentName.slice(0,1)}} diff --git a/pages/index/customer.vue b/pages/index/customer.vue index eae69ab..aa4cc35 100644 --- a/pages/index/customer.vue +++ b/pages/index/customer.vue @@ -1,7 +1,14 @@ @@ -67,6 +75,9 @@ this.queryHaveDept() }, methods: { + reshCustom(){ + this.init() + }, tapThevisiting(item) { if(item.status==0){ uni.showToast({ @@ -337,10 +348,17 @@ } } .add { - width: 90rpx; - height: 90rpx; + width: 90upx; + height: 90upx; + position: fixed; + bottom: 180upx; + right: 44upx; +} +.add2{ + width: 90upx; + height: 90upx; position: fixed; - bottom: 70rpx; - right: 44rpx; + bottom: 60upx; + right: 44upx; } diff --git a/utils/http.js b/utils/http.js index 2efe5b0..bc6322a 100644 --- a/utils/http.js +++ b/utils/http.js @@ -1,6 +1,6 @@ -// const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站 +const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站 // const baseUrl = 'http://192.168.31.161:8080/autoSR/api'; // 长龙 -const baseUrl = 'http://192.168.31.128:8080/autoSR/api'; // 佳豪 +// const baseUrl = 'http://192.168.31.128:8080/autoSR/api'; // 佳豪 // const baseUrl = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 // const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 // const baseUrl = 'https://hfju.com/api'; // 数智正式