@@ -68,6 +68,44 @@ export interface NoticeVo {
|
||||
createTime: string | null;
|
||||
updateBy: string | null;
|
||||
updateTime: string | null;
|
||||
/** 绑定的审核流程 GUID(null=直发未接流程中心) */
|
||||
flowGuid?: string | null;
|
||||
/** 审核状态:0 待提交 / 10 审批中 / 20 已通过 / 30 已驳回 / 40 已撤回(null=未绑流程) */
|
||||
auditStatus?: number | null;
|
||||
/** 审核状态文案 */
|
||||
auditStatusDesc?: string | null;
|
||||
/** 流程中心办件 id */
|
||||
flowInstanceId?: number | null;
|
||||
}
|
||||
|
||||
// ============================ 先审后发(流程中心) ============================
|
||||
|
||||
/** 审核流程下拉选项(对齐 FlowModels.FlowSummaryVo) */
|
||||
export interface FlowOption {
|
||||
flowGuid: string;
|
||||
name: string;
|
||||
version: number;
|
||||
nodeSummary: string | null;
|
||||
}
|
||||
|
||||
/** 审批进度(GET /api/notice/flow/Trace) */
|
||||
export interface FlowTraceVo {
|
||||
bound: boolean;
|
||||
flowGuid: string | null;
|
||||
flowInstanceId: number | null;
|
||||
auditStatus: number | null;
|
||||
auditStatusDesc: string | null;
|
||||
status: number | null;
|
||||
flowResult?: { result?: string; opinion?: string; rejectNode?: string } | null;
|
||||
instanceStatus?: number | null;
|
||||
version?: number | null;
|
||||
nodeSummary?: string | null;
|
||||
currentNodes?: string | null;
|
||||
assigneeIds?: number[] | null;
|
||||
submitTime?: string | null;
|
||||
finishTime?: string | null;
|
||||
/** 办理轨迹(traceJson 解析后的数组) */
|
||||
trace?: any[] | null;
|
||||
}
|
||||
|
||||
// ============================ 通知详情 ============================
|
||||
@@ -76,6 +114,11 @@ export interface NoticeVo {
|
||||
export interface NoticeDetailVo {
|
||||
serid: number;
|
||||
title: string;
|
||||
flowGuid?: string | null;
|
||||
auditStatus?: number | null;
|
||||
auditStatusDesc?: string | null;
|
||||
flowInstanceId?: number | null;
|
||||
flowResult?: { result?: string; opinion?: string; rejectNode?: string } | null;
|
||||
/** 通知内容(旧字段名 Contents) */
|
||||
Contents: string;
|
||||
/** 发布部门ID(旧字段名 DeptID) */
|
||||
@@ -194,6 +237,8 @@ export interface NoticeRequest {
|
||||
smsFlag?: number;
|
||||
/** 转发源通知ID */
|
||||
sourceId?: number;
|
||||
/** 审核流程 GUID(非空=提交审核;空=直发) */
|
||||
flowGuid?: string;
|
||||
}
|
||||
|
||||
/** 通知列表查询参数(对齐 NoticeQuery.java + BasePageQuery.java) */
|
||||
|
||||
Reference in New Issue
Block a user