fix bug เงินเดือน

This commit is contained in:
Warunee Tamkoo 2025-03-31 18:00:16 +07:00
parent 16695daf2c
commit dbb9e5719b

View file

@ -86,7 +86,11 @@ async function fetchProfile(id: string, avatarName: string) {
* function rediract ไปทะเบยนประว * function rediract ไปทะเบยนประว
*/ */
function redirecToRegistry() { function redirecToRegistry() {
router.push(`/registry-officer${props.employeeClass}/${profileId.value}`); router.push(
`/registry${props.employeeClass ? props.employeeClass : "-officer"}/${
profileId.value
}`
);
modal.value = false; modal.value = false;
} }
@ -228,5 +232,4 @@ watch(
</q-dialog> </q-dialog>
</template> </template>
<style scoped> <style scoped></style>
</style>