feat(performance、notify、weekly): 添加绩效考核功能、通知跳转链接、优化工作日志分割逻辑。

This commit is contained in:
dk
2026-07-07 16:51:34 +08:00
parent c1f710fbd8
commit a0dcd39c23
6 changed files with 330 additions and 34 deletions

View File

@@ -5,6 +5,18 @@ declare namespace Api {
* backend api module: "notify-message"(站内信 · 我的收件箱)
*/
namespace NotifyMessage {
type NotifyJumpType = 'project' | 'execution' | 'task';
interface NotifyMessageTemplateParams {
jumpType?: NotifyJumpType;
projectId?: string;
projectName?: string;
executionName?: string;
taskName?: string;
roleName?: string;
[key: string]: unknown;
}
interface PageParams {
pageNo: number;
pageSize: number;
@@ -19,6 +31,8 @@ declare namespace Api {
interface NotifyMessage {
/** 站内信编号(雪花 Long按 string 接收) */
id: string;
/** 模板编码 */
templateCode: string;
/** 发送人名称(模板配置的发件人显示名) */
templateNickname: string;
/** 最终消息正文(占位符已渲染,直接展示) */
@@ -33,6 +47,8 @@ declare namespace Api {
readTime: string | number | null;
/** 收到时间 */
createTime: string | number;
/** 模板参数(部分模板支持跳转) */
templateParams?: NotifyMessageTemplateParams;
}
/** 我的站内信分页查询参数 */