This commit is contained in:
2024-04-09 14:02:17 +08:00
parent 6e2b70b2d2
commit c2e63da777

View File

@ -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;