แก้วินัย

This commit is contained in:
STW_TTTY\stwtt 2024-06-27 12:57:21 +07:00
parent aafef60aab
commit 2714af5a4c

View file

@ -112,7 +112,7 @@ const columns = ref<QTableProps["columns"]>([
{
name: "unStigma",
align: "left",
label: "ล้างมลทิน",
label: "ประเภทคำสั่ง",
sortable: true,
field: "unStigma",
headerStyle: "font-size: 14px",
@ -156,52 +156,44 @@ const modalHistory = ref<boolean>(false);
const id = ref<string>("");
const Ops = ref<DisciplineOps>({
const Ops = ref<any>({
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<DisciplineOps>({
const OpsFilter = ref<any>({
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="`${'ประเภทคำสั่ง'}`"
/>
</div>
<div class="col-xs-12 col-sm-6 col-md-6">