mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 19:11:06 +03:30
add qrcode and arcode for test type
This commit is contained in:
@@ -14,7 +14,8 @@
|
||||
</v-layout>
|
||||
<v-layout row wrap class="ml-4">
|
||||
<v-flex xs12 md6 sm6 v-if="QRCodeimg">
|
||||
<a :href="ShowLink" target="_blank"><img :src="QRCodeimg"></a>
|
||||
<a v-if = "Type != 'TestType'":href="ShowLink" target="_blank"><img :src="QRCodeimg"></a>
|
||||
<img v-else :src="QRCodeimg">
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
</v-layout>
|
||||
@@ -45,6 +46,7 @@ export default {
|
||||
this.ShowLink = this.getModalProperties.result.data.data.ShowLink ? this.getModalProperties.result.data.data.ShowLink : '#';
|
||||
this.Type = this.ShowLink.split('/')[1];
|
||||
this.ID = this.ShowLink.split('/')[2];
|
||||
|
||||
},
|
||||
computed: {
|
||||
...mapGetters("modal", ["getModalProperties", "getModalLink"])
|
||||
|
||||
Reference in New Issue
Block a user