zhoufan 4 gadi atpakaļ
vecāks
revīzija
904c171049

+ 2 - 2
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/EmailSendController.cs

@@ -157,7 +157,7 @@ namespace CallCenterApi.Interface.Controllers
157 157
         /// 获取邮件信息列表(可以分页)-- 新
158 158
         /// </summary>
159 159
         /// <returns></returns>
160
-        //[Authority]
160
+        [Authority]
161 161
         public ActionResult GetEmailMessageList()
162 162
         {
163 163
             BLL.T_Email_EmailMessage_Map bll = new BLL.T_Email_EmailMessage_Map();
@@ -534,7 +534,7 @@ namespace CallCenterApi.Interface.Controllers
534 534
         /// </summary>
535 535
         /// <param name="uid">邮件ID</param>
536 536
         /// <returns></returns>
537
-        //[Authority]
537
+        [Authority]
538 538
         public ActionResult IsAudit(EmailrReceive input)
539 539
         {
540 540
             BLL.T_Email_EmailMessage_Map bll = new BLL.T_Email_EmailMessage_Map();

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

@@ -11,6 +11,7 @@ using System.Web.Mvc;
11 11
 
12 12
 namespace CallCenterApi.Interface.Controllers
13 13
 {
14
+    [Authority]
14 15
     public class IVRWordsController : BaseController
15 16
     {
16 17
         BLL.T_Sys_IVRWords dBLL = new BLL.T_Sys_IVRWords();

+ 50 - 50
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderController.cs

@@ -14,7 +14,7 @@ using System.Web.Mvc;
14 14
 
15 15
 namespace CallCenterApi.Interface.Controllers.workorder
16 16
 {
17
-
17
+    [Authority]
18 18
     public class WorkOrderController : BaseController
19 19
     {
20 20
         // GET: WorkOrder
@@ -39,7 +39,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
39 39
         /// 获取工单列表
40 40
         /// </summary>
41 41
         /// <returns></returns>
42
-        [Authority]
42
+        //[Authority]
43 43
         public ActionResult GetList(int isdc = 0)
44 44
         {
45 45
             int userId = User.F_UserId;;
@@ -266,7 +266,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
266 266
         /// 获取坐席处理列表
267 267
         /// </summary>
268 268
         /// <returns></returns>
269
-        [Authority]
269
+        //[Authority]
270 270
         public ActionResult GetZXDealList(int isdc = 0)
271 271
         {
272 272
             DataTable dt = new DataTable();
@@ -543,7 +543,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
543 543
         /// 获取领导处理列表
544 544
         /// </summary>
545 545
         /// <returns></returns>
546
-        [Authority]
546
+        //[Authority]
547 547
         public ActionResult GetLDDealList(int isdc = 0)
548 548
         {
549 549
             DataTable dt = new DataTable();
@@ -886,7 +886,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
886 886
         /// 获取单位处理列表
887 887
         /// </summary>
888 888
         /// <returns></returns>
889
-        [Authority]
889
+        //[Authority]
890 890
         public ActionResult GetDWDealList(int isdc = 0)
891 891
         {
892 892
 
@@ -1215,7 +1215,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
1215 1215
         /// 获取单位处理列表
1216 1216
         /// </summary>
1217 1217
         /// <returns></returns>
1218
-        [Authority]
1218
+        //[Authority]
1219 1219
         public ActionResult GetXBDWDealList(int isdc = 0)
1220 1220
         {
1221 1221
 
@@ -1473,7 +1473,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
1473 1473
         /// 获取单位主办协办未处理工单列表
1474 1474
         /// </summary>
1475 1475
         /// <returns></returns>
1476
-        [Authority]
1476
+        //[Authority]
1477 1477
         public ActionResult GetDWNoDealList(int isdc = 0)
1478 1478
         {
1479 1479
             DataTable dt = new DataTable();
@@ -1721,7 +1721,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
1721 1721
         /// 获取逾期未回复工单列表
1722 1722
         /// </summary>
1723 1723
         /// <returns></returns>
1724
-        [Authority]
1724
+        //[Authority]
1725 1725
         public ActionResult GetTimeOutList(int isdc = 0)
1726 1726
         {
1727 1727
             DataTable dt = new DataTable();
@@ -1965,7 +1965,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
1965 1965
         /// 获取媒体工单列表
1966 1966
         /// </summary>
1967 1967
         /// <returns></returns>
1968
-        [Authority]
1968
+        //[Authority]
1969 1969
         public ActionResult GetMediaList(int isdc = 0)
1970 1970
         {
1971 1971
             DataTable dt = new DataTable();
@@ -2132,7 +2132,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
2132 2132
         ///// 获取通报工单列表
2133 2133
         ///// </summary>
2134 2134
         ///// <returns></returns>
2135
-        //[Authority]
2135
+        ////[Authority]
2136 2136
         //public ActionResult GetNoticeList(int isdc = 0)
2137 2137
         //{
2138 2138
         //    DataTable dt = new DataTable();
@@ -2363,7 +2363,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
2363 2363
         /// 获取通报工单列表
2364 2364
         /// </summary>
2365 2365
         /// <returns></returns>
2366
-        [Authority]
2366
+        //[Authority]
2367 2367
         public ActionResult GetNoticeList(int isdc = 0)
2368 2368
         {
2369 2369
             DataTable dt = new DataTable();
@@ -2557,7 +2557,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
2557 2557
         /// 获取批示工单列表
2558 2558
         /// </summary>
2559 2559
         /// <returns></returns>
2560
-        [Authority]
2560
+        //[Authority]
2561 2561
         public ActionResult GetSuperList(int isdc = 0)
2562 2562
         {
2563 2563
             DataTable dt = new DataTable();
@@ -2736,7 +2736,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
2736 2736
         /// 获取工单信息
2737 2737
         /// </summary>
2738 2738
         /// <returns></returns>
2739
-        [Authority]
2739
+        //[Authority]
2740 2740
         public ActionResult GetWorkOrder()
2741 2741
         {
2742 2742
             int userId = User.F_UserId;;
@@ -3118,7 +3118,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
3118 3118
         /// 获取草稿信息
3119 3119
         /// </summary>
3120 3120
         /// <returns></returns>
3121
-        [Authority]
3121
+        //[Authority]
3122 3122
         public ActionResult GetDraftInfo()
3123 3123
         {
3124 3124
             int userId = User.F_UserId;;
@@ -3161,7 +3161,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
3161 3161
         /// 获取审核信息
3162 3162
         /// </summary>
3163 3163
         /// <returns></returns>
3164
-        [Authority]
3164
+        //[Authority]
3165 3165
         public ActionResult GetAuditInfo()
3166 3166
         {
3167 3167
             int userId = User.F_UserId;;
@@ -3204,7 +3204,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
3204 3204
         /// 获取所有交办单位
3205 3205
         /// </summary>
3206 3206
         /// <returns></returns>
3207
-        [Authority]
3207
+        //[Authority]
3208 3208
         public ActionResult GetAllAssignDept()
3209 3209
         {
3210 3210
             int userId = User.F_UserId;;
@@ -3255,7 +3255,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
3255 3255
         /// 上传附件
3256 3256
         /// </summary>
3257 3257
         /// <returns></returns>
3258
-        [Authority]
3258
+        //[Authority]
3259 3259
         public ActionResult UploadFile()
3260 3260
         {
3261 3261
             int userId = User.F_UserId;;
@@ -3337,7 +3337,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
3337 3337
         /// 添加工单信息
3338 3338
         /// </summary>
3339 3339
         /// <returns></returns>
3340
-        [Authority]
3340
+        //[Authority]
3341 3341
         public ActionResult AddWorkOrder()
3342 3342
         {
3343 3343
 
@@ -3610,7 +3610,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
3610 3610
         /// 添加工单信息留言
3611 3611
         /// </summary>
3612 3612
         /// <returns></returns>
3613
-        [Authority]
3613
+        //[Authority]
3614 3614
         public ActionResult AddWorkOrderByLY()
3615 3615
         {
3616 3616
             int userId = User.F_UserId;;
@@ -3787,7 +3787,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
3787 3787
         /// 添加工单信息
3788 3788
         /// </summary>
3789 3789
         /// <returns></returns>
3790
-        [Authority]
3790
+        //[Authority]
3791 3791
         public ActionResult AddWorkOrderByAPP()
3792 3792
         {
3793 3793
             int userId = User.F_UserId;;
@@ -3867,7 +3867,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
3867 3867
         /// 修改工单信息
3868 3868
         /// </summary>
3869 3869
         /// <returns></returns>
3870
-        [Authority]
3870
+        //[Authority]
3871 3871
         public ActionResult EditWorkOrder()
3872 3872
         {
3873 3873
             int userId = User.F_UserId;;
@@ -4041,7 +4041,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
4041 4041
         /// 修改工单信息
4042 4042
         /// </summary>
4043 4043
         /// <returns></returns>
4044
-        [Authority]
4044
+        //[Authority]
4045 4045
         public ActionResult EditWorkOrderBySource()
4046 4046
         {
4047 4047
 
@@ -4205,7 +4205,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
4205 4205
         /// </summary>
4206 4206
         /// <param name="ids"></param>
4207 4207
         /// <returns></returns>
4208
-        [Authority]
4208
+        //[Authority]
4209 4209
         public ActionResult SubmitWorkOrder(string[] ids)
4210 4210
         {
4211 4211
             int userId = User.F_UserId;;
@@ -4279,7 +4279,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
4279 4279
         /// 回退工单
4280 4280
         /// </summary>
4281 4281
         /// <returns></returns>
4282
-        [Authority]
4282
+        //[Authority]
4283 4283
         public ActionResult ReturnWorkOrder()
4284 4284
         {
4285 4285
             int userId = User.F_UserId;;
@@ -4362,7 +4362,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
4362 4362
         /// </summary>
4363 4363
         /// <param name="ids"></param>
4364 4364
         /// <returns></returns>
4365
-        [Authority]
4365
+        //[Authority]
4366 4366
         public ActionResult SuperWorkOrder()
4367 4367
         {
4368 4368
             int userId = User.F_UserId;;
@@ -4427,7 +4427,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
4427 4427
         /// 交办工单
4428 4428
         /// </summary>
4429 4429
         /// <returns></returns>
4430
-        [Authority]
4430
+        //[Authority]
4431 4431
         public ActionResult AssignWorkOrder()
4432 4432
         {
4433 4433
             int userId = User.F_UserId;;
@@ -4587,7 +4587,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
4587 4587
         /// 收回工单
4588 4588
         /// </summary>
4589 4589
         /// <returns></returns>
4590
-        [Authority]
4590
+        //[Authority]
4591 4591
         public ActionResult TakeBackWorkOrder()
4592 4592
         {
4593 4593
             int userId = User.F_UserId;;
@@ -4680,7 +4680,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
4680 4680
         /// 查收工单
4681 4681
         /// </summary>
4682 4682
         /// <returns></returns>
4683
-        [Authority]
4683
+        //[Authority]
4684 4684
         public ActionResult ReceiveWorkOrder()
4685 4685
         {
4686 4686
             int userId = User.F_UserId;;
@@ -4777,7 +4777,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
4777 4777
         /// 退回工单
4778 4778
         /// </summary>
4779 4779
         /// <returns></returns>
4780
-        [Authority]
4780
+        //[Authority]
4781 4781
         public ActionResult RebackWorkOrder()
4782 4782
         {
4783 4783
 
@@ -4875,7 +4875,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
4875 4875
         /// 审核退回工单
4876 4876
         /// </summary>
4877 4877
         /// <returns></returns>
4878
-        [Authority]
4878
+        //[Authority]
4879 4879
         public ActionResult AuditRebackWorkOrder()
4880 4880
         {
4881 4881
             int userId = User.F_UserId;;
@@ -5003,7 +5003,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
5003 5003
         /// 申请延时
5004 5004
         /// </summary>
5005 5005
         /// <returns></returns>
5006
-        [Authority]
5006
+        //[Authority]
5007 5007
         public ActionResult DelayWorkOrder()
5008 5008
         {
5009 5009
             int userId = User.F_UserId;;
@@ -5091,7 +5091,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
5091 5091
         /// 审核延时工单
5092 5092
         /// </summary>
5093 5093
         /// <returns></returns>
5094
-        [Authority]
5094
+        //[Authority]
5095 5095
         public ActionResult AuditDelayWorkOrder()
5096 5096
         {
5097 5097
 
@@ -5192,7 +5192,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
5192 5192
         /// 办理工单
5193 5193
         /// </summary>
5194 5194
         /// <returns></returns>
5195
-        [Authority]
5195
+        //[Authority]
5196 5196
         public ActionResult FeedBackWorkOrder()
5197 5197
         {
5198 5198
             int userId = User.F_UserId;;
@@ -5405,7 +5405,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
5405 5405
         /// 回访工单
5406 5406
         /// </summary>
5407 5407
         /// <returns></returns>
5408
-        [Authority]
5408
+        //[Authority]
5409 5409
         public ActionResult VisitWorkOrder()
5410 5410
         {
5411 5411
             int userId = User.F_UserId;;
@@ -5597,7 +5597,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
5597 5597
         /// 督办或监察工单
5598 5598
         /// </summary>
5599 5599
         /// <returns></returns>
5600
-        [Authority]
5600
+        //[Authority]
5601 5601
         public ActionResult RemindWorkOrder()
5602 5602
         {
5603 5603
             int userId = User.F_UserId;;
@@ -5662,7 +5662,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
5662 5662
         /// 重办工单
5663 5663
         /// </summary>
5664 5664
         /// <returns></returns>
5665
-        [Authority]
5665
+        //[Authority]
5666 5666
         public ActionResult ReloadWorkOrder()
5667 5667
         {
5668 5668
             int userId = User.F_UserId;;
@@ -5800,7 +5800,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
5800 5800
         /// 结案工单
5801 5801
         /// </summary>
5802 5802
         /// <returns></returns>
5803
-        [Authority]
5803
+        //[Authority]
5804 5804
         public ActionResult FinishWorkOrder()
5805 5805
         {
5806 5806
             int userId = User.F_UserId;;
@@ -5901,7 +5901,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
5901 5901
         /// 结案工单
5902 5902
         /// </summary>
5903 5903
         /// <returns></returns>
5904
-        [Authority]
5904
+        //[Authority]
5905 5905
         public ActionResult ForceFinishWorkOrder()
5906 5906
         {
5907 5907
             int userId = User.F_UserId;;
@@ -6056,7 +6056,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
6056 6056
         /// 转媒体工单
6057 6057
         /// </summary>
6058 6058
         /// <returns></returns>
6059
-        [Authority]
6059
+        //[Authority]
6060 6060
         public ActionResult ReleaseWorkOrder()
6061 6061
         {
6062 6062
             int userId = User.F_UserId;;
@@ -6118,7 +6118,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
6118 6118
         ///// 通告和撤销通告
6119 6119
         ///// </summary>
6120 6120
         ///// <returns></returns>
6121
-        //[Authority]
6121
+        ////[Authority]
6122 6122
         //public ActionResult NoticeWorkOrder()
6123 6123
         //{
6124 6124
         //    int userId = User.F_UserId;;
@@ -6207,7 +6207,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
6207 6207
         /// 通告和撤销通告
6208 6208
         /// </summary>
6209 6209
         /// <returns></returns>
6210
-        [Authority]
6210
+        //[Authority]
6211 6211
         public ActionResult NoticeWorkOrder()
6212 6212
         {
6213 6213
             int userId = User.F_UserId;;
@@ -6342,7 +6342,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
6342 6342
         /// 市民催单
6343 6343
         /// </summary>
6344 6344
         /// <returns></returns>
6345
-        [Authority]
6345
+        //[Authority]
6346 6346
         public ActionResult AdditionalWorkOrder()
6347 6347
         {
6348 6348
             int userId = User.F_UserId;;
@@ -6516,7 +6516,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
6516 6516
         /// 获取详情
6517 6517
         /// </summary>
6518 6518
         /// <returns></returns>
6519
-        [Authority]
6519
+        //[Authority]
6520 6520
         public ActionResult GetInfoByAdmin(int id, int type)
6521 6521
         {
6522 6522
             int userId = User.F_UserId;;
@@ -6551,7 +6551,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
6551 6551
         /// 修改工单信息
6552 6552
         /// </summary>
6553 6553
         /// <returns></returns>
6554
-        [Authority]
6554
+        //[Authority]
6555 6555
         public ActionResult EditWorkOrderByAdmin()
6556 6556
         {
6557 6557
             int userId = User.F_UserId;;
@@ -6667,7 +6667,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
6667 6667
         /// 修改批示信息
6668 6668
         /// </summary>
6669 6669
         /// <returns></returns>
6670
-        [Authority]
6670
+        //[Authority]
6671 6671
         public ActionResult EditSuperInfoByAdmin()
6672 6672
         {
6673 6673
             int userId = User.F_UserId;;
@@ -6731,7 +6731,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
6731 6731
         /// 修改交办信息
6732 6732
         /// </summary>
6733 6733
         /// <returns></returns>
6734
-        [Authority]
6734
+        //[Authority]
6735 6735
         public ActionResult EditAssignInfoByAdmin()
6736 6736
         {
6737 6737
             int userId = User.F_UserId;;
@@ -6795,7 +6795,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
6795 6795
         /// 修改办理信息
6796 6796
         /// </summary>
6797 6797
         /// <returns></returns>
6798
-        [Authority]
6798
+        //[Authority]
6799 6799
         public ActionResult EditFeedBackInfoByAdmin()
6800 6800
         {
6801 6801
             int userId = User.F_UserId;;
@@ -6869,7 +6869,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
6869 6869
         /// 修改回访信息
6870 6870
         /// </summary>
6871 6871
         /// <returns></returns>
6872
-        [Authority]
6872
+        //[Authority]
6873 6873
         public ActionResult EditVisitInfoByAdmin()
6874 6874
         {
6875 6875
             int userId = User.F_UserId;;
@@ -6936,7 +6936,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
6936 6936
         /// 修改退回审核信息
6937 6937
         /// </summary>
6938 6938
         /// <returns></returns>
6939
-        [Authority]
6939
+        //[Authority]
6940 6940
         public ActionResult EditAuditRebackByAdmin()
6941 6941
         {
6942 6942
             int userId = User.F_UserId;;
@@ -6992,7 +6992,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
6992 6992
         /// 修改退回审核信息
6993 6993
         /// </summary>
6994 6994
         /// <returns></returns>
6995
-        [Authority]
6995
+        //[Authority]
6996 6996
         public ActionResult EditAuditDelayByAdmin()
6997 6997
         {
6998 6998
             int userId = User.F_UserId;;