diff --git a/manifest.json b/manifest.json index 1fa64e0..8003bb7 100644 --- a/manifest.json +++ b/manifest.json @@ -1,5 +1,5 @@ { - "name" : "去房智控管家", + "name" : "数智工牌", "appid" : "__UNI__D88F14A", "description" : "AI营销助理", "versionName" : "1.1.0", @@ -91,7 +91,7 @@ }, "quickapp" : {}, "mp-weixin" : { - "appid" : "wx8f883dca5ecc5510", + "appid" : "wxe044603515ff2cb5", "setting" : { "urlCheck" : false, "es6" : true, diff --git a/pages/mine/reception/addreception.vue b/pages/mine/reception/addreception.vue index d2a024f..9cab4ea 100644 --- a/pages/mine/reception/addreception.vue +++ b/pages/mine/reception/addreception.vue @@ -120,11 +120,13 @@ canceltext: '2', //取消文字 daitiReceptionobj: {}, saveisshow: true, + isBand: false, // 阻止二次提交 }; }, onShow() { this.parames.projectId = uni.getStorageSync('buildingID').id; + console.log(this.$u) this.init() this.getFreeList(); this.getFromSource(); @@ -169,6 +171,7 @@ this.baochunfun() }, save() { + if (this.isBand) return if (this.parames.name.length == 0) { uni.showToast({ icon: "none", @@ -184,6 +187,7 @@ return; } const that = this; + this.isBand = true this.$u.post("customer/daitiReception", { phone: that.parames.phone, projectId: that.parames.projectId, @@ -219,8 +223,10 @@ } } } + this.isBand = false }).catch(e => { that.show = true; + this.isBand = false }) }, baochunfun() { diff --git a/utils/domain.js b/utils/domain.js index 654cf98..9905e5c 100644 --- a/utils/domain.js +++ b/utils/domain.js @@ -4,12 +4,12 @@ // const baseUrl = 'http://192.168.31.89:9090/api';// sh // const baseUrl = 'http://121.42.63.138:9091/autoSR/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.134: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'; // 数智正式 +const baseUrl = 'https://hfju.com/api'; // 数智正式 // config使用域名 /**192.168.31.167