|
@@ -6,7 +6,7 @@
|
|
|
<p>{{item.name}}{{item.controlType==2?'(可多选)':''}}</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="right clearfix" v-if="item.content">
|
|
|
+ <div class="right clearfix" v-if="(!hideAreaVal)&&item.content">
|
|
|
<img v-if="typeof(item.content)==='string'" src="../images/patient.png" alt class="fr" />
|
|
|
<div v-if="typeof(item.content)==='string'" class="content fr">
|
|
|
<p>{{item.content}}</p>
|
|
@@ -28,6 +28,12 @@ export default {
|
|
|
return {};
|
|
|
},
|
|
|
computed:{
|
|
|
+ hideAreaVal(){ //文本域修改时不要显示已填的值
|
|
|
+ const {cancelNum,idx,num,extNum}=this;
|
|
|
+ let realExt=getNSum(extNum);
|
|
|
+ const realIdx = realExt+idx;
|
|
|
+ return realIdx===cancelNum&&num===realIdx;
|
|
|
+ },
|
|
|
showEdit(){
|
|
|
const {cancelNum,idx,num,extNum}=this;
|
|
|
let realExt=getNSum(extNum);
|