问卷表单
This commit is contained in:
@@ -63,6 +63,7 @@ export default {
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
...mapActions(['injectJWeixin', 'wxInvoke']),
|
||||
getGirdUserList() {
|
||||
this.$http.post(`/app/appgirdmemberinfo/listGirdMemberByGirdId?girdId=${this.userGird.id}`).then((res) => {
|
||||
if (res.code == 0) {
|
||||
@@ -74,14 +75,16 @@ export default {
|
||||
uni.navigateTo({url})
|
||||
},
|
||||
viewUser(userId) {
|
||||
wx.invoke('openUserProfile', {
|
||||
"type": 1, //1表示该userid是企业成员,2表示该userid是外部联系人
|
||||
"userid": userId //可以是企业成员,也可以是外部联系人
|
||||
}, function(res) {
|
||||
if(res.err_msg != "openUserProfile:ok") {
|
||||
//错误处理
|
||||
}
|
||||
});
|
||||
this.injectJWeixin('openUserProfile').then(() => {
|
||||
this.wxInvoke([
|
||||
'openUserProfile',
|
||||
{
|
||||
type: 1,
|
||||
userid: userId,
|
||||
},
|
||||
() => 0,
|
||||
])
|
||||
})
|
||||
},
|
||||
toFamily(item) {
|
||||
uni.navigateTo({url: `./FamilyList?id=${item.id}&girdId=${this.userGird.id}`})
|
||||
|
||||
Reference in New Issue
Block a user