This commit is contained in:
+18
-2
@@ -88,6 +88,18 @@ export interface FlowOption {
|
||||
nodeSummary: string | null;
|
||||
}
|
||||
|
||||
/** 应用级流程绑定视图(GET /api/notice/flow/Binding;应用设置 > 流程绑定 + 发通知页按钮显隐) */
|
||||
export interface FlowBindingVo {
|
||||
/** 本校是否已绑定审核流程(false=全部直发,现有功能不变) */
|
||||
bound: boolean;
|
||||
flowGuid: string | null;
|
||||
flowName: string | null;
|
||||
/** 流程中心是否接入(false 时设置页隐藏绑定入口) */
|
||||
flowEnabled: boolean;
|
||||
/** 当前用户是否可维护绑定(本校管理员;false 时设置页只读展示) */
|
||||
canEdit?: boolean;
|
||||
}
|
||||
|
||||
/** 审批进度(GET /api/notice/flow/Trace) */
|
||||
export interface FlowTraceVo {
|
||||
bound: boolean;
|
||||
@@ -237,8 +249,7 @@ export interface NoticeRequest {
|
||||
smsFlag?: number;
|
||||
/** 转发源通知ID */
|
||||
sourceId?: number;
|
||||
/** 审核流程 GUID(非空=提交审核;空=直发) */
|
||||
flowGuid?: string;
|
||||
// 审核流程不由前端指定:绑定在「应用设置 > 流程绑定」,后端按「已绑定 + 通知对象=全部用户」判定
|
||||
}
|
||||
|
||||
/** 通知列表查询参数(对齐 NoticeQuery.java + BasePageQuery.java) */
|
||||
@@ -247,6 +258,11 @@ export interface NoticeQuery {
|
||||
pageSize?: number;
|
||||
keyword?: string;
|
||||
status?: number;
|
||||
/**
|
||||
* 审核状态筛选(列表「状态」下拉):0 待提交 / 10 审批中 / 20 已通过 / 30 已驳回 / 40 已撤回;
|
||||
* -1 = 无需审核(直发通知);不传不过滤
|
||||
*/
|
||||
auditStatus?: number;
|
||||
type?: number;
|
||||
/** 列表范围(管理端):"user" 只看自己发布的,不传=全部 */
|
||||
scope?: string;
|
||||
|
||||
Reference in New Issue
Block a user