diff --git a/conf/config.js b/conf/config.js index 220db70..2decc83 100755 --- a/conf/config.js +++ b/conf/config.js @@ -15,7 +15,7 @@ const baseUrl = '/'; // #ifndef H5 //服务器域名 小程序 或者 app 时 后端地址 -const baseUrl = 'http://192.168.100.108:8008/'; +const baseUrl = 'http://192.168.100.108:8088/'; // #endif let commonBaseUrl = 'http://demo.homecommunity.cn/'; diff --git a/pages/family/family.vue b/pages/family/family.vue index ba9dae4..80f7309 100755 --- a/pages/family/family.vue +++ b/pages/family/family.vue @@ -37,13 +37,13 @@ 联系信息 手机号 - + - + 相关图片 @@ -127,27 +127,6 @@ _that.communityId = _owner.communityId; }); }, - - /** - * 生命周期函数--监听页面初次渲染完成 - */ - onReady: function() {}, - - /** - * 生命周期函数--监听页面显示 - */ - onShow: function() {}, - - /** - * 生命周期函数--监听页面隐藏 - */ - onHide: function() {}, - - /** - * 生命周期函数--监听页面卸载 - */ - onUnload: function() {}, - /** * 页面相关事件处理函数--监听用户下拉动作 */ @@ -169,7 +148,7 @@ "memberId": this.memberId, "communityId": this.communityId, "idCard": this.idCard, - "msgCode":this.msgCode, + //"msgCode":this.msgCode, "address": this.address, "ownerPhoto": this.photos } @@ -188,10 +167,12 @@ }else if (obj.link == "") { msg = "请填写手机号"; } else if (!checkPhoneNumber(obj.link)){ - msg = "手机号有误"; - }else if (obj.msgCode == "") { - msg = "请填写验证码"; - } + msg = "手机号有误"; + } + // todo 这里手机号关闭 因为 小朋友没有手机号 + //else if (obj.msgCode == "") { + // msg = "请填写验证码"; + // } if (msg != "") { uni.showToast({ title: msg, diff --git a/pages/repair/myRepair.vue b/pages/repair/myRepair.vue index 3a9c46a..0a04bcf 100755 --- a/pages/repair/myRepair.vue +++ b/pages/repair/myRepair.vue @@ -361,7 +361,7 @@ communityId: _communityInfo.communityId, repairId: _repair.repairId, staffId: this.userId, - state: '10001' + //state: '10001' }; uni.request({ url: constant.url.listRepairStaffs, @@ -409,7 +409,7 @@ } let _communityInfo = context.getCurrentCommunity(); let _data = { - staffId: this.preStaffId, + staffId: this.userId, staffName: this.preStaffName, context: this.context, action: 'BACK',