duhongyu лет назад: 3
Родитель
Сommit
4b0d86832a
16 измененных файлов с 1176 добавлено и 15032 удалено
  1. 1 8
      CallCenterApi/CallCenterApi.BLL/T_Bus_WorkOrder.cs
  2. 37 95
      CallCenterApi/CallCenterApi.DAL/T_Bus_WorkOrder.cs
  3. 0 3
      CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/CallCenterApi.Interface.csproj
  4. 3 1
      CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/APPController.cs
  5. 1 0
      CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/Sms/SmsNewController.cs
  6. 1 0
      CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/UserAccountController.cs
  7. 10 5
      CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/tel/CallleaveController.cs
  8. 0 4912
      CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/APPSController.cs
  9. 0 5701
      CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/AffairsController.cs
  10. 1059 3132
      CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderController.cs
  11. 0 1060
      CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderNewController.cs
  12. 4 21
      CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Global.asax.cs
  13. 35 37
      CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Models/Common/ButtonGroup.cs
  14. 4 1
      CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Models/Common/EnumWorkState.cs
  15. 1 1
      CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Properties/PublishProfiles/bb.pubxml
  16. 20 55
      CallCenterApi/CallCenterApi.Model/T_Bus_WorkOrder.cs

+ 1 - 8
CallCenterApi/CallCenterApi.BLL/T_Bus_WorkOrder.cs

@@ -52,14 +52,7 @@ namespace CallCenterApi.BLL
52 52
             return dal.UpdateWorkOrder(F_Id, keyValues);
53 53
         }
54 54
 
55
-        /// <summary>
56
-        /// 更新一条数据
57
-        /// </summary>
58
-        public bool UpdateYS(CallCenterApi.Model.T_Bus_WorkOrder model)
59
-        {
60
-            return dal.UpdateYS(model);
61
-        }
62
-
55
+       
63 56
         /// <summary>
64 57
         /// 删除一条数据
65 58
         /// </summary>

Разница между файлами не показана из-за своего большого размера
+ 37 - 95
CallCenterApi/CallCenterApi.DAL/T_Bus_WorkOrder.cs


+ 0 - 3
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/CallCenterApi.Interface.csproj

@@ -277,13 +277,10 @@
277 277
     <Compile Include="Controllers\Wiki\NounInterpretationController.cs" />
278 278
     <Compile Include="Controllers\Wiki\PolicyController.cs" />
279 279
     <Compile Include="Controllers\Wiki\ProfessorController.cs" />
280
-    <Compile Include="Controllers\workorder\AffairsController.cs" />
281
-    <Compile Include="Controllers\workorder\APPSController.cs" />
282 280
     <Compile Include="Controllers\workorder\AYWorkOrderController.cs" />
283 281
     <Compile Include="Controllers\workorder\NoticeCriticismController.cs" />
284 282
     <Compile Include="Controllers\workorder\ShangQiuWorkOrderController.cs" />
285 283
     <Compile Include="Controllers\workorder\WorkOrderController.cs" />
286
-    <Compile Include="Controllers\workorder\WorkOrderNewController.cs" />
287 284
     <Compile Include="Controllers\workorder\WOVisitRecordsController.cs" />
288 285
     <Compile Include="Global.asax.cs">
289 286
       <DependentUpon>Global.asax</DependentUpon>

+ 3 - 1
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/APPController.cs

