示例#1
0
        public void GetTemplateTreeData(string deptcode, int level)
        {
            List <EMR.Controls.Entity.EmrTemplateTree> tlist = iEmrTemplateDbHelper.GetTemplateTreeData(deptcode, currBindKeyData.UserCode, level);
            List <EMR.Controls.Entity.EmrCatalogue>    clist = iEmrTemplateDbHelper.GetCatalogueData();

            iEmrTemplateTree.loadTreeData(clist, tlist);
        }
示例#2
0
        public void InitTemplate(IEmrTemplateTree _emrTemplateTree)
        {
            iEmrTemplateTree     = _emrTemplateTree;
            iEmrTemplateDbHelper = emrDbHelper as IEmrTemplateDbHelper;
            iEmrTemplateTree.loadDeptData(iEmrTemplateDbHelper.GetDeptData(), currBindKeyData.CurrDeptCode);

            List <EMR.Controls.Entity.EmrTemplateTree> tlist = iEmrTemplateDbHelper.GetTemplateTreeData(currBindKeyData.CurrDeptCode, currBindKeyData.UserCode, 0);
            List <EMR.Controls.Entity.EmrCatalogue>    clist = iEmrTemplateDbHelper.GetCatalogueData();

            iEmrTemplateTree.loadTreeData(clist, tlist);
        }