特别注意:每个表的主键和编码字段 ,审核流上要进行设置。bs默认生成是以主键+主键的形式,最好

idField = #ClassName#Entity.FieldId,
codeField = #ClassName#Entity.FieldId

 

 

 

Load事件增加绑定

 ucWorkFlowButtons1.ShowWorkFlowButtons(MoudleCode, this.grvGridView, DemoSingleTableEntity.FieldId, DemoSingleTableEntity.FieldCode);
          

 

 string MoudleCode = "DemoSingleTableAdmin";
        private void ucWorkFlowButtons1_ButtonClickAlter(bool result, string buttonName)
        {
            /*
             * buttonName 值
             * btnSubmit 提交按钮
             * btnRevocation 撤销按钮
             * btnAudit 审核按钮
             * btnAbandonedTrial 弃审按钮
             */

            int selectRowIndex = this.grvGridView.GetFocusedDataSourceRowIndex();

            this.Search();
            this.grvGridView.FocusedRowHandle = selectRowIndex;//索引

            //this.grvGridView.SelectRow(selectRowIndex);
        }

SNF开发平台WinForm之--审核流使用方式

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案