Ejemplo n.º 1
0
        void ServiceClient_GetRoleEntityMenuByIDCompleted(object sender, GetRoleEntityMenuByIDCompletedEventArgs e)
        {
            this.RoleMenu = e.Result;
            //绑定系统类型
            //ServiceClient.GetSysDictionaryByCategoryAsync("SYSTEMTYPE");

            ServiceClient.GetSysMenuByTypeAsync("", "");
            ServiceClient.GetSysRoleInfosAsync("", "");
        }
Ejemplo n.º 2
0
        public Flow_ModelDefineClient modelClient = null; //流程模块WCF定义
        #endregion

        public FlowView()
        {
            InitializeComponent();
            modelClient = new Flow_ModelDefineClient();                                             //实例化流程模块
            RegisterEvents();
            tvFlow.OnSelectionChanged += new TreeControl.SelectionChanged(tvFlow_SelectionChanged); //树形选择事件
            if (WfUtils.StateList == null)
            {
                permissionClient.GetSysRoleInfosAsync("", "");
            }

            modelClient.GetSystemCodeModelCodeListAsync(); //绑定树
            ucFlowlist.BindFlowList("", "");               //绑定列表
        }
Ejemplo n.º 3
0
 /// <summary>
 /// 读取页面事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void KPIPointSet_Loaded(object sender, RoutedEventArgs e)
 {
     InitPara();
     GetEntityLogo("T_HR_KPIPOINT");
     // 1s 冉龙军
     //LoadData();
     //PermissionServiceWcf.GetSysRoleInfosAsync("", "");
     //没有权限没有数据
     if (SMT.SaaS.FrameworkUI.Common.PermissionHelper.GetPermissionValue("T_HR_KPIPOINT", SMT.SaaS.FrameworkUI.Common.Permissions.Browse) < 0)
     {
     }
     else
     {
         LoadData();
         PermissionServiceWcf.GetSysRoleInfosAsync("", "");
     }
     // 1e
     // 1s 冉龙军
     Utility.DisplayGridToolBarButton(ToolBar, "T_HR_KPIPOINT", false);
     // 1e
 }
Ejemplo n.º 4
0
 /// <summary>
 /// 加载菜单数据
 /// </summary>
 private void LoadData()
 {
     //ServiceClient.GetSysRoleByTypeAsync(this.txtSearchSystemType.Text.Trim());
     ServiceClient.GetSysRoleInfosAsync("", "");
 }