Ver Código Fonte

业务协办

duhongyu 3 anos atrás
pai
commit
8d2eab388e

+ 46 - 20
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/report/WOReportController.cs

@@ -114,7 +114,7 @@ namespace CallCenterApi.Interface.Controllers.report
114 114
             dt.Columns.Add("合计");
115 115
             dt.Columns.Add("即时办结率");
116 116
            
117
-            for (int i = 0; i < 8; i++)
117
+            for (int i = 0; i < 9; i++)
118 118
             {
119 119
                 DataRow drNew = dt.NewRow();
120 120
                 switch (i)
@@ -135,31 +135,34 @@ namespace CallCenterApi.Interface.Controllers.report
135 135
                         drNew["反馈类型"] = "建议";
136 136
                         break;
137 137
                     case 5:
138
-                        drNew["反馈类型"] = "超期数量";
138
+                        drNew["反馈类型"] = "业务协办";
139 139
                         break;
140 140
                     case 6:
141
-                        drNew["反馈类型"] = "满意数量";
141
+                        drNew["反馈类型"] = "超期数量";
142 142
                         break;
143 143
                     case 7:
144
+                        drNew["反馈类型"] = "满意数量";
145
+                        break;
146
+                    case 8:
144 147
                         drNew["反馈类型"] = "不满意数量";
145 148
                         break;
146 149
                 }
147 150
                 string nsg = "";
148
-                if (i > 0&& i<5)
151
+                if (i > 0&& i<6)
149 152
                 {
150 153
                     nsg = "and F_Type=" + i;
151 154
                 }
152
-              else   if (i > 4)
155
+              else   if (i > 5)
153 156
                 {
154
-                    if (i ==5)
157
+                    if (i ==6)
155 158
                     {
156 159
                         nsg = " and F_IsOver=" + 1 ;
157 160
                     }
158
-                   else  if (i == 6)
161
+                   else  if (i == 7)
159 162
                     {
160 163
                         nsg = "and F_VisitResult in('非常满意','满意')";
161 164
                     }
162
-                    else if (i == 7)
165
+                    else if (i == 8)
163 166
                     {
164 167
                         nsg = "and F_VisitResult='不满意'";
165 168
                     }
@@ -215,7 +218,7 @@ namespace CallCenterApi.Interface.Controllers.report
215 218
             List<marketList> markets = new List<marketList>();
216 219
 
217 220
 
218
-            for (int i = 0; i < 8; i++)
221
+            for (int i = 0; i < 9; i++)
219 222
             {
220 223
                 marketList brand = new marketList();
221 224
                 switch (i)
@@ -236,31 +239,34 @@ namespace CallCenterApi.Interface.Controllers.report
236 239
                         brand.typename = "建议";
237 240
                         break;
238 241
                     case 5:
239
-                        brand.typename = "超期数量";
242
+                        brand.typename = "业务协办";
240 243
                         break;
241 244
                     case 6:
242
-                        brand.typename = "满意数量";
245
+                        brand.typename = "超期数量";
243 246
                         break;
244 247
                     case 7:
248
+                        brand.typename = "满意数量";
249
+                        break;
250
+                    case 8:
245 251
                         brand.typename = "不满意数量";
246 252
                         break;
247 253
                 }
248 254
                 string nsg = "";
249
-                if (i > 0 && i < 5)
255
+                if (i > 0 && i < 6)
250 256
                 {
251 257
                     nsg = "and F_Type=" + i;
252 258
                 }
253
-                else if (i > 4)
259
+                else if (i > 5)
254 260
                 {
255
-                    if (i == 5)
261
+                    if (i == 6)
256 262
                     {
257 263
                         nsg = " and F_IsOver=" + 1;
258 264
                     }
259
-                    else if (i == 6)
265
+                    else if (i == 7)
260 266
                     {
261 267
                         nsg = "and F_VisitResult in('非常满意','满意')";
262 268
                     }
263
-                    else if (i == 7)
269
+                    else if (i == 8)
264 270
                     {
265 271
                         nsg = "and F_VisitResult='不满意'";
266 272
                     }
@@ -1383,10 +1389,14 @@ namespace CallCenterApi.Interface.Controllers.report
1383 1389
                 {
1384 1390
                     drNew["反馈类型"] = "抽检";//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
1385 1391
                 }
1386
-                else
1392
+                else if (it.F_Type == "4")
1387 1393
                 {
1388 1394
                     drNew["反馈类型"] = "建议及其他";//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
1389 1395
                 }
1396
+                else if (it.F_Type == "5")
1397
+                {
1398
+                    drNew["反馈类型"] = "业务协办";//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
1399
+                }
1390 1400
                 drNew["销售基地"] = it.F_SalesBase;//销售基地:新乡、新疆、九江、东北、其他(其它手动输入别的点选)
1391 1401
                 drNew["创建时间"] = it.F_CreateOn.ToString();
1392 1402
                 if (it .F_Type !="3")
@@ -2889,7 +2899,7 @@ question, int page = 1, int limit = 10)
2889 2899
             }
