|
@@ -228,7 +228,6 @@ Page({
|
|
|
getContextStatusByAdminId(orgId) {
|
|
|
getContextByAdminId(orgId).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
- console.log(res);
|
|
|
this.setData({
|
|
|
isShowApplet: res.data,
|
|
|
isFillFields: !res.data,
|
|
@@ -244,6 +243,8 @@ Page({
|
|
|
},
|
|
|
// 获取用户填写的自定义字段内容
|
|
|
getContextByAdminId() {
|
|
|
+ console.log(!this.data.buildingAdminId);
|
|
|
+ console.log(!this.data.userInfo);
|
|
|
if (!this.data.buildingAdminId || !this.data.userInfo) {
|
|
|
return;
|
|
|
}
|
|
@@ -490,6 +491,7 @@ Page({
|
|
|
title: '提示',
|
|
|
content: '你暂无权限接受此邀请哦,请检查手机号是否正确.',
|
|
|
showCancel: false,
|
|
|
+ complete: (res) => {}
|
|
|
})
|
|
|
}
|
|
|
}
|
|
@@ -593,6 +595,7 @@ Page({
|
|
|
}]
|
|
|
this.reasonEcho(res.data.reason)
|
|
|
this.setData({
|
|
|
+ userInfo: app.data.visitorUserInfo,
|
|
|
all_buildingList: buildingList,
|
|
|
buildingIndex: 0,
|
|
|
buildingAdminId: res.data.visiteeBuildingId,
|
|
@@ -605,7 +608,7 @@ Page({
|
|
|
isAudit: true,
|
|
|
form,
|
|
|
})
|
|
|
- await this.matchCorrectPhone();
|
|
|
+ this.matchCorrectPhone();
|
|
|
if (this.data.userInfo) {
|
|
|
this.getContextStatusByAdminId(res.data.visiteeBuildingId)
|
|
|
this.getContextByAdminId()
|