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="`${'ประเภทคำสั่ง'}`" />