fix(miniprogram): 预约详情/随访详情改为 API 获取数据,移除 Storage 缓存传递
This commit is contained in:
@@ -29,6 +29,10 @@ export async function listTasks(status?: string) {
|
||||
);
|
||||
}
|
||||
|
||||
export async function getTaskDetail(id: string) {
|
||||
return api.get<FollowUpTask>(`/health/follow-up-tasks/${id}`);
|
||||
}
|
||||
|
||||
export async function submitRecord(data: { task_id: string; content: FollowUpContent }) {
|
||||
return api.post<FollowUpRecord>('/health/follow-up-records', data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user