diff --git a/src/modules/07_insignia/components/2_Manage/Tab1.vue b/src/modules/07_insignia/components/2_Manage/Tab1.vue index 7e9775fbf..6e3c4f072 100644 --- a/src/modules/07_insignia/components/2_Manage/Tab1.vue +++ b/src/modules/07_insignia/components/2_Manage/Tab1.vue @@ -255,9 +255,11 @@ const changtypeOc = () => { }; // เพิ่มราชชื่อ const clickmodalAdd = () => { + let ocId = DataStore.typeOc ? DataStore.typeOc : DataStore.agency; showLoader(); fecthInsignia(); - fecthlistperson(DataStore.typeOc); + fecthlistperson(ocId); + insigniaType.value = ""; }; // เรียกรายชื่อข้าราชการตามหน่วยงานที่จะเพิ่ม @@ -421,15 +423,12 @@ const closemodelPopupReject = () => { }; // ยืนยัน การไม่ยืนขอ const savaReasonReject = (reason: string) => { - dialogConfirm( - $q, - async () => { - await listreject(rowid.value, reason); - if (props.fecthStat) { - await props.fecthStat(DataStore.roundId); - } - }, - ); + dialogConfirm($q, async () => { + await listreject(rowid.value, reason); + if (props.fecthStat) { + await props.fecthStat(DataStore.roundId); + } + }); }; // ยืนยัน การไม่ยืนขอ API const listreject = async (profileId: string, reason: string) => { @@ -788,10 +787,7 @@ const closeModalEdit = () => { > - + { >แก้ไขเครื่องราชฯ ที่ยื่นขอ - + { ไม่ยื่นขอ - +