diff --git a/src/modules/11_discipline/components/3_InvestigateDisciplinary/AddPage.vue b/src/modules/11_discipline/components/3_InvestigateDisciplinary/AddPage.vue index cd7bf8b3f..e580bdcc8 100644 --- a/src/modules/11_discipline/components/3_InvestigateDisciplinary/AddPage.vue +++ b/src/modules/11_discipline/components/3_InvestigateDisciplinary/AddPage.vue @@ -1,186 +1,20 @@ diff --git a/src/modules/11_discipline/components/3_InvestigateDisciplinary/EditPage.vue b/src/modules/11_discipline/components/3_InvestigateDisciplinary/EditPage.vue new file mode 100644 index 000000000..2ac857a68 --- /dev/null +++ b/src/modules/11_discipline/components/3_InvestigateDisciplinary/EditPage.vue @@ -0,0 +1,82 @@ + + diff --git a/src/modules/11_discipline/components/3_InvestigateDisciplinary/Form.vue b/src/modules/11_discipline/components/3_InvestigateDisciplinary/Form.vue new file mode 100644 index 000000000..4695b18d6 --- /dev/null +++ b/src/modules/11_discipline/components/3_InvestigateDisciplinary/Form.vue @@ -0,0 +1,644 @@ + + diff --git a/src/modules/11_discipline/components/3_InvestigateDisciplinary/MainPage.vue b/src/modules/11_discipline/components/3_InvestigateDisciplinary/MainPage.vue index 9c37939f6..2a63f431b 100644 --- a/src/modules/11_discipline/components/3_InvestigateDisciplinary/MainPage.vue +++ b/src/modules/11_discipline/components/3_InvestigateDisciplinary/MainPage.vue @@ -21,6 +21,7 @@ const initialPagination = ref({ onMounted(async () => { fecthList([ { + id:'001', subject: "ทุจริตในหน้าที่", interrogated: "ศิรินภา คงน้อยี่", fault: "1", @@ -31,6 +32,7 @@ onMounted(async () => { active: "2", }, { + id:'002', subject: "ทุจริตในหน้าที่", interrogated: "ภัทรานุช คงน้อย", fault: "1", @@ -41,6 +43,7 @@ onMounted(async () => { active: "0", }, { + id:'003', subject: "กระทำทุจริตเงินกองทุน", interrogated: "ปรมาพร ศรีมี", fault: "2", @@ -51,6 +54,7 @@ onMounted(async () => { active: "1", }, { + id:'004', subject: "พูดจาไม่สุภาพ", interrogated: "สมรัก ใจอารีย์", fault: "2", @@ -67,6 +71,10 @@ onMounted(async () => { const clickAdd = () => { router.push(`/discipline/InvestigateDisciplinary/add`); }; +function openEdit(id:string) { + console.log(id) + router.push(`/discipline/disciplinary/${id}`) +}