diff --git a/src/constants/dict.ts b/src/constants/dict.ts index 5afc803..139b594 100644 --- a/src/constants/dict.ts +++ b/src/constants/dict.ts @@ -119,3 +119,12 @@ export const RDMS_WORKLOG_DIFFICULTY_DICT_CODE = 'rdms_task_item_worklog_difficu * 来源口径:`overtime-application-design.md` 明确时长下拉字典为 rdms_overtime_duration */ export const RDMS_OVERTIME_DURATION_DICT_CODE = 'rdms_overtime_duration'; + +/** + * 站内信消息等级字典编码 + * + * 对应业务字段:站内信 NotifyMessage.level(1=普通 2=提醒 3=警告 4=严重,数字越大越紧急) + * 来源口径:`2026-06-13-站内信消息等级-前端对接.html` 明确等级字典为 notify_message_level, + * 显示名与颜色(hex)均走字典,前端按 level 取色不硬编码。 + */ +export const NOTIFY_MESSAGE_LEVEL_DICT_CODE = 'notify_message_level'; diff --git a/src/layouts/modules/global-header/components/notification-bell.vue b/src/layouts/modules/global-header/components/notification-bell.vue index d4ce467..0d9bb3d 100644 --- a/src/layouts/modules/global-header/components/notification-bell.vue +++ b/src/layouts/modules/global-header/components/notification-bell.vue @@ -1,18 +1,22 @@