2890 2900
             string sdaytime = DateTime.Now.Date.ToString("yyyy-MM-dd 00:00:00");
2891 2901
             
2892
-            for (int i = 1; i <= 5; i++)
2902
+            for (int i = 1; i <= 6; i++)
2893 2903
             {
2894 2904
                 Feedback model = new Feedback();
2895 2905
                     switch (i)
@@ -2907,11 +2917,15 @@ question, int page = 1, int limit = 10)
2907 2917
                             model.name = "建议";
2908 2918
                             break;
2909 2919
                         case 5:
2920
+                        model.name = "业务协办";
2921
+                        break;
2922
+                       case 6:
2910 2923
                             model.name = "合计";
2911 2924
                             break;
2925
+
2912 2926
                     }
2913 2927
                float a= workOrder.GetModelList(sql ).Count;
2914
-                if (i <5)
2928
+                if (i <6)
2915 2929
                 {
2916 2930
                    
2917 2931
                   model .daynumber = workOrder.GetModelList(sql + $" and datediff(day,F_CreateOn,'{sdaytime}')<=0 and datediff(day,F_CreateOn,'{endtime}')>=0 "  + "and F_Type=" + i ).Count;
@@ -3258,6 +3272,10 @@ question, int page = 1, int limit = 10)
3258 3272
                                 {
3259 3273
                                     worker.F_Type = "抽检";
3260 3274
                                 }
3275
+                                else if (it.F_Type == "5")
3276
+                                {
3277
+                                    worker.F_Type = "业务协办";
3278
+                                }
3261 3279
                                 else
3262 3280
                                 {
3263 3281
                                     worker.F_Type = "建议及其他";
@@ -3503,6 +3521,10 @@ question, int page = 1, int limit = 10)
3503 3521
                                         {
3504 3522
                                             worker.F_Type = "抽检";
3505 3523
                                         }
3524
+                                        else if (it.F_Type == "5")
3525
+                                        {
3526
+                                            worker.F_Type = "业务协办";
3527
+                                        }
3506 3528
                                         else
3507 3529
                                         {
3508 3530
                                             worker.F_Type = "建议及其他";
@@ -4113,10 +4135,14 @@ question, int page = 1, int limit = 10)
4113 4135
                     {
4114 4136
                         model.Type = "抽检";//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
4115 4137
                     }
4116
-                    else
4138
+                    else if (model1[i].F_Type == "4")
4117 4139
                     {
4118 4140
                         model.Type = "建议及其他";//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
4119 4141
                     }
4142
+                    else if (model1[i].F_Type == "5")
4143
+                    {
4144
+                        model.Type = "业务协办";//
4145
+                    }
4120 4146
                     model.SalesBase = model1[i].F_SalesBase;//销售基地:新乡、新疆、九江、东北、其他(其它手动输入别的点选)
4121 4147
                     model.CreatOn = model1[i].F_CreateOn .ToString ();
4122 4148
                     if (model1[i].F_Type !="3")

+ 16 - 0
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/weixin/WxLoginController.cs

@@ -2180,6 +2180,10 @@ namespace CallCenterApi.Interface.Controllers.weixin
2180 2180
             {
2181 2181
                 smscont = "抽检";
2182 2182
             }
2183
+            else if (type == "5")
2184
+            {
2185
+              smscont  = "业务协办";
2186
+            }
2183 2187
             else
2184 2188
             {
2185 2189
                 smscont = "建议";
@@ -2782,6 +2786,10 @@ namespace CallCenterApi.Interface.Controllers.weixin
2782 2786
                     {
2783 2787
                         model.F_TypeName = "抽检";//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
2784 2788
                     }
2789
+                    else if (model1[i].F_Type == "5")
2790
+                    {
2791
+                        model.F_TypeName = "业务协办";//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
2792
+                    }
2785 2793
                     else
2786 2794
                     {
2787 2795
                         model.F_TypeName = "建议及其他";//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
@@ -4403,6 +4411,10 @@ namespace CallCenterApi.Interface.Controllers.weixin
4403 4411
             {
4404 4412
                 smscont = "抽检";
4405 4413
             }
4414
+            else if (model.F_Type == "5")
4415
+            {
4416
+                smscont = "业务协办";
4417
+            }
4406 4418
             else
4407 4419
             {
4408 4420
                 smscont = "建议";
@@ -5308,6 +5320,10 @@ namespace CallCenterApi.Interface.Controllers.weixin
5308 5320
                 {
5309 5321
                     smscont = "抽检";
5310 5322
                 }
5323
+                else if (model.F_Type == "5")
5324
+                {
5325
+                    smscont = "业务协办";
5326
+                }
5311 5327
                 else
5312 5328
                 {
5313 5329
                     smscont = "建议";

+ 28 - 0
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderNewController.cs

@@ -2681,6 +2681,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
2681 2681
                             {
2682 2682
                                 drNew["工单类型"] = "抽检";//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
2683 2683
                             }
2684
+                            else if (it.F_Type == "5")
2685
+                            {
2686
+                                drNew["工单类型"] = "业务协办";//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
2687
+                            }
2684 2688
                             else
2685 2689
                             {
2686 2690
                                 drNew["工单类型"] = "建议及其他";//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
@@ -3297,6 +3301,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
3297 3301
                             {
3298 3302
                                 drNew["工单类型"] = "抽检";//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
3299 3303
                             }
3304
+                            else if (it.F_Type == "5")
3305
+                            {
3306
+                                drNew["工单类型"] = "业务协办";//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
3307
+                            }
3300 3308
                             else
3301 3309
                             {
3302 3310
                                 drNew["工单类型"] = "建议及其他";//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
@@ -5238,6 +5246,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
5238 5246
                     {
5239 5247
                         model.F_TypeName = "抽检";//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
5240 5248
                     }
5249
+                    else if (model1[i].F_Type == "5")
5250
+                    {
5251
+                        model.F_TypeName = "业务协办";//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
5252
+                    }
5241 5253
                     else
5242 5254
                     {
5243 5255
                         model.F_TypeName = "建议及其他";//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
@@ -6420,6 +6432,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
6420 6432
                 {
6421 6433
                     smscont = "抽检";
6422 6434
                 }
6435
+                else if (model.F_Type == "5")
6436
+                {
6437
+                    smscont = "业务协办";
6438
+                }
6423 6439
                 else
6424 6440
                 {
6425 6441
                     smscont = "建议";
@@ -7348,6 +7364,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
7348 7364
                 {
7349 7365
                     smscont = "抽检";
7350 7366
                 }
7367
+                else if (model.F_Type == "5")
7368
+                {
7369
+                    smscont = "业务协办";
7370
+                }
7351 7371
                 else
7352 7372
                 {
7353 7373
                     smscont = "建议";
@@ -7814,6 +7834,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
7814 7834
             {
7815 7835
                 smscont = "抽检";
7816 7836
             }
7837
+            else if (type == "5")
7838
+            {
7839
+                smscont = "业务协办";
7840
+            }
7817 7841
             else
7818 7842
             {
7819 7843
                 smscont = "建议";
@@ -7847,6 +7871,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
7847 7871
             {
7848 7872
                 smscont = "抽检";
7849 7873
             }
7874
+            else if (model.F_Type == "5")
7875
+            {
7876
+                smscont = "业务协办";
7877
+            }
7850 7878
             else
7851 7879
             {
7852 7880
                 smscont = "建议";