Exemple #1
0
 public override void AfterBarItemClick(AfterBarItemClickEventArgs e)
 {
     base.AfterBarItemClick(e);
     if (e.BarItemKey.ToUpperInvariant() == "TBWF")
     {
         string procInstId = WorkflowChartServiceHelper.GetProcInstIdByBillInst(this.Context, this.View.GetFormId(), CZ_GetFID());
         List <ChartActivityInfo> routeCollection = WorkflowChartServiceHelper.GetProcessRouter(this.Context, procInstId);
         var WFNode = routeCollection[routeCollection.Count - 1];
         //AssignmentServiceHelper.
         string name = this.Context.UserName;
         //GetApproveActions(this.View.GetFormId(), CZ_GetFID(), name);
     }
 }
Exemple #2
0
        /// <summary>
        /// 根据流程显示隐藏按钮
        /// </summary>
        private void HideBtn()
        {
            string _FDocumentStatus = this.View.BillModel.GetValue("FDocumentStatus").ToString();

            if (_FDocumentStatus == "Z" || _FDocumentStatus == "A")
            {
                var submitBtn = this.View.GetControl("FSubmitBtn");
                var saveBtn   = this.View.GetControl("FSaveBtn");
                saveBtn.Visible = false;
                submitBtn.SetCustomPropertyValue("width", 310);
            }
            else if (_FDocumentStatus == "B")
            {
                var submitBtn = this.View.GetControl("FSubmitBtn");
                var saveBtn   = this.View.GetControl("FSaveBtn");
                submitBtn.Visible = false;
                saveBtn.SetCustomPropertyValue("width", 310);
            }
            else if (_FDocumentStatus == "C")
            {
                var submitBtn = this.View.GetControl("FSubmitBtn");
                var saveBtn   = this.View.GetControl("FSaveBtn");
                saveBtn.Visible   = false;
                submitBtn.Visible = false;
            }
            else if (_FDocumentStatus == "D")
            {
                var submitBtn = this.View.GetControl("FSubmitBtn");
                var saveBtn   = this.View.GetControl("FSaveBtn");

                string FID        = this.View.BillModel.DataObject["Id"].ToString();
                string procInstId = WorkflowChartServiceHelper.GetProcInstIdByBillInst(this.Context, this.View.GetFormId(), FID);
                string sql        = "select FSTATUS from t_WF_ProcInst where FPROCINSTID='" + procInstId + "' order by FCREATETIME desc";
                var    data       = CZDB_GetData(sql);
                // FSTATUS=1 --> 流程终止或撤销
                if (data.Count > 0 && (data[0]["FSTATUS"].ToString() == "1"))
                {
                    saveBtn.Visible = false;
                    submitBtn.SetCustomPropertyValue("width", 310);
                }
                // FSTATUS=2、4 --> 打回发起人
                else
                {
                    submitBtn.Visible = false;
                    saveBtn.SetCustomPropertyValue("width", 310);
                }
            }
        }
            public override void Validate(Kingdee.BOS.Core.ExtendedDataEntity[] dataEntities, ValidateContext validateContext, Kingdee.BOS.Context ctx)
            {
                foreach (var dataEntity in dataEntities)
                {
                    string FID        = dataEntity["Id"].ToString();
                    string procInstId = WorkflowChartServiceHelper.GetProcInstIdByBillInst(ctx, this.formId, FID);
                    List <ChartActivityInfo> routeCollection = WorkflowChartServiceHelper.GetProcessRouter(ctx, procInstId);

                    var WFNode = routeCollection[routeCollection.Count - 1];

                    if (WFNode.ActivityId == AllocProcessor_NodeID)
                    {
                        var FExecutor = dataEntity["FExecutor"] as DynamicObjectCollection;
                        if (FExecutor.Count <= 0)
                        {
                            ValidationErrorInfo ValidationErrorInfo = new ValidationErrorInfo(
                                string.Empty,
                                FID,
                                dataEntity.DataEntityIndex,
                                dataEntity.RowIndex,
                                FID,
                                "请先分配执行人!",
                                string.Empty);
                            validateContext.AddError(null, ValidationErrorInfo);
                        }
                        else
                        {
                        }
                    }
                    else if (WFNode.ActivityId == ProcessorInputResult_NodeID)
                    {
                        if (dataEntity["FResult"].ToString().IsNullOrEmptyOrWhiteSpace())
                        {
                            ValidationErrorInfo ValidationErrorInfo = new ValidationErrorInfo(
                                string.Empty,
                                FID,
                                dataEntity.DataEntityIndex,
                                dataEntity.RowIndex,
                                FID,
                                "请填写执行结果!",
                                string.Empty);
                            validateContext.AddError(null, ValidationErrorInfo);
                        }
                    }
                }
            }
            public override void Validate(Kingdee.BOS.Core.ExtendedDataEntity[] dataEntities, ValidateContext validateContext, Kingdee.BOS.Context ctx)
            {
                foreach (var dataEntity in dataEntities)
                {
                    string FID        = dataEntity["Id"].ToString();
                    string procInstId = WorkflowChartServiceHelper.GetProcInstIdByBillInst(ctx, this.formId, FID);
                    List <ChartActivityInfo> routeCollection = WorkflowChartServiceHelper.GetProcessRouter(ctx, procInstId);

                    var WFNode = routeCollection[routeCollection.Count - 1];

                    if (WFNode.ActivityId == AllocRoom_NodeID)
                    {
                        var room = dataEntity["FBALCONYNUM2"];
                        if (room == null)
                        {
                            ValidationErrorInfo ValidationErrorInfo = new ValidationErrorInfo(
                                string.Empty,
                                FID,
                                dataEntity.DataEntityIndex,
                                dataEntity.RowIndex,
                                FID,
                                "请分配包厢号!",
                                string.Empty);
                            validateContext.AddError(null, ValidationErrorInfo);
                        }
                    }
                    else if (WFNode.ActivityId == RealAmount_NodeID)
                    {
                        float FRealAmount = float.Parse(dataEntity["FRealAmount"].ToString());
                        if (FRealAmount <= 0)
                        {
                            ValidationErrorInfo ValidationErrorInfo = new ValidationErrorInfo(
                                string.Empty,
                                FID,
                                dataEntity.DataEntityIndex,
                                dataEntity.RowIndex,
                                FID,
                                "请确认实际金额!",
                                string.Empty);
                            validateContext.AddError(null, ValidationErrorInfo);
                        }
                    }
                }
            }
 public override void Validate(Kingdee.BOS.Core.ExtendedDataEntity[] dataEntities, ValidateContext validateContext, Kingdee.BOS.Context ctx)
 {
     foreach (var dataEntity in dataEntities)
     {
         string FID        = dataEntity["Id"].ToString();
         string procInstId = WorkflowChartServiceHelper.GetProcInstIdByBillInst(ctx, this.formId, FID);
         List <ChartActivityInfo> routeCollection = WorkflowChartServiceHelper.GetProcessRouter(ctx, procInstId);
         var WFNode = routeCollection[routeCollection.Count - 1];
         if (WFNode.ActivityId == GM_NodeID) //选择执行人
         {
             var FExecutor = dataEntity["FExecutor"] as DynamicObjectCollection;
             if (FExecutor.Count <= 0)
             {
                 ValidationErrorInfo ValidationErrorInfo = new ValidationErrorInfo(
                     string.Empty,
                     FID,
                     dataEntity.DataEntityIndex,
                     dataEntity.RowIndex,
                     FID,
                     "请分配执行人!",
                     string.Empty);
                 validateContext.AddError(null, ValidationErrorInfo);
             }
         }
         else if (WFNode.ActivityId == AP_NodeID)//申请人评价
         {
             string FNotSatisfied = dataEntity["FNotSatisfied"].ToString();
             string FSatisfied    = dataEntity["FSatisfied"].ToString();
             if ((FNotSatisfied == "False" && FSatisfied == "False") || (FNotSatisfied == "True" && FSatisfied == "True"))
             {
                 ValidationErrorInfo ValidationErrorInfo = new ValidationErrorInfo(
                     string.Empty,
                     FID,
                     dataEntity.DataEntityIndex,
                     dataEntity.RowIndex,
                     FID,
                     "请对服务进行评价!",
                     string.Empty);
                 validateContext.AddError(null, ValidationErrorInfo);
             }
         }
     }
 }
