douzhuo hace 2 años
padre
commit
d961558c00
Se han modificado 3 ficheros con 10 adiciones y 4 borrados
  1. +2
    -2
      manifest.json
  2. +6
    -0
      pages/mine/reception/addreception.vue
  3. +2
    -2
      utils/domain.js

+ 2
- 2
manifest.json Ver fichero

@@ -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,


+ 6
- 0
pages/mine/reception/addreception.vue Ver fichero

@@ -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() {


+ 2
- 2
utils/domain.js Ver fichero

@@ -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


Cargando…
Cancelar
Guardar