1550076451 il y a 1 an
Parent
commit
896beb0e3f

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

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

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

16244
 
16244
 
16245
                                 if (zb == 0)
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
                             else
16257
                             else
16730
                         return Error("该工单已超时,不能申请延时");
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
                 var Delay = new BLL.T_Bus_DelayTime().GetModelList("F_WorkOrderId='" + 
16739
                 var Delay = new BLL.T_Bus_DelayTime().GetModelList("F_WorkOrderId='" + 
16734
                     modelT_Bus_WorkOrder.F_WorkOrderId + "' and F_IsAudit in (0,1) and F_CreateUser='" +
16740
                     modelT_Bus_WorkOrder.F_WorkOrderId + "' and F_IsAudit in (0,1) and F_CreateUser='" +
16735
                     User.F_DeptId + "'and F_AssignedId='" + modelT_Bus_AssignedInfo.F_Id + "'");
16741
                     User.F_DeptId + "'and F_AssignedId='" + modelT_Bus_AssignedInfo.F_Id + "'");
18022
                                     modelT_Bus_Feedback.F_IsFeedEnd = 1;
18028
                                     modelT_Bus_Feedback.F_IsFeedEnd = 1;
18023
                                     modelT_Bus_Feedback.F_State = state;
18029
                                     modelT_Bus_Feedback.F_State = state;
18024
                                     modelT_Bus_Feedback.F_Type = type;
18030
                                     modelT_Bus_Feedback.F_Type = type;
18025
-
18031
+                                    modelT_Bus_Feedback.F_SatisfiedReason = staisfiedreason;
18026
                                     modelT_Bus_Feedback.F_Id= new BLL.T_Bus_Feedback().Add(modelT_Bus_Feedback);
18032
                                     modelT_Bus_Feedback.F_Id= new BLL.T_Bus_Feedback().Add(modelT_Bus_Feedback);
18027
                                     #endregion
18033
                                     #endregion
18028
                                 }
18034
                                 }
18051
                                         modelT_Bus_Feedback.F_IsSatisfied = isstaisfied;//是否满意:0未评价,1满意,2基本满意,3不满意
18057
                                         modelT_Bus_Feedback.F_IsSatisfied = isstaisfied;//是否满意:0未评价,1满意,2基本满意,3不满意
18052
 
18058
 
18053
                                         modelT_Bus_Feedback.F_FeedbackReason = feedbackreason;
18059
                                         modelT_Bus_Feedback.F_FeedbackReason = feedbackreason;
18054
-
18060
+                                        modelT_Bus_Feedback.F_SatisfiedReason = staisfiedreason;
18055
 
18061
 
18056
                                         modelT_Bus_Feedback.F_Duties = duties;//职务
18062
                                         modelT_Bus_Feedback.F_Duties = duties;//职务
18057
                                         modelT_Bus_Feedback.F_Situation = situation;
18063
                                         modelT_Bus_Feedback.F_Situation = situation;
21474
                                 modelT_Bus_VisitResult.F_VisitUser = User .F_UserName;
21480
                                 modelT_Bus_VisitResult.F_VisitUser = User .F_UserName;
21475
                                 modelT_Bus_VisitResult.F_Type = -1;
21481
                                 modelT_Bus_VisitResult.F_Type = -1;
21476
                                 modelT_Bus_VisitResult.F_IsSatisfie = 2;
21482
                                 modelT_Bus_VisitResult.F_IsSatisfie = 2;
21477
-                                modelT_Bus_VisitResult.F_Result = "市长热线:该问题已收到办理结果,如有需要建议再次拨打12345进行反映或咨询。";
21483
+                                modelT_Bus_VisitResult.F_Result = "12345热线:该问题已收到办理结果,如有需要建议再次拨打12345进行反映或咨询。";
21478
                                 modelT_Bus_VisitResult.F_Remark = "";//重办原因
21484
                                 modelT_Bus_VisitResult.F_Remark = "";//重办原因
21479
                                 modelT_Bus_VisitResult.F_State = 1;
21485
                                 modelT_Bus_VisitResult.F_State = 1;
21480
                                 modelT_Bus_VisitResult.F_IsDelete = 0;
21486
                                 modelT_Bus_VisitResult.F_IsDelete = 0;

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

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