Exemple #6
0
            public override void Validate(Kingdee.BOS.Core.ExtendedDataEntity[] dataEntities, ValidateContext validateContext, Kingdee.BOS.Context ctx)
            {
                foreach (var dataEntity in dataEntities)
                {
                    string FID        = dataEntity["Id"].ToString();
                    string procInstId = WorkflowChartServiceHelper.GetProcInstIdByBillInst(ctx, this.formId, FID);
                    List <ChartActivityInfo> routeCollection = WorkflowChartServiceHelper.GetProcessRouter(ctx, procInstId);

                    var WFNode = routeCollection[routeCollection.Count - 1];

                    if (WFNode.ActivityId == Seal_NodeID)
                    {
                        string realOffTime  = dataEntity["FRealOffTime"] == null ? "" : dataEntity["FRealOffTime"].ToString();
                        string realBackTime = dataEntity["FRealBackTime"] == null ? "" : dataEntity["FRealBackTime"].ToString();
                        if (realOffTime.IsNullOrEmptyOrWhiteSpace())
                        {
                            ValidationErrorInfo ValidationErrorInfo = new ValidationErrorInfo(
                                string.Empty,
                                FID,
                                dataEntity.DataEntityIndex,
                                dataEntity.RowIndex,
                                FID,
                                "请填写印章实际带离时间!",
                                string.Empty);
                            validateContext.AddError(null, ValidationErrorInfo);
                        }
                        else if (realBackTime.IsNullOrEmptyOrWhiteSpace())
                        {
                            ValidationErrorInfo ValidationErrorInfo = new ValidationErrorInfo(
                                string.Empty,
                                FID,
                                dataEntity.DataEntityIndex,
                                dataEntity.RowIndex,
                                FID,
                                "请填写印章实际归还时间!",
                                string.Empty);
                            validateContext.AddError(null, ValidationErrorInfo);
                        }
                    }
                }
            }
            public override void Validate(Kingdee.BOS.Core.ExtendedDataEntity[] dataEntities, ValidateContext validateContext, Kingdee.BOS.Context ctx)
            {
                foreach (var dataEntity in dataEntities)
                {
                    string FID        = dataEntity["Id"].ToString();
                    string procInstId = WorkflowChartServiceHelper.GetProcInstIdByBillInst(ctx, this.formId, FID);
                    List <ChartActivityInfo> routeCollection = WorkflowChartServiceHelper.GetProcessRouter(ctx, procInstId);

                    var WFNode = routeCollection[routeCollection.Count - 1];
                    //客户管理员
                    if (WFNode.ActivityId == CustAdmin_NodeID)
                    {
                        Act_CtrlCustAdmin(dataEntity, validateContext, ctx, FID);
                    }
                    else if (WFNode.ActivityId == Contractor_NodeID)
                    {
                        Act_CtrlContractor(dataEntity, validateContext, ctx, FID);
                    }
                    else if (WFNode.ActivityId == Bomer_NodeID)
                    {
                        Act_CtrlBomer(dataEntity, validateContext, ctx, FID);
                    }
                }
            }
            public override void Validate(Kingdee.BOS.Core.ExtendedDataEntity[] dataEntities, ValidateContext validateContext, Kingdee.BOS.Context ctx)
            {
                foreach (var dataEntity in dataEntities)
                {
                    string FID        = dataEntity["Id"].ToString();
                    string procInstId = WorkflowChartServiceHelper.GetProcInstIdByBillInst(ctx, this.formId, FID);
                    List <ChartActivityInfo> routeCollection = WorkflowChartServiceHelper.GetProcessRouter(ctx, procInstId);
                    var WFNode = routeCollection[routeCollection.Count - 1];

                    var  entity = dataEntity["FEntry"] as DynamicObjectCollection;
                    bool IsNull = false;
                    if (WFNode.ActivityId == AdminAlloc_1_NodeID) //司机 车牌号 出发地点 出发时间
                    {
                        foreach (var row in entity)
                        {
                            string F_ora_rcvDiver = row["F_ora_rcvDiver"] == null ? "" : row["F_ora_rcvDiver"].ToString();
                            string F_ora_CarNum   = row["F_ora_CarNum"] == null ? "" : row["F_ora_CarNum"].ToString();
                            string F_ora_StAddr   = row["F_ora_StAddr"] == null ? "" : row["F_ora_StAddr"].ToString();
                            string F_ora_StTime   = row["F_ora_StTime"] == null ? "" : row["F_ora_StTime"].ToString();
                            if (F_ora_rcvDiver == "" || F_ora_CarNum == "" || F_ora_StAddr == "" || F_ora_StTime == "")
                            {
                                IsNull = true;
                            }
                        }

                        if (IsNull)
                        {
                            ValidationErrorInfo ValidationErrorInfo = new ValidationErrorInfo(
                                string.Empty,
                                FID,
                                dataEntity.DataEntityIndex,
                                dataEntity.RowIndex,
                                FID,
                                "请分配司机并填写车牌号、出发地点及出发时间!",
                                string.Empty);
                            validateContext.AddError(null, ValidationErrorInfo);
                        }
                    }

                    /*
                     * else if (WFNode.ActivityId == AdminAlloc_2_NodeID)//实际公里数 实际费用(自动计算) 补贴
                     * {
                     *  foreach (var row in entity)
                     *  {
                     *      float F_ora_Mileage = float.Parse(row["F_ora_Mileage"].ToString());
                     *      float F_ora_Subsidy = float.Parse(row["F_ora_Subsidy"].ToString());
                     *      if (F_ora_Mileage <= 0 || F_ora_Subsidy <= 0)
                     *      {
                     *          IsNull = true;
                     *      }
                     *  }
                     *
                     *  if (IsNull)
                     *  {
                     *      ValidationErrorInfo ValidationErrorInfo = new ValidationErrorInfo(
                     *          string.Empty,
                     *          FID,
                     *          dataEntity.DataEntityIndex,
                     *          dataEntity.RowIndex,
                     *          FID,
                     *          "请确认实际行车公里数及补贴!",
                     *          string.Empty);
                     *      validateContext.AddError(null, ValidationErrorInfo);
                     *  }
                     * }
                     */
                }
            }
        /// <summary>
        /// 根据流程显示隐藏按钮
        /// </summary>
        private void HideBtn()
        {
            string _FDocumentStatus = this.View.BillModel.GetValue("FDocumentStatus").ToString();

            if (_FDocumentStatus == "Z" || _FDocumentStatus == "A")
            {
                try
                {
                    var pushBtn = this.View.GetControl("FPushBtn");
                    pushBtn.Visible = false;
                }
                catch (Exception) { }
                var submitBtn = this.View.GetControl("FSubmitBtn");
                var saveBtn   = this.View.GetControl("FSaveBtn");
                saveBtn.Visible = false;
                submitBtn.SetCustomPropertyValue("width", 310);
            }
            else if (_FDocumentStatus == "B")
            {
                try
                {
                    var pushBtn = this.View.GetControl("FPushBtn");
                    pushBtn.Visible = false;
                }
                catch (Exception) { }
                var submitBtn = this.View.GetControl("FSubmitBtn");
                var saveBtn   = this.View.GetControl("FSaveBtn");
                submitBtn.Visible = false;
                saveBtn.SetCustomPropertyValue("width", 310);
            }
            else if (_FDocumentStatus == "C")
            {
                var submitBtn = this.View.GetControl("FSubmitBtn");
                var saveBtn   = this.View.GetControl("FSaveBtn");
                submitBtn.Visible = false;
                saveBtn.Visible   = false;
                try
                {
                    var pushBtn = this.View.GetControl("FPushBtn");
                    pushBtn.Visible = true;
                    pushBtn.SetCustomPropertyValue("width", 310);
                }
                catch (Exception) { }
            }
            else if (_FDocumentStatus == "D")
            {
                try
                {
                    var pushBtn = this.View.GetControl("FPushBtn");
                    pushBtn.Visible = false;
                }
                catch (Exception) { }
                string FID        = this.View.BillModel.DataObject["Id"].ToString();
                string procInstId = WorkflowChartServiceHelper.GetProcInstIdByBillInst(this.Context, this.View.GetFormId(), FID);
                string sql        = "select FSTATUS from t_WF_ProcInst where FPROCINSTID='" + procInstId + "'";
                var    data       = DBUtils.ExecuteDynamicObject(this.Context, sql);
                if (data.Count > 0 && data[0]["FSTATUS"].ToString() == "1")
                {
                    var submitBtn = this.View.GetControl("FSubmitBtn");
                    var saveBtn   = this.View.GetControl("FSaveBtn");
                    saveBtn.Visible = false;
                    submitBtn.SetCustomPropertyValue("width", 310);
                }
                else
                {
                    var submitBtn = this.View.GetControl("FSubmitBtn");
                    var saveBtn   = this.View.GetControl("FSaveBtn");
                    submitBtn.Visible = false;
                    saveBtn.SetCustomPropertyValue("width", 310);
                }
            }
        }
            public override void Validate(Kingdee.BOS.Core.ExtendedDataEntity[] dataEntities, ValidateContext validateContext, Kingdee.BOS.Context ctx)
            {
                foreach (var dataEntity in dataEntities)
                {
                    string FID        = dataEntity["Id"].ToString();
                    string procInstId = WorkflowChartServiceHelper.GetProcInstIdByBillInst(ctx, this.formId, FID);
                    List <ChartActivityInfo> routeCollection = WorkflowChartServiceHelper.GetProcessRouter(ctx, procInstId);

                    var WFNode = routeCollection[routeCollection.Count - 1];
                    if (WFNode.ActivityId == OfferBaseprice_NodeID)
                    {
                        var           entityBPR = dataEntity["ora_CRM_SaleOfferBPR"] as DynamicObjectCollection;
                        var           entity    = dataEntity["FEntity"] as DynamicObjectCollection;
                        List <string> guids     = new List <string>();
                        foreach (var row in entity)
                        {
                            if (row["FIS2W"].ToString() == "0" || row["FIS2W"].ToString() == "")
                            {
                                guids.Add(row["FGUID"].ToString());
                            }
                        }
                        string FBGUID = "";
                        foreach (var row in entityBPR)
                        {
                            FBGUID = row["FBGUID"].ToString();
                            if (guids.Contains(FBGUID))
                            {
                                guids.Remove(FBGUID);
                            }
                        }
                        if (guids.Count > 0)
                        {
                            ValidationErrorInfo ValidationErrorInfo = new ValidationErrorInfo(
                                string.Empty,
                                FID,
                                dataEntity.DataEntityIndex,
                                dataEntity.RowIndex,
                                FID,
                                "您还存在未完成的报价,请报价完成后再尝试提交!",
                                string.Empty);
                            validateContext.AddError(null, ValidationErrorInfo);
                        }
                    }
                    else if (WFNode.ActivityId == SalemanOffer_NodeID)
                    {
                        bool IsNull = false;
                        var  entity = dataEntity["ora_CRM_SaleOfferBPR"] as DynamicObjectCollection;
                        //string FBMtlGroup = "";
                        string FBMtlItem  = "0";
                        double FBRptPrice = -1;

                        foreach (var row in entity)
                        {
                            FBMtlItem = row["FBMtlItem"] == null ? "0" : (row["FBMtlItem"] as DynamicObject)["Name"].ToString();
                            if (FBMtlItem == "本体")
                            {
                                FBRptPrice = Double.Parse(row["FBRptPrice"].ToString());
                                if (FBRptPrice <= 0)
                                {
                                    IsNull = true;
                                }
                            }
                        }

                        if (IsNull)
                        {
                            ValidationErrorInfo ValidationErrorInfo = new ValidationErrorInfo(
                                string.Empty,
                                FID,
                                dataEntity.DataEntityIndex,
                                dataEntity.RowIndex,
                                FID,
                                "请对产品本体进行报价!",
                                string.Empty);
                            validateContext.AddError(null, ValidationErrorInfo);
                        }
                    }
                    else if (WFNode.ActivityId == BidAlloc_NodeID)
                    {
                        string FBidMaker = dataEntity["FBidMaker"] == null ? "0" : (dataEntity["FBidMaker"] as DynamicObject)["Id"].ToString();
                        if (FBidMaker == "0")
                        {
                            ValidationErrorInfo ValidationErrorInfo = new ValidationErrorInfo(
                                string.Empty,
                                FID,
                                dataEntity.DataEntityIndex,
                                dataEntity.RowIndex,
                                FID,
                                "请分配标书制作员!",
                                string.Empty);
                            validateContext.AddError(null, ValidationErrorInfo);
                        }
                    }
                }
            }
