feat: add status filtering to agencies management page
This commit is contained in:
parent
4994792597
commit
51313cc4f8
2 changed files with 30 additions and 4 deletions
|
|
@ -4,6 +4,7 @@ import { Institution, InstitutionPayload } from './types';
|
|||
import { api } from 'src/boot/axios';
|
||||
import { PaginationResult } from 'src/types';
|
||||
import useFlowStore from '../flow';
|
||||
import { Status } from '../types';
|
||||
|
||||
export const useInstitution = defineStore('institution-store', () => {
|
||||
const flowStore = useFlowStore();
|
||||
|
|
@ -26,6 +27,7 @@ export const useInstitution = defineStore('institution-store', () => {
|
|||
pageSize?: number;
|
||||
query?: string;
|
||||
group?: string;
|
||||
status?: Status;
|
||||
payload?: { group?: string[] };
|
||||
}) {
|
||||
const { payload, ...params } = opts || {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue