Пример #1
0
        private void filterView1_OnRefresh(object sender, RefreshEventArgs e)
        {
            OutoReport report = new OutoReport(ReportType.Vertical);

            report.txtZBT    = @"三级综合医院医疗质量评审指标";
            report.txtFBT    = "住院重点手术情况";
            report.txtRQ     = e.SelectDateStr;
            report.txtZZJJMC = "九江市妇幼保健院";
            report.txtZZJJDM = "3566753112";
            report.BindData(GetData(e));
            printControl1.PrintingSystem = report.PrintingSystem;
        }
Пример #2
0
        private void filterView1_OnRefresh(object sender, RefreshEventArgs e)
        {
            OutoReport report = new OutoReport(ReportType.Horizontal);

            report.txtZBT    = @"三级综合医院医疗质量评审指标";
            report.txtFBT    = "医院手术麻醉情况";
            report.txtRQ     = e.SelectDateStr;
            report.txtZZJJMC = Tools.Help.GetHosName();
            report.txtZZJJDM = Tools.Help.GetHosCode();
            report.BindData(GetData(e));
            printControl1.PrintingSystem = report.PrintingSystem;
        }
Пример #3
0
        private void filterView1_OnRefresh(object sender, RefreshEventArgs e)
        {
            if (!isSetZBT)
            {
                throw new Exception("没用设置主标题");
            }
            if (!isSetFBT)
            {
                throw new Exception("没用设置副标题");
            }
            if (!isSetReportType)
            {
                throw new Exception("没用设置报表类型");
            }

            OutoReport report = new OutoReport(this.ReportType);

            report.FirstBT = 27;
            if (this.isDeptName)
            {
                if (e.SelectDepts.Count > 0)
                {
                    string deptName = "<";
                    foreach (string a in e.SelectDepts.Keys)
                    {
                        deptName += a + ", ";
                    }
                    string b = deptName.Substring(0, deptName.Length - 2) + "> ";
                    if (b.Length > 26)
                    {
                        report.txtDeptName = b.Substring(0, 26) + "...>";
                    }
                    else
                    {
                        report.txtDeptName = b;
                    }
                }
            }
            else
            {
                report.txtFBT = this.FBT;
            }
            report.txtZBT    = this.ZBT;
            report.txtFBT    = this.FBT;
            report.txtRQ     = e.SelectDateStr;
            report.txtZZJJMC = Tools.Help.GetHosName();
            report.txtZZJJDM = Tools.Help.GetHosCode();
            report.BindData(GetData(e));
            printControl1.PrintingSystem = report.PrintingSystem;
        }
Пример #4
0
        public RunningManager()
        {
            InitializeComponent();
            this.filterView1.BindDefaultDepts();
            OutoReport report = new OutoReport(ReportType.Horizontal);

            report.txtZBT    = @"三级综合医院医疗质量评审指标";
            report.txtFBT    = "医院运行管理情况";
            report.txtRQ     = "2013年";
            report.txtZZJJMC = "九江市妇幼保健院";
            report.txtZZJJDM = "3566753112";
            report.BindData(GetData());
            //report.DataBind(GetData());
            printControl1.PrintingSystem = report.PrintingSystem;
        }