Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuettner Tobias committed Mar 26, 2020
2 parents 14909fd + 0094efb commit 272c86a
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions client/src/components/laboratory/LinkTestResultAndPatient.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@
/>
</a-form-item>
<a-form-item :wrapper-col="{ span: 24 }">
<a-upload
<!--<a-upload
:accept="'pdf'"
:beforeUpload="beforeUpload"
:multiple="false"
>
<a-button> <a-icon type="upload" />Test Report hochladen</a-button>
</a-upload>
>-->
<a-button v-on:click="uploadHint()"><a-icon type="upload" />Test Report hochladen</a-button>
<!--</a-upload>-->
</a-form-item>
<a-divider />
<a-form-item :wrapper-col="{ span: 24, offset: 0 }">
Expand Down Expand Up @@ -91,6 +91,12 @@ export default {
};
},
methods: {
uploadHint() {
const notification = {
message: "Das Labor kann hier den Bericht mit hochladen. Aus Sicherheitsgründen ist diese Funktion im Prototyp deaktiviert."
};
this.$notification["info"](notification);
},
beforeUpload(file) {
const setFileBytes = fileBytes => {
this.fileBytes = fileBytes;
Expand Down

0 comments on commit 272c86a

Please sign in to comment.