แก้ประเภทตำแหน่งระดับตำแหน่งของสรรหา
This commit is contained in:
parent
f6ea889258
commit
e78315d905
2 changed files with 8 additions and 2 deletions
|
|
@ -7,6 +7,7 @@ interface DataOption {
|
||||||
id: string;
|
id: string;
|
||||||
name: string;
|
name: string;
|
||||||
note?: string;
|
note?: string;
|
||||||
|
level?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface GovermentOption {
|
interface GovermentOption {
|
||||||
|
|
|
||||||
|
|
@ -1570,10 +1570,15 @@ const fetchPositionLevel = async (val: string) => {
|
||||||
option.push({
|
option.push({
|
||||||
id: r.id.toString(),
|
id: r.id.toString(),
|
||||||
name: r.name.toString(),
|
name: r.name.toString(),
|
||||||
|
level: r.level,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
positionLevelOptions.value = option;
|
positionLevelOptions.value = option.filter(
|
||||||
positionLevelFilters.value = option;
|
(v: DataOption) => v.level === 0
|
||||||
|
);
|
||||||
|
positionLevelFilters.value = option.filter(
|
||||||
|
(v: DataOption) => v.level === 0
|
||||||
|
);
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
messageError($q, e);
|
messageError($q, e);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue