export type TformActionType = "book" | "edit" | "add"; /** * 定义form相关属性 * * @export * @interface IformProp */ export interface IformProp { /** * item属性值 * * * @memberOf IformProp */ formSourceItems?: string, /** * 当前值 * * @type {string} * @memberOf IformProp */ formDefaultValue?: string /** * 最小长度 * * @type {string} * @memberOf IformProp */ formMinSize?: string /** * 最大长度 * * @type {string} * @memberOf IformProp */ formMaxSize?: string /** * 正则表达式编码 * * @type {string} * @memberOf IformProp */ formRegexCode?: string /** * 展示类型 * * @type {string} * @memberOf IformProp */ formShowType?: string /** * 扩展显示 * * @type {string} * @memberof IformProp */ formExtendDisplay?: string /** * 查询附加条件 * * @type {string} * @memberof IformProp */ formExtendQuery?:string /** * 元素的名称 * * @type {string} * @memberOf IformProp */ name?: string } /** * 定义form相关状态 * * @export * @interface IformState */ export interface IformState { /** * 当前值 * * @type {string} * @memberOf IformState */ currentValue: string /** * 当前展示文本 * * @type {string} * @memberOf IformState */ currentText?: string } export interface IformOption { text: string value: string checked: boolean type?: string } export interface IformObjectItem { text: string value: string type: string expand: string } export interface IformObjectValue { showText?: string showValue?: string items?: IformObjectItem[] } export interface IformBase { /** * 页面链接 * * @type {string} * @memberOf IformBase */ formPage: string /** * form的名称 * * @type {string} * @memberOf IformBase */ formName: string } export interface IformInfo extends IformBase { /** * 数据编号 默认为空则是添加 * * @type {string} * @memberOf CformInfo */ baseKey: string /** * 页面操作类型 * * @type {TformActionType} * @memberOf FormInfo */ ationType: TformActionType /** * 页面链接 * * @type {string} * @memberOf CformInfo */ formPage: string /** * 页面名称 * * @type {string} * @memberOf CformInfo */ formName: string /** * 当前form是否修改过 * * @type {boolean} * @memberOf CformInfo */ flagChange: boolean dataInfo: Map } export interface IformSubmitConfig { leaderKey?: string formFounder?: string noticeListName?: string } export interface IformQueryConfig { //查询条件 filter?: string //查询数据 key?: string leader?:string //排序字段 默认倒序修改时间 sort?: string }