临床资料详情tip字段替换
parent
5e56098750
commit
f17c230267
|
@ -10,7 +10,7 @@
|
|||
</h4>
|
||||
<h5>
|
||||
<!-- 当前访视/阅片期需要采集“临床数据名称”。请采集临床数据后,按照模板上传,并签名确认。 -->
|
||||
{{ $t('trials:readingPeriod:cd:title:tips1') }}
|
||||
{{ tips1 }}
|
||||
</h5>
|
||||
<h5>
|
||||
{{ $t('trials:readingPeriod:cd:title:tips2') }}
|
||||
|
@ -430,6 +430,7 @@ export default {
|
|||
otherInfo: {},
|
||||
spanArr: [],
|
||||
pos: 0,
|
||||
tips1:null,
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
@ -484,7 +485,17 @@ export default {
|
|||
}
|
||||
this.loading = true
|
||||
getReadingClinicalDataList(this.searchData).then(res => {
|
||||
this.list = res.Result
|
||||
this.list = res.Result;
|
||||
let message ="";
|
||||
this.list.forEach((item,index)=>{
|
||||
if(index<1){
|
||||
message += item.ClinicalDataSetName;
|
||||
}else{
|
||||
message =message + "、" + item.ClinicalDataSetName;
|
||||
}
|
||||
})
|
||||
this.tips1 = this.$t('trials:readingPeriod:cd:title:tips1').replace('临床数据名称',message);
|
||||
this.tips1 = this.tips1.replace("xxx",message);
|
||||
this.pos = 0
|
||||
this.getSpanArr(this.list)
|
||||
this.otherInfo = res.OtherInfo
|
||||
|
|
Loading…
Reference in New Issue