AbstractDynamicFormPlugIn 事件大全原创
70人赞赏了该文章
1,441次浏览
编辑于2023年09月13日 14:26:55
AbstractDynamicFormPlugIn 事件大全
主菜单菜单单击处理后事件 public virtual void AfterBarItemClick(AfterBarItemClickEventArgs e); 绑定数据及控件状态 public virtual void AfterBindData(EventArgs e); 按钮单击 public virtual void AfterButtonClick(AfterButtonClickEventArgs e); 表单操作交互确认完毕 public virtual void AfterConfirmOperation(AfterConfirmOperationEventArgs e); 行复制完毕 public virtual void AfterCopyRow(AfterCopyRowEventArgs e); 模型层数据包创建完毕 public virtual void AfterCreateModelData(EventArgs e); 动态表单数据包创建完毕 public virtual void AfterCreateNewData(EventArgs e); 分录行创建完毕 public virtual void AfterCreateNewEntryRow(CreateNewEntryEventArgs e); 分录全部数据删除完毕 public virtual void AfterDeleteEntry(AfterDeleteEntryEventArgs e); 分录行删除结束 public virtual void AfterDeleteRow(AfterDeleteRowEventArgs e); 表单服务执行完毕 public virtual void AfterDoAction(AfterDoActionEventArgs e); 表单操作执行完毕 public virtual void AfterDoOperation(AfterDoOperationEventArgs e); 块粘贴后事件 public virtual void AfterEntityBlockPasting(AfterEntityBlockPastingEventArgs e); 分录菜单单击处理后事件 public virtual void AfterEntryBarItemClick(AfterBarItemClickEventArgs e); 实体批量填充后事件 public virtual void AfterEntryBatchFill(AfterBatchFillEventArgs e); F7选择完毕 public virtual void AfterF7Select(AfterF7SelectEventArgs e); 基础资料模糊查询读取数据包后 public virtual void AfterQuickGetData(AfterQuickGetDataEventArgs e); 基础资料模糊查询选中后 public virtual void AfterQuickSelect(AfterQuickSelectEventArgs e); 定制页面显示完毕 public virtual void AfterShowCustomerPage(AfterShowCustomerPageEventArgs e); 显示弹性域界面后。在此事件可以控制填写弹性域后界面的刷新 public virtual void AfterShowFlexForm(AfterShowFlexFormEventArgs e); 弹出页面显示完毕 public virtual void AfterShowForm(AfterShowFormEventArgs e); 工具栏菜单单击处理后事件 public virtual void AfterToolBarItemClick(AfterBarItemClickEventArgs e); 操作后局部刷新界面事件处理后扩展接口 public virtual void AfterUpdateViewState(EventArgs e); 基础资料选择权限处理,插件可以决定是否需要验证权限 public virtual void AuthPermissionBeforeF7Select(AuthPermissionBeforeF7SelectEventArgs e); 主菜单单击 public virtual void BarItemClick(BarItemClickEventArgs e); 绑定数据前事件 public virtual void BeforeBindData(EventArgs e); 页面准备关闭,可设置取消关闭 public virtual void BeforeClosed(BeforeClosedEventArgs e); 控件数据绑定前事件 public virtual void BeforeControlDataBinder(BeforeControlDataBinder e); 分录行创建 public virtual void BeforeCreateNewEntryRow(BeforeCreateNewEntryEventArgs e); 客户端自定义事件执行前事件。 public virtual void BeforeCustomEvents(BeforeCustomEventsArgs e); 删除分录全部数据 public virtual void BeforeDeleteEntry(BeforeDeleteEntryEventArgs e); 分录行删除 public virtual void BeforeDeleteRow(BeforeDeleteRowEventArgs e); 表单服务执行 public virtual void BeforeDoAction(BeforeDoActionEventArgs e); 表单操作执行 public virtual void BeforeDoOperation(BeforeDoOperationEventArgs e); public virtual void BeforeEntityExport(BeforeEntityExportArgs e); 实体批量填充前事件 public virtual void BeforeEntryBatchFill(BeforeBatchFillEventArgs e); public virtual void BeforeEntryRowDataBinder(BeforeEntryRowDataBinderArgs e); 引出数据之前 public virtual void BeforeExportData(BeforeExportDataArgs e); public virtual void BeforeExportDataNew(BeforeExportDataNewArgs e); 帮助F1 public virtual void BeforeF1Click(F1ClickArgs e); F7选择之前 public virtual void BeforeF7Select(BeforeF7SelectEventArgs e); 过滤表格控件上F7选择之前 public virtual void BeforeFilterGridF7Select(BeforeFilterGridF7SelectEventArgs e); 弹性域页面准备关闭,可设置取消关闭 public virtual void BeforeFlexClosed(BeforeClosedEventArgs e); 维度选择之前 public virtual void BeforeFlexSelect(BeforeFlexSelectEventArgs e); 导入数据之前 public virtual void BeforeImportData(BeforeImportDataArgs e); 由平台组装的套打请求,套打指令发送前 public virtual void BeforeNotePrintCommand(BeforeNotePrintEventArgs e); 操作开始前选择组织后调用 只有需要选择组织的操作才会有此方法 如:分配,下发等 public virtual void BeforeOperAfterSelOrg(BeforeOperAfterSelOrgArgs e); 套打导出前事件(支持对套打导出实体做调整) public virtual void BeforePrintExport(BeforePrintExportEventArgs e); 保存导入数据之前 public virtual void BeforeSaveImportData(BeforeSaveImportDataArgs e); 在根据编码检索数据之前调用; 通过重载本事件,可以设置必要的过滤条件,以限定检索范围; public virtual void BeforeSetItemValueByNumber(BeforeSetItemValueByNumberArgs e); 显示引入结果提示信息前事件 显示引入结果提示信息前事件参数 public virtual void BeforeShowImportResultMessage(BeforeShowImportResultMessageArgs e); 字段值更新 public virtual void BeforeUpdateValue(BeforeUpdateValueEventArgs e); 按钮单击 public virtual void ButtonClick(ButtonClickEventArgs e); html主题变更事件 public virtual void ChangeHTmlTheme(HtmlThemeEventArgs e); 上下文菜单单击 public virtual void ContextMenuItemClick(ContextMenuItemClickEventArgs e); 动态表单数据包创建 public virtual void CreateNewData(BizDataEventArgs e); 客户端自定义事件,用于动态表单客户端插件和服务端插件进行通信 public virtual void CustomEvents(CustomEventsArgs e); 字段值更新完毕 public virtual void DataChanged(DataChangedEventArgs e); 数据更新开始事件 public virtual void DataUpdateBeginning(); 数据更新结束事件 public virtual void DataUpdateEnd(); 销毁对象 public virtual void Dispose(); 分录行单击 public virtual void EntityRowClick(EntityRowClickEventArgs e); 分录行双击 public virtual void EntityRowDoubleClick(EntityRowClickEventArgs e); 分录菜单单击 public virtual void EntryBarItemClick(BarItemClickEventArgs e); 表格按钮单击时调用 public virtual void EntryButtonCellClick(EntryButtonCellClickEventArgs e); 分录单元格焦点切换 public virtual void EntryCellFocued(EntryCellFocuedEventArgs e); 单据头字段焦点切换 public virtual void FieldEditorFocued(FieldEditorFocuedEventArgs e); 字段标题单击事件 public virtual void FieldLabelClick(FieldLabelClickArgs e); 导出前支持修改Excel列标题 public virtual void FireBeforeExportTitle(BeforeExportTitleArg e); 块粘贴前事件 public virtual void FireEntityBlockPasting(EntityBlockPastingEventArgs e); 单据体列全选事件 public virtual void FireEntryCheck(FEntryCheckArgs e); public virtual void FireMicroBlogClick(FMicroBlogClickArgs e); 后端页面关闭 public virtual void FormClosed(FormClosedEventArgs e); public virtual void GetFormTitle(GetFormTitleEventArgs e); 请求获取树形控件节点 public virtual List<Core.Metadata.TreeNode> GetTreeViewData(TreeNodeArgs e); 准备有效的套打模板(用于支持二开过滤套打模板) 当GetValidNoteTemplatesAll没有修改时在选择模板界面调用 public virtual List<Core.Metadata.EnumItem> GetValidNoteTemplates(ValidNoteTemplatesEventArgs e); 准备有效的套打模板(用于支持二开过滤套打模板),所有套打模板选择界面(套打设置,选择模板) public virtual List<Core.Metadata.EnumItem> GetValidNoteTemplatesAll(ValidNoteTemplatesEventArgs e); 分组搜索面板事件入口 public virtual void GroupSearchMenuPanelAction(GroupSearchMenuPanelEventArgs e); 树表控件表头类型行 public virtual void HeaderCellClick(EntityRowClickEventArgs e); 引入,干预匹配字段 public virtual void ImportDataBeforeBindMatchFields(ImportDataBeforeBindMatchFieldsArgs e); 引入,错误信息是否收集 public virtual void ImportDataCollectFailInfo(ImportDataBeforeCollectFailInfoArgs e); protected virtual object InvokePluginMethod(string name); protected virtual object InvokePluginMethod(string name, object args); 语言切换 public virtual void LanguageChanged(EventArgs e); public virtual void ListViewAddFavorClick(ListViewClickArgs e); public virtual void ListViewClearClick(ListViewClickArgs e); 序时簿行双击 public virtual void ListViewClick(ListViewClickArgs e); public virtual void MsgInnerControlEvent(MsgInnerControlEventArgs e); 导航控件操作Action,包括:新增Item,删除Item public virtual void NaviOperAction(NaviOperActionArgs e); 打印完成后处理事件 public virtual void OnAfterPrint(AfterPrintEventArgs e); WebApi操作完成之后处理事件 public virtual void OnAfterWebApiOperation(AfterWebApiOperationArgs e); 套打打印校验前事件(用作干预套打打印控制) public virtual void OnBeforePrintValidate(BeforePrintValidateEventArgs e); WebApi接口执行前事件 public virtual void OnBeforeWebApiOperation(AfterWebApiOperationArgs e); public virtual void OnChangeConvertRuleEnumList(ChangeConvertRuleEnumListEventArgs e); 创建数据绑定器事件 public virtual void OnCreateDataBinder(CreateDataBinderArgs e); 分录计算合计事件 public virtual void OnEntrySum(EntrySumEventArgs e); 页面初始化 public virtual void OnInitialize(InitializeEventArgs e); 邮件发送服务初始化事件 public virtual void OnInitializeSendMailService(InitializeSendMailServiceEventArgs e); 服务初始化 public virtual void OnInitializeService(InitializeServiceEventArgs e); 页面加载 public virtual void OnLoad(EventArgs e); 准备打印万能报表模板单据数据 public virtual void OnPrepareDevPrintData(PreparePrintDevDataEventArgs e); 准备打印数据查询对象 public virtual void OnPrepareNotePrintData(PreparePrintDataEventArgs e); 准备打印数据查询参数 public virtual void OnPrepareNotePrintQueryParam(PrepareNotePrintQueryParamEventArgs e); 打印模版 public virtual void OnQueryDynamicColumns(QueryDynamicColumnsEventArgs e); 维度Form创建Field插件 public virtual void OnQueryFlexFieldState(OnQueryFlexFieldStateEventArgs e); 获取进度条当前进度值 public virtual void OnQueryProgressValue(QueryProgressValueEventArgs e); public virtual void OnSetBusinessInfo(SetBusinessInfoArgs e); public virtual void OnSetLayoutInfo(SetLayoutInfoArgs e); 界面层定时事件 public virtual void OnTimerElapsed(EventArgs e); public virtual void PortDataReceived(KDSerialPortEventArgs e); 动态表单打开前事件 动态表单打开前事件参数 public virtual void PreOpenForm(PreOpenFormEventArgs e); 产品面板事件入口 public virtual void ProductsPanelAction(ProductsPanelEventArgs e); 树表控件行展开事件 public virtual void RowExpanding(EntityRowClickEventArgs e); 设置依赖上下文 public void SetContext(Context ctx, IDynamicFormView view); 设置是否记录单据内码等基础数据 public void SetIsLogBasicInfo(bool isLogBasicInfo); 显示弹性域界面后。在此事件可以控制是否需要初始化维度字段 public virtual void ShowFlexFormLoad(ShowFlexFormLoadEventArgs e); 页签控件的页签选中事件 public virtual void TabItemSelectedChange(TabItemSelectedChangeEventArgs e); 工具栏菜单单击 public virtual void ToolBarItemClick(BarItemClickEventArgs e); 树形控件拖拽 public virtual void TreeDragDrop(TreeDragDropEventArgs e); 树形控件节点单击 public virtual void TreeLoadData(TreeLoadDataArgs e); 树形控件节点单击 public virtual void TreeNodeClick(TreeNodeArgs e); 树形控件节点单击 public virtual void TreeNodeDoubleClick(TreeNodeArgs e); 更新图表数据源 public virtual void UpdateChartData(UpdateChartDataArg e);