Options
All
  • Public
  • Public/Protected
  • All
Menu

即席查询接口文档

Index 目录

Type aliases 类型

CssObject

CssObject: {} | null

css样式对象, 把css样式以js对象方式书写

示例代码

let cssObecjt:CssObject = {
  'color': '#f00',
  'background': 'rgb(0,255,0)',
  'margin': '5px 10px',
  'font-size': '13px'
}

CssSelector

CssSelector: string

css选择器

详细参考菜鸟教程文档 https://www.runoob.com/cssref/css-selectors.html

示例代码

let cssSelector:CssSelector = '.el-table__header'
let cssSelector2:CssSelector = 'div, p'

OpenResourceQuery

OpenResourceQuery: { paramInfo?: Array<ParamInfoItem>; targetInfo?: OpenResourceTargetInfo }

打开内部链接参数query

  • 示例
let OpenResourceQuery = {
    paramInfo: [{name: '名称', alias: '别名', value: ['真实值'], displayValue: ['显示值']}],
    targetInfo: {}
}

Type declaration 类型声明

OpenResourceTargetInfo

OpenResourceTargetInfo: { method?: string; title?: string }

内部资源:打开方式窗口属性

  • 示例
let openResourceTargetInfo = {method: 'POST', title: '自定义标题'}

Type declaration 类型声明

  • Optional method?: string

    form表单请求方法(默认值:'POST')

  • Optional title?: string

    窗口的标题(默认值:资源的别名或者名称)

ParamInfoItem

ParamInfoItem: { alias?: string; displayValue?: Array<string>; name: string; value: Array<string> }

打开方式传递参数

Type declaration 类型声明

  • Optional alias?: string
  • Optional displayValue?: Array<string>
  • name: string
  • value: Array<string>

filterValueChangeFuncType

filterValueChangeFuncType: (newValues: Array<any>, oldValues: Array<any>) => Array<any>

值修改方法

Type declaration 类型声明

    • (newValues: Array<any>, oldValues: Array<any>): Array<any>
    • Parameters 参数

      • newValues: Array<any>
      • oldValues: Array<any>

      Returns 返回值 Array<any>

handlerType

handlerType: (define: IToolbarItem) => void

Type declaration 类型声明

paramValueChangeFuncType

paramValueChangeFuncType: (newValues: Array<Array<any>>, oldValues: Array<Array<any>>) => Array<Array<any>>

值修改方法

Type declaration 类型声明

    • (newValues: Array<Array<any>>, oldValues: Array<Array<any>>): Array<Array<any>>
    • Parameters 参数

      • newValues: Array<Array<any>>
      • oldValues: Array<Array<any>>

      Returns 返回值 Array<Array<any>>