fix: reports.py missing import json

This commit is contained in:
Hermes CI Fix
2026-07-29 18:19:42 +08:00
parent bc02d09520
commit cffb15e8dc
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -9,6 +9,7 @@ CMA管理报表中心 — 管理会计OS
4. 四维度绩效评分卡 — BSC健康度雷达图
"""
from fastapi import APIRouter, Depends, Query, HTTPException
import json
from pydantic import BaseModel
from sqlalchemy.orm import Session
from sqlalchemy import func
+5
View File
@@ -133,6 +133,11 @@ export const userApi = {
delete: (id: number) => api.delete(`/users/${id}`),
}
export const orgApi = {
nodes: () => api.get('/org/nodes'),
tree: () => api.get('/org/tree'),
}
export const notificationApi = {
list: () => api.get('/notifications/channels'),
create: (data: any) => api.post('/notifications/channels', data),