问卷表单
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
</template>
|
||||
<template v-if="(item.type === 'checkbox')">
|
||||
<u-checkbox-group wrap>
|
||||
<u-checkbox :name="field.label" :value="formInfo[`field_${index}`].indexOf(field.label)" v-for="(field, i) in item.options" :key="i">
|
||||
<u-checkbox :name="field.label" :value="id ? formInfo[`field_${index}`].indexOf(field.label) : false" v-for="(field, i) in item.options" :key="i">
|
||||
<image :src="field.img[0].url" v-if="field.img.length"/>
|
||||
<span>{{ field.label }}</span>
|
||||
</u-checkbox>
|
||||
@@ -105,6 +105,7 @@ export default {
|
||||
|
||||
onLoad (query) {
|
||||
document.title = '表单预览'
|
||||
this.id = query.id || ''
|
||||
query.id && this.getInfo(query.id, query.formId)
|
||||
},
|
||||
|
||||
|
||||
@@ -41,10 +41,10 @@
|
||||
<div class="user-list" v-show="currIndex === 1">
|
||||
<div class="user-item" v-for="(item, index) in list" :key="index">
|
||||
<div class="user-item__left">
|
||||
<image src="https://p26-passport.byteacctimg.com/img/user-avatar/6401428bcd3b2b9bfed4f31cca07b798~300x300.image" />
|
||||
<image :src="$cdn + 'avatar.png'" />
|
||||
<div class="right">
|
||||
<div class="right-top">
|
||||
<h2>{{ item.residentName }}</h2>
|
||||
<h2><AiOpenData v-if="item.id" type="userName" :openid="item.id"/></h2>
|
||||
<span>{{ $dict.getLabel('wxUserType', item.userType) }}</span>
|
||||
</div>
|
||||
<p>{{ item.commitTime }}</p>
|
||||
|
||||
Reference in New Issue
Block a user