แก้ image
This commit is contained in:
parent
3e5788f0f4
commit
ab9c8a34eb
3 changed files with 9 additions and 8 deletions
|
|
@ -317,7 +317,7 @@ export class ProfileController extends Controller {
|
|||
ocFullPath: `${_child4}${_child3}${_child2}${_child1}${_root}`,
|
||||
educations: Education,
|
||||
salarys: salarys,
|
||||
url: ImgUrl ? ImgUrl : `${process.env.VITE_URL_SSO}/assets/avatar_user-89f22423.jpg`,
|
||||
url: ImgUrl ? ImgUrl : `${process.env.VITE_URL_MGT}/assets/avatar_user-89f22423.jpg`,
|
||||
};
|
||||
|
||||
return new HttpSuccess({
|
||||
|
|
@ -754,7 +754,7 @@ export class ProfileController extends Controller {
|
|||
: "",
|
||||
telephone:
|
||||
profiles.telephoneNumber != null ? Extension.ToThaiNumber(profiles.telephoneNumber) : "",
|
||||
url: ImgUrl ? ImgUrl : `${process.env.VITE_URL_SSO}/assets/avatar_user-89f22423.jpg`,
|
||||
url: ImgUrl ? ImgUrl : `${process.env.VITE_URL_MGT}/assets/avatar_user-89f22423.jpg`,
|
||||
url1: _ImgUrl[0] ? _ImgUrl[0] : null,
|
||||
yearUpload1: profiles.profileAvatars[0]
|
||||
? Extension.ToThaiNumber(Extension.ToThaiShortYear(profiles.profileAvatars[0].createdAt))
|
||||
|
|
|
|||
|
|
@ -284,7 +284,7 @@ export class ProfileEmployeeController extends Controller {
|
|||
: "-",
|
||||
ocFullPath: `${_child4}${_child3}${_child2}${_child1}${_root}`,
|
||||
educations: Education,
|
||||
url: ImgUrl ? ImgUrl : `${process.env.VITE_URL_SSO}/assets/avatar_user-89f22423.jpg`,
|
||||
url: ImgUrl ? ImgUrl : `${process.env.VITE_URL_MGT}/assets/avatar_user-89f22423.jpg`,
|
||||
};
|
||||
|
||||
return new HttpSuccess({
|
||||
|
|
@ -722,7 +722,7 @@ export class ProfileEmployeeController extends Controller {
|
|||
: "",
|
||||
telephone:
|
||||
profiles.telephoneNumber != null ? Extension.ToThaiNumber(profiles.telephoneNumber) : "",
|
||||
url: ImgUrl ? ImgUrl : `${process.env.VITE_URL_SSO}/assets/avatar_user-89f22423.jpg`,
|
||||
url: ImgUrl ? ImgUrl : `${process.env.VITE_URL_MGT}/assets/avatar_user-89f22423.jpg`,
|
||||
url1: _ImgUrl[0] ? _ImgUrl[0] : null,
|
||||
yearUpload1: profiles.profileAvatars[0]
|
||||
? Extension.ToThaiNumber(Extension.ToThaiShortYear(profiles.profileAvatars[0].createdAt))
|
||||
|
|
@ -2153,9 +2153,10 @@ export class ProfileEmployeeController extends Controller {
|
|||
nodeId: null,
|
||||
salary: profile ? profile.amount : null,
|
||||
amountSpecial: profile ? profile.amountSpecial : null,
|
||||
posNo : root?.orgRootShortName && posMaster?.posMasterNo
|
||||
posNo:
|
||||
root?.orgRootShortName && posMaster?.posMasterNo
|
||||
? `${root?.orgRootShortName}${posMaster?.posMasterNo}`
|
||||
: ""
|
||||
: "",
|
||||
};
|
||||
return new HttpSuccess(_profile);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -281,7 +281,7 @@ export class ProfileEmployeeTempController extends Controller {
|
|||
: "-",
|
||||
ocFullPath: `${_child4}${_child3}${_child2}${_child1}${_root}`,
|
||||
educations: Education,
|
||||
url: ImgUrl ? ImgUrl : `${process.env.VITE_URL_SSO}/assets/avatar_user-89f22423.jpg`,
|
||||
url: ImgUrl ? ImgUrl : `${process.env.VITE_URL_MGT}/assets/avatar_user-89f22423.jpg`,
|
||||
};
|
||||
|
||||
return new HttpSuccess({
|
||||
|
|
@ -719,7 +719,7 @@ export class ProfileEmployeeTempController extends Controller {
|
|||
: "",
|
||||
telephone:
|
||||
profiles.telephoneNumber != null ? Extension.ToThaiNumber(profiles.telephoneNumber) : "",
|
||||
url: ImgUrl ? ImgUrl : `${process.env.VITE_URL_SSO}/assets/avatar_user-89f22423.jpg`,
|
||||
url: ImgUrl ? ImgUrl : `${process.env.VITE_URL_MGT}/assets/avatar_user-89f22423.jpg`,
|
||||
url1: _ImgUrl[0] ? _ImgUrl[0] : null,
|
||||
yearUpload1: profiles.profileAvatars[0]
|
||||
? Extension.ToThaiNumber(Extension.ToThaiShortYear(profiles.profileAvatars[0].createdAt))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue