เช็คค่าว่าง พ้นราชการ
This commit is contained in:
parent
544e899728
commit
1aa4b6290f
7 changed files with 47 additions and 11 deletions
|
|
@ -158,7 +158,16 @@ const openModalOrder = () => {
|
|||
openModal();
|
||||
const row = filters.value.filter(
|
||||
(r: ResponseItems) =>
|
||||
r.status == "WAITTING" || r.status == "PENDING" || r.status == "APPROVE"
|
||||
(r.status == "WAITTING" ||
|
||||
r.status == "PENDING" ||
|
||||
r.status == "APPROVE") &&
|
||||
r.organizationPositionOld &&
|
||||
r.positionTypeOld &&
|
||||
r.positionLevelOld &&
|
||||
r.positionNumberOld &&
|
||||
r.salary &&
|
||||
r.location &&
|
||||
r.sendDate
|
||||
);
|
||||
rows2.value = row;
|
||||
};
|
||||
|
|
@ -195,7 +204,7 @@ const fecthlist = async () => {
|
|||
profileId: r.profileId ?? "",
|
||||
reason: r.reason ?? "",
|
||||
salary: r.salary ? r.salary : 0,
|
||||
sendDate: new Date(),
|
||||
sendDate: r.sendDate,
|
||||
status: r.status ?? "",
|
||||
statustext: statusText(r.status ?? ""),
|
||||
fullname: `${r.prefix ?? ""}${r.firstName ?? ""} ${r.lastName ?? ""}`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue