| @@ -1,5 +1,5 @@ | |||||
| { | { | ||||
| "name" : "去房质控管家", | |||||
| "name" : "数智工牌", | |||||
| "appid" : "__UNI__D88F14A", | "appid" : "__UNI__D88F14A", | ||||
| "description" : "AI营销助理", | "description" : "AI营销助理", | ||||
| "versionName" : "1.1.0", | "versionName" : "1.1.0", | ||||
| @@ -91,7 +91,7 @@ | |||||
| }, | }, | ||||
| "quickapp" : {}, | "quickapp" : {}, | ||||
| "mp-weixin" : { | "mp-weixin" : { | ||||
| "appid" : "wx8f883dca5ecc5510", | |||||
| "appid" : "wxe044603515ff2cb5", | |||||
| "setting" : { | "setting" : { | ||||
| "urlCheck" : false, | "urlCheck" : false, | ||||
| "es6" : true, | "es6" : true, | ||||
| @@ -1,7 +1,12 @@ | |||||
| <template> | <template> | ||||
| <view> | <view> | ||||
| <view class="head"> | <view class="head"> | ||||
| <image class="head-immg" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/login.png" mode=""></image> | |||||
| <template v-if="role == 2"> | |||||
| <view class="phones">输入手机号</view> | |||||
| </template> | |||||
| <template v-else> | |||||
| <image class="head-immg" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/login.png" mode=""></image> | |||||
| </template> | |||||
| </view> | </view> | ||||
| <view class="input"> | <view class="input"> | ||||
| <view class="cwjs-cells item-flex"> | <view class="cwjs-cells item-flex"> | ||||
| @@ -151,7 +156,17 @@ | |||||
| width: 750rpx; | width: 750rpx; | ||||
| height: 500rpx; | height: 500rpx; | ||||
| position: relative; | position: relative; | ||||
| .head-immg{ | |||||
| .phones { | |||||
| position: absolute; | |||||
| top: 300rpx; | |||||
| left: 100rpx; | |||||
| color: #0A6EE9; | |||||
| font-size: 36rpx; | |||||
| font-weight: bold; | |||||
| } | |||||
| .head-immg { | |||||
| width: 118rpx; | width: 118rpx; | ||||
| height: 61rpx; | height: 61rpx; | ||||
| position: absolute; | position: absolute; | ||||
| @@ -49,7 +49,11 @@ | |||||
| this.phone = phonexxz, | this.phone = phonexxz, | ||||
| this.phonecet = options.username, | this.phonecet = options.username, | ||||
| this.role = options.role | this.role = options.role | ||||
| if (options.role == 2) { | |||||
| uni.setNavigationBarTitle({ | |||||
| title: '验证手机号' | |||||
| }) | |||||
| } | |||||
| this.sendAuthCode = false; | this.sendAuthCode = false; | ||||
| this.auth_time = 60; | this.auth_time = 60; | ||||
| var auth_timetimer = setInterval(() => { | var auth_timetimer = setInterval(() => { | ||||
| @@ -50,7 +50,6 @@ | |||||
| this.phone = phonexxz, | this.phone = phonexxz, | ||||
| this.phonecet = options.username, | this.phonecet = options.username, | ||||
| this.role = options.role | this.role = options.role | ||||
| this.sendAuthCode = false; | this.sendAuthCode = false; | ||||
| this.auth_time = 60; | this.auth_time = 60; | ||||
| var auth_timetimer = setInterval(() => { | var auth_timetimer = setInterval(() => { | ||||
| @@ -1010,6 +1010,8 @@ | |||||
| } | } | ||||
| this.$u.post("/matchKeywords/toMatchKeywords", parames).then(res => { | this.$u.post("/matchKeywords/toMatchKeywords", parames).then(res => { | ||||
| console.log(res) | console.log(res) | ||||
| }).catch(e => { | |||||
| console.log(e) | |||||
| }) | }) | ||||
| }, | }, | ||||
| //分角色 | //分角色 | ||||
| @@ -198,14 +198,14 @@ | |||||
| if(res.assign==null){ | if(res.assign==null){ | ||||
| that.daitiReceptionobj=res; | that.daitiReceptionobj=res; | ||||
| that.content="此客户的顾问为【"+ res.owner.name +"】,确认让【"+ res.replacement.name +"】代接待吗?" | that.content="此客户的顾问为【"+ res.owner.name +"】,确认让【"+ res.replacement.name +"】代接待吗?" | ||||
| that.confirmtext=res.replacement.name +"代接代",//确认文字 | |||||
| that.confirmtext=res.replacement.name +"代接待",//确认文字 | |||||
| that.canceltext=res.owner.name +'接待',//取消文字 | that.canceltext=res.owner.name +'接待',//取消文字 | ||||
| that.show=true; | that.show=true; | ||||
| }else{ | }else{ | ||||
| that.daitiReceptionobj=res; | that.daitiReceptionobj=res; | ||||
| console.log(that.daitiReceptionobj) | console.log(that.daitiReceptionobj) | ||||
| that.content="此客户的顾问为【"+ res.owner.name +"】,确认让【"+ res.replacement.name +"】代接待吗?" | that.content="此客户的顾问为【"+ res.owner.name +"】,确认让【"+ res.replacement.name +"】代接待吗?" | ||||
| that.confirmtext=res.replacement.name +"代接代",//确认文字 | |||||
| that.confirmtext=res.replacement.name +"代接待",//确认文字 | |||||
| that.canceltext=res.assign.name +'接待',//取消文字 | that.canceltext=res.assign.name +'接待',//取消文字 | ||||
| that.show=true; | that.show=true; | ||||
| } | } | ||||
| @@ -110,13 +110,13 @@ | |||||
| if(res.assign==null){ | if(res.assign==null){ | ||||
| that.daitiReceptionobj=res; | that.daitiReceptionobj=res; | ||||
| that.content="此客户的顾问为【"+ res.owner.name +"】,确认让【"+ res.replacement.name +"】代接待吗?" | that.content="此客户的顾问为【"+ res.owner.name +"】,确认让【"+ res.replacement.name +"】代接待吗?" | ||||
| that.confirmtext=res.replacement.name +"代接代",//确认文字 | |||||
| that.confirmtext=res.replacement.name +"代接待",//确认文字 | |||||
| that.canceltext=res.owner.name +'接待',//取消文字 | that.canceltext=res.owner.name +'接待',//取消文字 | ||||
| that.show=true; | that.show=true; | ||||
| }else{ | }else{ | ||||
| that.daitiReceptionobj=res; | that.daitiReceptionobj=res; | ||||
| that.content="此客户的顾问为【"+ res.owner.name +"】,确认让【"+ res.replacement.name +"】代接待吗?" | that.content="此客户的顾问为【"+ res.owner.name +"】,确认让【"+ res.replacement.name +"】代接待吗?" | ||||
| that.confirmtext=res.replacement.name +"代接代",//确认文字 | |||||
| that.confirmtext=res.replacement.name +"代接待",//确认文字 | |||||
| that.canceltext=res.assign.name +'接待',//取消文字 | that.canceltext=res.assign.name +'接待',//取消文字 | ||||
| that.show=true; | that.show=true; | ||||
| } | } | ||||
| @@ -1,12 +1,12 @@ | |||||
| // http.js使用域名 | // http.js使用域名 | ||||
| // const baseUrl = 'http://192.168.31.57:8080/autoSR/api';// 本地 | // const baseUrl = 'http://192.168.31.57:8080/autoSR/api';// 本地 | ||||
| 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.92:8080/api';// sh | // const baseUrl = 'http://192.168.31.92:8080/api';// sh | ||||
| // const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 测试站 | // const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 测试站 | ||||
| // const baseUrl = 'http://192.168.31.167:8080/autoSR/api'; // 长龙 | // const baseUrl = 'http://192.168.31.167:8080/autoSR/api'; // 长龙 | ||||
| // const baseUrl = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪 | // const baseUrl = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪 | ||||
| // const baseUrl = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 | // const baseUrl = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 | ||||
| // const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 | |||||
| const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 | |||||
| // const baseUrl = 'https://hfju.com/api'; // 数智正式 | // const baseUrl = 'https://hfju.com/api'; // 数智正式 | ||||