This commit is contained in:
2026-10-20 23:34:11 +08:00
parent f155976f52
commit 13e4aa56ec
321 changed files with 6756 additions and 2110 deletions
@@ -1,5 +1,6 @@
<script setup lang="ts">
import '@/styles/adminDensity.css'
import '@/styles/adminWorkbench.css'
import { computed, onBeforeUnmount, ref, watch } from 'vue'
import { Download, FileText } from '@lucide/vue'
import AppDialog from '@/shared/components/AppDialog.vue'
@@ -75,7 +76,7 @@ onBeforeUnmount(() => { previewRequest += 1; releasePreview() })
</script>
<template>
<AppDialog class="booking-print-dialog admin-density-dialog"
<AppDialog class="booking-print-dialog admin-density-dialog admin-workbench is-dialog"
v-model="open"
:title="previewUrl ? previewTitle : selectionTitle"
:fullscreenable="Boolean(previewUrl)"
@@ -111,15 +112,15 @@ onBeforeUnmount(() => { previewRequest += 1; releasePreview() })
</template>
<style scoped>
.booking-print-current { margin: 0 0 var(--admin-space-5); color: var(--cc-muted); }
.booking-print-current strong { color: var(--cc-text); }
.booking-print-current { margin: 0 0 var(--admin-space-5); color: var(--workbench-muted); }
.booking-print-current strong { color: var(--workbench-text); }
.booking-print-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--admin-space-5); width: 100%; }
.booking-print-option { min-width: 0; height: auto; min-height: var(--admin-control-height); margin: 0; white-space: normal; }
.booking-print-option :deep(.el-radio__label) { display: flex; align-items: center; gap: var(--admin-space-3); min-width: 0; white-space: normal; }
.booking-print-option :deep(.el-radio__label) > svg { flex: 0 0 auto; }
.booking-print-label { display: grid; min-width: 0; gap: var(--admin-space-1); }
.booking-print-label strong { color: var(--cc-text); }
.booking-print-label small { color: var(--cc-muted); font-size: var(--admin-font-caption); }
.booking-print-label strong { color: var(--workbench-text); }
.booking-print-label small { color: var(--workbench-muted); font-size: var(--admin-font-caption); }
.booking-print-preview { min-height: 0; overflow: hidden; }
.booking-print-preview iframe { display: block; width: 100%; height: min(72vh, 760px); border: 0; background: var(--admin-surface); }
.booking-print-footer { width: 100%; }