แก้ไขสถานะในหน้ารอบการเสนอขอ
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",
|
name: "statusRoyal",
|
||||||
align: "center",
|
align: "center",
|
||||||
label: "สถานะราชกิจจานุเบกษา",
|
label: "สถานะ",
|
||||||
sortable: false,
|
sortable: false,
|
||||||
field: "statusRoyal",
|
field: "statusRoyal",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
|
|
@ -108,6 +108,7 @@ const fetchData = async () => {
|
||||||
period_isActive: e.period_isActive,
|
period_isActive: e.period_isActive,
|
||||||
period_doc: e.period_doc,
|
period_doc: e.period_doc,
|
||||||
period_status: e.period_status.result,
|
period_status: e.period_status.result,
|
||||||
|
statusRoyal: 'กำลังดำเนินการ'
|
||||||
}));
|
}));
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
|
|
@ -311,6 +312,13 @@ const paginationLabel = (start: string, end: string, total: string) => {
|
||||||
>
|
>
|
||||||
{{ props.row.period_end }}
|
{{ props.row.period_end }}
|
||||||
</q-td>
|
</q-td>
|
||||||
|
<q-td
|
||||||
|
key="statusRoyal"
|
||||||
|
:props="props"
|
||||||
|
@click="clickEdit(props.row)"
|
||||||
|
>
|
||||||
|
{{ props.row.statusRoyal }}
|
||||||
|
</q-td>
|
||||||
<q-td
|
<q-td
|
||||||
key="period_isActive"
|
key="period_isActive"
|
||||||
:props="props"
|
:props="props"
|
||||||
|
|
@ -331,22 +339,6 @@ const paginationLabel = (start: string, end: string, total: string) => {
|
||||||
@click="clickEdit(props.row)"
|
@click="clickEdit(props.row)"
|
||||||
/>
|
/>
|
||||||
</q-td>
|
</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-td auto-width>
|
||||||
<q-btn
|
<q-btn
|
||||||
dense
|
dense
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue