mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-25 14:17:54 +08:00
小区ID替换为
This commit is contained in:
parent
e26fd30f24
commit
5a5f357d8d
@ -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
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@ -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('请求失败处理');
|
||||
}
|
||||
|
||||
@ -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
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user