Exemple #11
0
            public override void Validate(Kingdee.BOS.Core.ExtendedDataEntity[] dataEntities, ValidateContext validateContext, Kingdee.BOS.Context ctx)
            {
                foreach (var dataEntity in dataEntities)
                {
                    string FID        = dataEntity["Id"].ToString();
                    string procInstId = WorkflowChartServiceHelper.GetProcInstIdByBillInst(ctx, this.formId, FID);
                    List <ChartActivityInfo> routeCollection = WorkflowChartServiceHelper.GetProcessRouter(ctx, procInstId);

                    var WFNode = routeCollection[routeCollection.Count - 1];

                    if (WFNode.ActivityId == AllocProcessor_NodeID)
                    {
                        string FExecutor = dataEntity["FQstDoer"] == null ? "0" : (dataEntity["FQstDoer"] as DynamicObject).ToString();
                        if (FExecutor == "0")
                        {
                            ValidationErrorInfo ValidationErrorInfo = new ValidationErrorInfo(
                                string.Empty,
                                FID,
                                dataEntity.DataEntityIndex,
                                dataEntity.RowIndex,
                                FID,
                                "请先分配执行人!",
                                string.Empty);
                            validateContext.AddError(null, ValidationErrorInfo);
                        }
                    }
                    else if (WFNode.ActivityId == ProcessorInputResult_NodeID)
                    {
                        //if (dataEntity["FPlanEndDt"].ToString().IsNullOrEmptyOrWhiteSpace())
                        //{
                        //    ValidationErrorInfo ValidationErrorInfo = new ValidationErrorInfo(
                        //       string.Empty,
                        //       FID,
                        //       dataEntity.DataEntityIndex,
                        //       dataEntity.RowIndex,
                        //       FID,
                        //       "请填写计划完成日期!",
                        //       string.Empty);
                        //    validateContext.AddError(null, ValidationErrorInfo);
                        //}
                        if (dataEntity["FServeContent"].ToString().IsNullOrEmptyOrWhiteSpace())
                        {
                            ValidationErrorInfo ValidationErrorInfo = new ValidationErrorInfo(
                                string.Empty,
                                FID,
                                dataEntity.DataEntityIndex,
                                dataEntity.RowIndex,
                                FID,
                                "请填写服务内容!",
                                string.Empty);
                            validateContext.AddError(null, ValidationErrorInfo);
                        }
                        if (dataEntity["FQstAnz"].ToString().IsNullOrEmptyOrWhiteSpace())
                        {
                            ValidationErrorInfo ValidationErrorInfo = new ValidationErrorInfo(
                                string.Empty,
                                FID,
                                dataEntity.DataEntityIndex,
                                dataEntity.RowIndex,
                                FID,
                                "请填写问题原因分析!",
                                string.Empty);
                            validateContext.AddError(null, ValidationErrorInfo);
                        }
                        if (dataEntity["FQstPlan"].ToString().IsNullOrEmptyOrWhiteSpace())
                        {
                            ValidationErrorInfo ValidationErrorInfo = new ValidationErrorInfo(
                                string.Empty,
                                FID,
                                dataEntity.DataEntityIndex,
                                dataEntity.RowIndex,
                                FID,
                                "请填写问题处理方案!",
                                string.Empty);
                            validateContext.AddError(null, ValidationErrorInfo);
                        }
                    }
                    else if (WFNode.ActivityId == AP_NodeID)//申请人评价
                    {
                        //if (dataEntity["FFinEndDt"].ToString().IsNullOrEmptyOrWhiteSpace())
                        //{
                        //    ValidationErrorInfo ValidationErrorInfo = new ValidationErrorInfo(
                        //       string.Empty,
                        //       FID,
                        //       dataEntity.DataEntityIndex,
                        //       dataEntity.RowIndex,
                        //       FID,
                        //       "请填写实际完成日期!",
                        //       string.Empty);
                        //    validateContext.AddError(null, ValidationErrorInfo);
                        //}
                        string FNotSatisfied = dataEntity["FNotSatisfied"].ToString();
                        string FSatisfied    = dataEntity["FSatisfied"].ToString();
                        if ((FNotSatisfied == "False" && FSatisfied == "False") || (FNotSatisfied == "True" && FSatisfied == "True"))
                        {
                            ValidationErrorInfo ValidationErrorInfo = new ValidationErrorInfo(
                                string.Empty,
                                FID,
                                dataEntity.DataEntityIndex,
                                dataEntity.RowIndex,
                                FID,
                                "请对服务进行评价!",
                                string.Empty);
                            validateContext.AddError(null, ValidationErrorInfo);
                        }
                    }
                }
            }