修改
This commit is contained in:
parent
6e2b70b2d2
commit
c2e63da777
@ -51,6 +51,8 @@
|
||||
</el-descriptions>
|
||||
<el-descriptions title="其他材料" style="margin-top: 20px;" class="descriptions">
|
||||
<el-descriptions-item>
|
||||
<el-image v-for="item in ByRecord.signPatientInformeds" :key="item.signPatientRecordId"
|
||||
class="img" :src="item.informedFilePath" :preview-src-list="srcList" />
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</div>
|
||||
@ -66,6 +68,7 @@ export default {
|
||||
name: "signingRecords",
|
||||
data() {
|
||||
return {
|
||||
srcList: [],
|
||||
//左侧类型选中
|
||||
categoryindex: 0,
|
||||
//左侧选中的item
|
||||
@ -91,6 +94,10 @@ export default {
|
||||
getByRecordIdinfo() {
|
||||
getByRecordId(this.categoryItem.id).then(res => {
|
||||
this.ByRecord = res.data
|
||||
this.ByRecord.signPatientInformeds.forEach(e => {
|
||||
e.informedFilePath = process.env.VUE_APP_BASE_API + e.informedFilePath
|
||||
this.srcList(e.informedFilePath)
|
||||
})
|
||||
})
|
||||
},
|
||||
clickcategory(item, index) {
|
||||
@ -102,6 +109,11 @@ export default {
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.img {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
.header {
|
||||
background-color: #fff !important;
|
||||
padding: 0 !important;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user