Options
All
  • Public
  • Public/Protected
  • All
Menu

平台全局配置类型 包含了api接口 请求的地址

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private config

config: { Aes: { iv: string; key: string }; ChartBase: { getChinaProvinceJs: (province?: string) => string; getEcharBmapJs: () => string; getEcharChinaJs: () => string; getEcharJs: () => string }; CodeEditor: { defalutEditor: string; getLoadJsUrl: () => string; getMainJsUrl: () => string; getTypesFile: () => string }; DataSource: { checkdaoUrl: string; coreDatasourcePostUrl: string; coreDatasourceQueryUrl: string; coremodeldesignQuery: string; daoIcon: string; dataSourceIcon: string; jsonReader: { idField: string; msgProperty: string; root: string; successProperty: string; totalProperty: string }; loadTableModelColumnUrl: string; loadTableModelUrl: string; pageIcon: string; queryFormulaDescUrl: string; querySqlFieldsUrl: string }; DesignerPageBase: { getPageJsonByCodeUrl: string; getPageJsonByIdUrl: string; previewId: string; previewUrl: string; processModelUrl: string; saveUrl: string }; Formula: { checkFormulaUrl: string; coremodeldesignCheckSqlUrl: string; formulaImageUrl: string; formulatypeImageUrl: string; queryFormulaDescExUrl: string; queryFormulaSqlHitUrl: string; variablesImageUrl: string }; FunctionQuote: { corefunctionQueryUrl: string }; Gantt: { getCssUrl: () => string; getJsUrl: () => string }; HandsonTable: { getCssUrl: () => string; getJsUrl: () => string; getLangUrl: () => string }; Help: { HelpUrl: string }; ImgLabel: { getErrorImageLoadUrl: () => string }; Language: { getJsUrls: () => string[] }; Markdown: { getExtUrl: () => string; getJsUrl: () => string }; Notice: { Message: { alert: (text: string) => number; error: (errorTxt: string, ishtml?: boolean) => number; info: (text: string) => number; success: (text: string) => number }; MessageBox: { prompt: (text: string, okCallBack: ConfirmCallBackHandle, title?: string, cancelCallBack?: ConfirmCallBackHandle) => number; success: (text: string) => number }; Notification: { alert: (text: string) => number; error: (errorTxt: string, ishtml?: boolean) => number; info: (text: string) => number; success: (text: string) => number }; loading: () => number }; OBJCODE: string; OBJNAME: string; Print: { getReprtDataUrl: string; getReprtDataUrlEx: string }; RWID: string; SM2: { cipherMode: number; privateKey: string; publickey: string }; SYS_PARENTID: string; Table: { commonTempleteUrl: string; exportMaxCount: number; exportUrl: string; menudIcon: string; reponse: { countName: string; dataName: string; msgName: string; statusCode: number; statusName: string }; request: { limitName: string; pageName: string }; userDataModifyUrl: string; userDataQueryUrl: string }; UploadCmp: { coremodelshowUploadUrl: string }; UserService: { queryCurUserInfo: string }; WangEditor: { getJsUrl: () => string }; WeChatTools: { getQueryorgtreelistbyparentid: string }; Workflow: { ATTACHMENT: string; AUDIT_MEMO: string; AUDN_AME: string; AUDN_FLAG: string; AUTO_COMPLETE_FIRST: string; CONFIG_PROCESS: string; START_PROCESS: string; SYS_AUDFLAG: string; SYS_PID: string; YWTB: string; doListUrl: string; findliucUrl: string; getFormDataUrl: string; processImageUrl: string; processImagebyMenuIdUrl: string; querybyjson: string; readCopyUrl: string; startProcessbyMenuId: string; startProcessbyProcessKey: string; updateOrocessUrl: string }; YHVideo: { getBackGroundImageUrl: () => string; getCkplayerJs: () => string }; date: { DEFALUT_FORMAT: { date: string; datetime: string; month: string; time: string; year: string } }; fontsAwesomeIcon: () => string; imageDir: () => string; page: { EDIT_STATE: string }; rootDir: string; supperAttrHelp: boolean; supperFormula: boolean; supperRight: boolean; supperSqlDataSource: boolean } = ...

Type declaration

  • Aes: { iv: string; key: string }
    • iv: string
    • key: string
  • ChartBase: { getChinaProvinceJs: (province?: string) => string; getEcharBmapJs: () => string; getEcharChinaJs: () => string; getEcharJs: () => string }
    • getChinaProvinceJs: (province?: string) => string
        • (province?: string): string
        • 获取各个省份地图

          Parameters

          • province: string = 'china'

            省份的拼音全拼字母 注意这两: 山西:shanxi 陕西:shanxi1

          Returns string

    • getEcharBmapJs: () => string
        • (): string
        • 扩展地图的库

          Returns string

    • getEcharChinaJs: () => string
        • (): string
        • 中国地图

          Returns string

    • getEcharJs: () => string
        • (): string
        • echarts

          Returns string

  • CodeEditor: { defalutEditor: string; getLoadJsUrl: () => string; getMainJsUrl: () => string; getTypesFile: () => string }
    • defalutEditor: string
    • getLoadJsUrl: () => string
        • (): string
        • 编辑器的加载器loader.js的加载地址

          Returns string

    • getMainJsUrl: () => string
        • (): string
        • 编辑器的main.js的加载地址

          Returns string

    • getTypesFile: () => string
        • (): string
        • 代码编辑器的类型描述文件

          Returns string

  • DataSource: { checkdaoUrl: string; coreDatasourcePostUrl: string; coreDatasourceQueryUrl: string; coremodeldesignQuery: string; daoIcon: string; dataSourceIcon: string; jsonReader: { idField: string; msgProperty: string; root: string; successProperty: string; totalProperty: string }; loadTableModelColumnUrl: string; loadTableModelUrl: string; pageIcon: string; queryFormulaDescUrl: string; querySqlFieldsUrl: string }
    • checkdaoUrl: string
    • coreDatasourcePostUrl: string
    • coreDatasourceQueryUrl: string
    • coremodeldesignQuery: string
    • daoIcon: string
    • dataSourceIcon: string
    • jsonReader: { idField: string; msgProperty: string; root: string; successProperty: string; totalProperty: string }
      • idField: string
      • msgProperty: string
      • root: string
      • successProperty: string
      • totalProperty: string
    • loadTableModelColumnUrl: string
    • loadTableModelUrl: string
    • pageIcon: string
    • queryFormulaDescUrl: string
    • querySqlFieldsUrl: string
  • DesignerPageBase: { getPageJsonByCodeUrl: string; getPageJsonByIdUrl: string; previewId: string; previewUrl: string; processModelUrl: string; saveUrl: string }
    • getPageJsonByCodeUrl: string
    • getPageJsonByIdUrl: string
    • previewId: string
    • previewUrl: string
    • processModelUrl: string
    • saveUrl: string
  • Formula: { checkFormulaUrl: string; coremodeldesignCheckSqlUrl: string; formulaImageUrl: string; formulatypeImageUrl: string; queryFormulaDescExUrl: string; queryFormulaSqlHitUrl: string; variablesImageUrl: string }
    • checkFormulaUrl: string
    • coremodeldesignCheckSqlUrl: string
    • formulaImageUrl: string
    • formulatypeImageUrl: string
    • queryFormulaDescExUrl: string
    • queryFormulaSqlHitUrl: string
    • variablesImageUrl: string
  • FunctionQuote: { corefunctionQueryUrl: string }
    • corefunctionQueryUrl: string
  • Gantt: { getCssUrl: () => string; getJsUrl: () => string }
    • getCssUrl: () => string
        • (): string
        • css路径

          Returns string

    • getJsUrl: () => string
        • (): string
        • js路径

          Returns string

  • HandsonTable: { getCssUrl: () => string; getJsUrl: () => string; getLangUrl: () => string }
    • getCssUrl: () => string
        • (): string
        • Returns string

    • getJsUrl: () => string
        • (): string
        • Returns string

    • getLangUrl: () => string
        • (): string
        • Returns string

  • Help: { HelpUrl: string }
    • HelpUrl: string
  • ImgLabel: { getErrorImageLoadUrl: () => string }
    • getErrorImageLoadUrl: () => string
        • (): string
        • 错误的图片路径

          Returns string

  • Language: { getJsUrls: () => string[] }
    • getJsUrls: () => string[]
        • (): string[]
        • Returns string[]

  • Markdown: { getExtUrl: () => string; getJsUrl: () => string }
    • getExtUrl: () => string
        • (): string
        • showdown-twitter.js 路径

          Returns string

    • getJsUrl: () => string
        • (): string
        • js路径

          Returns string

  • Notice: { Message: { alert: (text: string) => number; error: (errorTxt: string, ishtml?: boolean) => number; info: (text: string) => number; success: (text: string) => number }; MessageBox: { prompt: (text: string, okCallBack: ConfirmCallBackHandle, title?: string, cancelCallBack?: ConfirmCallBackHandle) => number; success: (text: string) => number }; Notification: { alert: (text: string) => number; error: (errorTxt: string, ishtml?: boolean) => number; info: (text: string) => number; success: (text: string) => number }; loading: () => number }
    • Message: { alert: (text: string) => number; error: (errorTxt: string, ishtml?: boolean) => number; info: (text: string) => number; success: (text: string) => number }
      • alert: (text: string) => number
          • (text: string): number
          • 弹出警告弹出提示框

            Parameters

            • text: string

              警告信息

            Returns number

            返回弹出层的唯一index . 关闭可使用 Common.closeForm(index).

      • error: (errorTxt: string, ishtml?: boolean) => number
          • (errorTxt: string, ishtml?: boolean): number
          • 弹出错误提示信息框.

            Parameters

            • errorTxt: string

              提示的信息

            • ishtml: boolean = false

              默认值 false 是否显示html的元素.否则会被_.escape 格式化后再显示

            Returns number

            返回弹出层的唯一index . 关闭可使用 Common.closeForm(index).

      • info: (text: string) => number
          • (text: string): number
          • 警告弹出提示框

            Form.msg("您好!")
            

            Parameters

            • text: string

              警告信息

            Returns number

            返回弹出层的唯一index . 关闭可使用 Common.closeForm(index).

      • success: (text: string) => number
          • (text: string): number
          • 弹出成功msg提示框

            Parameters

            • text: string

              提示信息

            Returns number

            返回弹出层的唯一index

    • MessageBox: { prompt: (text: string, okCallBack: ConfirmCallBackHandle, title?: string, cancelCallBack?: ConfirmCallBackHandle) => number; success: (text: string) => number }
      • prompt: (text: string, okCallBack: ConfirmCallBackHandle, title?: string, cancelCallBack?: ConfirmCallBackHandle) => number
          • 弹出[确定/取消]的模式对话框

            Parameters

            • text: string

              提示信息

            • okCallBack: ConfirmCallBackHandle

              确定后回调函数 返回false是不关闭窗口,否则都关闭

            • title: string = '询问'

              提示框的标题

            • Optional cancelCallBack: ConfirmCallBackHandle

              取消关闭标题

            Returns number

            返回弹出层的唯一index . 关闭可使用 Common.closeForm(index).

      • success: (text: string) => number
          • (text: string): number
          • 弹出成功msg提示框

            Parameters

            • text: string

              提示信息

            Returns number

            返回弹出层的唯一index

    • Notification: { alert: (text: string) => number; error: (errorTxt: string, ishtml?: boolean) => number; info: (text: string) => number; success: (text: string) => number }
      • alert: (text: string) => number
          • (text: string): number
          • 弹出警告弹出提示框

            Parameters

            • text: string

              警告信息

            Returns number

            返回弹出层的唯一index . 关闭可使用 Common.closeForm(index).

      • error: (errorTxt: string, ishtml?: boolean) => number
          • (errorTxt: string, ishtml?: boolean): number
          • 弹出错误提示信息框.

            Parameters

            • errorTxt: string

              提示的信息

            • ishtml: boolean = false

              默认值 false 是否显示html的元素.否则会被_.escape 格式化后再显示

            Returns number

            返回弹出层的唯一index . 关闭可使用 Common.closeForm(index).

      • info: (text: string) => number
          • (text: string): number
          • 警告弹出提示框

            Form.msg("您好!")
            

            Parameters

            • text: string

              警告信息

            Returns number

            返回弹出层的唯一index . 关闭可使用 Common.closeForm(index).

      • success: (text: string) => number
          • (text: string): number
          • 弹出成功msg提示框

            Parameters

            • text: string

              提示信息

            Returns number

            返回弹出层的唯一index

    • loading: () => number
        • (): number
        • 显示正在加载

          Returns number

          返回弹出层的唯一index . 关闭可使用 Common.closeForm(index).

          let handle=Common.loading()
          //隐藏
          Common.closeForm(handle)
          
  • OBJCODE: string
  • OBJNAME: string
  • Print: { getReprtDataUrl: string; getReprtDataUrlEx: string }
    • getReprtDataUrl: string
    • getReprtDataUrlEx: string
  • RWID: string
  • SM2: { cipherMode: number; privateKey: string; publickey: string }
    • cipherMode: number
    • privateKey: string
    • publickey: string
  • SYS_PARENTID: string
  • Table: { commonTempleteUrl: string; exportMaxCount: number; exportUrl: string; menudIcon: string; reponse: { countName: string; dataName: string; msgName: string; statusCode: number; statusName: string }; request: { limitName: string; pageName: string }; userDataModifyUrl: string; userDataQueryUrl: string }
    • commonTempleteUrl: string
    • exportMaxCount: number
    • exportUrl: string
    • menudIcon: string
    • reponse: { countName: string; dataName: string; msgName: string; statusCode: number; statusName: string }
      • countName: string
      • dataName: string
      • msgName: string
      • statusCode: number
      • statusName: string
    • request: { limitName: string; pageName: string }
      • limitName: string
      • pageName: string
    • userDataModifyUrl: string
    • userDataQueryUrl: string
  • UploadCmp: { coremodelshowUploadUrl: string }
    • coremodelshowUploadUrl: string
  • UserService: { queryCurUserInfo: string }
    • queryCurUserInfo: string
  • WangEditor: { getJsUrl: () => string }
    • getJsUrl: () => string
        • (): string
        • js路径

          Returns string

  • WeChatTools: { getQueryorgtreelistbyparentid: string }
    • getQueryorgtreelistbyparentid: string
  • Workflow: { ATTACHMENT: string; AUDIT_MEMO: string; AUDN_AME: string; AUDN_FLAG: string; AUTO_COMPLETE_FIRST: string; CONFIG_PROCESS: string; START_PROCESS: string; SYS_AUDFLAG: string; SYS_PID: string; YWTB: string; doListUrl: string; findliucUrl: string; getFormDataUrl: string; processImageUrl: string; processImagebyMenuIdUrl: string; querybyjson: string; readCopyUrl: string; startProcessbyMenuId: string; startProcessbyProcessKey: string; updateOrocessUrl: string }
    • ATTACHMENT: string
    • AUDIT_MEMO: string
    • AUDN_AME: string
    • AUDN_FLAG: string
    • AUTO_COMPLETE_FIRST: string
    • CONFIG_PROCESS: string
    • START_PROCESS: string
    • SYS_AUDFLAG: string
    • SYS_PID: string
    • YWTB: string
    • doListUrl: string
    • findliucUrl: string
    • getFormDataUrl: string
    • processImageUrl: string
    • processImagebyMenuIdUrl: string
    • querybyjson: string
    • readCopyUrl: string
    • startProcessbyMenuId: string
    • startProcessbyProcessKey: string
    • updateOrocessUrl: string
  • YHVideo: { getBackGroundImageUrl: () => string; getCkplayerJs: () => string }
    • getBackGroundImageUrl: () => string
        • (): string
        • 背景图

          Returns string

    • getCkplayerJs: () => string
        • (): string
        • ck播放器的js路径

          Returns string

  • date: { DEFALUT_FORMAT: { date: string; datetime: string; month: string; time: string; year: string } }
    • DEFALUT_FORMAT: { date: string; datetime: string; month: string; time: string; year: string }
      • date: string
      • datetime: string
      • month: string
      • time: string
      • year: string
  • fontsAwesomeIcon: () => string
      • (): string
      • fontsAwesomeIcon 的描述路径

        Returns string

  • imageDir: () => string
      • (): string
      • 图片的目录

        Returns string

  • page: { EDIT_STATE: string }
    • EDIT_STATE: string
  • rootDir: string
  • supperAttrHelp: boolean
  • supperFormula: boolean
  • supperRight: boolean
  • supperSqlDataSource: boolean

