介绍

平台表单相关事件及案例

详情

表单公共事件

事件名称
链接 事件说明
渲染(render) https://doc.jepaas.com/docs/je_doc_jepaas/je_doc_jepaas-1csuvr2ore06v 组件渲染时触发
渲染前(beforerender) https://doc.jepaas.com/docs/je_doc_jepaas/je_doc_jepaas-1csuvuu3r5203 组件渲染前触发
渲染后(afterrender) https://doc.jepaas.com/docs/je_doc_jepaas/je_doc_jepaas-1csuvt9rr17vn 组件渲染后触发
激活(activate) https://doc.jepaas.com/docs/je_doc_jepaas/je_doc_jepaas-1ctk3prc2f6ln 组件初次进入时触发

事件触发顺序:

  1. 初始化组件时事件触发顺序:渲染前>渲染>渲染后>激活>被激活(表单)
  2. 组件刷新时事件触发顺序:渲染前>渲染>渲染后>被激活(表单)

激活事件只有在初始化组件的时候触发

表单事件

事件名称
链接 事件说明
数据提交结束 (endsubmit) https://doc.jepaas.com/docs/je_doc_jepaas/je_doc_jepaas-1ctkcr7p0u5a4 数据保存操作完全结束后触发
数据提交前(beforesubmit) https://doc.jepaas.com/docs/je_doc_jepaas/je_doc_jepaas-1ctkcrpdcrq3j 数据保存之前触发
数据提交后(aftersubmit) https://doc.jepaas.com/docs/je_doc_jepaas/je_doc_jepaas-1ctkcsbs1a1u2 数据保存之后触发
被激活(selfactivate) https://doc.jepaas.com/docs/je_doc_jepaas//2136 表单激活后触发

表单字段事件

事件名称
链接 事件说明
超链接(selfactivate) https://doc.jepaas.com/docs/je_doc_jepaas//2138 点击文档的时候触发
标签超链接(labellinkclick) https://doc.jepaas.com/docs/je_doc_jepaas//2139 点击lable(标签)的时候触发事件
设置值(setvalue) https://doc.jepaas.com/docs/je_doc_jepaas/je_doc_jepaas-1ctkd1tt3obee 给组件设置值的时候触发
值改变(change) https://doc.jepaas.com/docs/je_doc_jepaas/je_doc_jepaas-1ctkd72b7ovov 该组件值发生变化后触发
确定按钮(okbuttonclick) https://doc.jepaas.com/docs/je_doc_jepaas//2144 点击窗体确定按钮触发
查询后(query) https://doc.jepaas.com/docs/je_doc_jepaas/je_doc_jepaas-1ctkdavelamj4 点击窗体确定按钮完成后(赋值完成)触发
查询窗体初始化(sswinrender) https://doc.jepaas.com/docs/je_doc_jepaas//2146 窗体渲染后触发
查询前(beforequery) https://doc.jepaas.com/docs/je_doc_jepaas/je_doc_jepaas-1ctkdc8sb71e9 点击组件并且窗体未弹出之前触发
数据加载完(storeloaded) https://doc.jepaas.com/docs/je_doc_jepaas//2160 组件列表数据加载完成后触发
数据项变化(recordchange) https://doc.jepaas.com/docs/je_doc_jepaas/je_doc_jepaas-1ctkdoa8el26u 组件列表数据发生添加和修改操作时触发
数据添加前(storebeforeadd) https://doc.jepaas.com/docs/je_doc_jepaas/je_doc_jepaas-1ctkdoq8sm3op 组件列表数据添加操作前触发
数据添加(storeadd) https://doc.jepaas.com/docs/je_doc_jepaas/je_doc_jepaas-1ctkdpdsbfmkr 组件列表数据添加后触发
数据删除前(storebeforeremove) https://doc.jepaas.com/docs/je_doc_jepaas/je_doc_jepaas-1ctkdpu73pmgn 组件列表数据删除前触发
数据删除(storeremove) https://doc.jepaas.com/docs/je_doc_jepaas/je_doc_jepaas-1ctkdqf8r5q21 组件列表数据删除后触发
数据清空前(storebeforeremoveall) https://doc.jepaas.com/docs/je_doc_jepaas/je_doc_jepaas-1ctkdr12bmptj 组件列表数据批量删除前触发
数据清空(storeremoveall) https://doc.jepaas.com/docs/je_doc_jepaas/je_doc_jepaas-1ctkdrlp3mma9 组件列表数据批量删除后触发

表单字段相关表达式事件

表达式名称 表达式地址 表达式说明
默认值 https://doc.jepaas.com/docs/je_doc_jepaas/je_doc_jepaas-1dl1mm85eifgh 字段设置默认值
自定义验证 https://doc.jepaas.com/docs/je_doc_jepaas/zidingyiyanzheng 在平台正则校验不满足的情况下,自行定义规则进行校验
绑定表达式 https://doc.jepaas.com/docs/je_doc_jepaas/bangdingbiaodashi 为字段进行绑值操作
显隐表达式 https://doc.jepaas.com/docs/je_doc_jepaas/xianyinbiaodashi 设置字段是否隐藏
只读表达式 https://doc.jepaas.com/docs/je_doc_jepaas/zhidubiaodashi 设置字段是否为只读状态
为空表达式 https://doc.jepaas.com/docs/je_doc_jepaas/weikongbiaodashi 根据其他的字段是判断本字段否可以为空:不能为空时,字段值的框为红色
可选表达式 https://doc.jepaas.com/docs/je_doc_jepaas/kexuanbiaodashi 针对于树形查询,配置根茎叶节点是否可选

关键字,相关问题

  • 表单
  • 事件
最后编辑: admin  文档更新时间: 2024-04-28 13:13   作者:呼丽华