ваше сообщение коммита

This commit is contained in:
2025-07-09 19:39:07 +03:00
parent 8a87fbb632
commit 18a259a5d2
4 changed files with 136 additions and 11 deletions

View File

@@ -53,5 +53,12 @@ export default {
console.error('Error in deleteTable service:', error);
throw error;
}
},
async getFilteredRows(tableId, { product = '', tags = [] } = {}) {
const params = new URLSearchParams();
if (product) params.append('product', product);
if (tags.length) params.append('tags', tags.join(','));
const res = await api.get(`/tables/${tableId}/rows?${params.toString()}`);
return res.data;
}
};