fix(resign):organizationPositionOld
All checks were successful
Build & Deploy on Dev / build (push) Successful in 2m31s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 2m31s
This commit is contained in:
parent
a8a832238d
commit
d13a2231ba
1 changed files with 6 additions and 1 deletions
|
|
@ -217,7 +217,12 @@ watch(
|
|||
selected.value = [];
|
||||
await fetchCheckOfficer();
|
||||
const data = props?.rows?.filter((e: any) => {
|
||||
if (isStaff.value) {
|
||||
if (
|
||||
isStaff.value ||
|
||||
(e.organizationPositionOld?.includes("สำนักปลัดกรุงเทพมหานคร") &&
|
||||
isOfficer.value &&
|
||||
e.group === "1.1")
|
||||
) {
|
||||
return e.group === "1.1";
|
||||
} else {
|
||||
return e.group !== "1.1";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue