zhupei 3 lat temu
rodzic
commit
23066f8443

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

4959
                 if (model.F_Source == "3")
4959
                 if (model.F_Source == "3")
4960
                 {
4960
                 {
4961
                     model.F_State = (int)EnumWorkOrderState.customers;
4961
                     model.F_State = (int)EnumWorkOrderState.customers;
4962
+                    model.F_State2 = (int)EnumWorkOrderState.customers;
4962
                 }
4963
                 }
4963
                 else
4964
                 else
4964
                 {
4965
                 {
4965
                     model.F_State = (int)EnumWorkOrderState.audit;
4966
                     model.F_State = (int)EnumWorkOrderState.audit;
4967
+                    model.F_State2 = (int)EnumWorkOrderState.audit;
4966
                 }
4968
                 }
4967
                 model.F_limit = overtime;
4969
                 model.F_limit = overtime;
4968
                
4970
                

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

9357
         /// <param name="input"></param>
9357
         /// <param name="input"></param>
9358
         /// <returns></returns>
9358
         /// <returns></returns>
9359
         [Authority]
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
             int userId = CurrentUser.UserData.F_UserId;
9362
             int userId = CurrentUser.UserData.F_UserId;
9363
             string cont = "";
9363
             string cont = "";
9376
                         //}
9376
                         //}
9377
                         decimal evaluationscore = 0;
9377
                         decimal evaluationscore = 0;
9378
                         evaluationscore =Convert.ToDecimal(Math.Round((double)(resultscore + effectscore + servicescore + qualityscore)/4,1));//9-10非常满意,7-8满意,5-6一般,5分一下不满意
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
                             cont = "不满意";
9380
                             cont = "不满意";
9381
                         else if (evaluationscore == 5 || evaluationscore == 6)
9381
                         else if (evaluationscore == 5 || evaluationscore == 6)
9382
                             cont = "一般";
9382
                             cont = "一般";
9384
                             cont = "一般";
9384
                             cont = "一般";
9385
                         else if (evaluationscore == 9 || evaluationscore == 10)
9385
                         else if (evaluationscore == 9 || evaluationscore == 10)
9386
                             cont = "非常满意";
9386
                             cont = "非常满意";
9387
+                        else if (evaluationscore==-1)
9388
+                            cont = "未评价";
9387
                         model.F_VisitResultScore = resultscore;
9389
                         model.F_VisitResultScore = resultscore;
9388
                         model.F_EffectiveScore = effectscore;
9390
                         model.F_EffectiveScore = effectscore;
9389
                         model.F_ServiceAttitude = servicescore;
9391
                         model.F_ServiceAttitude = servicescore;