Methods

getConfig

  • getConfig(): { Aes: { iv: string; key: string }; ChartBase: { getChinaProvinceJs: (province?: string) => string; getEcharBmapJs: () => string; getEcharChinaJs: () => string; getEcharJs: () => string }; CodeEditor: { defalutEditor: string; getLoadJsUrl: () => string; getMainJsUrl: () => string; getTypesFile: () => string }; DataSource: { checkdaoUrl: string; coreDatasourcePostUrl: string; coreDatasourceQueryUrl: string; coremodeldesignQuery: string; daoIcon: string; dataSourceIcon: string; jsonReader: { idField: string; msgProperty: string; root: string; successProperty: string; totalProperty: string }; loadTableModelColumnUrl: string; loadTableModelUrl: string; pageIcon: string; queryFormulaDescUrl: string; querySqlFieldsUrl: string }; DesignerPageBase: { getPageJsonByCodeUrl: string; getPageJsonByIdUrl: string; previewId: string; previewUrl: string; processModelUrl: string; saveUrl: string }; Formula: { checkFormulaUrl: string; coremodeldesignCheckSqlUrl: string; formulaImageUrl: string; formulatypeImageUrl: string; queryFormulaDescExUrl: string; queryFormulaSqlHitUrl: string; variablesImageUrl: string }; FunctionQuote: { corefunctionQueryUrl: string }; Gantt: { getCssUrl: () => string; getJsUrl: () => string }; HandsonTable: { getCssUrl: () => string; getJsUrl: () => string; getLangUrl: () => string }; Help: { HelpUrl: string }; ImgLabel: { getErrorImageLoadUrl: () => string }; Language: { getJsUrls: () => string[] }; Markdown: { getExtUrl: () => string; getJsUrl: () => string }; Notice: { Message: { alert: (text: string) => number; error: (errorTxt: string, ishtml?: boolean) => number; info: (text: string) => number; success: (text: string) => number }; MessageBox: { prompt: (text: string, okCallBack: ConfirmCallBackHandle, title?: string, cancelCallBack?: ConfirmCallBackHandle) => number; success: (text: string) => number }; Notification: { alert: (text: string) => number; error: (errorTxt: string, ishtml?: boolean) => number; info: (text: string) => number; success: (text: string) => number }; loading: () => number }; OBJCODE: string; OBJNAME: string; Print: { getReprtDataUrl: string; getReprtDataUrlEx: string }; RWID: string; SM2: { cipherMode: number; privateKey: string; publickey: string }; SYS_PARENTID: string; Table: { commonTempleteUrl: string; exportMaxCount: number; exportUrl: string; menudIcon: string; reponse: { countName: string; dataName: string; msgName: string; statusCode: number; statusName: string }; request: { limitName: string; pageName: string }; userDataModifyUrl: string; userDataQueryUrl: string }; UploadCmp: { coremodelshowUploadUrl: string }; UserService: { queryCurUserInfo: string }; WangEditor: { getJsUrl: () => string }; WeChatTools: { getQueryorgtreelistbyparentid: string }; Workflow: { ATTACHMENT: string; AUDIT_MEMO: string; AUDN_AME: string; AUDN_FLAG: string; AUTO_COMPLETE_FIRST: string; CONFIG_PROCESS: string; START_PROCESS: string; SYS_AUDFLAG: string; SYS_PID: string; YWTB: string; doListUrl: string; findliucUrl: string; getFormDataUrl: string; processImageUrl: string; processImagebyMenuIdUrl: string; querybyjson: string; readCopyUrl: string; startProcessbyMenuId: string; startProcessbyProcessKey: string; updateOrocessUrl: string }; YHVideo: { getBackGroundImageUrl: () => string; getCkplayerJs: () => string }; date: { DEFALUT_FORMAT: { date: string; datetime: string; month: string; time: string; year: string } }; fontsAwesomeIcon: () => string; imageDir: () => string; page: { EDIT_STATE: string }; rootDir: string; supperAttrHelp: boolean; supperFormula: boolean; supperRight: boolean; supperSqlDataSource: boolean }
  • 获取全局的配置对象

    Returns { Aes: { iv: string; key: string }; ChartBase: { getChinaProvinceJs: (province?: string) => string; getEcharBmapJs: () => string; getEcharChinaJs: () => string; getEcharJs: () => string }; CodeEditor: { defalutEditor: string; getLoadJsUrl: () => string; getMainJsUrl: () => string; getTypesFile: () => string }; DataSource: { checkdaoUrl: string; coreDatasourcePostUrl: string; coreDatasourceQueryUrl: string; coremodeldesignQuery: string; daoIcon: string; dataSourceIcon: string; jsonReader: { idField: string; msgProperty: string; root: string; successProperty: string; totalProperty: string }; loadTableModelColumnUrl: string; loadTableModelUrl: string; pageIcon: string; queryFormulaDescUrl: string; querySqlFieldsUrl: string }; DesignerPageBase: { getPageJsonByCodeUrl: string; getPageJsonByIdUrl: string; previewId: string; previewUrl: string; processModelUrl: string; saveUrl: string }; Formula: { checkFormulaUrl: string; coremodeldesignCheckSqlUrl: string; formulaImageUrl: string; formulatypeImageUrl: string; queryFormulaDescExUrl: string; queryFormulaSqlHitUrl: string; variablesImageUrl: string }; FunctionQuote: { corefunctionQueryUrl: string }; Gantt: { getCssUrl: () => string; getJsUrl: () => string }; HandsonTable: { getCssUrl: () => string; getJsUrl: () => string; getLangUrl: () => string }; Help: { HelpUrl: string }; ImgLabel: { getErrorImageLoadUrl: () => string }; Language: { getJsUrls: () => string[] }; Markdown: { getExtUrl: () => string; getJsUrl: () => string }; Notice: { Message: { alert: (text: string) => number; error: (errorTxt: string, ishtml?: boolean) => number; info: (text: string) => number; success: (text: string) => number }; MessageBox: { prompt: (text: string, okCallBack: ConfirmCallBackHandle, title?: string, cancelCallBack?: ConfirmCallBackHandle) => number; success: (text: string) => number }; Notification: { alert: (text: string) => number; error: (errorTxt: string, ishtml?: boolean) => number; info: (text: string) => number; success: (text: string) => number }; loading: () => number }; OBJCODE: string; OBJNAME: string; Print: { getReprtDataUrl: string; getReprtDataUrlEx: string }; RWID: string; SM2: { cipherMode: number; privateKey: string; publickey: string }; SYS_PARENTID: string; Table: { commonTempleteUrl: string; exportMaxCount: number; exportUrl: string; menudIcon: string; reponse: { countName: string; dataName: string; msgName: string; statusCode: number; statusName: string }; request: { limitName: string; pageName: string }; userDataModifyUrl: string; userDataQueryUrl: string }; UploadCmp: { coremodelshowUploadUrl: string }; UserService: { queryCurUserInfo: string }; WangEditor: { getJsUrl: () => string }; WeChatTools: { getQueryorgtreelistbyparentid: string }; Workflow: { ATTACHMENT: string; AUDIT_MEMO: string; AUDN_AME: string; AUDN_FLAG: string; AUTO_COMPLETE_FIRST: string; CONFIG_PROCESS: string; START_PROCESS: string; SYS_AUDFLAG: string; SYS_PID: string; YWTB: string; doListUrl: string; findliucUrl: string; getFormDataUrl: string; processImageUrl: string; processImagebyMenuIdUrl: string; querybyjson: string; readCopyUrl: string; startProcessbyMenuId: string; startProcessbyProcessKey: string; updateOrocessUrl: string }; YHVideo: { getBackGroundImageUrl: () => string; getCkplayerJs: () => string }; date: { DEFALUT_FORMAT: { date: string; datetime: string; month: string; time: string; year: string } }; fontsAwesomeIcon: () => string; imageDir: () => string; page: { EDIT_STATE: string }; rootDir: string; supperAttrHelp: boolean; supperFormula: boolean; supperRight: boolean; supperSqlDataSource: boolean }

    全局的配置对象

    • Aes: { iv: string; key: string }
      • iv: string
      • key: string
    • ChartBase: { getChinaProvinceJs: (province?: string) => string; getEcharBmapJs: () => string; getEcharChinaJs: () => string; getEcharJs: () => string }
      • getChinaProvinceJs: (province?: string) => string
          • (province?: string): string
          • 获取各个省份地图

            Parameters

            • province: string = 'china'

              省份的拼音全拼字母 注意这两: 山西:shanxi 陕西:shanxi1

            Returns string

      • getEcharBmapJs: () => string
          • (): string
          • 扩展地图的库

            Returns string

      • getEcharChinaJs: () => string
          • (): string
          • 中国地图

            Returns string

      • getEcharJs: () => string
          • (): string
          • echarts

            Returns string

    • CodeEditor: { defalutEditor: string; getLoadJsUrl: () => string; getMainJsUrl: () => string; getTypesFile: () => string }
      • defalutEditor: string
      • getLoadJsUrl: () => string
          • (): string
          • 编辑器的加载器loader.js的加载地址

            Returns string

      • getMainJsUrl: () => string
          • (): string
          • 编辑器的main.js的加载地址

            Returns string

      • getTypesFile: () => string
          • (): string
          • 代码编辑器的类型描述文件

            Returns string

    • DataSource: { checkdaoUrl: string; coreDatasourcePostUrl: string; coreDatasourceQueryUrl: string; coremodeldesignQuery: string; daoIcon: string; dataSourceIcon: string; jsonReader: { idField: string; msgProperty: string; root: string; successProperty: string; totalProperty: string }; loadTableModelColumnUrl: string; loadTableModelUrl: string; pageIcon: string; queryFormulaDescUrl: string; querySqlFieldsUrl: string }
      • checkdaoUrl: string
      • coreDatasourcePostUrl: string
      • coreDatasourceQueryUrl: string
      • coremodeldesignQuery: string
      • daoIcon: string
      • dataSourceIcon: string
      • jsonReader: { idField: string; msgProperty: string; root: string; successProperty: string; totalProperty: string }
        • idField: string
        • msgProperty: string
        • root: string
        • successProperty: string
        • totalProperty: string
      • loadTableModelColumnUrl: string
      • loadTableModelUrl: string
      • pageIcon: string
      • queryFormulaDescUrl: string
      • querySqlFieldsUrl: string
    • DesignerPageBase: { getPageJsonByCodeUrl: string; getPageJsonByIdUrl: string; previewId: string; previewUrl: string; processModelUrl: string; saveUrl: string }
      • getPageJsonByCodeUrl: string
      • getPageJsonByIdUrl: string
      • previewId: string
      • previewUrl: string
      • processModelUrl: string
      • saveUrl: string
    • Formula: { checkFormulaUrl: string; coremodeldesignCheckSqlUrl: string; formulaImageUrl: string; formulatypeImageUrl: string; queryFormulaDescExUrl: string; queryFormulaSqlHitUrl: string; variablesImageUrl: string }
      • checkFormulaUrl: string
      • coremodeldesignCheckSqlUrl: string
      • formulaImageUrl: string
      • formulatypeImageUrl: string
      • queryFormulaDescExUrl: string
      • queryFormulaSqlHitUrl: string
      • variablesImageUrl: string
    • FunctionQuote: { corefunctionQueryUrl: string }
      • corefunctionQueryUrl: string
    • Gantt: { getCssUrl: () => string; getJsUrl: () => string }
      • getCssUrl: () => string
          • (): string
          • css路径

            Returns string

      • getJsUrl: () => string
          • (): string
          • js路径

            Returns string

    • HandsonTable: { getCssUrl: () => string; getJsUrl: () => string; getLangUrl: () => string }
      • getCssUrl: () => string
          • (): string
          • Returns string

      • getJsUrl: () => string
          • (): string
          • Returns string

      • getLangUrl: () => string
          • (): string
          • Returns string

    • Help: { HelpUrl: string }
      • HelpUrl: string
    • ImgLabel: { getErrorImageLoadUrl: () => string }
      • getErrorImageLoadUrl: () => string
          • (): string
          • 错误的图片路径

            Returns string

    • Language: { getJsUrls: () => string[] }
      • getJsUrls: () => string[]
          • (): string[]
          • Returns string[]

    • Markdown: { getExtUrl: () => string; getJsUrl: () => string }
      • getExtUrl: () => string
          • (): string
          • showdown-twitter.js 路径

            Returns string

      • getJsUrl: () => string
          • (): string
          • js路径

            Returns string

    • Notice: { Message: { alert: (text: string) => number; error: (errorTxt: string, ishtml?: boolean) => number; info: (text: string) => number; success: (text: string) => number }; MessageBox: { prompt: (text: string, okCallBack: ConfirmCallBackHandle, title?: string, cancelCallBack?: ConfirmCallBackHandle) => number; success: (text: string) => number }; Notification: { alert: (text: string) => number; error: (errorTxt: string, ishtml?: boolean) => number; info: (text: string) => number; success: (text: string) => number }; loading: () => number }
      • Message: { alert: (text: string) => number; error: (errorTxt: string, ishtml?: boolean) => number; info: (text: string) => number; success: (text: string) => number }
        • alert: (text: string) => number
            • (text: string): number
            • 弹出警告弹出提示框

              Parameters

              • text: string

                警告信息

              Returns number

              返回弹出层的唯一index . 关闭可使用 Common.closeForm(index).

        • error: (errorTxt: string, ishtml?: boolean) => number
            • (errorTxt: string, ishtml?: boolean): number
            • 弹出错误提示信息框.

              Parameters

              • errorTxt: string

                提示的信息

              • ishtml: boolean = false

                默认值 false 是否显示html的元素.否则会被_.escape 格式化后再显示

              Returns number

              返回弹出层的唯一index . 关闭可使用 Common.closeForm(index).

        • info: (text: string) => number
            • (text: string): number
            • 警告弹出提示框

              Form.msg("您好!")
              

              Parameters

              • text: string

                警告信息

              Returns number

              返回弹出层的唯一index . 关闭可使用 Common.closeForm(index).

        • success: (text: string) => number
            • (text: string): number
            • 弹出成功msg提示框

              Parameters

              • text: string

                提示信息

              Returns number

              返回弹出层的唯一index

      • MessageBox: { prompt: (text: string, okCallBack: ConfirmCallBackHandle, title?: string, cancelCallBack?: ConfirmCallBackHandle) => number; success: (text: string) => number }
        • prompt: (text: string, okCallBack: ConfirmCallBackHandle, title?: string, cancelCallBack?: ConfirmCallBackHandle) => number
            • 弹出[确定/取消]的模式对话框

              Parameters

              • text: string

                提示信息

              • okCallBack: ConfirmCallBackHandle

                确定后回调函数 返回false是不关闭窗口,否则都关闭

              • title: string = '询问'

                提示框的标题

              • Optional cancelCallBack: ConfirmCallBackHandle

                取消关闭标题

              Returns number

              返回弹出层的唯一index . 关闭可使用 Common.closeForm(index).

        • success: (text: string) => number
            • (text: string): number
            • 弹出成功msg提示框

              Parameters

              • text: string

                提示信息

              Returns number

              返回弹出层的唯一index

      • Notification: { alert: (text: string) => number; error: (errorTxt: string, ishtml?: boolean) => number; info: (text: string) => number; success: (text: string) => number }
        • alert: (text: string) => number
            • (text: string): number
            • 弹出警告弹出提示框

              Parameters

              • text: string

                警告信息

              Returns number

              返回弹出层的唯一index . 关闭可使用 Common.closeForm(index).

        • error: (errorTxt: string, ishtml?: boolean) => number
            • (errorTxt: string, ishtml?: boolean): number
            • 弹出错误提示信息框.

              Parameters

              • errorTxt: string

                提示的信息

              • ishtml: boolean = false

                默认值 false 是否显示html的元素.否则会被_.escape 格式化后再显示

              Returns number

              返回弹出层的唯一index . 关闭可使用 Common.closeForm(index).

        • info: (text: string) => number
            • (text: string): number
            • 警告弹出提示框

              Form.msg("您好!")
              

              Parameters

              • text: string

                警告信息

              Returns number

              返回弹出层的唯一index . 关闭可使用 Common.closeForm(index).

        • success: (text: string) => number
            • (text: string): number
            • 弹出成功msg提示框

              Parameters

              • text: string

                提示信息

              Returns number

              返回弹出层的唯一index

      • loading: () => number
          • (): number
          • 显示正在加载

            Returns number

            返回弹出层的唯一index . 关闭可使用 Common.closeForm(index).

            let handle=Common.loading()
            //隐藏
            Common.closeForm(handle)
            
    • OBJCODE: string
    • OBJNAME: string
    • Print: { getReprtDataUrl: string; getReprtDataUrlEx: string }
      • getReprtDataUrl: string
      • getReprtDataUrlEx: string
    • RWID: string
    • SM2: { cipherMode: number; privateKey: string; publickey: string }
      • cipherMode: number
      • privateKey: string
      • publickey: string
    • SYS_PARENTID: string
    • Table: { commonTempleteUrl: string; exportMaxCount: number; exportUrl: string; menudIcon: string; reponse: { countName: string; dataName: string; msgName: string; statusCode: number; statusName: string }; request: { limitName: string; pageName: string }; userDataModifyUrl: string; userDataQueryUrl: string }
      • commonTempleteUrl: string
      • exportMaxCount: number
      • exportUrl: string
      • menudIcon: string
      • reponse: { countName: string; dataName: string; msgName: string; statusCode: number; statusName: string }
        • countName: string
        • dataName: string
        • msgName: string
        • statusCode: number
        • statusName: string
      • request: { limitName: string; pageName: string }
        • limitName: string
        • pageName: string
      • userDataModifyUrl: string
      • userDataQueryUrl: string
    • UploadCmp: { coremodelshowUploadUrl: string }
      • coremodelshowUploadUrl: string
    • UserService: { queryCurUserInfo: string }
      • queryCurUserInfo: string
    • WangEditor: { getJsUrl: () => string }
      • getJsUrl: () => string
          • (): string
          • js路径

            Returns string

    • WeChatTools: { getQueryorgtreelistbyparentid: string }
      • getQueryorgtreelistbyparentid: string
    • Workflow: { ATTACHMENT: string; AUDIT_MEMO: string; AUDN_AME: string; AUDN_FLAG: string; AUTO_COMPLETE_FIRST: string; CONFIG_PROCESS: string; START_PROCESS: string; SYS_AUDFLAG: string; SYS_PID: string; YWTB: string; doListUrl: string; findliucUrl: string; getFormDataUrl: string; processImageUrl: string; processImagebyMenuIdUrl: string; querybyjson: string; readCopyUrl: string; startProcessbyMenuId: string; startProcessbyProcessKey: string; updateOrocessUrl: string }
      • ATTACHMENT: string
      • AUDIT_MEMO: string
      • AUDN_AME: string
      • AUDN_FLAG: string
      • AUTO_COMPLETE_FIRST: string
      • CONFIG_PROCESS: string
      • START_PROCESS: string
      • SYS_AUDFLAG: string
      • SYS_PID: string
      • YWTB: string
      • doListUrl: string
      • findliucUrl: string
      • getFormDataUrl: string
      • processImageUrl: string
      • processImagebyMenuIdUrl: string
      • querybyjson: string
      • readCopyUrl: string
      • startProcessbyMenuId: string
      • startProcessbyProcessKey: string
      • updateOrocessUrl: string
    • YHVideo: { getBackGroundImageUrl: () => string; getCkplayerJs: () => string }
      • getBackGroundImageUrl: () => string
          • (): string
          • 背景图

            Returns string

      • getCkplayerJs: () => string
          • (): string
          • ck播放器的js路径

            Returns string

    • date: { DEFALUT_FORMAT: { date: string; datetime: string; month: string; time: string; year: string } }
      • DEFALUT_FORMAT: { date: string; datetime: string; month: string; time: string; year: string }
        • date: string
        • datetime: string
        • month: string
        • time: string
        • year: string
    • fontsAwesomeIcon: () => string
        • (): string
        • fontsAwesomeIcon 的描述路径

          Returns string

    • imageDir: () => string
        • (): string
        • 图片的目录

          Returns string

    • page: { EDIT_STATE: string }
      • EDIT_STATE: string
    • rootDir: string
    • supperAttrHelp: boolean
    • supperFormula: boolean
    • supperRight: boolean
    • supperSqlDataSource: boolean

loadConfig

  • loadConfig(config: any): void
  • 加载设计器配置

    Parameters

    • config: any

      配置对象实例

    Returns void

Static getInstance

  • getInstance<T>(): T
  • Type parameters

    • T: {}

    Returns T

Generated using TypeDoc