|
@@ -1,4 +1,5 @@
|
|
|
package cn.iocoder.yudao.module.rd.controller.admin.researchProject.vo;
|
|
package cn.iocoder.yudao.module.rd.controller.admin.researchProject.vo;
|
|
|
|
|
+
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.Data;
|
|
import lombok.Data;
|
|
|
|
|
|
|
@@ -8,13 +9,18 @@ import java.time.LocalDateTime;
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
|
|
@Schema(description = "管理后台 - 项目立项 Response VO")
|
|
@Schema(description = "管理后台 - 项目立项 Response VO")
|
|
|
-
|
|
|
|
|
@Data
|
|
@Data
|
|
|
public class ProjectRespVO {
|
|
public class ProjectRespVO {
|
|
|
|
|
|
|
|
@Schema(description = "主键ID", example = "1024")
|
|
@Schema(description = "主键ID", example = "1024")
|
|
|
private Long id;
|
|
private Long id;
|
|
|
|
|
|
|
|
|
|
+ @Schema(description = "所属部门(专业公司)ID", example = "100")
|
|
|
|
|
+ private Long deptId;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "所属部门名称", example = "XX石油技术公司")
|
|
|
|
|
+ private String deptName;
|
|
|
|
|
+
|
|
|
@Schema(description = "项目级别", example = "国家级")
|
|
@Schema(description = "项目级别", example = "国家级")
|
|
|
private String projectLevel;
|
|
private String projectLevel;
|
|
|
|
|
|
|
@@ -22,7 +28,7 @@ public class ProjectRespVO {
|
|
|
private Long executingUnit;
|
|
private Long executingUnit;
|
|
|
|
|
|
|
|
@Schema(description = "执行单位名称", example = "XX石油技术公司")
|
|
@Schema(description = "执行单位名称", example = "XX石油技术公司")
|
|
|
- private String executingUnitName; // ⭐ 前端展示用,详情接口里翻译
|
|
|
|
|
|
|
+ private String executingUnitName;
|
|
|
|
|
|
|
|
@Schema(description = "项目名称", example = "智能仓储系统")
|
|
@Schema(description = "项目名称", example = "智能仓储系统")
|
|
|
private String projectName;
|
|
private String projectName;
|
|
@@ -45,14 +51,8 @@ public class ProjectRespVO {
|
|
|
@Schema(description = "创新点")
|
|
@Schema(description = "创新点")
|
|
|
private String innovationPoint;
|
|
private String innovationPoint;
|
|
|
|
|
|
|
|
- @Schema(description = "立项申请表文件url")
|
|
|
|
|
- private String applicationFile;
|
|
|
|
|
-
|
|
|
|
|
- @Schema(description = "开题报告文件url")
|
|
|
|
|
- private String openingReportFile;
|
|
|
|
|
-
|
|
|
|
|
- @Schema(description = "其他文件url")
|
|
|
|
|
- private String otherFile;
|
|
|
|
|
|
|
+ @Schema(description = "附件列表")
|
|
|
|
|
+ private List<ProjectAttachmentVO> attachments;
|
|
|
|
|
|
|
|
@Schema(description = "排序值", example = "1")
|
|
@Schema(description = "排序值", example = "1")
|
|
|
private Integer sort;
|
|
private Integer sort;
|
|
@@ -66,6 +66,45 @@ public class ProjectRespVO {
|
|
|
@Schema(description = "创建时间")
|
|
@Schema(description = "创建时间")
|
|
|
private LocalDateTime createTime;
|
|
private LocalDateTime createTime;
|
|
|
|
|
|
|
|
|
|
+ // ==================== 预审阶段 ====================
|
|
|
|
|
+ @Schema(description = "预审状态:0未提交 1审批中 2通过 3驳回", example = "0")
|
|
|
|
|
+ private Integer preAuditStatus;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "预审当前节点", example = "11")
|
|
|
|
|
+ private Integer preCurrentNode;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "预审当前审批人ID", example = "1001")
|
|
|
|
|
+ private Long preCurrentApproverId;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "预审当前节点角色code", example = "科技发展部负责人")
|
|
|
|
|
+ private String preCurrentRoleCode;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "预审提交时间")
|
|
|
|
|
+ private LocalDateTime preSubmitTime;
|
|
|
|
|
+
|
|
|
|
|
+ // ==================== 正式立项阶段 ====================
|
|
|
|
|
+ @Schema(description = "正式审批状态:0未提交 1审批中 2通过 3驳回", example = "0")
|
|
|
|
|
+ private Integer formalAuditStatus;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "正式当前节点", example = "21")
|
|
|
|
|
+ private Integer formalCurrentNode;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "正式当前审批人ID", example = "1002")
|
|
|
|
|
+ private Long formalCurrentApproverId;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "正式当前节点角色code", example = "技术副总")
|
|
|
|
|
+ private String formalCurrentRoleCode;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "正式立项提交时间")
|
|
|
|
|
+ private LocalDateTime formalSubmitTime;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "立项时间(正式立项通过时间)")
|
|
|
|
|
+ private LocalDateTime projectDate;
|
|
|
|
|
+
|
|
|
|
|
+ // ==================== 预算相关 ====================
|
|
|
|
|
+ @Schema(description = "是否涉及预算:0否 1是", example = "0")
|
|
|
|
|
+ private Integer involveBudget;
|
|
|
|
|
+
|
|
|
// ==================== 子表数据 ====================
|
|
// ==================== 子表数据 ====================
|
|
|
|
|
|
|
|
@Schema(description = "进度安排列表")
|
|
@Schema(description = "进度安排列表")
|
|
@@ -74,12 +113,14 @@ public class ProjectRespVO {
|
|
|
@Schema(description = "费用预算明细列表")
|
|
@Schema(description = "费用预算明细列表")
|
|
|
private List<BudgetVO> budgetList;
|
|
private List<BudgetVO> budgetList;
|
|
|
|
|
|
|
|
|
|
+ @Schema(description = "审批记录列表")
|
|
|
|
|
+ private List<ApprovalRecordVO> approvalRecords;
|
|
|
|
|
+
|
|
|
// ==================== 子表 VO ====================
|
|
// ==================== 子表 VO ====================
|
|
|
|
|
|
|
|
@Schema(description = "管理后台 - 项目进度安排 Response VO")
|
|
@Schema(description = "管理后台 - 项目进度安排 Response VO")
|
|
|
@Data
|
|
@Data
|
|
|
public static class ScheduleVO {
|
|
public static class ScheduleVO {
|
|
|
-
|
|
|
|
|
@Schema(description = "主键ID", example = "1")
|
|
@Schema(description = "主键ID", example = "1")
|
|
|
private Long id;
|
|
private Long id;
|
|
|
|
|
|
|
@@ -91,13 +132,11 @@ public class ProjectRespVO {
|
|
|
|
|
|
|
|
@Schema(description = "排序值", example = "0")
|
|
@Schema(description = "排序值", example = "0")
|
|
|
private Integer sort;
|
|
private Integer sort;
|
|
|
-
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Schema(description = "管理后台 - 项目费用预算 Response VO")
|
|
@Schema(description = "管理后台 - 项目费用预算 Response VO")
|
|
|
@Data
|
|
@Data
|
|
|
public static class BudgetVO {
|
|
public static class BudgetVO {
|
|
|
-
|
|
|
|
|
@Schema(description = "主键ID", example = "1")
|
|
@Schema(description = "主键ID", example = "1")
|
|
|
private Long id;
|
|
private Long id;
|
|
|
|
|
|
|
@@ -112,25 +151,19 @@ public class ProjectRespVO {
|
|
|
|
|
|
|
|
@Schema(description = "排序值", example = "0")
|
|
@Schema(description = "排序值", example = "0")
|
|
|
private Integer sort;
|
|
private Integer sort;
|
|
|
-
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
- @Schema(description = "审批记录列表")
|
|
|
|
|
- private List<ApprovalRecordVO> approvalRecords;
|
|
|
|
|
-
|
|
|
|
|
@Schema(description = "项目审批记录 VO")
|
|
@Schema(description = "项目审批记录 VO")
|
|
|
@Data
|
|
@Data
|
|
|
public static class ApprovalRecordVO {
|
|
public static class ApprovalRecordVO {
|
|
|
private Long id;
|
|
private Long id;
|
|
|
- private Integer stage; // 阶段:1预审 2正式
|
|
|
|
|
- private Integer node; // 节点:11、21、22、23
|
|
|
|
|
- private String nodeName; // 节点名称
|
|
|
|
|
- private Long approverId; // 审批人ID
|
|
|
|
|
- private String approverName; // 审批人姓名
|
|
|
|
|
- private Integer result; // 结果:1通过 2驳回 3撤回 4提交
|
|
|
|
|
- private String opinion; // 意见
|
|
|
|
|
|
|
+ private Integer stage;
|
|
|
|
|
+ private Integer node;
|
|
|
|
|
+ private String nodeName;
|
|
|
|
|
+ private Long approverId;
|
|
|
|
|
+ private String approverName;
|
|
|
|
|
+ private Integer result;
|
|
|
|
|
+ private String opinion;
|
|
|
private LocalDateTime approveTime;
|
|
private LocalDateTime approveTime;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
-}
|
|
|
|
|
|
|
+}
|