OpenAuth.Net/OpenAuth.App/FlowInstance/Response/FlowVerificationResp.cs
yubaolee 4d7af5bedf fix issue #I42IFB 获取Oracle结构异常
fix issue #I462OD JSON解析异常
增加主表ParentId,可以同时添加主、从表结构
可以动态控制复杂界面显示编辑权限,采用代码生成的表定义来控制
2021-08-25 01:42:37 +08:00

42 lines
1.1 KiB
C#

using OpenAuth.Repository.Domain;
namespace OpenAuth.App.Response
{
public class FlowVerificationResp :FlowInstance
{
/// <summary>
/// 预览表单数据
/// </summary>
public string FrmPreviewHtml
{
get { return FormUtil.Preview(this); }
}
/// <summary>
/// 预览表单数据表单项包含读写控制权限)
/// </summary>
public string FrmHtml
{
get
{
if (this.FrmType != 0) //只有开原版动态表单才需要转换
{
return string.Empty;
}
return FormUtil.GetHtml(this.FrmContentData, this.FrmContentParse, this.FrmData, "",this.CanWriteFormItemIds);
}
}
/// <summary>
/// 下个节点的执行权限方式
/// </summary>
public string NextNodeDesignateType { get; set; }
/// <summary>
/// 当前节点的可写表单Id
/// </summary>
public string[] CanWriteFormItemIds { get; set; }
}
}