update เกษียณ + ปิด route หน้ารายละเอียดถึงแก่กรรม
This commit is contained in:
parent
d08b3625f3
commit
97b5e63813
4 changed files with 36 additions and 39 deletions
|
|
@ -2,7 +2,7 @@
|
|||
import { ref } from "vue";
|
||||
import type { QTableProps } from "quasar";
|
||||
import { useRouter } from "vue-router";
|
||||
const router = useRouter();
|
||||
// const router = useRouter();
|
||||
const pagination = ref({
|
||||
sortBy: "desc",
|
||||
descending: false,
|
||||
|
|
@ -187,7 +187,7 @@ const columns = ref<QTableProps["columns"]>([
|
|||
</q-tr>
|
||||
</template>
|
||||
<template v-slot:body="props">
|
||||
<q-tr :props="props" class="cursor-pointer" @click=" router.push(`/retirement/resign/${props.rowIndex + 1}`)">
|
||||
<q-tr :props="props" class="cursor-pointer">
|
||||
<!-- <q-td key="no" :props="props">
|
||||
{{ props.rowIndex + 1 }}
|
||||
</q-td> -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue