select insigia
This commit is contained in:
parent
168b17da44
commit
c102d3bb66
4 changed files with 8 additions and 8 deletions
|
|
@ -85,9 +85,9 @@ export const useInsigniaDataStore = defineStore("insignia", () => {
|
|||
};
|
||||
const searchDataTable = async (type: string, employeeClass: string) => {
|
||||
if (type !== 'all' && employeeClass !== 'all') {
|
||||
rows.value = listinsignia.value.filter((e: any) => e.insigniaType === type && e.employeeType === profileType(employeeClass))
|
||||
rows.value = listinsignia.value.filter((e: any) => e.insigniaSend === type && e.employeeType === profileType(employeeClass))
|
||||
} else if (type !== 'all' && employeeClass === 'all') {
|
||||
rows.value = listinsignia.value.filter((e: any) => e.insigniaType === type)
|
||||
rows.value = listinsignia.value.filter((e: any) => e.insigniaSend === type)
|
||||
} else if (type === 'all' && employeeClass !== 'all') {
|
||||
rows.value = listinsignia.value.filter((e: any) => e.employeeType === profileType(employeeClass))
|
||||
} else if (type === 'all' && employeeClass === 'all') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue