MyWorkItem.aspx.cs
上传用户:li2971742
上传日期:2021-11-18
资源大小:39096k
文件大小:2k
源码类别:

OA系统

开发平台:

C#

  1. using System;
  2. using System.Collections;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Web;
  7. using System.Web.SessionState;
  8. using System.Web.UI;
  9. using System.Web.UI.WebControls;
  10. using System.Web.UI.HtmlControls;
  11. namespace OThinker.H3.Portal
  12. {
  13. /// <summary>
  14. /// Summary description for QueryMyJob.
  15. /// </summary>
  16. public partial class MyWorkItem : PortalPage
  17. {
  18. protected OThinker.H3.WorkItem.WorkItemState State
  19. {
  20. get
  21. {
  22. string strState = this.Request.QueryString[Param_State];
  23. return OThinker.H3.WorkItem.WorkItemStateConvertor.ToState(strState);
  24. }
  25. }
  26. protected void Page_Load(object sender, System.EventArgs e)
  27. {
  28.             if (!this.IsPostBack)
  29.             {
  30.                 DataTable workItemTable = Query.QueryWorkItem(
  31.                     null,
  32.                     null,
  33.                     OThinker.H3.WorkflowTemplate.WorkflowTemplate.NullWorkflowVersion,
  34.                     null,
  35.                     null,
  36.                     this.UserValidator.Delegants2,
  37.                     System.DateTime.MinValue,
  38.                     System.DateTime.MaxValue,
  39.                     this.State, 
  40.                     OThinker.H3.Instance.PriorityType.Unspecified, 
  41.                     null, 
  42.                     null,
  43.                     OThinker.Data.BoolMatchValue.Unspecified,
  44.                     OThinker.Data.BoolMatchValue.Unspecified);
  45.                 this.WorkItemGrid.WorkItemTable = workItemTable;
  46.             }
  47. }
  48. #region Web Form Designer generated code
  49. override protected void OnInit(EventArgs e)
  50. {
  51. //
  52. // CODEGEN: This call is required by the ASP.NET Web Form Designer.
  53. //
  54. InitializeComponent();
  55. base.OnInit(e);
  56. }
  57. /// <summary>
  58. /// Required method for Designer support - do not modify
  59. /// the contents of this method with the code editor.
  60. /// </summary>
  61. private void InitializeComponent()
  62. {    
  63. }
  64. #endregion
  65. }
  66. }