diff --git a/src/modules/04_registryPerson/components/detail/Achievement/03_Insignia.vue b/src/modules/04_registryPerson/components/detail/Achievement/03_Insignia.vue
index 79625fc77..5425f40b0 100644
--- a/src/modules/04_registryPerson/components/detail/Achievement/03_Insignia.vue
+++ b/src/modules/04_registryPerson/components/detail/Achievement/03_Insignia.vue
@@ -860,7 +860,7 @@ onMounted(async () => {
icon="edit"
@click="onClickOpenDialog(true, props.row)"
>
- แก่ไขข้อมุล
+ แก้ไขข้อมูล
{
icon="edit"
@click="onClickOpenDialog(true, props.row)"
>
- แก่ไขข้อมุล
+ แก้ไขข้อมูล
{
แก้ไขข้อมูล
{
flat
round
@click="openDialogHistory(props.row.id)"
- >ประวิติแก้ไขวินัย
+ ประวิติแก้ไขวินัย
+
{
flat
round
@click="openDialogEdit(props.row)"
- >แก้ไข
+ แก้ไข
+
+
+ ลบข้อมูล
+
diff --git a/src/modules/04_registryPerson/components/detail/GovernmentInformation/03_Leave.vue b/src/modules/04_registryPerson/components/detail/GovernmentInformation/03_Leave.vue
index d54610eda..65800bf1f 100644
--- a/src/modules/04_registryPerson/components/detail/GovernmentInformation/03_Leave.vue
+++ b/src/modules/04_registryPerson/components/detail/GovernmentInformation/03_Leave.vue
@@ -476,7 +476,7 @@ function clickEditRowType() {
}
}
-function f(id: string) {
+function handleDelete(id: string) {
// dialogRemove($q, async () => {
// showLoader();
// try {
@@ -615,7 +615,7 @@ onMounted(() => {
แก้ไขข้อมูล
{
flat
round
@click="openDialogHistory(props.row.id)"
- >ประวิติแก้ไขการลา
+ ประวิติแก้ไขการลา
+
{
flat
round
@click="openDialogEdit(props.row)"
- >แก้ไขข้อมูล
+ แก้ไขข้อมูล
+
+
+ ลบข้อมูล
+
diff --git a/src/modules/04_registryPerson/components/detail/GovernmentInformation/04_PerformSpecialWork.vue b/src/modules/04_registryPerson/components/detail/GovernmentInformation/04_PerformSpecialWork.vue
index f81d07ba2..1f20d23f0 100644
--- a/src/modules/04_registryPerson/components/detail/GovernmentInformation/04_PerformSpecialWork.vue
+++ b/src/modules/04_registryPerson/components/detail/GovernmentInformation/04_PerformSpecialWork.vue
@@ -51,7 +51,7 @@ const isLeave = defineModel("isLeave", {
const id = ref(""); //id ที่ต้องการแก้ไข
const modal = ref(false); //แสดง popup ข้อมูลปฏิบัติราชการพิเศษ
const modalHistory = ref(false); //แสดง popup ประวัติการแก้ไขข้อมูลปฏิบัติราชการพิเศษ
-const edit = ref(false); //สถานะการแก่ไข
+const edit = ref(false); //สถานะการแก้ไข
//ฟอร์มข้อมูลปฏิบัติราชการพิเศษ
const dutyData = reactive({
profileId: profileId.value,
@@ -588,7 +588,7 @@ onMounted(() => {
แก้ไขข้อมูล
{
flat
round
@click="openDialogHistory(props.row.id)"
- >ประวัติแก้ไขปฏิบัติราชการพิเศษ
+ >
+ ประวัติแก้ไขปฏิบัติราชการพิเศษ
{
flat
round
@click="openDialogEdit(props.row)"
- >แก้ไขข้อมูล
+ >
+ แก้ไขข้อมูล
+
+
+ ลบข้อมูล
diff --git a/src/modules/04_registryPerson/components/detail/GovernmentInformation/06_HelpGovernment.vue b/src/modules/04_registryPerson/components/detail/GovernmentInformation/06_HelpGovernment.vue
index 08dbbca94..15f2a0f5d 100644
--- a/src/modules/04_registryPerson/components/detail/GovernmentInformation/06_HelpGovernment.vue
+++ b/src/modules/04_registryPerson/components/detail/GovernmentInformation/06_HelpGovernment.vue
@@ -224,8 +224,8 @@ async function fetchData() {
.get(config.API.profileAssistance(empType.value, profileId.value))
.then((res) => {
const data = res.data.result;
- rows.value = data;
rowsMain.value = data;
+ serchDataTable();
})
.catch((err) => {
messageError($q, err);
@@ -600,7 +600,11 @@ onMounted(() => {
{
>
ส่งตัวกลับ
+
+
+ ลบข้อมูล
+
diff --git a/src/modules/04_registryPerson/components/detail/GovernmentInformation/07_Position.vue b/src/modules/04_registryPerson/components/detail/GovernmentInformation/07_Position.vue
index 33d3c77ee..67062edde 100644
--- a/src/modules/04_registryPerson/components/detail/GovernmentInformation/07_Position.vue
+++ b/src/modules/04_registryPerson/components/detail/GovernmentInformation/07_Position.vue
@@ -616,7 +616,7 @@ async function fetchDataTenure() {
/**
* function เลือกประเภทตำแหน่ง
* @param val id ประเภทตำแหน่ง
- * @param status แก่ไข , เพิ่ม
+ * @param status แก้ไข , เพิ่ม
*/
async function updateSelectType(val: string, status: boolean = false) {
const listLevel = val
diff --git a/src/modules/04_registryPerson/components/detail/Other/01_OtherInformation.vue b/src/modules/04_registryPerson/components/detail/Other/01_OtherInformation.vue
index d217c213f..e27a81761 100644
--- a/src/modules/04_registryPerson/components/detail/Other/01_OtherInformation.vue
+++ b/src/modules/04_registryPerson/components/detail/Other/01_OtherInformation.vue
@@ -162,7 +162,7 @@ function openDialogHistory(idOrder: string) {
modalHistory.value = true;
}
-/** ฟังก์ชันดึงข้อมูลประวัติการแก่ไขข้อมูล*/
+/** ฟังก์ชันดึงข้อมูลประวัติการแก้ไขข้อมูล*/
async function fetchDataHistory() {
showLoader();
try {
diff --git a/src/modules/04_registryPerson/components/detail/PersonalInformation/01_Profile.vue b/src/modules/04_registryPerson/components/detail/PersonalInformation/01_Profile.vue
index 439bbd7c7..bf789c201 100644
--- a/src/modules/04_registryPerson/components/detail/PersonalInformation/01_Profile.vue
+++ b/src/modules/04_registryPerson/components/detail/PersonalInformation/01_Profile.vue
@@ -59,7 +59,7 @@ const modal = ref(false); // แสดงฟอร์มแก้ไข
const informaData = ref(); // ข้อมูลส่วนคัว
const modalHistory = ref(false); // แสดงช้อมูลรายการประวัติการแก้ไข
const age = ref(""); //อายุ
-const formData = reactive(store.defaultProfile); //ฟอร์มข้อมูลการแก่้ไข
+const formData = reactive(store.defaultProfile); //ฟอร์มข้อมูลการแก้ไข
const emailVerify = ref("");
/** ข้อมูล Label*/
diff --git a/src/modules/04_registryPerson/components/detail/PersonalInformation/04_FamilyNew.vue b/src/modules/04_registryPerson/components/detail/PersonalInformation/04_FamilyNew.vue
index cebc64b3f..3eda0cf5b 100644
--- a/src/modules/04_registryPerson/components/detail/PersonalInformation/04_FamilyNew.vue
+++ b/src/modules/04_registryPerson/components/detail/PersonalInformation/04_FamilyNew.vue
@@ -367,7 +367,7 @@ function closeDialog() {
/**
* function แก้ไขข้อมูล
* @param type ประเภทของบุคคล
- * @param isStatusEdit สถานะแก่้ไข
+ * @param isStatusEdit สถานะแก้ไข
* @param data ข้อมูลเดิม
*/
function onOpenDialogForm(
diff --git a/src/modules/04_registryPerson/components/detail/PersonalInformation/05_Education.vue b/src/modules/04_registryPerson/components/detail/PersonalInformation/05_Education.vue
index 938e175ad..793b17e1c 100644
--- a/src/modules/04_registryPerson/components/detail/PersonalInformation/05_Education.vue
+++ b/src/modules/04_registryPerson/components/detail/PersonalInformation/05_Education.vue
@@ -753,7 +753,7 @@ onMounted(async () => {
{
ประวัติแก้ไขประวัติการศึกษา
{
>
แก้ไขข้อมูล
+
+
+ ลบข้อมูล
+
diff --git a/src/modules/04_registryPerson/components/detail/PersonalInformation/06_SpecialSkill.vue b/src/modules/04_registryPerson/components/detail/PersonalInformation/06_SpecialSkill.vue
index f5f67a067..b9c7e5355 100644
--- a/src/modules/04_registryPerson/components/detail/PersonalInformation/06_SpecialSkill.vue
+++ b/src/modules/04_registryPerson/components/detail/PersonalInformation/06_SpecialSkill.vue
@@ -546,7 +546,7 @@ onMounted(() => {
{
ประวัติแก้ไขความสามารถพิเศษ
{
>
แก้ไขข้อมูล
+
+
+ ลบข้อมูล
+
diff --git a/src/modules/04_registryPerson/components/detail/Salary/01_PositionSalary.vue b/src/modules/04_registryPerson/components/detail/Salary/01_PositionSalary.vue
index 3a7105c70..46e93dfbe 100644
--- a/src/modules/04_registryPerson/components/detail/Salary/01_PositionSalary.vue
+++ b/src/modules/04_registryPerson/components/detail/Salary/01_PositionSalary.vue
@@ -596,7 +596,7 @@ async function fetchDataOptionExecutive() {
/**
* function เลือกประเภทตำแหน่ง
* @param val id ประเภทตำแหน่ง
- * @param status แก่ไข , เพิ่ม
+ * @param status แก้ไข , เพิ่ม
*/
async function updateSelectType(val: string, status: boolean = false) {
const listLevel = val
diff --git a/src/modules/04_registryPerson/components/detail/Salary/02_NotReceiveSalary.vue b/src/modules/04_registryPerson/components/detail/Salary/02_NotReceiveSalary.vue
index 057479414..64756b5b1 100644
--- a/src/modules/04_registryPerson/components/detail/Salary/02_NotReceiveSalary.vue
+++ b/src/modules/04_registryPerson/components/detail/Salary/02_NotReceiveSalary.vue
@@ -295,8 +295,8 @@ async function getData() {
await http
.get(config.API.profileNewNoPaidByProfileId(profileId.value, empType.value))
.then(async (res) => {
- rows.value = await res.data.result;
rowsMain.value = await res.data.result;
+ serchDataTable();
})
.catch((e) => {
messageError($q, e);
@@ -335,6 +335,21 @@ function serchDataTable() {
);
}
+function handleDelete(id: string) {
+ // dialogRemove($q, async () => {
+ // showLoader();
+ // try {
+ // await http.delete(config.API.profileChangeNameUpdate + `${id}`);
+ // await getData();
+ // success($q, "ลบข้อมูลสำเร็จ");
+ // } catch (err) {
+ // messageError($q, err);
+ // } finally {
+ // hideLoader();
+ // }
+ // });
+}
+
/** ทำงานเมื่อ Components ถูกเรียกใช้งาน */
onMounted(() => {
getData();
@@ -460,6 +475,18 @@ onMounted(() => {
>
แก้ไขข้อมูล
+
+
+ ลบข้อมูล
+
{
icon="edit"
@click="onClickOpenDialog(true, props.row)"
>
- แก่ไขข้อมุล
+ แก้ไขข้อมูล
+
+
+
+ ลบข้อมูล