Options
All
  • Public
  • Public/Protected
  • All
Menu

sql查询类型的数据源编辑器

Hierarchy

  • DataSetEditorBase
    • SqlDataSetEditor

Index

Constructors

constructor

Properties

codeEditor

codeEditor: ICodeEditor

codeEditorId

codeEditorId: string

css

css: SqlDataSetEditorStyle

ds

当前修改数据源

params

params: ISqlParam[]

参数暂存

searchInputId

searchInputId: string

state

state: string

tbParam

tbParam: ITableInstance

treeObj

treeObj: IzTreeObj

Methods

commit

  • commit(): boolean
  • Returns boolean

doGetCss

  • doGetCss(): any
  • Returns any

doGetHtml

  • doGetHtml(): string
  • Returns string

doOnClose

  • doOnClose(): void
  • Returns void

doSqlDict

  • doSqlDict(): void
  • Returns void

formulaCallback

  • formulaCallback(): FormulaCallback
  • Returns FormulaCallback

getNewDefalutDataSet

  • Returns SqlDataSetBase

getSql

  • getSql(rwid: string): string
  • Parameters

    • rwid: string

    Returns string

init

  • init(): void
  • Returns void

Private initEditor

  • initEditor(): void
  • Returns void

loadField

  • loadField(param: { paramItemArry: any; sql: string }, successCallback: (fields: ITableModelField[]) => void, errorCallBack: (err: string) => void): void
  • 加载字段列表

    Parameters

    • param: { paramItemArry: any; sql: string }

      参数对象:{paramItemArry:{field: 'RWID', fieldType: 'params', val: '123467890' }, sql: sqlVal}

      • paramItemArry: any
      • sql: string
    • successCallback: (fields: ITableModelField[]) => void
        • (fields: ITableModelField[]): void
        • Parameters

          • fields: ITableModelField[]

          Returns void

    • errorCallBack: (err: string) => void
        • (err: string): void
        • Parameters

          • err: string

          Returns void

    Returns void

loadFields

  • loadFields(sqlVal: string): void
  • Parameters

    • sqlVal: string

    Returns void

refreshFields

  • refreshFields(): void
  • Returns void

refreshSqlParams

  • refreshSqlParams(): void
  • 刷新sql的参数

    Returns void

renderParams

  • renderParams(): void
  • 渲染参数列表

    Returns void

Generated using TypeDoc