Пример #1
0
        private List <string> ShowColumns()
        {
            BLL.UserPipelineColumns upcBll = new UserPipelineColumns();

            Model.UserPipelineColumns model = upcBll.GetModel(this.CurrUser.iUserID);

            List <string> ShowColumnsList = new List <string>();

            #region ShowColumns
            ShowColumnsList.Add("Borrower");

            if (model.Alerts)
            {
                ShowColumnsList.Add("Alerts"); //显示什么内容 数据库中仅有图标
            }

            if (model.Amount)
            {
                ShowColumnsList.Add("Amount");
            }

            if (model.Assistant)
            {
                ShowColumnsList.Add("Assistant");
            }
            if (model.Branch)
            {
                ShowColumnsList.Add("Branch");
            }
            if (model.Closer)
            {
                ShowColumnsList.Add("Closer");
            }
            if (model.DocPrep)
            {
                ShowColumnsList.Add("DocPrep");
            }
            if (model.EstimatedClose)
            {
                ShowColumnsList.Add("EstClose");
            }
            if (model.LastCompletedStage)
            {
                ShowColumnsList.Add("LastCompletedStage");
            }
            if (model.LastStageComplDate)
            {
                ShowColumnsList.Add("LastStageComplDate");
            }
            if (model.Lender)
            {
                ShowColumnsList.Add("Lender");
            }
            if (model.Lien)
            {
                ShowColumnsList.Add("Lien");
            }
            if (model.LoanOfficer)
            {
                ShowColumnsList.Add("Loan Officer");
            }
            if (model.LockExp)
            {
                ShowColumnsList.Add("Lock Expiration Date");
            }
            if (model.PercentCompl)
            {
                ShowColumnsList.Add("Progress");
            }
            if (model.PointFileName)
            {
                ShowColumnsList.Add("Filename");
            }
            if (model.PointFolder)
            {
                ShowColumnsList.Add("Point Folder");
            }
            if (model.Processor)
            {
                ShowColumnsList.Add("Processor");
            }
            if (model.Rate)
            {
                ShowColumnsList.Add("Rate");
            }
            if (model.Shipper)
            {
                ShowColumnsList.Add("Shipper");
            }
            if (model.Stage)
            {
                ShowColumnsList.Add("Stage");
            }
            if (model.TaskCount)
            {
                ShowColumnsList.Add("Task Count");
            }

            #endregion

            return(ShowColumnsList);
        }