export const TODO_EVENT_TYPE_LABELS = { followUpNoShow: "未到院回访", followUpNoDeal: "未成交回访", followUp: "诊后回访", followUpPostSurgery: "术后回访", followUpPostTreatment: "治疗后回访", appointmentReminder: "就诊提醒", followUpReminder: "复诊提醒", medicationReminder: "用药提醒", serviceSummary: "咨询服务", eventNotification: "活动通知", ContentReminder: "宣教发送", questionnaire: "问卷调查", followUpComplaint: "投诉回访", followUpActivity: "活动回访", other: "其他", Feedback: "意见反馈", // 预约相关服务类型 treatmentAppointment: "治疗预约", followupAppointment: "复诊预约", confirmArrival: "确认到院", prenatalFollowUp: "孕期回访", childHealthFollowUp: "儿童保健回访", benefitExecution: "权益执行", } // { // benefitExecution: '权益执行', // followUpNoShow: '未到院回访', // followUpNoDeal: '未成交回访', // followUp: '诊后回访', // followUpPostSurgery: '术后回访', // followUpPostTreatment: '治疗后回访', // appointmentReminder: '就诊提醒', // followUpReminder: '复诊提醒', // medicationReminder: '用药提醒', // serviceSummary: '咨询服务', // eventNotification: '活动通知', // ContentReminder: '宣教发送', // questionnaire: '问卷调查', // followUpComplaint: '投诉回访', // followUpActivity: '活动回访', // other: '其他', // }; export function getTodoEventTypeLabel(value) { const v = String(value || ''); return TODO_EVENT_TYPE_LABELS[v] || v || '其他'; } export function getTodoEventTypeOptions() { return Object.keys(TODO_EVENT_TYPE_LABELS).map((key) => ({ value: key, label: TODO_EVENT_TYPE_LABELS[key], })); }