fix bug calendar
This commit is contained in:
parent
2737810c6c
commit
6f5f1f90c9
111 changed files with 2002 additions and 1866 deletions
|
|
@ -12,7 +12,7 @@ import keycloak from "@/plugins/keycloak";
|
|||
import type { QForm } from "quasar";
|
||||
import type { ResponseDataDetail } from "@/modules/06_retirement/interface/response/discharged";
|
||||
import PopupPersonal from "@/components/Dialogs/PopupPersonal.vue";
|
||||
|
||||
|
||||
const modalPersonal = ref<boolean>(false);
|
||||
const personId = ref<string>("");
|
||||
/** use */
|
||||
|
|
@ -187,7 +187,6 @@ function onclickViewinfo(id: string) {
|
|||
function updatemodalPersonal(modal: boolean) {
|
||||
modalPersonal.value = modal;
|
||||
}
|
||||
|
||||
</script>
|
||||
<template>
|
||||
<div class="toptitle text-dark col-12 row items-center">
|
||||
|
|
@ -423,7 +422,6 @@ function updatemodalPersonal(modal: boolean) {
|
|||
:class="getClass(edit)"
|
||||
:outlined="edit"
|
||||
dense
|
||||
lazy-rules
|
||||
:readonly="!edit"
|
||||
:borderless="!edit"
|
||||
:model-value="date !== null ? date2Thai(date) : null"
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import keycloak from "@/plugins/keycloak";
|
|||
import type { QForm } from "quasar";
|
||||
import type { ResponseDataDetail } from "@/modules/06_retirement/interface/response/expulsion";
|
||||
import PopupPersonal from "@/components/Dialogs/PopupPersonal.vue";
|
||||
|
||||
|
||||
const modalPersonal = ref<boolean>(false);
|
||||
const personId = ref<string>("");
|
||||
/** use */
|
||||
|
|
@ -426,7 +426,6 @@ function updatemodalPersonal(modal: boolean) {
|
|||
:class="getClass(edit)"
|
||||
:outlined="edit"
|
||||
dense
|
||||
lazy-rules
|
||||
:readonly="!edit"
|
||||
:borderless="!edit"
|
||||
:model-value="date !== null ? date2Thai(date) : null"
|
||||
|
|
|
|||
|
|
@ -499,7 +499,6 @@ const openModalCalendar = (rows: any) => {
|
|||
<q-input
|
||||
outlined
|
||||
dense
|
||||
lazy-rules
|
||||
:model-value="
|
||||
dateBreak !== null ? date2Thai(dateBreak) : null
|
||||
"
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import keycloak from "@/plugins/keycloak";
|
|||
import type { QForm } from "quasar";
|
||||
import type { ResponseDataDetail } from "@/modules/06_retirement/interface/response/expulsion";
|
||||
import PopupPersonal from "@/components/Dialogs/PopupPersonal.vue";
|
||||
|
||||
|
||||
const modalPersonal = ref<boolean>(false);
|
||||
const personId = ref<string>("");
|
||||
/** Use */
|
||||
|
|
@ -436,7 +436,6 @@ function updatemodalPersonal(modal: boolean) {
|
|||
:class="getClass(edit)"
|
||||
:outlined="edit"
|
||||
dense
|
||||
lazy-rules
|
||||
:borderless="!edit"
|
||||
:readonly="!edit"
|
||||
:model-value="date !== null ? date2Thai(date) : null"
|
||||
|
|
|
|||
|
|
@ -837,7 +837,6 @@ function updatemodalPersonal(modal: boolean) {
|
|||
dense
|
||||
outlined
|
||||
:rules="[(val) => !!val || `${'กรุณาเลือกวันที่'}`]"
|
||||
lazy-rules
|
||||
:model-value="
|
||||
signDate !== null ? date2Thai(signDate) : null
|
||||
"
|
||||
|
|
|
|||
|
|
@ -314,7 +314,6 @@ const clickCancelConditions = async () => {
|
|||
conditions.value = false;
|
||||
};
|
||||
|
||||
|
||||
const saveConditions = () => {
|
||||
if (myForm.value !== null) {
|
||||
myForm.value.validate().then((success) => {
|
||||
|
|
@ -335,9 +334,7 @@ const saveConditions = () => {
|
|||
};
|
||||
|
||||
//Save จาก Api
|
||||
const dataSave = async () => {
|
||||
|
||||
};
|
||||
const dataSave = async () => {};
|
||||
|
||||
/**
|
||||
* Functionบันทึก
|
||||
|
|
@ -361,7 +358,6 @@ const conditionSave = () => {
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
//Save จาก Api
|
||||
const saveData = async () => {
|
||||
const formData = new FormData();
|
||||
|
|
@ -772,7 +768,7 @@ function confirmRemove(fileId: string) {
|
|||
label="แก้ไข"
|
||||
style="width: 80px"
|
||||
@click="conditions = !conditions"
|
||||
/>
|
||||
/>
|
||||
</div>
|
||||
<div v-else class="q-gutter-x-sm">
|
||||
<q-btn
|
||||
|
|
@ -1153,7 +1149,6 @@ function confirmRemove(fileId: string) {
|
|||
:class="getClass(edit)"
|
||||
:outlined="edit"
|
||||
dense
|
||||
lazy-rules
|
||||
:borderless="!edit"
|
||||
:model-value="date !== null ? date2Thai(date) : null"
|
||||
:rules="[
|
||||
|
|
@ -1304,7 +1299,6 @@ function confirmRemove(fileId: string) {
|
|||
<q-input
|
||||
outlined
|
||||
dense
|
||||
lazy-rules
|
||||
:model-value="
|
||||
dateBreak !== null ? date2Thai(dateBreak) : null
|
||||
"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue