fix report โครงสร้าง ลูกจ้าง
This commit is contained in:
parent
409b58c82c
commit
344ecd4424
4 changed files with 28 additions and 23 deletions
|
|
@ -36,12 +36,12 @@ const modalPersonal = ref<boolean>(false);
|
|||
|
||||
const profileId = ref<string | null>("");
|
||||
|
||||
function fetchDataProfile(data: DataProfile) {
|
||||
async function fetchDataProfile(data: DataProfile) {
|
||||
if (data.profileId) {
|
||||
fetchCheckAvatar(data.profileId);
|
||||
}
|
||||
profile.id = data.profileId;
|
||||
profile.fullName = `${data.prefix ?? ""}${data.firstName ?? ""} ${
|
||||
profile.fullName = `${data.rank ? data.rank : data.prefix ?? ""}${data.firstName ?? ""} ${
|
||||
data.lastName ?? ""
|
||||
} `;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue