中文:收口权限与中心/立项配置改造

This commit is contained in:
Cheng Zhou
2026-05-12 10:16:52 +08:00
parent 6e90370a5f
commit 77e842637d
67 changed files with 706 additions and 669 deletions
+4 -2
View File
@@ -40,7 +40,7 @@ export interface UserInfo {
email: string;
username?: string;
full_name: string;
department: string;
clinical_department: string;
role: UserRole;
status: UserStatus;
is_active?: boolean;
@@ -57,7 +57,7 @@ export interface RegisterRequest {
password: string;
full_name: string;
role: Exclude<UserRole, "ADMIN">;
department: string;
clinical_department: string;
}
export interface AdminUserListResponse {
@@ -118,7 +118,9 @@ export interface Site {
name: string;
city?: string | null;
pi_name?: string | null;
phone?: string | null;
contact?: string | null;
contact_phone?: string | null;
enrollment_target?: number | null;
enrollment_plan_start_date?: string | null;
enrollment_plan_end_date?: string | null;
-10
View File
@@ -38,15 +38,6 @@ export interface SiteEnrollmentPlanDraft {
stageBreakdown: string;
}
export interface MonitoringStrategyDraft {
id: string;
strategyType: string;
detail: string;
frequency: string;
updatedAt: string;
enabled: boolean;
}
export interface CenterConfirmDraft {
id: string;
siteId: string;
@@ -63,7 +54,6 @@ export interface SetupConfigDraft {
enrollmentPlan: EnrollmentPlanDraft;
siteMilestones: SiteMilestoneDraft[];
siteEnrollmentPlans: SiteEnrollmentPlanDraft[];
monitoringStrategies: MonitoringStrategyDraft[];
centerConfirm: CenterConfirmDraft[];
}