feat: 税务合规智能体—税负监控+发票校验+社保比对

This commit is contained in:
Hermes CI Fix
2026-08-04 15:04:39 +08:00
parent 8e277de3de
commit 38b603f263
7 changed files with 1770 additions and 5 deletions
+28
View File
@@ -346,4 +346,32 @@ export const cashApi = {
alertStatus: (params?: any) => api.get('/cash/alerts/status', { params }),
}
// ── 税务合规智能体:税负监控 + 发票校验 + 社保比对 ──
export const taxApi = {
// ① 税负监控
listTaxRecords: (params?: any) => api.get('/tax/records', { params }),
createTaxRecord: (data: any) => api.post('/tax/records', data),
updateTaxRecord: (id: number, data: any) => api.put(`/tax/records/${id}`, data),
deleteTaxRecord: (id: number) => api.delete(`/tax/records/${id}`),
burdenAnalysis: (params?: any) => api.get('/tax/burden', { params }),
runTaxCheck: (params?: any) => api.post('/tax/check', null, { params }),
// ② 发票校验
listInvoices: (params?: any) => api.get('/tax/invoices', { params }),
createInvoice: (data: any) => api.post('/tax/invoices', data),
updateInvoice: (id: number, data: any) => api.put(`/tax/invoices/${id}`, data),
deleteInvoice: (id: number) => api.delete(`/tax/invoices/${id}`),
batchCheckInvoices: (params?: any) => api.post('/tax/invoices/check', null, { params }),
abnormalInvoices: (params?: any) => api.get('/tax/invoices/abnormal', { params }),
// ③ 社保比对
listSsRecords: (params?: any) => api.get('/tax/ss', { params }),
createSsRecord: (data: any) => api.post('/tax/ss', data),
updateSsRecord: (id: number, data: any) => api.put(`/tax/ss/${id}`, data),
deleteSsRecord: (id: number) => api.delete(`/tax/ss/${id}`),
batchCheckSs: (params?: any) => api.post('/tax/ss/check', null, { params }),
abnormalSs: (params?: any) => api.get('/tax/ss/abnormal', { params }),
// 看板聚合 + 演示数据
dashboard: (params?: any) => api.get('/tax/dashboard', { params }),
seedDemo: (params?: any) => api.post('/tax/demo-data', null, { params }),
}
export default api