diff --git a/src/modules/06_retirement/components/resign/Resign.vue b/src/modules/06_retirement/components/resign/Resign.vue
index 25ff5e9bf..d90b49741 100644
--- a/src/modules/06_retirement/components/resign/Resign.vue
+++ b/src/modules/06_retirement/components/resign/Resign.vue
@@ -154,13 +154,11 @@ const resetFilter = () => {
filterRef.value.focus();
};
-const openModalOrder = () => {
+const openModalOrder = async () => {
openModal();
- const row = filters.value.filter(
+ const row = await filters.value.filter(
(r: ResponseItems) =>
- (r.status == "WAITTING" ||
- r.status == "PENDING" ||
- r.status == "APPROVE") &&
+ (r.status == "REJECT" || r.status == "APPROVE") &&
r.organizationPositionOld &&
r.positionTypeOld &&
r.positionLevelOld &&
@@ -236,66 +234,28 @@ const pagination = ref({
-
+
ส่งไปออกคำสั่งลาออก
-
+
-
+
-
+
-
+
@@ -304,11 +264,7 @@ const pagination = ref({
-
+
{{ props.rowIndex + 1 }}
@@ -347,12 +303,7 @@ const pagination = ref({
-
+
diff --git a/src/modules/10_order/components/step/step04.vue b/src/modules/10_order/components/step/step04.vue
index d8da9750a..da4c7e248 100644
--- a/src/modules/10_order/components/step/step04.vue
+++ b/src/modules/10_order/components/step/step04.vue
@@ -77,7 +77,8 @@ const getCommandDetail = async () => {
code.value != "c-pm-19" &&
code.value != "c-pm-20" &&
code.value != "c-pm-21" &&
- code.value != "c-pm-22"
+ code.value != "c-pm-22" &&
+ code.value != "c-pm-23"
) {
fetchReportAttachment("pdf", orderId.value);
}
@@ -274,7 +275,8 @@ const saveUpload = () => {
code.value != "c-pm-19" &&
code.value != "c-pm-20" &&
code.value != "c-pm-21" &&
- code.value != "c-pm-22"
+ code.value != "c-pm-22" &&
+ code.value != "c-pm-23"
) {
await postfileTailer();
}
@@ -309,7 +311,8 @@ const saveDetail = () => {
code.value != "c-pm-19" &&
code.value != "c-pm-20" &&
code.value != "c-pm-21" &&
- code.value != "c-pm-22"
+ code.value != "c-pm-22" &&
+ code.value != "c-pm-23"
) {
// ดึงรายงานในส่วนของแนบท้ายมาใหม่
await fetchReportAttachment("pdf", orderId.value);
@@ -408,6 +411,7 @@ const validateFormUpload = () => {
code.value != "c-pm-20" &&
code.value != "c-pm-21" &&
code.value != "c-pm-22" &&
+ code.value != "c-pm-23" &&
fileOrder.value !== null &&
fileTailer.value !== null
) {
@@ -508,7 +512,8 @@ const viewFileUpload = async (url: string) => {
code != 'c-pm-19' &&
code != 'c-pm-20' &&
code != 'c-pm-21' &&
- code != 'c-pm-22'
+ code != 'c-pm-22' &&
+ code != 'c-pm-23'
"
@click="setTab('second')"
:class="getClass(tab == 'second')"
@@ -688,7 +693,8 @@ const viewFileUpload = async (url: string) => {
code != 'c-pm-19' &&
code != 'c-pm-20' &&
code != 'c-pm-21' &&
- code != 'c-pm-22'
+ code != 'c-pm-22' &&
+ code != 'c-pm-23'
"
>