send external scans to app
This commit is contained in:
parent
3e47d3ebf6
commit
304ae1147e
7 changed files with 219 additions and 5 deletions
|
@ -19,9 +19,11 @@
|
|||
<p v-if="results.length == 0">Bisher keine Scan-Ergebnisse vorhanden.</p>
|
||||
</div>
|
||||
<br />
|
||||
<p>Link zur Scanoberfläche:</p>
|
||||
<RouterLink :to="{ name: 'public-scanner-select' }" target="_blank" class="text-primary"
|
||||
>Link zur Scanoberfläche:</RouterLink
|
||||
>
|
||||
<div class="flex flex-row gap-4 items-center">
|
||||
<TextCopy :copyText="linkToScan" />
|
||||
<TextCopy :copyText="roomId" />
|
||||
<QrCodeIcon class="h-7 w-7 cursor-pointer" @click="showQRCode = true" />
|
||||
</div>
|
||||
|
||||
|
@ -39,6 +41,7 @@ import { useScannerStore } from "../../stores/admin/scanner";
|
|||
import { ArrowRightIcon, QrCodeIcon, TrashIcon } from "@heroicons/vue/24/outline";
|
||||
import TextCopy from "../TextCopy.vue";
|
||||
import QRCode from "qrcode";
|
||||
import { RouterLink } from "vue-router";
|
||||
</script>
|
||||
|
||||
<script lang="ts">
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
<br />
|
||||
<img ref="qr" />
|
||||
<TextCopy :copyText="linkToScan" />
|
||||
<TextCopy :copyText="roomId" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue