mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 15:51:04 +03:30
update
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
</v-layout>
|
||||
<v-layout row wrap class="ml-4">
|
||||
<v-flex xs12 md6 sm6 v-if="QRCodeimg">
|
||||
<img :src="QRCodeimg">
|
||||
<a :href="ShowLink" target="_blank"><img :src="QRCodeimg"></a>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
</v-layout>
|
||||
@@ -33,14 +33,16 @@ import { mapGetters } from "vuex";
|
||||
export default {
|
||||
data: () => ({
|
||||
barcodeimg : null,
|
||||
QRCodeimg : null
|
||||
QRCodeimg : null,
|
||||
ShowLink : ''
|
||||
}),
|
||||
created() {
|
||||
this.barcodeimg = this.getModalProperties.result.data.data.Barcode ? this.getModalProperties.result.data.data.Barcode : null;
|
||||
this.QRCodeimg = this.getModalProperties.result.data.data.QRCode ? this.getModalProperties.result.data.data.QRCode : null;
|
||||
this.ShowLink = this.getModalProperties.result.data.data.ShowLink ? this.getModalProperties.result.data.data.ShowLink : '#';
|
||||
},
|
||||
computed: {
|
||||
...mapGetters("modal", ["getModalProperties"])
|
||||
...mapGetters("modal", ["getModalProperties", "getModalLink"])
|
||||
},
|
||||
methods: {
|
||||
print() {
|
||||
@@ -78,4 +80,4 @@ export default {
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user