From 2714af5a4c1ac0121aa645e8c21cf2cea12cdfab Mon Sep 17 00:00:00 2001 From: "STW_TTTY\\stwtt" Date: Thu, 27 Jun 2024 12:57:21 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B8=A7=E0=B8=B4?= =?UTF-8?q?=E0=B8=99=E0=B8=B1=E0=B8=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../GovernmentInformation/02_Discipline.vue | 56 ++++++++----------- 1 file changed, 24 insertions(+), 32 deletions(-) diff --git a/src/modules/04_registryNew/components/detail/GovernmentInformation/02_Discipline.vue b/src/modules/04_registryNew/components/detail/GovernmentInformation/02_Discipline.vue index 4a0c26983..b106ae4aa 100644 --- a/src/modules/04_registryNew/components/detail/GovernmentInformation/02_Discipline.vue +++ b/src/modules/04_registryNew/components/detail/GovernmentInformation/02_Discipline.vue @@ -112,7 +112,7 @@ const columns = ref([ { name: "unStigma", align: "left", - label: "ล้างมลทิน", + label: "ประเภทคำสั่ง", sortable: true, field: "unStigma", headerStyle: "font-size: 14px", @@ -156,52 +156,44 @@ const modalHistory = ref(false); const id = ref(""); -const Ops = ref({ +const Ops = ref({ levelOptions: [ + { id: "0", name: "ไม่ร้ายแรง", disable: true }, + { id: "ภาคทัณฑ์", name: "ภาคทัณฑ์", disable: false }, { - name: "ภาคทัณฑ์", - id: "ภาคทัณฑ์", - }, - { - name: "ตัดเงินเดือน", id: "ตัดเงินเดือน", + name: "ตัดเงินเดือน", + disable: false, }, { - name: "ลดขั้นเงินเดือน", id: "ลดขั้นเงินเดือน", + name: "ลดขั้นเงินเดือน", + disable: false, }, - { - name: "ปลดออก", - id: "ปลดออก", - }, - { - name: "ไล่ออก", - id: "ไล่ออก", - }, + { id: "4", name: "ร้ายแรง", disable: true }, + { id: "ปลดออก", name: "ปลดออก", disable: false }, + { id: "ไล่ออก", name: "ไล่ออก", disable: false }, + { id: "อื่นๆ", name: "อื่นๆ", disable: false }, ], }); -const OpsFilter = ref({ +const OpsFilter = ref({ levelOptions: [ + { id: "0", name: "ไม่ร้ายแรง", disable: true }, + { id: "ภาคทัณฑ์", name: "ภาคทัณฑ์", disable: false }, { - name: "ภาคทัณฑ์", - id: "ภาคทัณฑ์", - }, - { - name: "ตัดเงินเดือน", id: "ตัดเงินเดือน", + name: "ตัดเงินเดือน", + disable: false, }, { - name: "ลดขั้นเงินเดือน", id: "ลดขั้นเงินเดือน", + name: "ลดขั้นเงินเดือน", + disable: false, }, - { - name: "ปลดออก", - id: "ปลดออก", - }, - { - name: "ไล่ออก", - id: "ไล่ออก", - }, + { id: "4", name: "ร้ายแรง", disable: true }, + { id: "ปลดออก", name: "ปลดออก", disable: false }, + { id: "ไล่ออก", name: "ไล่ออก", disable: false }, + { id: "อื่นๆ", name: "อื่นๆ", disable: false }, ], }); @@ -676,7 +668,7 @@ onMounted(async () => { dense v-model="disciplineData.unStigma" hide-bottom-space - :label="`${'ล้างมลทิน'}`" + :label="`${'ประเภทคำสั่ง'}`" />