ISheetPage.cs
资源名称:H3_OA.rar [点击查看]
上传用户:li2971742
上传日期:2021-11-18
资源大小:39096k
文件大小:2k
源码类别:
OA系统
开发平台:
C#
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace OThinker.H3.WorkSheet
- {
- /// <summary>
- /// 表单类的接口
- /// </summary>
- public interface ISheetPage
- {
- /// <summary>
- /// 环境
- /// </summary>
- SheetEnviroment Enviroment
- {
- get;
- }
- /// <summary>
- /// 验证权限
- /// </summary>
- /// <returns></returns>
- bool ValidateAuthorization();
- /// <summary>
- /// 加载数据项
- /// </summary>
- void LoadDataFields();
- /// <summary>
- /// 验证用户的输入是否符合控件和数据项的限制
- /// </summary>
- /// <param name="Args"></param>
- /// <param name="Errors"></param>
- /// <returns></returns>
- bool ValidateDataFields(SheetSubmitEventArgs Args, List<string> Errors);
- /// <summary>
- /// 保存数据项
- /// </summary>
- /// <param name="Args"></param>
- void SaveDataFields(SheetSubmitEventArgs Args);
- /// <summary>
- /// 表单最终是否被批准
- /// </summary>
- OThinker.Data.BoolMatchValue Approval
- {
- get;
- }
- /// <summary>
- /// 针对表单的评论
- /// </summary>
- string Comment
- {
- get;
- }
- /// <summary>
- /// 如果要征询意见,那么首选的征询意见的人员由这里获得
- /// </summary>
- string[] OptionalConsultants
- {
- get;
- }
- }
- }