zhupei 4 年之前
父節點
當前提交
dd0c20530c

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

2243
                     opt = "流转车用尿素";
2243
                     opt = "流转车用尿素";
2244
 
2244
 
2245
                 }
2245
                 }
2246
+                else if (dapt == 332)
2247
+                {
2248
+                    nextda = 339;
2249
+                    opt = "流转营销管理处";
2250
+
2251
+                }
2246
                 else if (ua.F_DeptId == 17 || ua.F_DeptId == 19 || ua.F_DeptId == 20 || ua.F_DeptId == 21)
2252
                 else if (ua.F_DeptId == 17 || ua.F_DeptId == 19 || ua.F_DeptId == 20 || ua.F_DeptId == 21)
2247
                 {
2253
                 {
2248
                     isbl = 1;
2254
                     isbl = 1;
4032
                                         opt = "流转车用尿素";
4038
                                         opt = "流转车用尿素";
4033
 
4039
 
4034
                                     }
4040
                                     }
4041
+                                    else if (dapt == 332)
4042
+                                    {
4043
+                                        nextda = 339;
4044
+                                        opt = "流转营销管理处";
4045
+
4046
+                                    }
4035
                                     else if (ua.F_DeptId == 17 || ua.F_DeptId == 19 || ua.F_DeptId == 20 || ua.F_DeptId == 21)
4047
                                     else if (ua.F_DeptId == 17 || ua.F_DeptId == 19 || ua.F_DeptId == 20 || ua.F_DeptId == 21)
4036
                                     {
4048
                                     {
4037
                                         nextda = ua.F_DeptId;
4049
                                         nextda = ua.F_DeptId;
5599
                                opt = "流转车用尿素" ;
5611
                                opt = "流转车用尿素" ;
5600
 
5612
 
5601
                             }
5613
                             }
5614
+                            else if (dapt == 332)
5615
+                            {
5616
+                                nextda = 339;
5617
+                                opt = "流转营销管理处";
5618
+
5619
+                            }
5602
                             else if (ua.F_DeptId == 17  || ua.F_DeptId == 19 || ua.F_DeptId == 20 || ua.F_DeptId == 21)
5620
                             else if (ua.F_DeptId == 17  || ua.F_DeptId == 19 || ua.F_DeptId == 20 || ua.F_DeptId == 21)
5603
                             {
5621
                             {
5604
                                 nextda = ua.F_DeptId;
5622
                                 nextda = ua.F_DeptId;

+ 20 - 2
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderNewController.cs

1505
                     opt = "流转车用尿素";
1505
                     opt = "流转车用尿素";
1506
 
1506
 
1507
                 }
1507
                 }
1508
+                else if (dapt == 332)
1509
+                {
1510
+                    nextda = 339;
1511
+                    opt = "流转营销管理处";
1512
+
1513
+                }
1508
                 else if (ua.F_DeptId==17 || ua.F_DeptId == 19 || ua.F_DeptId == 20 || ua.F_DeptId == 21)
1514
                 else if (ua.F_DeptId==17 || ua.F_DeptId == 19 || ua.F_DeptId == 20 || ua.F_DeptId == 21)
1509
                 {
1515
                 {
1510
                     isbl = 1;
1516
                     isbl = 1;
4436
                                     opt = "流转车用尿素";
4442
                                     opt = "流转车用尿素";
4437
 
4443
 
4438
                                 }
4444
                                 }
4445
+                                else if (dapt == 332)
4446
+                                {
4447
+                                    nextda = 339;
4448
+                                    opt = "流转营销管理处";
4449
+
4450
+                                }
4439
                                 else if (ua.F_DeptId == 17 || ua.F_DeptId == 19 || ua.F_DeptId == 20 || ua.F_DeptId == 21)
4451
                                 else if (ua.F_DeptId == 17 || ua.F_DeptId == 19 || ua.F_DeptId == 20 || ua.F_DeptId == 21)
4440
                                 {
4452
                                 {
4441
                                     nextda = ua.F_DeptId;
4453
                                     nextda = ua.F_DeptId;
4804
                                         opt = "流转车用尿素";
4816
                                         opt = "流转车用尿素";
4805
 
4817
 
4806
                                     }
4818
                                     }
4819
+                                    else if (dapt == 332)
4820
+                                    {
4821
+                                        nextda = 339;
4822
+                                        opt = "流转营销管理处";
4823
+
4824
+                                    }
4807
                                     else if (ua.F_DeptId == 17  || ua.F_DeptId == 19 || ua.F_DeptId == 20 || ua.F_DeptId == 21)
4825
                                     else if (ua.F_DeptId == 17  || ua.F_DeptId == 19 || ua.F_DeptId == 20 || ua.F_DeptId == 21)
4808
                                     {
4826
                                     {
4809
                                         nextda = ua.F_DeptId;
4827
                                         nextda = ua.F_DeptId;
5719
             model.F_Canal = input.F_Canal;//生产批次号
5737
             model.F_Canal = input.F_Canal;//生产批次号
5720
             model.F_Type = input.F_Type.ToString();//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
5738
             model.F_Type = input.F_Type.ToString();//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
5721
             model.F_Production = input.F_Production;//生产单位
5739
             model.F_Production = input.F_Production;//生产单位
5722
-        model.F_CusName = input.F_CusName;//客户姓名
5740
+            model.F_CusName = input.F_CusName;//客户姓名
5723
             model.F_CusPhone = input.F_CusPhone;//客户电话
5741
             model.F_CusPhone = input.F_CusPhone;//客户电话
5724
             model.F_CompanyName = input.F_CompanyName;//公司名称
5742
             model.F_CompanyName = input.F_CompanyName;//公司名称
5725
             model.F_IncidentProvince = input.F_IncidentProvince;//事发地-省
5743
             model.F_IncidentProvince = input.F_IncidentProvince;//事发地-省
6378
         public ActionResult AssignWorkOrder(long orderid, string cont, WorkOrdeDeptment deptment,string F_Files, int isvisit=1,
6396
         public ActionResult AssignWorkOrder(long orderid, string cont, WorkOrdeDeptment deptment,string F_Files, int isvisit=1,
6379
             int  overtime =0,int sms=0,int clbm = 0, int clid = 0, int isApprovalp = 0, int hclbm = 0, int hclid = 0)
6397
             int  overtime =0,int sms=0,int clbm = 0, int clid = 0, int isApprovalp = 0, int hclbm = 0, int hclid = 0)
6380
         {
6398
         {
6381
-            int userId = CurrentUser.UserData.F_UserId;
6399
+             int userId = CurrentUser.UserData.F_UserId;
6382
             string usercode = CurrentUser.UserData.F_UserCode;
6400
             string usercode = CurrentUser.UserData.F_UserCode;
6383
             if (userId != 0)
6401
             if (userId != 0)
6384
             {
6402
             {