fix: keyword holdPositionOpsMain
This commit is contained in:
parent
a826696222
commit
1d37e1720d
1 changed files with 4 additions and 4 deletions
|
|
@ -86,8 +86,8 @@ const holdPosition = ref<string>(""); //ตำแหน่งทางการ
|
|||
const holdPositionOps = ref<DataOption[]>([]); //ตัวเลือกการครองตำแหน่ง
|
||||
const holdPositionOpsMain = ref<DataOption[]>([
|
||||
{ id: "", name: "ทั้งหมด" },
|
||||
{ id: "hold", name: "ครองตำแหน่ง" },
|
||||
{ id: "not-hold", name: "ไม่ครองตำแหน่ง" },
|
||||
{ id: "hold", name: "ครอง" },
|
||||
{ id: "not-hold", name: "ไม่ครอง" },
|
||||
]); //ตัวเลือกการครองตำแหน่ง
|
||||
|
||||
/** สภานภาพ */
|
||||
|
|
@ -570,9 +570,9 @@ async function onSearch() {
|
|||
position: position.value,
|
||||
positionExecutive: positionExecutive.value,
|
||||
isCurrent:
|
||||
holdPosition.value === "ครองตำแหน่ง"
|
||||
holdPosition.value === "ครอง"
|
||||
? true
|
||||
: holdPosition.value === "ไม่ครองตำแหน่ง"
|
||||
: holdPosition.value === "ไม่ครอง"
|
||||
? false
|
||||
: undefined,
|
||||
gender: gender.value,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue