Merge branch 'develop' into nice_dev
This commit is contained in:
commit
81dce84c1b
4 changed files with 290 additions and 1015 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
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ const checkboxData = ref<any>([
|
|||
{ id: 1, name: "มีโทษทางวินัย", val: true },
|
||||
{
|
||||
id: 2,
|
||||
name: "ไม่ได้เลื่อนเงินเดือน/ไม่ได้เลื่อนขั้นเงินเดือน เนื่องจากลาเกิน",
|
||||
name: "ไม่ได้เลื่อนเงินเดือน/ไม่ได้เลื่อนขั้น เนื่องจากลาเกิน",
|
||||
val: false,
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue