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

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

View file

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

View file

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