feat: 修复BUG

This commit is contained in:
zhang1106
2026-03-16 17:07:20 +08:00
parent 8dcbe9948b
commit e5d20820dc
26 changed files with 2363 additions and 1004 deletions
+7
View File
@@ -1,3 +1,5 @@
import api from './index';
const cacheManager = (() => {
const cache = new Map();
const cacheTimestamps = new Map();
@@ -271,6 +273,11 @@ export const consumableLogAPI = {
import: data => cachedAPI.post('/consumables/logs/import', data),
};
export const consumableRecordAPI = {
list: params => cachedAPI.get('/consumable-records', params),
statistics: params => api.get('/consumable-records/statistics', { params }),
};
export const ticketCategoryAPI = {
list: params => cachedAPI.get('/ticket-categories', params),
create: data => cachedAPI.post('/ticket-categories', data),