UNPKG

@cdwx/system

Version:

成都文宣业务类服务模块组件库

248 lines (247 loc) 4.27 kB
/** * 字典类型列表查询 */ export interface IDictTypeReq { currentPage?: number; pageSize?: number; /** * 名称 */ name?: string; } /** * 字典类型列表查询 */ export interface IDictType { /** * 主键 */ id?: number; /** * 排序 */ sort?: number; /** * 名称 */ name?: string; /** * 编码 */ code?: string; /** * 描述 */ description?: string; /** * 创建时间 */ createTime?: string; /** * 修改时间 */ updateTime?: string; showSort?: boolean; } /** * 新增对象 */ export interface IDictTypeDto { /** * 名称 */ name?: string; /** * 编码 */ code?: string; /** * 描述 */ description?: string; /** * 主键 */ id?: number | undefined; /** * 排序 */ sort?: number | undefined; } /** * 获取字典类型列表 */ export declare function getDictTypeList(params: IDictTypeReq): Promise<import("@cdwx/http").HttpResponse<any>>; /** * 删除 */ export declare function deleteData(id: any): Promise<import("@cdwx/http").HttpResponse<any>>; /** * 新增 */ export declare function saveData(params: IDictTypeDto): Promise<import("@cdwx/http").HttpResponse<any>>; /** * 改变排序值 */ export declare function operateSort(params: IDictTypeDto): Promise<import("@cdwx/http").HttpResponse<any>>; /** * 批量删除 */ export declare function delList(idList: Array<number | string>): Promise<import("@cdwx/http").HttpResponse<any>>; /** * 字典项列表查询 */ export interface IDictItemReq { currentPage?: number; pageSize?: number; /** * 分类code */ code: string | undefined; /** * 分类名称 */ dictLabel?: string; } /** * 字典类型列表查询 */ export interface IDictItem { /** * 主键 */ id?: number; /** * 编码 */ code?: string; /** * 排序 */ sort?: number; /** * 名称 */ dictLabel?: string; /** * 编码 */ dictValue?: string; /** * 描述 */ description?: string; /** * 创建时间 */ createTime?: string; /** * 修改时间 */ updateTime?: string; /** * 是否启用 */ enable?: boolean; showSort?: boolean; } /** * 字典类型列表查询 */ export interface IDictItem { /** * 主键 */ id?: number; /** * 编码 */ code?: string; /** * 排序 */ sort?: number; /** * 名称 */ dictLabel?: string; /** * 编码 */ dictValue?: string; /** * 描述 */ description?: string; /** * 创建时间 */ createTime?: string; /** * 修改时间 */ updateTime?: string; /** * 是否启用 */ enable?: boolean; } /** * 字典项 */ export interface IDictItemDto { [x: string]: any; /** * 主键 */ id?: number | undefined; /** * 编码 */ code?: string; /** * 排序 */ sort?: number; /** * 名称 */ dictLabel?: string; /** * 编码 */ dictValue?: string; /** * 描述 */ description?: string; /** * 是否启用 */ enable?: boolean; showSort?: boolean; } /** * 获取字典项列表 */ export declare function getDictItemList(params: IDictItemReq): Promise<import("@cdwx/http").HttpResponse<any>>; /** * 删除 */ export declare function deleteItemData(id: any): Promise<import("@cdwx/http").HttpResponse<any>>; /** * 新增 */ export declare function saveItemData(params: IDictItemDto): Promise<import("@cdwx/http").HttpResponse<any>>; /** * 禁启用 */ export declare function operateData(params: IDictItemDto): Promise<import("@cdwx/http").HttpResponse<any>>; /** * 改变排序值 */ export declare function operateItemSort(params: IDictItemDto): Promise<import("@cdwx/http").HttpResponse<any>>; /** * 批量删除 */ export declare function delItemList(idList: Array<number | string>): Promise<import("@cdwx/http").HttpResponse<any>>;