//string[] MF_Step = new string[] { "拟稿", "审稿", "部门会签", "核稿", "领导会签", "签发", "分发", "校对" }; // 党政工团发文 //string[] MS_Step = new string[] { "发起流程", "拟办", "收文处理中心", "领导批示", "收文处理中心归档", "传阅", "处室承办", "科室承办", "人员承办", "追加分发"}; // 党政工团收文 protected void Page_Load(object sender, EventArgs e) { FormsUIBase ui; switch(ddlProc.Text) { case "公司发文": ui = new UC_CompanySend(); ui.InitPrint(this.UC_Print1, ddlProc.Text, ddlStep.Text, CaleStart.Text, CaleEnd.Text); break; case "公司收文": ui = new UC_CompanyReceive();//new B_GS_WorkItems(); ui.InitPrint(this.UC_Print1, ddlProc.Text, ddlStep.Text, CaleStart.Text, CaleEnd.Text); break; case "函件发文": ui = new UC_LetterSend();//new EntityLetterSend(); ui.InitPrint(this.UC_Print1, ddlProc.Text, ddlStep.Text, CaleStart.Text, CaleEnd.Text); break; case "函件收文": ui = new UC_LetterReceived();//new B_LetterReceive(); ui.InitPrint(this.UC_Print1, ddlProc.Text, ddlStep.Text, CaleStart.Text, CaleEnd.Text); break; case "请示报告": ui = new UC_RequestReport();//new B_RequestReport(); ui.InitPrint(this.UC_Print1, ddlProc.Text, ddlStep.Text, CaleStart.Text, CaleEnd.Text); break; case "工作联系单": ui = new UC_WorkRelation();//new B_WorkRelation(); ui.InitPrint(this.UC_Print1, ddlProc.Text, ddlStep.Text, CaleStart.Text, CaleEnd.Text); break; case "程序文件": ui = new UC2_ProgramFile();//new B_PF(); ui.InitPrint(this.UC_Print1, ddlProc.Text, ddlStep.Text, CaleStart.Text, CaleEnd.Text); break; //case "党政工团发文": // ui = new UC_Send();//new M_DJGTSend(); // ui.InitPrint(this.UC_Print1, ddlProc.Text, ddlStep.Text, CaleStart.Text, CaleEnd.Text); // break; //case "党政工团收文": // ui = new UC_Receive();//new M_MergeReceiveBase(); // ui.InitPrint(this.UC_Print1, ddlProc.Text, ddlStep.Text, CaleStart.Text, CaleEnd.Text); // break; } List<EntityBase> ls = B_FormsData.GetEntities(ddlProc.Text, ddlStep.Text, DateTime.Parse(string.IsNullOrEmpty(CaleStart.Text) ? DateTime.MinValue.ToString() : CaleStart.Text), DateTime.Parse(string.IsNullOrEmpty(CaleEnd.Text) ? DateTime.MinValue.ToString() : CaleEnd.Text), true); this.TextBox1.Text = "当前满足条件的记录为:" + ls.Count.ToString(); }
protected override Control CreateContentUC() { this.m_uc = CurrentPage.LoadControl(this.m_virtualPath) as UC_LetterReceived; return m_uc; }
protected override Control CreateContentUC() { this.m_uc = CurrentPage.LoadControl(this.m_virtualPath) as UC_LetterReceived; return(m_uc); }