แก้ไขสถานะในหน้ารอบการเสนอขอ
This commit is contained in:
parent
29f1745d9b
commit
ced8a9c61f
1 changed files with 9 additions and 17 deletions
|
|
@ -75,7 +75,7 @@ const columns = ref<QTableProps["columns"]>([
|
|||
{
|
||||
name: "statusRoyal",
|
||||
align: "center",
|
||||
label: "สถานะราชกิจจานุเบกษา",
|
||||
label: "สถานะ",
|
||||
sortable: false,
|
||||
field: "statusRoyal",
|
||||
headerStyle: "font-size: 14px",
|
||||
|
|
@ -108,6 +108,7 @@ const fetchData = async () => {
|
|||
period_isActive: e.period_isActive,
|
||||
period_doc: e.period_doc,
|
||||
period_status: e.period_status.result,
|
||||
statusRoyal: 'กำลังดำเนินการ'
|
||||
}));
|
||||
})
|
||||
.catch((e) => {
|
||||
|
|
@ -311,6 +312,13 @@ const paginationLabel = (start: string, end: string, total: string) => {
|
|||
>
|
||||
{{ props.row.period_end }}
|
||||
</q-td>
|
||||
<q-td
|
||||
key="statusRoyal"
|
||||
:props="props"
|
||||
@click="clickEdit(props.row)"
|
||||
>
|
||||
{{ props.row.statusRoyal }}
|
||||
</q-td>
|
||||
<q-td
|
||||
key="period_isActive"
|
||||
:props="props"
|
||||
|
|
@ -331,22 +339,6 @@ const paginationLabel = (start: string, end: string, total: string) => {
|
|||
@click="clickEdit(props.row)"
|
||||
/>
|
||||
</q-td>
|
||||
<q-td key="statusRoyal" :props="props">
|
||||
<q-icon
|
||||
v-if="props.row.statusRoyal == 'ยังไม่ได้เสนอ'"
|
||||
name="mdi-timer-sand"
|
||||
color="orange"
|
||||
class="text-h5"
|
||||
@click="clickEdit(props.row)"
|
||||
/>
|
||||
<q-icon
|
||||
v-else
|
||||
name="mdi-check"
|
||||
color="positive"
|
||||
class="text-h5"
|
||||
@click="clickEdit(props.row)"
|
||||
/>
|
||||
</q-td>
|
||||
<q-td auto-width>
|
||||
<q-btn
|
||||
dense
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue