updated registry

This commit is contained in:
Warunee Tamkoo 2024-08-13 11:22:48 +07:00
parent fd1f6a93d2
commit 64a9971665
26 changed files with 125 additions and 116 deletions

View file

@ -40,6 +40,7 @@ const {
date2Thai,
dateToISO,
dialogMessageNotify,
pathRegistryEmp,
} = useCounterMixin();
/** ถึงเเก่กรรม */
@ -53,9 +54,7 @@ const reasonDeath = ref("");
const dialogImage = ref<boolean>(false);
const profileId = ref<string>(route.params.id.toString());
const empType = ref<string>(
route.name === "registryNewByid" ? "" : "-employee"
);
const empType = ref<string>(pathRegistryEmp(route.name?.toString() ?? ""));
const formDetail = ref<ResponseObject>();
const itemsMenu = ref<DataOption[]>([