แก้ path หน้า ทะเบียนประวัติลูกจ้าง

This commit is contained in:
AnandaTon 2023-07-28 16:57:00 +07:00
parent bc9a5fc6ef
commit 51c4c777e5
4 changed files with 4 additions and 1138 deletions

View file

@ -47,7 +47,7 @@ export default [
},
},
{
path: "/registryEmployee/edit/:Id",
path: "/registryEmployee/edit/:id",
name: "registryEmployeeEdit",
component: EditDetail,
meta: {

View file

@ -137,11 +137,9 @@
<div class="row items-center text-dark q-ml-md">
<div class="column">
<div class="text-bold q-pb-xs text-name">
{{ "แก้ไข้ข้อมูลทะเบียนประวัติลูกจ้างชั่วคราว" }}
</div>
<div class="text-bold q-pb-xs text-sub">
{{ "ลูกจ้างชั่วคราว" }}
{{ fullname }}{{ leaveReason }}
</div>
<div>{{ position }}</div>
</div>
</div>
<q-space />

View file

@ -1355,7 +1355,7 @@ const clickAdd = () => {
//
const redirectToPage = (id?: string) => {
router.push(`/registry/${id}`);
router.push(`/registryEmployee/edit/${id}`);
};
const editDetail = async (row: any) => {
await getPosition(row.id);