feat(M08-D): 补加盟申请与跟进运营

This commit is contained in:
Codex
2026-08-10 13:17:19 +08:00
parent e0e17159a7
commit aa4a6bd014
28 changed files with 894 additions and 13 deletions
+21
View File
@@ -518,6 +518,27 @@ export interface Advertisement extends AdvertisementInput {
imageUrl: string;
}
export type FranchiseStatus = 'NEW' | 'CONTACTED' | 'QUALIFIED' | 'REJECTED' | 'CONVERTED';
export type FranchiseFollowUpType = 'CALL' | 'WECHAT' | 'MEETING' | 'NOTE' | 'STATUS' | 'ASSIGNMENT';
export interface FranchiseApplication {
id: string; tenantId: string; applicationNo: string; city: string; contactName: string;
contactPhone: string; message: string; source: string; status: FranchiseStatus;
assigneeUserId: string | null; assigneeName: string | null; submittedUserId: string | null;
nextFollowUpAt: string | null; closedAt: string | null; createdAt: string; updatedAt: string;
}
export interface FranchiseFollowUp {
id: string; actorUserId: string; actorName: string; followUpType: FranchiseFollowUpType;
fromStatus: FranchiseStatus | null; toStatus: FranchiseStatus | null;
note: string; nextFollowUpAt: string | null; createdAt: string;
}
export interface FranchiseApplicationDetail {
application: FranchiseApplication;
followUps: FranchiseFollowUp[];
}
export interface CleaningTask {
id: string;
taskNo: string;