1550076451 1 год назад
Родитель
Сommit
896beb0e3f

+ 4 - 1
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/AffairsController.cs

@@ -3204,7 +3204,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
3204 3204
                 {
3205 3205
                     return Error("请选择更正错误类别");
3206 3206
                 }
3207
-
3207
+                if (User.F_RoleCode == "WLDW")
3208
+                {
3209
+                    return Error("省平台工单不允许申请延时");
3210
+                }
3208 3211
               
3209 3212
 
3210 3213
                 Model.T_Bus_WorkOrder modelT_Bus_WorkOrder = workorderBLL.GetModel(workorderid);

+ 13 - 7
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderController.cs

@@ -16244,12 +16244,14 @@ namespace CallCenterApi.Interface.Controllers.workorder
16244 16244
 
16245 16245
                                 if (zb == 0)
16246 16246
                                 {
16247
-                                    if (modelT_Bus_RemindRecord.F_State != 2)
16247
+                                    if (modelT_Bus_RemindRecord!=null)
16248 16248
                                     {
16249
-                                        modelT_Bus_RemindRecord.F_State = 0;
16250
-                                        new BLL.T_Bus_RemindRecord().Update(modelT_Bus_RemindRecord);
16249
+                                        if (modelT_Bus_RemindRecord.F_State != 2)
16250
+                                        {
16251
+                                            modelT_Bus_RemindRecord.F_State = 0;
16252
+                                            new BLL.T_Bus_RemindRecord().Update(modelT_Bus_RemindRecord);
16253
+                                        }
16251 16254
                                     }
16252
-
16253 16255
                                 }
16254 16256
                             }
16255 16257
                             else
@@ -16730,6 +16732,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
16730 16732
                         return Error("该工单已超时,不能申请延时");
16731 16733
                     }
16732 16734
                 }
16735
+                if(modelT_Bus_WorkOrder.F_InfoSource==2580&& User.F_RoleCode == "WLDW")
16736
+                {
16737
+                    return Error("省平台工单不允许申请延时");
16738
+                }
16733 16739
                 var Delay = new BLL.T_Bus_DelayTime().GetModelList("F_WorkOrderId='" + 
16734 16740
                     modelT_Bus_WorkOrder.F_WorkOrderId + "' and F_IsAudit in (0,1) and F_CreateUser='" +
16735 16741
                     User.F_DeptId + "'and F_AssignedId='" + modelT_Bus_AssignedInfo.F_Id + "'");
@@ -18022,7 +18028,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
18022 18028
                                     modelT_Bus_Feedback.F_IsFeedEnd = 1;
18023 18029
                                     modelT_Bus_Feedback.F_State = state;
18024 18030
                                     modelT_Bus_Feedback.F_Type = type;
18025
-
18031
+                                    modelT_Bus_Feedback.F_SatisfiedReason = staisfiedreason;
18026 18032
                                     modelT_Bus_Feedback.F_Id= new BLL.T_Bus_Feedback().Add(modelT_Bus_Feedback);
18027 18033
                                     #endregion
18028 18034
                                 }
@@ -18051,7 +18057,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
18051 18057
                                         modelT_Bus_Feedback.F_IsSatisfied = isstaisfied;//是否满意:0未评价,1满意,2基本满意,3不满意
18052 18058
 
18053 18059
                                         modelT_Bus_Feedback.F_FeedbackReason = feedbackreason;
18054
-
18060
+                                        modelT_Bus_Feedback.F_SatisfiedReason = staisfiedreason;
18055 18061
 
18056 18062
                                         modelT_Bus_Feedback.F_Duties = duties;//职务
18057 18063
                                         modelT_Bus_Feedback.F_Situation = situation;
@@ -21474,7 +21480,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
21474 21480
                                 modelT_Bus_VisitResult.F_VisitUser = User .F_UserName;
21475 21481
                                 modelT_Bus_VisitResult.F_Type = -1;
21476 21482
                                 modelT_Bus_VisitResult.F_IsSatisfie = 2;
21477
-                                modelT_Bus_VisitResult.F_Result = "市长热线:该问题已收到办理结果,如有需要建议再次拨打12345进行反映或咨询。";
21483
+                                modelT_Bus_VisitResult.F_Result = "12345热线:该问题已收到办理结果,如有需要建议再次拨打12345进行反映或咨询。";
21478 21484
                                 modelT_Bus_VisitResult.F_Remark = "";//重办原因
21479 21485
                                 modelT_Bus_VisitResult.F_State = 1;
21480 21486
                                 modelT_Bus_VisitResult.F_IsDelete = 0;

+ 3 - 6
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Models/Common/ButtonGroup.cs

@@ -963,10 +963,9 @@ namespace CallCenterApi.Interface.Models.Common
963 963
                       
964 964
                         if (ispd !="3")
965 965
                         {
966
-                            if (InfoSource == "2580")
967
-                                buttons.Add(ejdelay());
968
-                            else
966
+                            if (InfoSource != "2580")
969 967
                                 buttons.Add(delay());
968
+                               
970 969
                         }
971 970
                        
972 971
                         if (ispd == "0" || ispd == "")
@@ -1075,9 +1074,7 @@ namespace CallCenterApi.Interface.Models.Common
1075 1074
                         buttons.Add(feedback());
1076 1075
                         if (ispd != "3")
1077 1076
                         {
1078
-                            if (InfoSource == "2580")
1079
-                                buttons.Add(ejdelay());
1080
-                            else
1077
+                            if (InfoSource != "2580")
1081 1078
                                 buttons.Add(delay());
1082 1079
                         }
1083 1080
                         if (ispd == "0" || ispd == "")