Esempio n. 1
0
        /// <summary>
        /// 生成排班日期
        /// </summary>
        private void InitTab()
        {
            Neusoft.HISFC.BizLogic.Registration.Schema sMgr = new Neusoft.HISFC.BizLogic.Registration.Schema();
            DateTime Current = sMgr.GetDateTimeFromSysDateTime();

            DateTime Monday = this.GetMonday(Current);

            this.setWeek(Monday);
        }
Esempio n. 2
0
        /// <summary>
        /// 医生出诊情况
        /// </summary>
        /// <returns></returns>
        public string Query()
        {
            DateTime currentDate = schemaManager.GetDateTimeFromSysDateTime();
            string   strLED      = string.Empty;
            DataSet  ds          = new DataSet();

            ds = this.schemaManager.QueryDoctForLED(currentDate.Date, currentDate);
            if (ds == null)
            {
                return(null);
            }

            this.neuSpread1_Sheet1.DataSource = ds;
            this.SetFPFormat();
            return(strLED);
        }
Esempio n. 3
0
        /// <summary>
        /// 默认显示当日排班
        /// </summary>
        private void QueryTodaySchema()
        {
            Neusoft.HISFC.BizLogic.Registration.Schema SchemaMgr = new Neusoft.HISFC.BizLogic.Registration.Schema();

            DateTime today = SchemaMgr.GetDateTimeFromSysDateTime();

            int Index = (int)today.DayOfWeek;

            Index--;
            if (Index == -1)
            {
                Index = 6;
            }

            this.tabControl1.SelectedIndex = Index;
        }
Esempio n. 4
0
        /// <summary>
        /// 默认显示当日排班
        /// </summary>
        private void QueryTodayWork()
        {
            Neusoft.HISFC.BizLogic.Registration.Schema SchemaMgr = new Neusoft.HISFC.BizLogic.Registration.Schema();

            DateTime today = SchemaMgr.GetDateTimeFromSysDateTime();

            int Index = (int)today.DayOfWeek;

            Index--;
            if (Index == -1)
            {
                Index = 6;
            }

            this.neuTabControl1.SelectedIndex = Index;
            this.controls[Index].ArrangeDate  = today;
            this.controls[Index].Query(this.deptCode);
        }