@@ -228,209 +228,3 @@ export interface LinkVo {
|
||||
}
|
||||
|
||||
/* ===== 事项库(svc,事项库详细设计 §7.4)===== */
|
||||
|
||||
/** 事项分页行(SvcItemPageItem) */
|
||||
export interface SvcItemPageItem {
|
||||
id: number;
|
||||
siteId: number;
|
||||
itemCode: string;
|
||||
title: string;
|
||||
summary?: string;
|
||||
objectKey?: string;
|
||||
objectName?: string;
|
||||
categoryKey?: string;
|
||||
categoryName?: string;
|
||||
deptGroupId?: number;
|
||||
deptName?: string;
|
||||
/** 1=线上 2=线下 3=线上线下 */
|
||||
handleMode: number;
|
||||
/** 1/0("可在线办理"筛选维度) */
|
||||
onlineFlag: number;
|
||||
/** 0=草稿 1=已发布 2=已下架 */
|
||||
status: number;
|
||||
sortNo: number;
|
||||
publishTime?: string;
|
||||
viewCount: number;
|
||||
createTime?: string;
|
||||
createBy?: string;
|
||||
}
|
||||
|
||||
/** 事项编辑回显(SvcItemEditVo) */
|
||||
export interface SvcItemEditVo {
|
||||
id: number;
|
||||
siteId: number;
|
||||
itemCode: string;
|
||||
title: string;
|
||||
summary?: string;
|
||||
objectKey?: string;
|
||||
categoryKey?: string;
|
||||
deptGroupId?: number;
|
||||
deptName?: string;
|
||||
handleMode: number;
|
||||
onlineFlag: number;
|
||||
handlePlace?: string;
|
||||
handleTimeLimit?: string;
|
||||
promiseTimeLimit?: string;
|
||||
contactPhone?: string;
|
||||
supervisePhone?: string;
|
||||
processHtml?: string;
|
||||
materialHtml?: string;
|
||||
noticeHtml?: string;
|
||||
faqCategoryId?: number;
|
||||
noticeCategoryId?: number;
|
||||
ruleCategoryId?: number;
|
||||
coverImage?: string;
|
||||
sortNo: number;
|
||||
status: number;
|
||||
publishTime?: string;
|
||||
offlineTime?: string;
|
||||
viewCount: number;
|
||||
/** ext_json.apply_url(我要办理手填外链,可空) */
|
||||
applyUrl?: string;
|
||||
}
|
||||
|
||||
/** 事项保存入参(SvcItemSaveRequest;applyUrl 服务端写入 ext_json) */
|
||||
export interface SvcItemSaveRequest {
|
||||
id?: number;
|
||||
siteId: number;
|
||||
itemCode: string;
|
||||
title: string;
|
||||
summary?: string;
|
||||
objectKey?: string;
|
||||
categoryKey?: string;
|
||||
deptGroupId?: number;
|
||||
handleMode?: number;
|
||||
onlineFlag?: number;
|
||||
handlePlace?: string;
|
||||
handleTimeLimit?: string;
|
||||
promiseTimeLimit?: string;
|
||||
contactPhone?: string;
|
||||
supervisePhone?: string;
|
||||
processHtml?: string;
|
||||
materialHtml?: string;
|
||||
noticeHtml?: string;
|
||||
faqCategoryId?: number;
|
||||
noticeCategoryId?: number;
|
||||
ruleCategoryId?: number;
|
||||
coverImage?: string;
|
||||
sortNo?: number;
|
||||
applyUrl?: string;
|
||||
/** 指南页附件 id(保存时全量重绑) */
|
||||
attachmentIds?: number[];
|
||||
}
|
||||
|
||||
/** 事项分页查询(SvcItemPageQuery) */
|
||||
export interface SvcItemPageQuery {
|
||||
siteId: number;
|
||||
status?: number;
|
||||
keyword?: string;
|
||||
objectKey?: string;
|
||||
categoryKey?: string;
|
||||
deptGroupId?: number;
|
||||
page?: number;
|
||||
pageSize?: number;
|
||||
}
|
||||
|
||||
/** 事项选择器精简行(SvcItemSimpleVo) */
|
||||
export interface SvcItemSimpleVo {
|
||||
id: number;
|
||||
itemCode: string;
|
||||
title: string;
|
||||
status: number;
|
||||
}
|
||||
|
||||
/** 事项指南附件(SvcItemAttachmentVo) */
|
||||
export interface SvcItemAttachmentVo {
|
||||
id: number;
|
||||
fileName: string;
|
||||
webUrl: string;
|
||||
fileSize?: number;
|
||||
}
|
||||
|
||||
/** 服务部门选项(SvcDeptVo:UserBase 组树节点,嵌套下发) */
|
||||
export interface SvcDeptVo {
|
||||
id: number;
|
||||
name: string;
|
||||
/** 子部门(后端返回嵌套组树;选择器按层级缩进展示) */
|
||||
children?: SvcDeptVo[];
|
||||
}
|
||||
|
||||
/** 事项字典(SvcDictVo;referenced=被事项引用条数) */
|
||||
export interface SvcDictVo {
|
||||
id: number;
|
||||
siteId: number;
|
||||
/** object=服务对象 category=事项类别 */
|
||||
dictType: string;
|
||||
dictKey: string;
|
||||
dictName: string;
|
||||
sortNo: number;
|
||||
/** 0=停用 1=启用 */
|
||||
status: number;
|
||||
referenced: number;
|
||||
}
|
||||
|
||||
/** 事项字典保存入参(SvcDictSaveRequest) */
|
||||
export interface SvcDictSaveRequest {
|
||||
id?: number;
|
||||
siteId: number;
|
||||
dictType: string;
|
||||
dictKey: string;
|
||||
dictName: string;
|
||||
sortNo?: number;
|
||||
status?: number;
|
||||
}
|
||||
|
||||
/* ===== 通用 ===== */
|
||||
|
||||
/** 删除入参(DeleteRequest) */
|
||||
export interface DeleteRequest {
|
||||
id: number;
|
||||
siteId: number;
|
||||
}
|
||||
|
||||
/** 后端分页包装 {total, list} */
|
||||
export interface PageResult<T> {
|
||||
total: number;
|
||||
list: T[];
|
||||
}
|
||||
|
||||
/* ===== 主题 ===== */
|
||||
|
||||
/** theme.json 可调参数选项(select 类型) */
|
||||
export interface ThemeParamOption {
|
||||
value: string;
|
||||
label: string;
|
||||
}
|
||||
|
||||
/** 主题包参数 schema(ThemeParam) */
|
||||
export interface ThemeParamVo {
|
||||
key: string;
|
||||
/** 聚合进 :root{} 的 CSS 变量名(仅 color 类型有) */
|
||||
cssVar?: string;
|
||||
label: string;
|
||||
/** color / image / select / text */
|
||||
type: string;
|
||||
defaultValue?: string;
|
||||
options?: ThemeParamOption[];
|
||||
}
|
||||
|
||||
/** 主题包(ThemeVo,GET /api/theme/list) */
|
||||
export interface ThemeVo {
|
||||
name: string;
|
||||
title: string;
|
||||
description?: string;
|
||||
version?: string;
|
||||
author?: string;
|
||||
bannerSize?: string;
|
||||
/** 预览图(管理端资产代理 /api/theme/{name}/asset/screenshot.png) */
|
||||
screenshotUrl: string;
|
||||
params: ThemeParamVo[];
|
||||
/** 包来源(W1):builtin=内置只读 / external=外部可管 */
|
||||
source?: string;
|
||||
/** 被用站点数(W1,删除保护口径与后端一致) */
|
||||
inUseCount?: number;
|
||||
/** 是否可编辑/删除(W1:仅外部包) */
|
||||
editable?: boolean;
|
||||
/** 引用站点名列表(W1:删除保护提示/tooltip) */
|
||||
usedBySiteNames?: string[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user