แก้การแสดงผล วินัย

This commit is contained in:
setthawutttty 2024-12-20 10:38:25 +07:00
parent 063db4e245
commit 07b1e6cd44
3 changed files with 9 additions and 2 deletions

View file

@ -69,6 +69,7 @@ const calendarOptions = ref<CalendarOptions>({
eventTextColor: "#000000", eventTextColor: "#000000",
eventBorderColor: "#50a5fc", eventBorderColor: "#50a5fc",
displayEventTime: false, displayEventTime: false,
eventStartEditable: false,
editable: true, editable: true,
events: [], events: [],
}); });
@ -233,6 +234,9 @@ watch(
</q-dialog> </q-dialog>
</template> </template>
<style scope lang="scss"> <style scope lang="scss">
:deep(.fc-daygrid-event-harness) {
pointer-events: none;
}
.main-content { .main-content {
height: 85vh; height: 85vh;
} }

View file

@ -398,8 +398,8 @@ function returnCount(num: number) {
countNum.value = num; countNum.value = num;
} }
async function addPerson(data: any) { async function addPerson(data: any,type?:string) {
await mainStore.fetchData(data); await mainStore.fetchData(data,type);
changeFormData(); changeFormData();
toggleModal(); toggleModal();
} }

View file

@ -209,7 +209,10 @@ function addPersonalToCommand(isRedirect: boolean) {
firstName: e.firstName, firstName: e.firstName,
lastName: e.lastName, lastName: e.lastName,
citizenId: e.citizenId, citizenId: e.citizenId,
profileId: e.profileId,
rootId: e.rootId, rootId: e.rootId,
...(e.remarkVertical ? { remarkVertical: e.remarkVertical } : {}),
...(e.remarkHorizontal ? { remarkHorizontal: e.remarkHorizontal } : {}),
})); }));
const body = { const body = {
commandId: selected.value[0].id, commandId: selected.value[0].id,