diff --git a/src/modules/04_registry/components/Assessment.vue b/src/modules/04_registry/components/Assessment.vue index 37902f56a..83b48252b 100644 --- a/src/modules/04_registry/components/Assessment.vue +++ b/src/modules/04_registry/components/Assessment.vue @@ -44,8 +44,8 @@ icon="mdi-history" @click="clickHistory(props.row)" > - ประวัติแก้ไขผลการประเมินการปฏิบัติราชการ - + ประวัติแก้ไขผลการประเมินการปฏิบัติราชการ + @@ -62,9 +62,7 @@ /> -
+
{ messageError($q, e); }) .finally(() => { - store.isLoad++ + store.isLoad++; }); } }; @@ -903,6 +901,7 @@ const clickEditRow = () => { const clickHistory = async (row: RequestItemsObject) => { tittleHistory.value = "ประวัติแก้ไขผลการประเมินการปฏิบัติราชการ"; modalHistory.value = true; + filterHistory.value = ""; showLoader(); await http .get(config.API.profileAssessmentHisId(row.id)) diff --git a/src/modules/04_registry/components/Coin.vue b/src/modules/04_registry/components/Coin.vue index 0d995b9de..bb063ca96 100644 --- a/src/modules/04_registry/components/Coin.vue +++ b/src/modules/04_registry/components/Coin.vue @@ -781,6 +781,7 @@ const clickHistory = async (row: RequestItemsObject) => { ? "ประวัติแก้ไขประกาศลูกจ้างดีเด่น" : "ประวัติแก้ไขประกาศเกียรติคุณ"; modalHistory.value = true; + filterHistory.value = ""; showLoader(); await http .get(config.API.profileHonorHisId(row.id)) diff --git a/src/modules/04_registry/components/Discipline.vue b/src/modules/04_registry/components/Discipline.vue index b6611bebe..f2838566e 100644 --- a/src/modules/04_registry/components/Discipline.vue +++ b/src/modules/04_registry/components/Discipline.vue @@ -43,8 +43,8 @@ icon="mdi-history" @click="clickHistory(props.row)" > - ประวัติแก้ไขวินัย - + ประวัติแก้ไขวินัย + @@ -58,9 +58,7 @@ -
+
{ messageError($q, e); }) .finally(() => { - store.isLoad++ + store.isLoad++; }); } }; @@ -885,6 +883,7 @@ const clickEditRow = () => { */ const clickHistory = async (row: RequestItemsObject) => { modalHistory.value = true; + filterHistory.value = ""; showLoader(); await http .get(config.API.profileDisHisId(row.id)) diff --git a/src/modules/04_registry/components/Education.vue b/src/modules/04_registry/components/Education.vue index 44d19632c..ba45619ec 100644 --- a/src/modules/04_registry/components/Education.vue +++ b/src/modules/04_registry/components/Education.vue @@ -1495,6 +1495,7 @@ const clickEditRow = () => { */ const clickHistory = async (row: RequestItemsObject) => { modalHistory.value = true; + filterHistory.value = ""; showLoader(); await http .get(config.API.profileEduHisId(row.id)) diff --git a/src/modules/04_registry/components/Information/top.vue b/src/modules/04_registry/components/Information/top.vue index 416a8f049..8f92674b7 100644 --- a/src/modules/04_registry/components/Information/top.vue +++ b/src/modules/04_registry/components/Information/top.vue @@ -62,9 +62,9 @@ > เพิ่มข้อมูล - +
diff --git a/src/modules/04_registry/components/Insignia.vue b/src/modules/04_registry/components/Insignia.vue index 08f8a0d9b..addb42c3f 100644 --- a/src/modules/04_registry/components/Insignia.vue +++ b/src/modules/04_registry/components/Insignia.vue @@ -1279,6 +1279,7 @@ const clickEditRow = () => { */ const clickHistory = async (row: RequestItemsObject) => { modalHistory.value = true; + filterHistory.value = ""; showLoader(); await http .get(config.API.profileInsignHisId(row.id)) diff --git a/src/modules/04_registry/components/Leave.vue b/src/modules/04_registry/components/Leave.vue index fc95812fd..16400f334 100644 --- a/src/modules/04_registry/components/Leave.vue +++ b/src/modules/04_registry/components/Leave.vue @@ -152,7 +152,7 @@
-
+
-
+
{ const clickHistory = async (row: RequestItemsObject) => { modalHistory.value = true; + filterHistory.value = ""; showLoader(); await http .get(config.API.profileLeaveHisId(row.id)) diff --git a/src/modules/04_registry/components/Other.vue b/src/modules/04_registry/components/Other.vue index 8144ca9f6..33bf1d312 100644 --- a/src/modules/04_registry/components/Other.vue +++ b/src/modules/04_registry/components/Other.vue @@ -570,6 +570,7 @@ const clickEditRow = () => { */ const clickHistory = async (row: RequestItemsObject) => { modalHistory.value = true; + filterHistory.value = ""; showLoader(); await http .get(config.API.profileOtherHisId(row.id)) diff --git a/src/modules/04_registry/components/Record.vue b/src/modules/04_registry/components/Record.vue index b03a39e61..1ef12886e 100644 --- a/src/modules/04_registry/components/Record.vue +++ b/src/modules/04_registry/components/Record.vue @@ -43,8 +43,10 @@ icon="mdi-history" @click="clickHistory(props.row)" > - ประวัติแก้ไขวันที่มิได้ปฏิบัติหน้าที่อยู่ในเขตที่ได้มีประกาศใช้กฎอัยการศึก - + ประวัติแก้ไขวันที่มิได้ปฏิบัติหน้าที่อยู่ในเขตที่ได้มีประกาศใช้กฎอัยการศึก + @@ -61,9 +63,7 @@ /> -
+
{ messageError($q, e); }) .finally(() => { - store.isLoad++ + store.isLoad++; }); } }; @@ -770,6 +770,7 @@ const clickEditRow = () => { */ const clickHistory = async (row: RequestItemsObject) => { modalHistory.value = true; + filterHistory.value = ""; showLoader(); await http .get(config.API.profileNopaidHisId(row.id)) diff --git a/src/modules/04_registry/components/Salary.vue b/src/modules/04_registry/components/Salary.vue index 36c830603..fafd041d7 100644 --- a/src/modules/04_registry/components/Salary.vue +++ b/src/modules/04_registry/components/Salary.vue @@ -2249,6 +2249,7 @@ const clickEditRowRef = () => { */ const clickHistory = async (row: RequestItemsObject) => { modalHistory.value = true; + filterHistory.value = ""; showLoader(); await http .get(config.API.profileSalaryHisId(row.id)) diff --git a/src/modules/04_registry/components/SalaryEmployee.vue b/src/modules/04_registry/components/SalaryEmployee.vue index 6b8b38ba7..d4ed7f39b 100644 --- a/src/modules/04_registry/components/SalaryEmployee.vue +++ b/src/modules/04_registry/components/SalaryEmployee.vue @@ -1989,6 +1989,7 @@ const clickEditRowRef = () => { */ const clickHistory = async (row: RequestItemsEmployee) => { modalHistory.value = true; + filterHistory.value = ""; showLoader(); await http .get(config.API.profileSalaryEmployeeHisId(row.id)) diff --git a/src/modules/04_registry/components/SalaryEmployeeTemp.vue b/src/modules/04_registry/components/SalaryEmployeeTemp.vue index f5f303b8d..d0d760dc6 100644 --- a/src/modules/04_registry/components/SalaryEmployeeTemp.vue +++ b/src/modules/04_registry/components/SalaryEmployeeTemp.vue @@ -2017,6 +2017,7 @@ const clickEditRowRef = () => { */ const clickHistory = async (row: RequestItemsEmployee) => { modalHistory.value = true; + filterHistory.value = ""; showLoader(); await http .get(config.API.profileSalaryEmployeeHisId(row.id)) diff --git a/src/modules/04_registry/components/Talent.vue b/src/modules/04_registry/components/Talent.vue index 1a0550239..59be110a5 100644 --- a/src/modules/04_registry/components/Talent.vue +++ b/src/modules/04_registry/components/Talent.vue @@ -37,9 +37,8 @@ icon="mdi-history" @click="clickHistory(props.row)" > - ประวัติแก้ไขความสามารถพิเศษ - - + ประวัติแก้ไขความสามารถพิเศษ + @@ -53,9 +52,7 @@ -
+
{ messageError($q, e); }) .finally(() => { - store.isLoad++ + store.isLoad++; }); } }; @@ -636,6 +633,7 @@ const clickEditRow = () => { */ const clickHistory = async (row: RequestItemsObject) => { modalHistory.value = true; + filterHistory.value = ""; showLoader(); await http .get(config.API.profileAbiliHisId(row.id)) diff --git a/src/modules/04_registry/components/Train.vue b/src/modules/04_registry/components/Train.vue index afb78c4d6..b91b5678b 100644 --- a/src/modules/04_registry/components/Train.vue +++ b/src/modules/04_registry/components/Train.vue @@ -1069,6 +1069,7 @@ const clickEditRow = () => { */ const clickHistory = async (row: RequestItemsObject) => { modalHistory.value = true; + filterHistory.value = ""; showLoader(); await http .get(config.API.profileTrainHisId(row.id)) diff --git a/src/modules/04_registry/components/Work.vue b/src/modules/04_registry/components/Work.vue index b3e6032bb..c32d4d136 100644 --- a/src/modules/04_registry/components/Work.vue +++ b/src/modules/04_registry/components/Work.vue @@ -47,9 +47,8 @@ icon="mdi-history" @click="clickHistory(props.row)" > - ประวัติแก้ไขปฏิบัติราชการพิเศษ - - + ประวัติแก้ไขปฏิบัติราชการพิเศษ + @@ -63,9 +62,7 @@ -
+
{ messageError($q, e); }) .finally(() => { - store.isLoad++ + store.isLoad++; }); } }; @@ -851,6 +848,7 @@ const clickEditRow = () => { */ const clickHistory = async (row: RequestItemsObject) => { modalHistory.value = true; + filterHistory.value = ""; showLoader(); await http .get(config.API.profileDutyHisId(row.id))