fix: check nodeId

This commit is contained in:
setthawutttty 2025-09-09 10:00:26 +07:00
parent de6ed189bd
commit 2f6282d1dd
2 changed files with 3 additions and 1 deletions

View file

@ -24,6 +24,7 @@ interface listMain {
positionDate: Date; positionDate: Date;
leaveDate: Date; leaveDate: Date;
id: string; id: string;
nodeId: string;
} }
//ข้อมูลจาก api //ข้อมูลจาก api
interface listMainAPI { interface listMainAPI {

View file

@ -195,7 +195,8 @@ async function fecthlistOthet() {
e.positionLevelOld && e.positionLevelOld &&
e.positionNumberOld && e.positionNumberOld &&
e.positionDate && e.positionDate &&
e.leaveDate !== null e.leaveDate !== null &&
e.nodeId !== null
); );
rows2.value = listData; rows2.value = listData;
rows2Data.value = listData; rows2Data.value = listData;