@@ -26,6 +26,8 @@ namespace CallCenterApi.Interface.Controllers
26 26
     {
27 27
         // GET: APP
28 28
 
29
+
30
+        
29 31
         /// <summary>
30 32
         /// 登录
31 33
         /// </summary>
@@ -497,7 +499,7 @@ namespace CallCenterApi.Interface.Controllers
497 499
                     modelT_Bus_WorkOrder.F_IsOverdue = 0;//是否逾期(0:否,1:是)
498 500
                     modelT_Bus_WorkOrder.F_IsDelete = 0;//是否删除(0:否,1:是)
499 501
                     modelT_Bus_WorkOrder.F_ToBereply = 0;
500
-                    modelT_Bus_WorkOrder.F_Business = business;
502
+                   
501 503
                     //如果选择即刻答复:是,即为直办,工单结束
502 504
                     
503 505
                     #region

+ 1 - 0
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/Sms/SmsNewController.cs

@@ -359,6 +359,7 @@ namespace CallCenterApi.Interface.Controllers.Sms
359 359
             int t = 0;
360 360
             try
361 361
             {
362
+                return "";
362 363
                 var ts = DateTime.UtcNow - new DateTime(1970, 1, 1, 0, 0, 0, 0);
363 364
                 var currentTime = Convert.ToInt64(ts.TotalMilliseconds).ToString();
364 365
                 HttpClient client = new HttpClient();

+ 1 - 0
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/UserAccountController.cs

@@ -329,6 +329,7 @@ namespace CallCenterApi.Interface.Controllers
329 329
                 return Success("新增成功!");
330 330
             else
331 331
                 return Error("新增失败!");
332
+           
332 333
         }
333 334
         //[Authority]
334 335
         //修改用户信息

+ 10 - 5
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/tel/CallleaveController.cs

@@ -14,7 +14,7 @@ namespace CallCenterApi.Interface.Controllers.tel
14 14
     public class CallleaveController : BaseController
15 15
     {
16 16
         //获取留言列表
17
-        public ActionResult GetList(string strtelnum)
17
+        public ActionResult GetList(string tel)
18 18
         {
19 19
                 string sql = "";
20 20
                 DataTable dt = new DataTable();
@@ -22,15 +22,16 @@ namespace CallCenterApi.Interface.Controllers.tel
22 22
                 string strsettime = HttpUtility.UrlDecode(RequestString.GetQueryString("settime"));
23 23
                 string strremovetime = HttpUtility.UrlDecode(RequestString.GetQueryString("removetime"));
24 24
                 string status = HttpUtility.UrlDecode(RequestString.GetQueryString("status"));
25
+            string workorderid = HttpUtility.UrlDecode(RequestString.GetQueryString("workorderid"));
25 26
 
26
-                string strpageindex = RequestString.GetQueryString("page");
27
+            string strpageindex = RequestString.GetQueryString("page");
27 28
                 int pageindex = 1;
28 29
                 string strpagesize = RequestString.GetQueryString("pagesize");
29 30
                 int pagesize = 10;
30 31
 
31
-                if (strtelnum != null && strtelnum.Trim() != "")
32
+                if (tel != null && tel.Trim() != "")
32 33
                 {
33
-                    sql += " and F_Phone= '" + strtelnum.Trim() + "' ";
34
+                    sql += " and F_Phone like'%" + tel.Trim() + "%' ";
34 35
                 }
35 36
                 if (strsettime.Trim() != "" && strsettime != "undefined")
36 37
                 {
@@ -40,7 +41,11 @@ namespace CallCenterApi.Interface.Controllers.tel
40 41
                 {
41 42
                     sql += " and CONVERT(varchar(10),F_DealTime, 23) = '" + strremovetime.Trim() + "' ";
42 43
                 }
43
-                if (status.Trim() != "-1" && status != "undefined")
44
+            if (workorderid.Trim() != "" && workorderid != "undefined")
45
+            {
46
+                sql += " and F_Id in( select F_LeaveRecordId from T_Bus_WorkOrder where F_WorkOrderId='"+ workorderid + "' )  ";
47
+            }
48
+            if (status.Trim() != "-1" && status != "undefined")
44 49
                 {
45 50
                     sql += " and F_Status = " + Convert.ToInt32(status);
46 51
                 }

Разница между файлами не показана из-за своего большого размера
+ 0 - 4912
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/APPSController.cs


Разница между файлами не показана из-за своего большого размера
+ 0 - 5701
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/AffairsController.cs


Разница между файлами не показана из-за своего большого размера
+ 1059 - 3132
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderController.cs


Разница между файлами не показана из-за своего большого размера
+ 0 - 1060
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderNewController.cs


+ 4 - 21
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Global.asax.cs

@@ -15,34 +15,17 @@ namespace CallCenterApi.Interface
15 15
 {
16 16
     public class MvcApplication : System.Web.HttpApplication
17 17
     {
18
-        private static QuartzWorker _worker;
18
+   
19 19
         protected void Application_Start()
20 20
         {
21 21
             AreaRegistration.RegisterAllAreas();
22 22
             RouteConfig.RegisterRoutes(RouteTable.Routes);
23 23
             //clq 增加异常日志记录 自定义 HandleErrorAttribute
24 24
             FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
25
-            _worker = new QuartzWorker();
26
-          var satisfactionClose = new SatisfactionClose();
27
-           _worker.AddWork(satisfactionClose);
28
-          _worker.Start();
29
-           var ZhengWuDuiJie = new ZhengWuDuiJie();
30
-           _worker.AddWork(ZhengWuDuiJie);
31
-           _worker.Start();
32
-           var Peoplewebsite = new Peoplewebsite();
33
-        _worker.AddWork(Peoplewebsite);
34
-          _worker.Start();
35
-        //   var PushWorkorder = new PushWorkorder();
36
-       //    _worker.AddWork(PushWorkorder);
37
-       //   _worker.Start();
38
-        }
39
-        protected void Application_End()
40
-        {
41
-            if (_worker != null)
42
-            {
43
-                _worker.Stop();
44
-            }
25
+
26
+
45 27
         }
28
+     
46 29
 
47 30
         protected void Application_AuthenticateRequest(object sender, EventArgs e)
48 31
         {

+ 35 - 37
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Models/Common/ButtonGroup.cs

@@ -183,18 +183,8 @@ namespace CallCenterApi.Interface.Models.Common
183 183
         {
184 184
             return new button(46, "退回申请延时");
185 185
         }
186
-        public static button visits()
187
-        {
188
-            return new button(47, "省平台结案");
189
-        }
190
-        public static button ejdelay()
191
-        {
192
-            return new button(48, "省平台申请延时");
193
-        }
194
-        public static button Report()
195
-        {
196
-            return new button(49, "上报");
197
-        }
186
+       
187
+       
198 188
         public static button Unsuccessful()
199 189
         {
200 190
             return new button(50, "已办未果");
@@ -211,7 +201,6 @@ namespace CallCenterApi.Interface.Models.Common
211 201
         {
212 202
             return new button(53, "审核通过转办");
213 203
         }
214
-
215 204
         public static button AuditDispatch()
216 205
         {
217 206
             return new button(54, "审核通过");
@@ -224,6 +213,10 @@ namespace CallCenterApi.Interface.Models.Common
224 213
        {
225 214
            return new button(56, "解释");
226 215
         }
216
+        public static button AuditReturn ()
217
+        {
218
+            return new button(58, "退回审核");
219
+        }
227 220
         /// <summary>
228 221
         /// 审核员退回
229 222
         /// </summary>
@@ -328,14 +321,14 @@ namespace CallCenterApi.Interface.Models.Common
328 321
                         }
329 322
                         else
330 323
                         {
331
-                            buttons.Add(Report());
324
+                          //  buttons.Add(Report());
332 325
                             buttons.Add(edit());
333 326
                             buttons.Add(back());
334 327
                             // buttons.Add(assign());
335 328
                             // buttons.Add(approval());
336 329
                             //20190315提出需求 操作-领导批示改为转督办 (20190327 zhengbingbing)
337 330
                             //  buttons.Add(turnsee());
338
-                            buttons.Add(instruct());
331
+                           // buttons.Add(instruct());
339 332
                         }
340 333
                        
341 334
                     }
@@ -371,13 +364,13 @@ namespace CallCenterApi.Interface.Models.Common
371 364
                     //二级网络单位 管理员
372 365
                     if (code == "WLDW" || code == "GLY" || code == "DDZG")
373 366
                     {
374
-                        buttons.Add(feedback()); buttons.Add(reback());
367
+                        buttons.Add(feedback());// buttons.Add(reback());
375 368
                         if (iszbdw == "1" || code == "GLY" || code == "DDZG")
376 369
                         {
377 370
                             
378
-                                if (user =="省平台")
379
-                                buttons.Add(ejdelay());
380
-                            else 
371
+                            //    if (user =="省平台")
372
+                            //    buttons.Add(ejdelay());
373
+                            //else 
381 374
                             buttons.Add(delay());
382 375
                             if (ispd == "0" || ispd == "")
383 376
                             {
@@ -410,13 +403,13 @@ namespace CallCenterApi.Interface.Models.Common
410 403
                     {
411 404
                         if (ispd == "1")
412 405
                         {
413
-                            buttons.Add(sign()); buttons.Add(refuse());
406
+                            buttons.Add(sign()); //buttons.Add(refuse());
414 407
                         }
415 408
                         if (ispd == "2")
416 409
                         {
417
-                            buttons.Add(EJredo());
410
+                           // buttons.Add(EJredo());
418 411
                             //三级单位签收后,加个退回按钮,可以退回工单到二级单位,退回时必须输入退回原因
419
-                            buttons.Add(feedback());
412
+                           buttons.Add(feedback());
420 413
                             //三级单位签收后,加个退回按钮,可以退回工单到二级单位,退回时必须输入退回原因
421 414
                         }
422 415
                     }
@@ -433,7 +426,7 @@ namespace CallCenterApi.Interface.Models.Common
433 426
                     {
434 427
                         if (ispd == "1")
435 428
                         {
436
-                            buttons.Add(sign()); buttons.Add(refuse());
429
+                            buttons.Add(sign()); //buttons.Add(refuse());
437 430
                         }
438 431
                         if (ispd == "2")
439 432
                         {
@@ -455,7 +448,7 @@ namespace CallCenterApi.Interface.Models.Common
455 448
                     {
456 449
                         if (isproresult == 2)
457 450
                         {
458
-                            if (code == "WLDW" || code == "GLY" || code == "DDZG")
451
+                            if (code == "WLDW" )
459 452
                             {
460 453
                                buttons.Add(feedback());
461 454
                             }
@@ -573,7 +566,7 @@ namespace CallCenterApi.Interface.Models.Common
573 566
                     {
574 567
                         if (isproresult == 2)
575 568
                         {
576
-                            if (code == "WLDW" || code == "GLY" || code == "DDZG")
569
+                            if (code == "WLDW" )
577 570
                             {
578 571
                                 buttons.Add(feedback());
579 572
                             }
@@ -582,17 +575,17 @@ namespace CallCenterApi.Interface.Models.Common
582 575
                         {
583 576
                             if (code == "ZJZY" || code == "GLY" || code == "ZXLD" || code == "YSZY" || code == "DDZG" || code == "MTDD")
584 577
                             {
585
-                                if (user == "省平台")
586
-                                    buttons.Add(visits());
587
-                                else
578
+                                //if (user == "省平台")
579
+                                //    buttons.Add(visits());
580
+                                //else
588 581
                                     buttons.Add(visit());
589 582
                                 //  buttons.Add(modify());
590 583
                             }
591 584
                             if (code == "ZXHWY")
592 585
                             {
593
-                                if (user == "省平台")
594
-                                    buttons.Add(visits());
595
-                                else
586
+                                //if (user == "省平台")
587
+                                //    buttons.Add(visits());
588
+                                //else
596 589
                                     buttons.Add(visit());
597 590
                             }
598 591
                         }
@@ -628,13 +621,10 @@ namespace CallCenterApi.Interface.Models.Common
628 621
                     {
629 622
 
630 623
                         buttons.Add(feedback());
631
-                        if (user == "省平台")
632
-                            buttons.Add(ejdelay());
633
-                        else
634 624
                             buttons.Add(delay());
635 625
                         buttons.Add(split());
636 626
 
637
-                        buttons.Add(reback());
627
+                       // buttons.Add(reback());
638 628
 
639 629
                     }
640 630
                     //调度专员 中心领导管理员 管理员
@@ -650,11 +640,11 @@ namespace CallCenterApi.Interface.Models.Common
650 640
                     {
651 641
                         if (ispd == "1")
652 642
                         {
653
-                            buttons.Add(sign()); buttons.Add(refuse());
643
+                            buttons.Add(sign()); //buttons.Add(refuse());
654 644
                         }
655 645
                         if (ispd == "2")
656 646
                         {
657
-                            buttons.Add(EJredo());
647
+                           // buttons.Add(EJredo());
658 648
                             //三级单位签收后,加个退回按钮,可以退回工单到二级单位,退回时必须输入退回原因
659 649
                             buttons.Add(feedback());
660 650
                             //三级单位签收后,加个退回按钮,可以退回工单到二级单位,退回时必须输入退回原因
@@ -711,6 +701,14 @@ namespace CallCenterApi.Interface.Models.Common
711 701
                         buttons.Add(subreload());
712 702
                     }
713 703
                     break;
704
+                case "14":
705
+                    if (code == "ZJZY" || code == "ZXLD" || code == "GLY" || code == "DDZG")
706
+                    {
707
+                        buttons.Add(AuditReturn());
708
+                        
709
+                    }
710
+                   
711
+                    break;
714 712
             }
715 713
             //buttons.Add(export());
716 714
             //调度专员 中心领导管理员 管理员

+ 4 - 1
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Models/Common/EnumWorkState.cs

@@ -46,6 +46,9 @@ namespace CallCenterApi.Interface.Models.Common
46 46
 
47 47
         [Description("重办驳回")]
48 48
         rejload =13,
49
-      
49
+
50
+        [Description("退回待审核")]
51
+        backaudit = 14,
52
+
50 53
     }
51 54
 }

+ 1 - 1
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Properties/PublishProfiles/bb.pubxml

@@ -11,7 +11,7 @@
11 11
     <SiteUrlToLaunchAfterPublish />
12 12
     <LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
13 13
     <ExcludeApp_Data>False</ExcludeApp_Data>
14
-    <publishUrl>D:\安阳12345API发布地址</publishUrl>
14
+    <publishUrl>D:\项目\鹤壁12345\发布</publishUrl>
15 15
     <DeleteExistingFiles>True</DeleteExistingFiles>
16 16
   </PropertyGroup>
17 17
 </Project>

+ 20 - 55
CallCenterApi/CallCenterApi.Model/T_Bus_WorkOrder.cs

@@ -667,14 +667,14 @@ namespace CallCenterApi.Model
667 667
             get { return _f_isopen; }
668 668
         }
669 669
 
670
-        /// <summary>
671
-        /// 三方通话
672
-        /// </summary>
673
-        public int F_Business
674
-        {
675
-            set { _f_business = value; }
676
-            get { return _f_business; }
677
-        }
670
+        ///// <summary>
671
+        ///// 三方通话
672
+        ///// </summary>
673
+        //public int F_Business
674
+        //{
675
+        //    set { _f_business = value; }
676
+        //    get { return _f_business; }
677
+        //}
678 678
         /// <summary>
679 679
         /// 行政区
680 680
         /// </summary>
@@ -702,7 +702,7 @@ namespace CallCenterApi.Model
702 702
         /// 子工单编号
703 703
         /// </summary>
704 704
         public string F_SubWorkorder1 { set; get; }
705
-        public string F_PhoneType { set; get; }
705
+     //   public string F_PhoneType { set; get; }
706 706
         /// <summary>
707 707
         /// 重办标识
708 708
         /// </summary>
@@ -712,67 +712,32 @@ namespace CallCenterApi.Model
712 712
         /// </summary>
713 713
         public int F_VisitType { set; get; }
714 714
         public int F_IsMedia { set; get; }
715
-        public int? F_IsSendBack{ set; get; }
715
+     //   public int? F_IsSendBack{ set; get; }
716 716
         /// <summary>
717
-        /// 登记人工号
717
+        /// 修改人工号
718 718
         /// </summary>
719
-        public string F_EditUser
720
-        { set; get; }
719
+     //   public string F_EditUser
720
+      //  { set; get; }
721 721
 
722 722
         /// <summary>
723 723
         /// 0未审核1已审核2回访审核
724 724
         /// </summary>
725
-        public int? F_IsExamine { set; get; }
725
+      //  public int? F_IsExamine { set; get; }//删除
726 726
         /// <summary>
727 727
         /// 交办审核时间
728 728
         /// </summary>
729
-        public DateTime? F_AssignExamineTime { set; get; }
730
-        public string F_AssignExamineUser { set; get; }
729
+      //  public DateTime? F_AssignExamineTime { set; get; }//删除
730
+    //    public string F_AssignExamineUser { set; get; }//删除
731 731
         /// <summary>
732 732
         /// 回访审核时间
733 733
         /// </summary>
734
-        public DateTime? F_VisitExamineTime { set; get; }
735
-        public string F_VisitAssignUser { set; get; }
734
+     //   public DateTime? F_VisitExamineTime { set; get; }//删除
735
+      //  public string F_VisitAssignUser { set; get; }//删除
736 736
         /// <summary>
737 737
         /// 是否营商
738 738
         /// </summary>
739
-        public int ? F_IsBusiness { set; get; }
740
-        ///// <summary>
741
-        /////任务单唯一标识
742
-        ///// </summary>
743
-        //public string TROWGUID { set; get; }
744
-        ///// <summary>
745
-        /////工单编号
746
-        ///// </summary>
747
-        //public string CASE_SERIAL { set; get; }
748
-        ///// <summary>
749
-        /////应签收时限
750
-        ///// </summary>
751
-        //public string TSIGNTIME_BF { set; get; }
752
-        ///// <summary>
753
-        /////应退回时限
754
-        ///// </summary>
755
-        //public string TBACKTIME_BF { set; get; }
756
-        ///// <summary>
757
-        /////交办时间
758
-        ///// </summary>
759
-        //public string SEND_TIME { set; get; }
760
-        ///// <summary>
761
-        /////交办意见
762
-        ///// </summary>
763
-        //public string SEND_CONTENT { set; get; }
764
-        ///// <summary>
765
-        /////登记时间
766
-        ///// </summary>
767
-        //public string CASE_TIME { set; get; }
768
-        ///// <summary>
769
-        /////应办结时间
770
-        ///// </summary>
771
-        //public string TFDBACKTIME_BF { set; get; }
772
-        ///// <summary>
773
-        /////结案回传附件
774
-        ///// </summary>
775
-        //public string FILES { set; get; }
739
+     //   public int ? F_IsBusiness { set; get; }//删除
740
+      
776 741
         #endregion Model
777 742
 
778 743
     }