fix: reports.py missing import json
This commit is contained in:
@@ -9,6 +9,7 @@ CMA管理报表中心 — 管理会计OS
|
|||||||
4. 四维度绩效评分卡 — BSC健康度雷达图
|
4. 四维度绩效评分卡 — BSC健康度雷达图
|
||||||
"""
|
"""
|
||||||
from fastapi import APIRouter, Depends, Query, HTTPException
|
from fastapi import APIRouter, Depends, Query, HTTPException
|
||||||
|
import json
|
||||||
from pydantic import BaseModel
|
from pydantic import BaseModel
|
||||||
from sqlalchemy.orm import Session
|
from sqlalchemy.orm import Session
|
||||||
from sqlalchemy import func
|
from sqlalchemy import func
|
||||||
|
|||||||
@@ -133,6 +133,11 @@ export const userApi = {
|
|||||||
delete: (id: number) => api.delete(`/users/${id}`),
|
delete: (id: number) => api.delete(`/users/${id}`),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const orgApi = {
|
||||||
|
nodes: () => api.get('/org/nodes'),
|
||||||
|
tree: () => api.get('/org/tree'),
|
||||||
|
}
|
||||||
|
|
||||||
export const notificationApi = {
|
export const notificationApi = {
|
||||||
list: () => api.get('/notifications/channels'),
|
list: () => api.get('/notifications/channels'),
|
||||||
create: (data: any) => api.post('/notifications/channels', data),
|
create: (data: any) => api.post('/notifications/channels', data),
|
||||||
|
|||||||
Reference in New Issue
Block a user