add title to every page
This commit is contained in:
@@ -1,28 +1,11 @@
|
||||
<template>
|
||||
<q-page>
|
||||
<h4 class="text-primary text-bold text-center">{{ $t('responsibles') }}</h4>
|
||||
|
||||
<ResponsibleTable />
|
||||
<DialogFrame ref="dialog" header-title="Test Frame">
|
||||
<ResponsibleTable ref="memberDialog" />
|
||||
<q-btn @click="getSelection">Get Selected</q-btn>
|
||||
</DialogFrame>
|
||||
<DialogFrame ref="uploadDialog" header-title="Test Frame">
|
||||
<ResponsibleTable ref="memberDialog" />
|
||||
<q-btn @click="getSelection">Get Selected</q-btn>
|
||||
</DialogFrame>
|
||||
</q-page>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import ResponsibleTable from 'src/vueLib/tables/responsible/ResponsibleTable.vue';
|
||||
import DialogFrame from 'src/vueLib/dialog/DialogFrame.vue';
|
||||
import { ref } from 'vue';
|
||||
import type { MemberDialog } from 'src/vueLib/tables/members/MembersTable.vue';
|
||||
import type { Members } from 'src/vueLib/models/member';
|
||||
|
||||
const dialog = ref();
|
||||
const memberDialog = ref<MemberDialog>();
|
||||
|
||||
function getSelection(): Members {
|
||||
return memberDialog.value?.getSelected() || [];
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user