问卷表单
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
<image style="display: block; max-width: 100%;margin: 0 auto" v-if="formInfo[`field_${index}`]" :src="formInfo[`field_${index}`]" />
|
||||
<div v-else class="components-item__select components-item__textarea components-item__upload">
|
||||
<image :src="`${$cdn}askform/upload.png`"/>
|
||||
<span>选择图片(2M以内)</span>
|
||||
<span>选择图片(10M以内)</span>
|
||||
</div>
|
||||
</template>
|
||||
<template v-if="(item.type === 'input')">
|
||||
|
||||
@@ -113,7 +113,7 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.$loading()
|
||||
// this.$loading()
|
||||
this.$dict.load(['questionnaireStatus', 'questionnaireType', 'questionnaireFieldType']).then(() => {
|
||||
this.getList()
|
||||
})
|
||||
|
||||
@@ -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