Your Name 30f9a3e735 feat: 优化数据分析页面
- 支持月份选择器,可查看指定月份数据
- 新增4个Tab:需求分析、设计师绩效、流程效率、预警监控
- 核心指标卡片:总任务数、待处理、进行中、已完成、完成率、准时率
- 设计师绩效:接单量、完成量、准时率、好评率、工作负载排行
- 流程效率:各环节耗时分析、瓶颈识别、环比对比
- 预警监控:超时预警、即将超时、长期未接单、审批滞后
- 后端新增3个API:设计师绩效、流程效率、预警任务
2026-01-04 08:57:45 +08:00

97 lines
1.6 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.designhub.vo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime;
/**
* 预警任务VO
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WarningTaskVO {
private Long taskId;
private String taskNo;
private String taskTitle;
private String status;
private String statusText;
/**
* 预警级别:urgent(紧急)/warning(警告)
*/
private String warningLevel;
/**
* 预警类型:
* - overdue: 已超时
* - near_deadline: 即将超时
* - long_pending: 长期未接单
* - approval_delay: 审批滞后
* - long_in_progress: 长期未完成
* - overload: 设计师过载
*/
private String warningType;
/**
* 预警原因描述
*/
private String warningReason;
/**
* 处理人ID
*/
private Long receiverId;
/**
* 处理人名称
*/
private String receiverName;
/**
* 处理人部门
*/
private String receiverDeptName;
/**
* 发布人名称
*/
private String publisherName;
/**
* 预估工时
*/
private Double estimatedHours;
/**
* 截止时间
*/
private LocalDateTime deadline;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 开始时间
*/
private LocalDateTime startTime;
/**
* 超时/剩余小时数
*/
private Double hoursInfo;
/**
* 积分
*/
private Integer score;
}