แก้ไขการส่งค่าไปยังหน้ารายละเอียดของ การลา
This commit is contained in:
parent
36539b2274
commit
48eb9ebb6c
5 changed files with 21 additions and 5 deletions
|
|
@ -18,7 +18,7 @@ const paramsId = route.params.id;
|
|||
class="q-mr-sm"
|
||||
@click="router.push(`/leave-list`)"
|
||||
/>
|
||||
รายละเอียดการลาของ {{ paramsId }}
|
||||
รายละเอียดการลาของ นายปิยรมย์ ศิริธาราฟ
|
||||
</div>
|
||||
<div>
|
||||
<q-btn
|
||||
|
|
@ -56,7 +56,7 @@ const paramsId = route.params.id;
|
|||
</div>
|
||||
<div class="col-12 row">
|
||||
<div class="col-xs-5 col-sm-3 text-grey-8">ชื่อ - นามสกุล</div>
|
||||
<div class="col text-weight-medium">{{ paramsId }}</div>
|
||||
<div class="col text-weight-medium">นายปิยรมย์ ศิริธาราฟ</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-7 row">
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ const paginationLabel = (start: string, end: string, total: string) => {
|
|||
v-for="col in props.cols"
|
||||
:key="col.name"
|
||||
:props="props"
|
||||
@click.prevent="router.push(`/leave/detail/${props.row.name}`)"
|
||||
@click.prevent="router.push(`/leave/detail/${props.row.id}`)"
|
||||
>
|
||||
<div v-if="col.name == 'no'">
|
||||
{{ props.rowIndex + 1 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue