add new table feature for responsible person and assignment close #2
All checks were successful
Build Quasar SPA and Go Backend for memberApp / build-spa (push) Successful in 2m23s
Build Quasar SPA and Go Backend for memberApp / build-backend (amd64, .exe, windows) (push) Successful in 5m37s
Build Quasar SPA and Go Backend for memberApp / build-backend (amd64, , linux) (push) Successful in 5m49s
Build Quasar SPA and Go Backend for memberApp / build-backend (arm, 6, , linux) (push) Successful in 5m37s
Build Quasar SPA and Go Backend for memberApp / build-backend (arm64, , linux) (push) Successful in 5m34s
All checks were successful
Build Quasar SPA and Go Backend for memberApp / build-spa (push) Successful in 2m23s
Build Quasar SPA and Go Backend for memberApp / build-backend (amd64, .exe, windows) (push) Successful in 5m37s
Build Quasar SPA and Go Backend for memberApp / build-backend (amd64, , linux) (push) Successful in 5m49s
Build Quasar SPA and Go Backend for memberApp / build-backend (arm, 6, , linux) (push) Successful in 5m37s
Build Quasar SPA and Go Backend for memberApp / build-backend (arm64, , linux) (push) Successful in 5m34s
This commit is contained in:
@@ -114,7 +114,7 @@
|
||||
<script setup lang="ts">
|
||||
import { appApi } from 'src/boot/axios';
|
||||
import { ref } from 'vue';
|
||||
import type { Attendees } from 'src/vueLib/models/attendee';
|
||||
import type { Members } from 'src/vueLib/models/member';
|
||||
import DialogFrame from 'src/vueLib/dialog/DialogFrame.vue';
|
||||
import OkDialog from 'src/components/dialog/OkDialog.vue';
|
||||
import { useNotify } from 'src/vueLib/general/useNotify';
|
||||
@@ -125,7 +125,7 @@ import MembersTable from '../members/MembersTable.vue';
|
||||
import { i18n } from 'src/boot/lang';
|
||||
|
||||
export interface AttendeesDialog {
|
||||
getSelected: () => Attendees;
|
||||
getSelected: () => Members;
|
||||
}
|
||||
|
||||
const emit = defineEmits(['update']);
|
||||
@@ -137,7 +137,7 @@ const okDialog = ref();
|
||||
const deleteText = ref('');
|
||||
const selectOption = ref(false);
|
||||
const localEvent = ref<Event>();
|
||||
const selected = ref<Attendees>([]);
|
||||
const selected = ref<Members>([]);
|
||||
const openSubmenu = ref(false);
|
||||
const filter = ref('');
|
||||
const user = useUserStore();
|
||||
@@ -156,7 +156,7 @@ function openAllValueDialog() {
|
||||
}
|
||||
|
||||
//opens remove dialog
|
||||
function openRemoveDialog(...attendees: Attendees) {
|
||||
function openRemoveDialog(...attendees: Members) {
|
||||
if (attendees.length === 1) {
|
||||
deleteText.value = "'";
|
||||
if (attendees[0]?.firstName && attendees[0]?.lastName) {
|
||||
@@ -170,7 +170,7 @@ function openRemoveDialog(...attendees: Attendees) {
|
||||
}
|
||||
|
||||
//remove Attendees from database
|
||||
async function removeAttendees(...removeAttendees: Attendees) {
|
||||
async function removeAttendees(...removeAttendees: Members) {
|
||||
if (!localEvent.value) {
|
||||
console.error('event is empty');
|
||||
return;
|
||||
@@ -217,10 +217,6 @@ defineExpose({
|
||||
}
|
||||
}
|
||||
|
||||
.blink-yellow {
|
||||
animation: blink-yellow 1.5s step-start 6 !important;
|
||||
}
|
||||
|
||||
.bigger-table-text .q-table__middle td {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user