feat: แบ่งหน้าของ กลุ่ม และ ประเภท

This commit is contained in:
Net 2024-06-26 13:11:03 +07:00
parent 4267203914
commit d464b1fcbb
2 changed files with 51 additions and 14 deletions

View file

@ -55,6 +55,8 @@ const useProductServiceStore = defineStore('api-product-service', () => {
async function fetchListProductServiceType(
opts?: {
page?: number;
pageSize?: number;
query?: string;
productGroupId?: string;
status?: 'CREATED' | 'ACTIVE' | 'INACTIVE';
@ -171,7 +173,12 @@ const useProductServiceStore = defineStore('api-product-service', () => {
}
async function fetchListProductService(
opts?: { query?: string; status?: 'CREATED' | 'ACTIVE' | 'INACTIVE' },
opts?: {
page?: number;
pageSize?: number;
query?: string;
status?: 'CREATED' | 'ACTIVE' | 'INACTIVE';
},
flow?: {
sessionId?: string;
refTransactionId?: string;