Merge branch 'develop' of https://github.com/Frappet/bma-ehr-frontend into develop
This commit is contained in:
commit
474d28750c
2 changed files with 8 additions and 2 deletions
|
|
@ -7,6 +7,7 @@ interface DataOption {
|
|||
id: string;
|
||||
name: string;
|
||||
note?: string;
|
||||
level?: number;
|
||||
}
|
||||
|
||||
interface GovermentOption {
|
||||
|
|
|
|||
|
|
@ -1570,10 +1570,15 @@ const fetchPositionLevel = async (val: string) => {
|
|||
option.push({
|
||||
id: r.id.toString(),
|
||||
name: r.name.toString(),
|
||||
level: r.level,
|
||||
});
|
||||
});
|
||||
positionLevelOptions.value = option;
|
||||
positionLevelFilters.value = option;
|
||||
positionLevelOptions.value = option.filter(
|
||||
(v: DataOption) => v.level === 0
|
||||
);
|
||||
positionLevelFilters.value = option.filter(
|
||||
(v: DataOption) => v.level === 0
|
||||
);
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue