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