add new event and attendance table with automatic now timestamp
All checks were successful
Build Quasar SPA and Go Backend for memberApp / build-spa (push) Successful in 2m34s
Build Quasar SPA and Go Backend for memberApp / build-backend (amd64, .exe, windows) (push) Successful in 5m39s
Build Quasar SPA and Go Backend for memberApp / build-backend (amd64, , linux) (push) Successful in 5m46s
Build Quasar SPA and Go Backend for memberApp / build-backend (arm, 6, , linux) (push) Successful in 5m32s
Build Quasar SPA and Go Backend for memberApp / build-backend (arm64, , linux) (push) Successful in 5m35s
All checks were successful
Build Quasar SPA and Go Backend for memberApp / build-spa (push) Successful in 2m34s
Build Quasar SPA and Go Backend for memberApp / build-backend (amd64, .exe, windows) (push) Successful in 5m39s
Build Quasar SPA and Go Backend for memberApp / build-backend (amd64, , linux) (push) Successful in 5m46s
Build Quasar SPA and Go Backend for memberApp / build-backend (arm, 6, , linux) (push) Successful in 5m32s
Build Quasar SPA and Go Backend for memberApp / build-backend (arm64, , linux) (push) Successful in 5m35s
This commit is contained in:
@@ -9,9 +9,6 @@
|
||||
<MembersTable ref="memberDialog" />
|
||||
<q-btn @click="getSelection">Get Selected</q-btn>
|
||||
</DialogFrame>
|
||||
<div class="row">
|
||||
<q-btn @click="open">Click Me</q-btn>
|
||||
</div>
|
||||
</q-page>
|
||||
</template>
|
||||
|
||||
@@ -20,15 +17,12 @@ import MembersTable from 'src/vueLib/tables/members/MembersTable.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>();
|
||||
|
||||
const open = () => dialog.value?.open();
|
||||
|
||||
function getSelection() {
|
||||
const selected = memberDialog.value?.getSelected();
|
||||
if (selected === undefined) return;
|
||||
console.log(65, selected[0]?.id);
|
||||
function getSelection(): Members {
|
||||
return memberDialog.value?.getSelected() || [];
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user