|
|
@@ -16,12 +16,23 @@
|
|
|
</van-radio-group>
|
|
|
</template>
|
|
|
<template v-for="(item, index) in clueOptionList" v-if="clueOptionList.length">
|
|
|
- <template v-if="item.answerType == 'wb'">
|
|
|
- <template v-if="parentOptionList.searchValue == item.itemOptionParentId">
|
|
|
+ <template
|
|
|
+ v-if="parentOptionList && parentOptionList.searchValue == item.itemOptionParentId">
|
|
|
+ <template
|
|
|
+ v-if="item.answerType == 'wb' || item.answerType == 'sz' || item.answerType == 'rq'">
|
|
|
<span class="van-f-red" v-if="item.isMust == 0">*</span>
|
|
|
{{ item.customerClueName }}
|
|
|
+ </template>
|
|
|
+ <!-- 回答类型:wb-文本,sz-数字,rq-日期,zp-照片,dx -->
|
|
|
+ <template v-if="item.answerType == 'wb'">
|
|
|
<van-field v-model="item.answerValue" :placeholder="item.remark" />
|
|
|
</template>
|
|
|
+ <template v-if="item.answerType == 'sz'">
|
|
|
+ <van-field
|
|
|
+ v-model="item.answerValue"
|
|
|
+ :placeholder="item.remark"
|
|
|
+ type="number"></van-field>
|
|
|
+ </template>
|
|
|
</template>
|
|
|
</template>
|
|
|
</template>
|