public ResultContext GetShowPrcessNodeName(string strSystemID, string strProcessCode)
        {
            try
            {
                TargetController tc = new TargetController();
                bool             ShowProecessNodeName = tc.GetShowPrcessNodeName(strSystemID, strProcessCode);
                return(new ResultContext(ShowProecessNodeName));
            }
            catch (Exception ex)
            {
                return(new ResultContext((int)StatusCodeEnum.isCatch, ex.ToString()));

                throw;
            }
        }
        public ResultContext TargetPlanApprove(string BusinessID, bool IsLatestVersion)
        {
            try
            {
                B_TargetPlan _BTargetPlan = B_TargetplanOperator.Instance.GetTargetPlanByID(Guid.Parse(BusinessID));
                string       SystemID     = string.Empty;
                string       Year         = "";
                C_System     system       = new C_System();
                if (_BTargetPlan != null)
                {
                    SystemID = _BTargetPlan.SystemID.ToString();
                    Year     = _BTargetPlan.FinYear.ToString();
                    system   = StaticResource.Instance[_BTargetPlan.SystemID, DateTime.Now];
                }
                TargetPlanDetailController tp = new TargetPlanDetailController();
                TargetController           tc = new TargetController();
                string title = Year + "年" + system.SystemName + "指标分解";
                if (!string.IsNullOrEmpty(_BTargetPlan.VersionName))
                {
                    title += "-" + _BTargetPlan.VersionName;
                }
                if (system != null && system.Category == 3)
                {
                    return(new ResultContext(tp.GetTargetPlanDetail(SystemID, Year, BusinessID, IsLatestVersion)));
                }
                else
                {
                    return(new ResultContext(new { title, systemName = system.SystemName, Year, list = tc.GetSumMonthTargetDetailByTID(BusinessID) }));
                }
            }
            catch (Exception ex)
            {
                return(new ResultContext((int)StatusCodeEnum.isCatch, ex.ToString()));

                throw;
            }
        }