From 6f5f1f90c9d33eb22a7f328e21a16810741d4047 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Tue, 30 Apr 2024 10:59:11 +0700 Subject: [PATCH] fix bug calendar --- src/components/information/Assessment.vue | 1 - src/components/information/Certicate.vue | 2 - src/components/information/Coin.vue | 2 - src/components/information/Discipline.vue | 2 - src/components/information/Education.vue | 5 - src/components/information/Government.vue | 2 - src/components/information/Information.vue | 1 - src/components/information/Insignia.vue | 4 - src/components/information/Leave.vue | 1 - src/components/information/Other.vue | 2 +- src/components/information/Record.vue | 2 - src/components/information/Salary.vue | 2 +- src/components/information/SalaryEmployee.vue | 2 +- .../information/SalaryEmployeeTemp.vue | 2 +- src/components/information/TableProfile.vue | 2 - src/components/information/Train.vue | 8 +- src/components/information/Work.vue | 6 +- .../01_metadata/components/Calendar.vue | 2 +- .../components/calendar/Calendar.vue | 2 +- .../03_recruiting/components/Career.vue | 2 - .../03_recruiting/components/Education.vue | 1 - .../03_recruiting/components/Information.vue | 1 - .../views/01_compete/PeriodAdd.vue | 2025 ++++++++--------- .../views/02_qualify/DisablePeriodAdd.vue | 2 +- .../views/02_qualify/PeriodAdd.vue | 1 - src/modules/04_registry/components/Coin.vue | 6 +- .../components/DialogFormLeave.vue | 2 +- .../04_registry/components/Discipline.vue | 4 +- .../04_registry/components/Education.vue | 10 +- .../components/Information/Certicate.vue | 49 +- .../components/Information/Government.vue | 4 +- .../components/Information/Information.vue | 2 +- .../04_registry/components/Insignia.vue | 8 +- src/modules/04_registry/components/Leave.vue | 2 +- src/modules/04_registry/components/Other.vue | 2 +- .../04_registry/components/Profile.vue | 4 +- src/modules/04_registry/components/Record.vue | 4 +- src/modules/04_registry/components/Salary.vue | 2 +- .../04_registry/components/SalaryEmployee.vue | 2 +- .../components/SalaryEmployeeTemp.vue | 2 +- src/modules/04_registry/components/Train.vue | 24 +- src/modules/04_registry/components/Work.vue | 3 - .../components/salaryNew/SalaryEmployee.vue | 2 +- .../salaryNew/SalaryEmployeeTemp.vue | 11 +- .../Achievement/01_ProfessionalLicense.vue | 371 ++- .../detail/Achievement/02_Train.vue | 12 +- .../PersonalInformation/05_Education.vue | 163 +- .../components/AppointEmployee/Detail.vue | 200 +- .../components/AppointEmployee/Modal.vue | 246 +- .../AppointMent/AppointmentModal.vue | 25 +- .../components/AppointMent/Detail.vue | 4 +- .../05_placement/components/Other/Detail.vue | 4 +- .../components/Other/OtherModal.vue | 12 +- .../components/PersonalDetail/Education.vue | 5 - .../PersonalDetail/Information/Certicate.vue | 4 +- .../Information/Information.vue | 1 - .../components/PersonalList/CardPosition.vue | 1 - .../components/PersonalList/OrgTree.vue | 5 +- .../components/Receive/receiveDetail2.vue | 2 +- .../components/Receive/receiveModal.vue | 2 +- .../components/Relocation/RelocationModal.vue | 4 - .../components/Repatriate/RepatriatebyId.vue | 4 +- .../components/Transfer/transferRegistry.vue | 2 +- .../helpgovernment/governmentDetail.vue | 4 +- .../Discharged/dischargedRegistry.vue | 4 +- .../components/DismissOrder/outRegistry.vue | 3 +- .../components/ExitInterview/exitMain.vue | 1 - .../Expulsion/expulsionRegistry.vue | 3 +- .../components/ListRetirement/TableList.vue | 1 - .../components/resign/ResignByid.vue | 10 +- .../components/1_Proposals/addProposals.vue | 1 - .../components/3_result/DialogForm.vue | 1 - .../components/3_result/Dialogbody.vue | 7 +- .../components/5_Borrow/DialogForm.vue | 18 +- .../components/AddEmployee/Main.vue | 1 - .../components/EditEmployee/Assessment.vue | 22 +- .../components/EditEmployee/Discipline.vue | 21 +- .../components/EditEmployee/Education.vue | 24 +- .../components/EditEmployee/Employment.vue | 211 +- .../EditEmployee/Information/Certicate.vue | 23 +- .../EditEmployee/Information/Government.vue | 4 +- .../EditEmployee/Information/Information.vue | 1 - .../components/EditEmployee/Leave.vue | 2 +- .../components/EditEmployee/Other.vue | 2 +- .../components/EditEmployee/Record.vue | 2 - .../components/EditEmployee/Salary.vue | 38 +- .../EditEmployee/SalaryEmployee.vue | 1 - .../components/EditEmployee/Train.vue | 22 +- .../components/EditEmployee/Work.vue | 26 +- .../08_registryEmployee/views/EditDetail.vue | 2 - .../components/1_Work/DialogReport.vue | 2 - .../09_leave/components/1_Work/ToolBar.vue | 1 - .../components/1_Work/ToolBarDate.vue | 1 - .../components/2_Leave/ToolBarLeave.vue | 1 - .../components/3_Report/LeaveReport.vue | 3 - .../components/4_ChangeRound/DialogForm.vue | 1 - .../4_specialTime/DialogApprove.vue | 1 - .../components/4_specialTime/Table.vue | 1 - .../10_order/components/PopupHistory.vue | 4 +- .../components/5_Report/DetailPage.vue | 27 +- .../components/7_ListSuspend/DetailPage.vue | 56 +- .../components/8_AppealComplain/MainPage.vue | 1 - .../13_salary/components/Command/step01.vue | 6 +- .../13_salary/views/salaryEmployeeLists.vue | 1 - src/modules/13_salary/views/salaryLists.vue | 1 - src/modules/13_salary/views/salaryRound.vue | 1 - .../indicatorByPlan/IndicatorByPlan.vue | 1 - src/modules/14_KPI/views/indicatorByPlan.vue | 9 +- src/modules/14_KPI/views/indicatorByRole.vue | 1 - src/modules/14_KPI/views/list.vue | 1 - src/modules/14_KPI/views/round.vue | 1 - 111 files changed, 2002 insertions(+), 1866 deletions(-) diff --git a/src/components/information/Assessment.vue b/src/components/information/Assessment.vue index 981e8cc44..44cb4f5f4 100644 --- a/src/components/information/Assessment.vue +++ b/src/components/information/Assessment.vue @@ -83,7 +83,6 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules :borderless="!edit" :model-value="date2Thai(date)" :rules="[(val) => !!val || `${'กรุณาเลือกวันที่ได้รับ'}`]" diff --git a/src/components/information/Certicate.vue b/src/components/information/Certicate.vue index 1de0eea25..5151d5904 100644 --- a/src/components/information/Certicate.vue +++ b/src/components/information/Certicate.vue @@ -137,7 +137,6 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules :borderless="!edit" :model-value="date2Thai(issueDate)" :rules="[ @@ -183,7 +182,6 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules :borderless="!edit" :model-value="date2Thai(expireDate)" :rules="[(val) => !!val || `${'กรุณาเลือกวันที่หมดอายุ'}`]" diff --git a/src/components/information/Coin.vue b/src/components/information/Coin.vue index 8e676419e..0e3ea7709 100644 --- a/src/components/information/Coin.vue +++ b/src/components/information/Coin.vue @@ -88,7 +88,6 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules :borderless="!edit" :model-value="date2Thai(issueDate)" :rules="[(val) => !!val || `${'กรุณาเลือกวันที่ได้รับ'}`]" @@ -185,7 +184,6 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules :borderless="!edit" :model-value=" refCommandDate == null ? null : date2Thai(refCommandDate) diff --git a/src/components/information/Discipline.vue b/src/components/information/Discipline.vue index 493163918..186b85346 100644 --- a/src/components/information/Discipline.vue +++ b/src/components/information/Discipline.vue @@ -79,7 +79,6 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules :borderless="!edit" :model-value="date2Thai(date)" :rules="[(val:string) => !!val || `${'กรุณาเลือกวัน เดือน ปี'}`]" @@ -199,7 +198,6 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules :borderless="!edit" :model-value=" refCommandDate == null ? null : date2Thai(refCommandDate) diff --git a/src/components/information/Education.vue b/src/components/information/Education.vue index 6075c34d8..a666ae93e 100644 --- a/src/components/information/Education.vue +++ b/src/components/information/Education.vue @@ -158,7 +158,6 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules :borderless="!edit" :model-value="startDate + 543" :rules="[ @@ -203,7 +202,6 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules :borderless="!edit" :model-value="date2Thai(startDate2)" :rules="[ @@ -253,7 +251,6 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules :borderless="!edit" :model-value="endDate + 543" :rules="[ @@ -297,7 +294,6 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules :borderless="!edit" :model-value="date2Thai(endDate2)" :rules="[ @@ -347,7 +343,6 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules :borderless="!edit" :model-value="date2Thai(finishDate)" :rules="[ diff --git a/src/components/information/Government.vue b/src/components/information/Government.vue index 30e7a13be..cbeacc52c 100644 --- a/src/components/information/Government.vue +++ b/src/components/information/Government.vue @@ -145,7 +145,6 @@ hide-bottom-space :outlined="edit" dense - lazy-rules :readonly="!edit" :borderless="!edit" :model-value="date2Thai(new Date(govermentData.containDate))" @@ -198,7 +197,6 @@ hide-bottom-space :outlined="edit" dense - lazy-rules :readonly="!edit" :borderless="!edit" :model-value="date2Thai(new Date(govermentData.workDate))" diff --git a/src/components/information/Information.vue b/src/components/information/Information.vue index d1e279ca3..2e466f97d 100644 --- a/src/components/information/Information.vue +++ b/src/components/information/Information.vue @@ -113,7 +113,6 @@ hide-bottom-space :outlined="edit" dense - lazy-rules :readonly="!edit" :borderless="!edit" :model-value=" diff --git a/src/components/information/Insignia.vue b/src/components/information/Insignia.vue index 8591e027f..9454a4cce 100644 --- a/src/components/information/Insignia.vue +++ b/src/components/information/Insignia.vue @@ -87,7 +87,6 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules :borderless="!edit" :model-value="year + 543" :rules="[ @@ -134,7 +133,6 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules :borderless="!edit" :model-value="date2Thai(receiveDate)" :rules="[(val:string) => !!val || `${'กรุณาเลือกวันที่ได้รับ'}`]" @@ -306,7 +304,6 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules :borderless="!edit" :model-value="date2Thai(dateAnnounce)" :rules="[ @@ -374,7 +371,6 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules :borderless="!edit" :model-value=" refCommandDate == null ? null : date2Thai(refCommandDate) diff --git a/src/components/information/Leave.vue b/src/components/information/Leave.vue index a92088bdc..1e3c635e5 100644 --- a/src/components/information/Leave.vue +++ b/src/components/information/Leave.vue @@ -129,7 +129,6 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules :borderless="!edit" :model-value="dateThaiRange(dateRange)" :rules="[(val:string) => !!val || `${'กรุณาเลือกวัน เดือน ปีที่ลา'}`]" diff --git a/src/components/information/Other.vue b/src/components/information/Other.vue index 6a360745d..d7886ebb2 100644 --- a/src/components/information/Other.vue +++ b/src/components/information/Other.vue @@ -76,7 +76,7 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules + :borderless="!edit" :model-value="date2Thai(date)" :rules="[(val) => !!val || `${'กรุณาเลือกวันที่'}`]" diff --git a/src/components/information/Record.vue b/src/components/information/Record.vue index e6a1f5115..62f9e5cdf 100644 --- a/src/components/information/Record.vue +++ b/src/components/information/Record.vue @@ -82,7 +82,6 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules :borderless="!edit" :model-value="date2Thai(date)" :rules="[(val) => !!val || `${'กรุณาเลือกวัน เดือน ปี'}`]" @@ -179,7 +178,6 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules :borderless="!edit" :model-value=" refCommandDate == null ? null : date2Thai(refCommandDate) diff --git a/src/components/information/Salary.vue b/src/components/information/Salary.vue index 619957561..49135a78b 100644 --- a/src/components/information/Salary.vue +++ b/src/components/information/Salary.vue @@ -143,7 +143,7 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules + :borderless="!edit" :model-value="date2Thai(date)" :rules="[ diff --git a/src/components/information/SalaryEmployee.vue b/src/components/information/SalaryEmployee.vue index 8c1f0d1e1..43b881944 100644 --- a/src/components/information/SalaryEmployee.vue +++ b/src/components/information/SalaryEmployee.vue @@ -142,7 +142,7 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules + :borderless="!edit" :model-value="date2Thai(date)" :rules="[ diff --git a/src/components/information/SalaryEmployeeTemp.vue b/src/components/information/SalaryEmployeeTemp.vue index 19597676b..0bd768e24 100644 --- a/src/components/information/SalaryEmployeeTemp.vue +++ b/src/components/information/SalaryEmployeeTemp.vue @@ -142,7 +142,7 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules + :borderless="!edit" :model-value="date2Thai(date)" :rules="[ diff --git a/src/components/information/TableProfile.vue b/src/components/information/TableProfile.vue index df25354eb..800d98d26 100644 --- a/src/components/information/TableProfile.vue +++ b/src/components/information/TableProfile.vue @@ -191,7 +191,6 @@ hide-bottom-space outlined dense - lazy-rules borderless :model-value=" retireYear == null ? null : retireYear + 543 @@ -332,7 +331,6 @@ hide-bottom-space outlined dense - lazy-rules borderless :model-value=" reportYear == null ? null : reportYear + 543 diff --git a/src/components/information/Train.vue b/src/components/information/Train.vue index d85fb0b5c..2ecb391aa 100644 --- a/src/components/information/Train.vue +++ b/src/components/information/Train.vue @@ -122,7 +122,7 @@ hide-bottom-space :outlined="edit" dense - lazy-rules + :borderless="!edit" :model-value="date2Thai(startDate)" :rules="[ @@ -169,7 +169,7 @@ hide-bottom-space :outlined="edit" dense - lazy-rules + :borderless="!edit" :model-value="date2Thai(endDate)" :rules="[ @@ -215,7 +215,7 @@ hide-bottom-space :outlined="edit" dense - lazy-rules + :borderless="!edit" :model-value="yearly + 543" :rules="[(val) => !!val || `${'กรุณาเลือกปีงบประมาณ'}`]" @@ -318,7 +318,7 @@ hide-bottom-space :outlined="edit" dense - lazy-rules + :borderless="!edit" :model-value="date2Thai(dateOrder)" :label="`${'คำสั่งลงวันที่/หนังสืออนุมัติลงวันที่'}`" diff --git a/src/components/information/Work.vue b/src/components/information/Work.vue index a27025825..cfec85ef1 100644 --- a/src/components/information/Work.vue +++ b/src/components/information/Work.vue @@ -83,7 +83,7 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules + :borderless="!edit" :model-value="date2Thai(dateStart)" :rules="[(val) => !!val || `${'กรุณาเลือกวันที่เริ่มต้น'}`]" @@ -127,7 +127,7 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules + :borderless="!edit" :model-value="date2Thai(dateEnd)" :rules="[(val) => !!val || `${'กรุณาเลือกวันที่สิ้นสุด'}`]" @@ -224,7 +224,7 @@ :class="getClass(edit)" :outlined="edit" dense - lazy-rules + :borderless="!edit" :model-value=" refCommandDate == null ? null : date2Thai(refCommandDate) diff --git a/src/modules/01_metadata/components/Calendar.vue b/src/modules/01_metadata/components/Calendar.vue index 43c1c831d..906ba88a7 100644 --- a/src/modules/01_metadata/components/Calendar.vue +++ b/src/modules/01_metadata/components/Calendar.vue @@ -75,7 +75,7 @@ :outlined="edit" dense label="วันที่" - lazy-rules + :borderless="!edit" :model-value="dateThaiRange(dateRange)" > diff --git a/src/modules/01_metadataNew/components/calendar/Calendar.vue b/src/modules/01_metadataNew/components/calendar/Calendar.vue index 48dc9335d..5aa1c59bb 100644 --- a/src/modules/01_metadataNew/components/calendar/Calendar.vue +++ b/src/modules/01_metadataNew/components/calendar/Calendar.vue @@ -75,7 +75,7 @@ :outlined="edit" dense label="วันที่" - lazy-rules + :borderless="!edit" :model-value="dateThaiRange(dateRange)" > diff --git a/src/modules/03_recruiting/components/Career.vue b/src/modules/03_recruiting/components/Career.vue index 81e5e4988..107d97efb 100644 --- a/src/modules/03_recruiting/components/Career.vue +++ b/src/modules/03_recruiting/components/Career.vue @@ -186,7 +186,6 @@ " :outlined="status == 'checkRegister' || status == 'payment'" dense - lazy-rules :borderless=" !status == 'checkRegister' || status == 'payment' " @@ -240,7 +239,6 @@ " :outlined="status == 'checkRegister' || status == 'payment'" dense - lazy-rules :borderless=" !status == 'checkRegister' || status == 'payment' " diff --git a/src/modules/03_recruiting/components/Education.vue b/src/modules/03_recruiting/components/Education.vue index bffbc5790..96566474e 100644 --- a/src/modules/03_recruiting/components/Education.vue +++ b/src/modules/03_recruiting/components/Education.vue @@ -113,7 +113,6 @@ " :outlined="status == 'checkRegister' || status == 'payment'" dense - lazy-rules :readonly="!(status == 'checkRegister' || status == 'payment')" :borderless=" !(status == 'checkRegister' || status == 'payment') diff --git a/src/modules/03_recruiting/components/Information.vue b/src/modules/03_recruiting/components/Information.vue index ae38aa0a3..ab19830b7 100644 --- a/src/modules/03_recruiting/components/Information.vue +++ b/src/modules/03_recruiting/components/Information.vue @@ -151,7 +151,6 @@ " :outlined="status == 'checkRegister' || status == 'payment'" dense - lazy-rules :readonly="!(status == 'checkRegister' || status == 'payment')" :borderless="!(status == 'checkRegister' || status == 'payment')" :model-value=" diff --git a/src/modules/03_recruiting/views/01_compete/PeriodAdd.vue b/src/modules/03_recruiting/views/01_compete/PeriodAdd.vue index d1ddda8e6..8736fa91d 100644 --- a/src/modules/03_recruiting/views/01_compete/PeriodAdd.vue +++ b/src/modules/03_recruiting/views/01_compete/PeriodAdd.vue @@ -1,797 +1,663 @@ diff --git a/src/modules/03_recruiting/views/02_qualify/DisablePeriodAdd.vue b/src/modules/03_recruiting/views/02_qualify/DisablePeriodAdd.vue index 1b1b106cc..e506a8f23 100644 --- a/src/modules/03_recruiting/views/02_qualify/DisablePeriodAdd.vue +++ b/src/modules/03_recruiting/views/02_qualify/DisablePeriodAdd.vue @@ -61,7 +61,7 @@