小区ID替换为

This commit is contained in:
java110 2020-06-22 18:03:22 +08:00
parent e26fd30f24
commit 5a5f357d8d
3 changed files with 10 additions and 8 deletions

View File

@ -213,9 +213,6 @@
reader.readAsDataURL(file); //读取为base64
reader.onloadend = function (e) {
vc.component.addOwnerInfo.ownerPhoto = reader.result;
let obj = document.getElementById('uploadOwnerPhoto') ;
obj.outerHTML=obj.outerHTML
}
}
},

View File

@ -15,20 +15,23 @@
},
wechatServerUrl: '',
wechatId: '',
wId:''
}
},
_initMethod: function () {
//生成微信服务端访问地址
$that.wechatAttrInfo.wechatServerUrl = window.location.protocol
+ "//" + window.location.host
+ '/app/wechat/gateway?java110AppId=992019111758490006&communityId='
+ vc.getCurrentCommunity().communityId;
},
_initEvent: function () {
vc.on('wechatAttrInfo', 'getWechatAttrInfo', function (_param) {
$that.wechatAttrInfo.wechatId = _param.wechatId;
$that.wechatAttrInfo.wId = _param.wId;
$that.wechatAttrInfo.wechatServerUrl = window.location.protocol
+ "//" + window.location.host
+ '/app/wechat/gateway?java110AppId=992019111758490006&wId='
+ $that.wechatAttrInfo.wId;
$that._listListWechatAttrs(DEFAULT_PAGE, DEFAULT_ROWS);
});
},
@ -46,6 +49,7 @@
function (json, res) {
var _listWechatAttrManageInfo = JSON.parse(json);
vc.component.wechatAttrInfo.attrs = _listWechatAttrManageInfo.data;
}, function (errInfo, error) {
console.log('请求失败处理');
}

View File

@ -47,7 +47,8 @@
vc.component.smallWeChatManageInfo.smallWeChats = _smallWeChatManageInfo.smallWeChats;
if (_smallWeChatManageInfo.smallWeChats.length > 0) {
vc.emit('wechatAttrInfo', 'getWechatAttrInfo', {
wechatId:_smallWeChatManageInfo.smallWeChats[0].weChatId
wechatId: _smallWeChatManageInfo.smallWeChats[0].weChatId,
wId: _smallWeChatManageInfo.smallWeChats[0].wId
});
}