|
@@ -4,7 +4,7 @@
|
|
|
<ul class="addPart">
|
|
|
<li v-for="(item,idx) in dataTrd">
|
|
|
<p class="question">{{idx+1 + '. ' +(item.description||item.name)}}</p>
|
|
|
- <img v-if="(item.controlType==3||item.controlType==5||item.controlType==6||item.controlType==7)&&item.url" class="questionImg" :src="item.url.replace('{imageUrlPrefix}',imgUrl)">
|
|
|
+ <img class="questionImg" :src="item.url.replace('{imageUrlPrefix}',imgUrl)" v-if="item.url">
|
|
|
<Radio v-if="item.controlType==1"
|
|
|
:item="item"
|
|
|
:key="item.id"
|
|
@@ -47,7 +47,6 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="foot">
|
|
|
-
|
|
|
<span class="back" @click="back">{{'返回'+ preName}}</span>
|
|
|
<span class="next" @click="next">预览并提交病历</span>
|
|
|
</div>
|
|
@@ -60,6 +59,7 @@ import Input from '../common/Input.vue';
|
|
|
import Radio from '../common/Radio.vue';
|
|
|
import CheckBox from '../common/CheckBox.vue';
|
|
|
import {imageUrlPrefix,getAllStr} from '@utils/tools.js';
|
|
|
+
|
|
|
export default {
|
|
|
name: 'AddContent',
|
|
|
props: ['allMoudles','preName'],
|