แก้ไข /เพิ่ม ui insignia (เจ้าหน้าที่กลาง)

This commit is contained in:
AnandaTon 2023-08-04 13:48:56 +07:00
parent c752bfede6
commit b124da1448
11 changed files with 2428 additions and 84 deletions

View file

@ -110,6 +110,20 @@
class="text-h5"
/>
</q-td>
<q-td key="statusRoyal" :props="props">
<q-icon
v-if="props.row.statusRoyal == 'ยังไม่ได้เสนอ'"
name="mdi-timer-sand"
color="orange"
class="text-h5"
/>
<q-icon
v-else
name="mdi-check"
color="positive"
class="text-h5"
/>
</q-td>
<q-td auto-width>
<q-btn
dense
@ -178,6 +192,7 @@ const visibleColumns = ref<string[]>([
"startDate",
"endDate",
"status",
"statusRoyal",
]); //
//
@ -227,6 +242,15 @@ const columns = ref<QTableProps["columns"]>([
headerStyle: "font-size: 14px",
style: "font-size: 14px",
},
{
name: "statusRoyal",
align: "center",
label: "สถานะราชกิจจานุเบกษา",
sortable: true,
field: "institution",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
},
]);
// ()
@ -237,6 +261,7 @@ const rows = ref<FormProprsalsRound[]>([
startDate: "2566",
endDate: "31 พ.ค. 2566",
status: "เสนอเเล้ว",
statusRoyal: "เสนอเเล้ว",
},
{
round: "รอบการเสนอขอพระราชทานเครื่องราชฯ",
@ -244,6 +269,7 @@ const rows = ref<FormProprsalsRound[]>([
startDate: "2566",
endDate: "31 พ.ค. 2566",
status: "เสนอเเล้ว",
statusRoyal: "เสนอเเล้ว",
},
{
round: "รอบการเสนอขอพระราชทานเครื่องราชฯ",
@ -251,6 +277,7 @@ const rows = ref<FormProprsalsRound[]>([
startDate: "2566",
endDate: "31 พ.ค. 2566",
status: "เสนอเเล้ว",
statusRoyal: "เสนอเเล้ว",
},
{
round: "รอบการเสนอขอพระราชทานเครื่องราชฯ",
@ -258,6 +285,7 @@ const rows = ref<FormProprsalsRound[]>([
startDate: "2566",
endDate: "31 พ.ค. 2566",
status: "ยังไม่ได้เสนอ",
statusRoyal: "ยังไม่ได้เสนอ",
},
{
round: "รอบการเสนอขอพระราชทานเครื่องราชฯ",
@ -265,6 +293,7 @@ const rows = ref<FormProprsalsRound[]>([
startDate: "2566",
endDate: "31 พ.ค. 2566",
status: "เสนอเเล้ว",
statusRoyal: "ยังไม่ได้เสนอ",
},
]);