瀏覽代碼

提交分支

zhupei 3 年之前
父節點
當前提交
23066f8443

+ 2 - 0
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/weixin/WxLoginController.cs

@@ -4959,10 +4959,12 @@ namespace CallCenterApi.Interface.Controllers.weixin
4959 4959
                 if (model.F_Source == "3")
4960 4960
                 {
4961 4961
                     model.F_State = (int)EnumWorkOrderState.customers;
4962
+                    model.F_State2 = (int)EnumWorkOrderState.customers;
4962 4963
                 }
4963 4964
                 else
4964 4965
                 {
4965 4966
                     model.F_State = (int)EnumWorkOrderState.audit;
4967
+                    model.F_State2 = (int)EnumWorkOrderState.audit;
4966 4968
                 }
4967 4969
                 model.F_limit = overtime;
4968 4970
                

+ 4 - 2
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderNewController.cs

@@ -9357,7 +9357,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
9357 9357
         /// <param name="input"></param>
9358 9358
         /// <returns></returns>
9359 9359
         [Authority]
9360
-        public ActionResult ReturnvisitOrder(long orderid, string reason, string call, string F_VisitRemarks, int isOver = 0, int sms = 0,int resultscore=0,int effectscore=0,int servicescore=0,int qualityscore=0,int npscore=0)
9360
+        public ActionResult ReturnvisitOrder(long orderid, string reason, string call, string F_VisitRemarks, int isOver = 0, int sms = 0,int resultscore=-1,int effectscore=-1,int servicescore=-1,int qualityscore=-1,int npscore=-1)
9361 9361
         {
9362 9362
             int userId = CurrentUser.UserData.F_UserId;
9363 9363
             string cont = "";
@@ -9376,7 +9376,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
9376 9376
                         //}
9377 9377
                         decimal evaluationscore = 0;
9378 9378
                         evaluationscore =Convert.ToDecimal(Math.Round((double)(resultscore + effectscore + servicescore + qualityscore)/4,1));//9-10非常满意,7-8满意,5-6一般,5分一下不满意
9379
-                        if (evaluationscore < 5)
9379
+                        if (evaluationscore < 5 && evaluationscore!=-1)
9380 9380
                             cont = "不满意";
9381 9381
                         else if (evaluationscore == 5 || evaluationscore == 6)
9382 9382
                             cont = "一般";
@@ -9384,6 +9384,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
9384 9384
                             cont = "一般";
9385 9385
                         else if (evaluationscore == 9 || evaluationscore == 10)
9386 9386
                             cont = "非常满意";
9387
+                        else if (evaluationscore==-1)
9388
+                            cont = "未评价";
9387 9389
                         model.F_VisitResultScore = resultscore;
9388 9390
                         model.F_EffectiveScore = effectscore;
9389 9391
                         model.F_ServiceAttitude = servicescore;