@@ -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, | ||||
@@ -120,11 +120,13 @@ | |||||
canceltext: '2', //取消文字 | canceltext: '2', //取消文字 | ||||
daitiReceptionobj: {}, | daitiReceptionobj: {}, | ||||
saveisshow: true, | saveisshow: true, | ||||
isBand: false, // 阻止二次提交 | |||||
}; | }; | ||||
}, | }, | ||||
onShow() { | onShow() { | ||||
this.parames.projectId = uni.getStorageSync('buildingID').id; | this.parames.projectId = uni.getStorageSync('buildingID').id; | ||||
console.log(this.$u) | |||||
this.init() | this.init() | ||||
this.getFreeList(); | this.getFreeList(); | ||||
this.getFromSource(); | this.getFromSource(); | ||||
@@ -169,6 +171,7 @@ | |||||
this.baochunfun() | this.baochunfun() | ||||
}, | }, | ||||
save() { | save() { | ||||
if (this.isBand) return | |||||
if (this.parames.name.length == 0) { | if (this.parames.name.length == 0) { | ||||
uni.showToast({ | uni.showToast({ | ||||
icon: "none", | icon: "none", | ||||
@@ -184,6 +187,7 @@ | |||||
return; | return; | ||||
} | } | ||||
const that = this; | const that = this; | ||||
this.isBand = true | |||||
this.$u.post("customer/daitiReception", { | this.$u.post("customer/daitiReception", { | ||||
phone: that.parames.phone, | phone: that.parames.phone, | ||||
projectId: that.parames.projectId, | projectId: that.parames.projectId, | ||||
@@ -219,8 +223,10 @@ | |||||
} | } | ||||
} | } | ||||
} | } | ||||
this.isBand = false | |||||
}).catch(e => { | }).catch(e => { | ||||
that.show = true; | that.show = true; | ||||
this.isBand = false | |||||
}) | }) | ||||
}, | }, | ||||
baochunfun() { | baochunfun() { | ||||
@@ -4,12 +4,12 @@ | |||||
// const baseUrl = 'http://192.168.31.89:9090/api';// sh | // const baseUrl = 'http://192.168.31.89:9090/api';// sh | ||||
// 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';// 测试站 | // const baseUrl = 'http://192.168.31.92:8080/api';// 测试站 | ||||
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'; // 数智正式 | |||||
// config使用域名 | // config使用域名 | ||||
/**192.168.31.167 | /**192.168.31.167 | ||||