display link to download uploaded files
This commit is contained in:
parent
510a879b5e
commit
2ddab90136
@ -72,6 +72,9 @@
|
||||
Propose
|
||||
</button>
|
||||
<div class="request-description-content" v-html="request.content"></div>
|
||||
<div v-for="(document_id, index) in request.document_ids" :key="document_id">
|
||||
<a :href="getDocumentDownloadLink(document_id)" download>file-{{ index }}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="issuer-profile-container">
|
||||
<label class="issuer-profile-label" for="issuer-achievement-container"
|
||||
@ -198,6 +201,9 @@ export default {
|
||||
},
|
||||
getDateFromFulltimeString(fulltime) {
|
||||
return DateUtils.FromJsonToDateString(fulltime)
|
||||
},
|
||||
getDocumentDownloadLink(document_id) {
|
||||
return '/api/v1/document/download/' + document_id
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user