void Personne_GetEmployeePostByPostIDsCompleted(object sender, GetEmployeePostByPostIDsCompletedEventArgs e)//根据岗位获取员工
        {
            if (e.Result != null)
            {
                ObservableCollection <T_HR_EMPLOYEEPOST> Employee = e.Result;

                List <T_OA_WELFAREDISTRIBUTEDETAIL> details = new List <T_OA_WELFAREDISTRIBUTEDETAIL>();
                foreach (var detail in ListWelfare)
                {
                    List <T_OA_WELFAREDISTRIBUTEDETAIL> wdetails = new List <T_OA_WELFAREDISTRIBUTEDETAIL>();
                    wdetails = (from employeeInfo in Employee
                                where employeeInfo.T_HR_POST.POSTID == detail.POSTID
                                select new T_OA_WELFAREDISTRIBUTEDETAIL
                    {
                        USERID = employeeInfo.T_HR_EMPLOYEE.EMPLOYEEID,
                        OWNERNAME = employeeInfo.T_HR_EMPLOYEE.EMPLOYEECNAME,
                        STANDARD = Convert.ToDecimal(detail.STANDARD),
                        REMARK = detail.REMARK,
                        OWNERPOSTID = employeeInfo.T_HR_POST.POSTID,
                        OWNERCOMPANYID = employeeInfo.T_HR_POST.COMPANYID
                    }).ToList();
                    details.AddRange(wdetails);
                }
                PagedCollectionView pcv = null;//分页
                if (e.Result != null)
                {
                    var q = from ent in details
                            select ent;

                    pcv          = new PagedCollectionView(q);
                    pcv.PageSize = 5;
                }
                dpGrids.DataContext = pcv;
                detailTemps         = details;
                DaGrs.ItemsSource   = pcv;
            }
        }
        void Personne_GetEmployeePostByPostIDsCompleted(object sender, GetEmployeePostByPostIDsCompletedEventArgs e)//根据岗位获取员工
        {
            if (e.Result != null)
            {
                ObservableCollection<T_HR_EMPLOYEEPOST> Employee = e.Result;

                List<T_OA_WELFAREDISTRIBUTEDETAIL> details = new List<T_OA_WELFAREDISTRIBUTEDETAIL>();
                foreach (var detail in ListWelfare)
                {
                    List<T_OA_WELFAREDISTRIBUTEDETAIL> wdetails = new List<T_OA_WELFAREDISTRIBUTEDETAIL>();
                    wdetails = (from employeeInfo in Employee
                                where employeeInfo.T_HR_POST.POSTID == detail.POSTID
                                select new T_OA_WELFAREDISTRIBUTEDETAIL
                                {
                                    USERID = employeeInfo.T_HR_EMPLOYEE.EMPLOYEEID,
                                    OWNERNAME = employeeInfo.T_HR_EMPLOYEE.EMPLOYEECNAME,
                                    STANDARD = Convert.ToDecimal(detail.STANDARD),
                                    REMARK = detail.REMARK,
                                    OWNERPOSTID = employeeInfo.T_HR_POST.POSTID,
                                    OWNERCOMPANYID = employeeInfo.T_HR_POST.COMPANYID
                                }).ToList();
                    details.AddRange(wdetails);
                }
                PagedCollectionView pcv = null;//分页
                if (e.Result != null)
                {
                    var q = from ent in details
                            select ent;

                    pcv = new PagedCollectionView(q);
                    pcv.PageSize = 5;
                }
                dpGrids.DataContext = pcv;
                detailTemps = details;
                DaGrs.ItemsSource = pcv;
            }
        }