|
|
@@ -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;
|