fix insignia

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-01-07 12:12:45 +07:00
parent dd43246ebe
commit 0fd3e8e893
3 changed files with 10 additions and 5 deletions

View file

@ -853,10 +853,13 @@ const employeeClass = ref<string>("");
* @param id id องการด
*/
function onClickViewInfo(type: string, id: string, empClass: string) {
console.log(empClass);
infoType.value = type;
profileId.value = id;
modalDialogInfo.value = true;
employeeClass.value = empClass === "officer" ? "" : "-employee";
employeeClass.value =
empClass.toLocaleLowerCase() === "officer" ? "" : "-employee";
}
/** Hook*/