|
|
@@ -40,7 +40,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
40
|
40
|
private BLL.T_Bus_RemindRecord remindBLL = new BLL.T_Bus_RemindRecord();
|
|
41
|
41
|
private BLL.T_Bus_Feedback feedbackBLL = new BLL.T_Bus_Feedback();
|
|
42
|
42
|
|
|
43
|
|
-
|
|
|
43
|
+ public ActionResult test()
|
|
|
44
|
+ {
|
|
|
45
|
+ return Success("", workorderBLL.GetNewWorkOrderID("8000"));
|
|
|
46
|
+ }
|
|
44
|
47
|
#region 获取工单
|
|
45
|
48
|
|
|
46
|
49
|
/// <summary>
|
|
|
@@ -8123,7 +8126,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
8123
|
8126
|
|
|
8124
|
8127
|
if (userModel.F_RoleCode == "ZXHWY" || userModel.F_RoleCode == "ZXBZ" || userModel.F_RoleCode == "ZXLD" || userModel.F_RoleCode == "ZXLDGLYGLY" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
8125
|
8128
|
{
|
|
8126
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
8129
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
8130
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
8127
|
8131
|
Model.T_Bus_WorkOrder modelT_Bus_WorkOrder = workorderBLL.GetModel(workorderid);
|
|
8128
|
8132
|
//if (modelT_Bus_WorkOrder != null && (modelT_Bus_WorkOrder.F_WorkState == 1 || modelT_Bus_WorkOrder.F_WorkState == 0))
|
|
8129
|
8133
|
if (modelT_Bus_WorkOrder != null && (modelT_Bus_WorkOrder.F_WorkState == (int)EnumWorkState.submit || modelT_Bus_WorkOrder.F_WorkState == (int)EnumWorkState.neworder || modelT_Bus_WorkOrder.F_WorkState == (int)EnumWorkState.audit))
|
|
|
@@ -8285,7 +8289,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
8285
|
8289
|
|
|
8286
|
8290
|
if (userModel.F_RoleCode == "ZXHWY" || userModel.F_RoleCode == "ZXBZ" || userModel.F_RoleCode == "ZXLD" || userModel.F_RoleCode == "ZXLDGLYGLY" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
8287
|
8291
|
{
|
|
8288
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
8292
|
+ // string workorderid = RequestString.GetFormString("workorderid");
|
|
|
8293
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
8289
|
8294
|
Model.T_Bus_WorkOrder modelT_Bus_WorkOrder = workorderBLL.GetModel(workorderid);
|
|
8290
|
8295
|
int isover = RequestString.GetInt("isover", 0);
|
|
8291
|
8296
|
//if (modelT_Bus_WorkOrder != null && (modelT_Bus_WorkOrder.F_WorkState == 1 || modelT_Bus_WorkOrder.F_WorkState == 0))
|
|
|
@@ -8369,7 +8374,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
8369
|
8374
|
|
|
8370
|
8375
|
if (userModel.F_RoleCode == "ZXHWY" || userModel.F_RoleCode == "ZXBZ" || userModel.F_RoleCode == "ZXLD" || userModel.F_RoleCode == "ZXLDGLYGLY" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
8371
|
8376
|
{
|
|
8372
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
8377
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
|
8378
|
+ // string workorderid = RequestString.GetFormString("workorderid");
|
|
8373
|
8379
|
Model.T_Bus_WorkOrder modelT_Bus_WorkOrder = workorderBLL.GetModel(workorderid);
|
|
8374
|
8380
|
|
|
8375
|
8381
|
string workRemarks = RequestString.GetFormString("workRemarks");
|
|
|
@@ -8422,7 +8428,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
8422
|
8428
|
if (userModel.F_RoleCode == "ZXHWY" || userModel.F_RoleCode == "ZXBZ" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
8423
|
8429
|
{
|
|
8424
|
8430
|
|
|
8425
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
8431
|
+ // string workorderid = RequestString.GetFormString("workorderid");
|
|
|
8432
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
8426
|
8433
|
|
|
8427
|
8434
|
int source = RequestString.GetInt("source", 0);
|
|
8428
|
8435
|
|
|
|
@@ -8617,7 +8624,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
8617
|
8624
|
Model.T_Sys_UserAccount userModel = userBLL.GetModel(userId);
|
|
8618
|
8625
|
if (userModel.F_RoleCode == "ZXBZ" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
8619
|
8626
|
{
|
|
8620
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
8627
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
8628
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
8621
|
8629
|
int state = RequestString.GetInt("state", 0);
|
|
8622
|
8630
|
string reason = RequestString.GetFormString("reason");
|
|
8623
|
8631
|
|
|
|
@@ -8861,7 +8869,9 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
8861
|
8869
|
|
|
8862
|
8870
|
Model.T_Sys_UserAccount userModel = new BLL.T_Sys_UserAccount().GetModel(userId);
|
|
8863
|
8871
|
|
|
8864
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
8872
|
+ // string workorderid = RequestString.GetFormString("workorderid");
|
|
|
8873
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
|
8874
|
+
|
|
8865
|
8875
|
string backuser = RequestString.GetFormString("backuser");
|
|
8866
|
8876
|
string backreason = RequestString.GetFormString("backreason");
|
|
8867
|
8877
|
string files = RequestString.GetFormString("files");
|
|
|
@@ -8938,7 +8948,9 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
8938
|
8948
|
int userId = Utils.StrToInt(User.UserData["F_UserID"], 0);
|
|
8939
|
8949
|
Model.T_Sys_UserAccount userModel = userBLL.GetModel(userId);
|
|
8940
|
8950
|
|
|
8941
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
8951
|
+ // string workorderid = RequestString.GetFormString("workorderid");
|
|
|
8952
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
|
8953
|
+
|
|
8942
|
8954
|
int type = RequestString.GetInt("type", 0);//1领导批示 2市长指示 3转督办
|
|
8943
|
8955
|
string superuser = RequestString.GetFormString("superuser");
|
|
8944
|
8956
|
string superopinion = RequestString.GetFormString("superopinion");
|
|
|
@@ -9006,7 +9018,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
9006
|
9018
|
|
|
9007
|
9019
|
if (userModel.F_RoleCode == "ZXLD" || userModel.F_RoleCode == "ZXLDGLYGLY" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
9008
|
9020
|
{
|
|
9009
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
9021
|
+ // string workorderid = RequestString.GetFormString("workorderid");
|
|
|
9022
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
9010
|
9023
|
int state = RequestString.GetInt("state", 0);
|
|
9011
|
9024
|
int assignid = RequestString.GetInt("assignid", 0);
|
|
9012
|
9025
|
int maindeptid = RequestString.GetInt("maindeptid", 0);
|
|
|
@@ -9199,7 +9212,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
9199
|
9212
|
|
|
9200
|
9213
|
if (userModel.F_RoleCode == "ZXLD" || userModel.F_RoleCode == "ZXLDGLYGLY" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
9201
|
9214
|
{
|
|
9202
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
9215
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
|
9216
|
+ // string workorderid = RequestString.GetFormString("workorderid");
|
|
9203
|
9217
|
int state = RequestString.GetInt("state", 0);
|
|
9204
|
9218
|
int assignid = RequestString.GetInt("assignid", 0);
|
|
9205
|
9219
|
string maindeptid = RequestString.GetFormString("maindeptid");
|
|
|
@@ -9534,7 +9548,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
9534
|
9548
|
|
|
9535
|
9549
|
if (userModel.F_RoleCode == "ZXLD" || userModel.F_RoleCode == "ZXLDGLYGLY" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
9536
|
9550
|
{
|
|
9537
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
9551
|
+ // string workorderid = RequestString.GetFormString("workorderid");
|
|
|
9552
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
9538
|
9553
|
int state = RequestString.GetInt("state", 0);
|
|
9539
|
9554
|
int assignid = RequestString.GetInt("assignid", 0);
|
|
9540
|
9555
|
string maindeptid = RequestString.GetFormString("maindeptid");
|
|
|
@@ -10202,7 +10217,9 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
10202
|
10217
|
|
|
10203
|
10218
|
if (userModel.F_RoleCode == "ZXLD" || userModel.F_RoleCode == "ZXLDGLYGLY" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
10204
|
10219
|
{
|
|
10205
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
10220
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
10221
|
+
|
|
|
10222
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
10206
|
10223
|
|
|
10207
|
10224
|
Model.T_Bus_WorkOrder modelT_Bus_WorkOrder = workorderBLL.GetModel(workorderid);
|
|
10208
|
10225
|
Model.T_Bus_AssignedInfo modelT_Bus_AssignedInfo = assignBLL.GetNewModelByWorkOrderID(workorderid);
|
|
|
@@ -10335,8 +10352,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
10335
|
10352
|
|
|
10336
|
10353
|
if (userModel.F_RoleCode == "WLDW" )
|
|
10337
|
10354
|
{
|
|
10338
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
10339
|
|
-
|
|
|
10355
|
+ // string workorderid = RequestString.GetFormString("workorderid");
|
|
|
10356
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
10340
|
10357
|
Model.T_Bus_WorkOrder modelT_Bus_WorkOrder = workorderBLL.GetModel(workorderid);
|
|
10341
|
10358
|
Model.T_Bus_AssignedInfo modelT_Bus_AssignedInfo = assignBLL.GetNewModelByWorkOrderID(workorderid);
|
|
10342
|
10359
|
|
|
|
@@ -10438,7 +10455,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
10438
|
10455
|
|
|
10439
|
10456
|
if (userModel.F_RoleCode == "WLDW")
|
|
10440
|
10457
|
{
|
|
10441
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
10458
|
+ // string workorderid = RequestString.GetFormString("workorderid");
|
|
|
10459
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
10442
|
10460
|
|
|
10443
|
10461
|
Model.T_Bus_WorkOrder modelT_Bus_WorkOrder = workorderBLL.GetModel(workorderid);
|
|
10444
|
10462
|
Model.T_Bus_AssignedInfo modelT_Bus_AssignedInfo = assignBLL.GetNewModelByWorkOrderID(workorderid);
|
|
|
@@ -10543,7 +10561,9 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
10543
|
10561
|
|
|
10544
|
10562
|
if (userModel.F_RoleCode == "WLDW" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
10545
|
10563
|
{
|
|
10546
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
10564
|
+ // string workorderid = RequestString.GetFormString("workorderid");
|
|
|
10565
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
|
10566
|
+
|
|
10547
|
10567
|
string backreason = RequestString.GetFormString("backreason");
|
|
10548
|
10568
|
|
|
10549
|
10569
|
Model.T_Bus_WorkOrder modelT_Bus_WorkOrder = workorderBLL.GetModel(workorderid);
|
|
|
@@ -10652,7 +10672,9 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
10652
|
10672
|
|
|
10653
|
10673
|
if (userModel.F_RoleCode == "ZXLD" || userModel.F_RoleCode == "ZXLDGLYGLY" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
10654
|
10674
|
{
|
|
10655
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
10675
|
+ // string workorderid = RequestString.GetFormString("workorderid");
|
|
|
10676
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
|
10677
|
+
|
|
10656
|
10678
|
int state = RequestString.GetInt("state", 0);
|
|
10657
|
10679
|
string reason = RequestString.GetFormString("reason");
|
|
10658
|
10680
|
|
|
|
@@ -10966,7 +10988,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
10966
|
10988
|
|
|
10967
|
10989
|
if (userModel.F_RoleCode == "ZXLD" || userModel.F_RoleCode == "ZXLDGLYGLY" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
10968
|
10990
|
{
|
|
10969
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
10991
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
10992
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
10970
|
10993
|
int state = RequestString.GetInt("state", 0);
|
|
10971
|
10994
|
string reason = RequestString.GetFormString("reason");
|
|
10972
|
10995
|
|
|
|
@@ -11249,7 +11272,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
11249
|
11272
|
int userId = Utils.StrToInt(User.UserData["F_UserID"], 0);
|
|
11250
|
11273
|
|
|
11251
|
11274
|
Model.T_Sys_UserAccount userModel = userBLL.GetModel(userId);
|
|
11252
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
11275
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
11276
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
11253
|
11277
|
string files = RequestString.GetFormString("files");
|
|
11254
|
11278
|
Model.T_Bus_WorkOrder modelT_Bus_WorkOrder = workorderBLL.GetModel(workorderid);
|
|
11255
|
11279
|
if (modelT_Bus_WorkOrder != null)
|
|
|
@@ -11293,7 +11317,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
11293
|
11317
|
int userId = Utils.StrToInt(User.UserData["F_UserID"], 0);
|
|
11294
|
11318
|
|
|
11295
|
11319
|
Model.T_Sys_UserAccount userModel = userBLL.GetModel(userId);
|
|
11296
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
11320
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
11321
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
11297
|
11322
|
string files = RequestString.GetFormString("files");
|
|
11298
|
11323
|
Model.T_Bus_WorkOrder modelT_Bus_WorkOrder = workorderBLL.GetModel(workorderid);
|
|
11299
|
11324
|
if (modelT_Bus_WorkOrder != null)
|
|
|
@@ -11409,7 +11434,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
11409
|
11434
|
|
|
11410
|
11435
|
if (userModel.F_RoleCode == "ZXLD" || userModel.F_RoleCode == "WLDW" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
11411
|
11436
|
{
|
|
11412
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
11437
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
11438
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
11413
|
11439
|
string dealman = RequestString.GetFormString("dealman");
|
|
11414
|
11440
|
string result = RequestString.GetFormString("result");
|
|
11415
|
11441
|
string files = RequestString.GetFormString("files");
|
|
|
@@ -12537,7 +12563,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
12537
|
12563
|
|
|
12538
|
12564
|
if (userModel.F_RoleCode == "WLDW" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
12539
|
12565
|
{
|
|
12540
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
12566
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
12567
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
12541
|
12568
|
int maindeptid = RequestString.GetInt("maindeptid", 0);
|
|
12542
|
12569
|
string otherdeptids = RequestString.GetFormString("otherdeptids");
|
|
12543
|
12570
|
DateTime limittime = DateTime.Parse(RequestString.GetFormString("limittime") + " 23:59:59");
|
|
|
@@ -12675,7 +12702,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
12675
|
12702
|
|
|
12676
|
12703
|
if (userModel.F_RoleCode == "WLDW" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
12677
|
12704
|
{
|
|
12678
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
12705
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
12706
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
12679
|
12707
|
|
|
12680
|
12708
|
Model.T_Bus_WorkOrder modelT_Bus_WorkOrder = workorderBLL.GetModel(workorderid);
|
|
12681
|
12709
|
Model.T_Bus_AssignedInfo modelT_Bus_AssignedInfo = assignBLL.GetNewModelByWorkOrderID(workorderid);
|
|
|
@@ -12759,7 +12787,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
12759
|
12787
|
|
|
12760
|
12788
|
if (userModel.F_RoleCode == "EJWLDW" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
12761
|
12789
|
{
|
|
12762
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
12790
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
12791
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
12763
|
12792
|
|
|
12764
|
12793
|
Model.T_Bus_WorkOrder modelT_Bus_WorkOrder = workorderBLL.GetModel(workorderid);
|
|
12765
|
12794
|
Model.T_Bus_AssignedInfo modelT_Bus_AssignedInfo = assignBLL.GetNewModelByWorkOrderID(workorderid);
|
|
|
@@ -12831,7 +12860,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
12831
|
12860
|
|
|
12832
|
12861
|
if (userModel.F_RoleCode == "EJWLDW" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
12833
|
12862
|
{
|
|
12834
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
12863
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
12864
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
12835
|
12865
|
string reason = RequestString.GetFormString("reason");
|
|
12836
|
12866
|
|
|
12837
|
12867
|
Model.T_Bus_WorkOrder modelT_Bus_WorkOrder = workorderBLL.GetModel(workorderid);
|
|
|
@@ -12908,7 +12938,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
12908
|
12938
|
|
|
12909
|
12939
|
if (userModel.F_RoleCode == "EJWLDW" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
12910
|
12940
|
{
|
|
12911
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
12941
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
12942
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
12912
|
12943
|
string dealman = RequestString.GetFormString("dealman");
|
|
12913
|
12944
|
string result = RequestString.GetFormString("result");
|
|
12914
|
12945
|
string files = RequestString.GetFormString("files");
|
|
|
@@ -13097,7 +13128,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
13097
|
13128
|
|
|
13098
|
13129
|
if (userModel.F_RoleCode == "WLDW" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
13099
|
13130
|
{
|
|
13100
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
13131
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
13132
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
13101
|
13133
|
int state = RequestString.GetInt("state", 0);
|
|
13102
|
13134
|
string reason = RequestString.GetFormString("reason");
|
|
13103
|
13135
|
int backid = RequestString.GetInt("backid", 0);
|
|
|
@@ -13286,7 +13318,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
13286
|
13318
|
//if (userModel.F_RoleCode == "ZXHWY" || userModel.F_RoleCode == "ZXBZ" || userModel.F_RoleCode == "GLY")
|
|
13287
|
13319
|
if (userModel.F_RoleCode == "ZXLD" || userModel.F_RoleCode == "ZJZY" || userModel.F_RoleCode == "WLDW" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
13288
|
13320
|
{
|
|
13289
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
13321
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
13322
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
13290
|
13323
|
string visituser = RequestString.GetFormString("visituser");//回访人
|
|
13291
|
13324
|
int type = RequestString.GetInt("type", 0);//回访方式
|
|
13292
|
13325
|
int issatisfie = RequestString.GetInt("issatisfie", 0);//0不满意 1满意
|
|
|
@@ -13584,7 +13617,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
13584
|
13617
|
|
|
13585
|
13618
|
if (userModel.F_RoleCode == "WLDW" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
13586
|
13619
|
{//承办单位和管理员
|
|
13587
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
13620
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
13621
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
13588
|
13622
|
int state = RequestString.GetInt("state", 0);//0保存 1保存并下一步
|
|
13589
|
13623
|
int perid = RequestString.GetInt("perid", 0);
|
|
13590
|
13624
|
string file = RequestString.GetFormString("file");
|
|
|
@@ -13750,7 +13784,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
13750
|
13784
|
|
|
13751
|
13785
|
if (userModel.F_RoleCode == "ZXLD" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
13752
|
13786
|
{
|
|
13753
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
13787
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
13788
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
13754
|
13789
|
int state = RequestString.GetInt("state", 0);
|
|
13755
|
13790
|
string reason = RequestString.GetFormString("reason");
|
|
13756
|
13791
|
int perid = RequestString.GetInt("perid", 0);
|
|
|
@@ -13863,7 +13898,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
13863
|
13898
|
|
|
13864
|
13899
|
Model.T_Sys_UserAccount userModel = userBLL.GetModel(userId);
|
|
13865
|
13900
|
|
|
13866
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
13901
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
13902
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
13867
|
13903
|
int type = RequestString.GetInt("type", 0);//1督办 2监察
|
|
13868
|
13904
|
int state = RequestString.GetInt("state", 0);//0待办 1已办 2退回
|
|
13869
|
13905
|
string overseeopinion = RequestString.GetFormString("overseeopinion");//督办意见
|
|
|
@@ -13948,7 +13984,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
13948
|
13984
|
if (userModel.F_RoleCode == "ZXLD" || userModel.F_RoleCode == "ZXLDGLYGLY" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
13949
|
13985
|
//if (userModel.F_RoleCode == "ZJZY" || userModel.F_RoleCode == "GLY")
|
|
13950
|
13986
|
{
|
|
13951
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
13987
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
13988
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
13952
|
13989
|
string overseeopinion = RequestString.GetFormString("overseeopinion");//督办意见
|
|
13953
|
13990
|
DateTime newlimittime = DateTime.Parse(RequestString.GetFormString("newlimittime") + " 23:59:59");//不满意,重办的办理时限
|
|
13954
|
13991
|
|
|
|
@@ -14444,7 +14481,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
14444
|
14481
|
if (userModel.F_RoleCode == "ZXLD" || userModel.F_RoleCode == "ZXLDGLYGLY" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
14445
|
14482
|
//if (userModel.F_RoleCode == "ZJZY" || userModel.F_RoleCode == "GLY")
|
|
14446
|
14483
|
{
|
|
14447
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
14484
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
14485
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
14448
|
14486
|
string maindeptid = RequestString.GetFormString("maindeptid");
|
|
14449
|
14487
|
string otherdeptids = RequestString.GetFormString("otherdeptids");
|
|
14450
|
14488
|
DateTime limittime = DateTime.Parse(RequestString.GetFormString("limittime"));
|
|
|
@@ -14753,7 +14791,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
14753
|
14791
|
//if (userModel.F_RoleCode == "ZXLD" || userModel.F_RoleCode == "ZXLDGLYGLY" || userModel.F_RoleCode == "GLY")
|
|
14754
|
14792
|
if (userModel.F_RoleCode == "ZJZY"|| userModel.F_RoleCode == "ZXLD" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG"|| userModel.F_RoleCode == "ZXHWY")
|
|
14755
|
14793
|
{
|
|
14756
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
14794
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
14795
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
14757
|
14796
|
string finalopinion = RequestString.GetFormString("finalopinion");//结案意见
|
|
14758
|
14797
|
int issatisfie = RequestString.GetInt("issatisfie", 0);//0不满意 1满意
|
|
14759
|
14798
|
int isnotice = RequestString.GetInt("isnotice", 0);//0不通告 1通告
|
|
|
@@ -14904,7 +14943,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
14904
|
14943
|
if (userModel.F_RoleCode == "ZXLD" || userModel.F_RoleCode == "ZXLDGLYGLY" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG" || userModel.F_RoleCode == "ZXHWY")
|
|
14905
|
14944
|
//if (userModel.F_RoleCode == "ZJZY" || userModel.F_RoleCode == "GLY")
|
|
14906
|
14945
|
{
|
|
14907
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
14946
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
|
14947
|
+ // string workorderid = RequestString.GetFormString("workorderid");
|
|
14908
|
14948
|
string result = RequestString.GetFormString("result");//处理结果
|
|
14909
|
14949
|
string finalopinion = RequestString.GetFormString("finalopinion");//结案意见
|
|
14910
|
14950
|
int issatisfie = RequestString.GetInt("issatisfie", 0);//0不满意 1满意
|
|
|
@@ -15109,7 +15149,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
15109
|
15149
|
|
|
15110
|
15150
|
if (userModel.F_RoleCode == "ZXLD" || userModel.F_RoleCode == "ZXLDGLYGLY" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
15111
|
15151
|
{
|
|
15112
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
15152
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
15153
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
15113
|
15154
|
int isrelease = RequestString.GetInt("isrelease", -1);
|
|
15114
|
15155
|
if (isrelease != -1)
|
|
15115
|
15156
|
{
|
|
|
@@ -15170,7 +15211,9 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
15170
|
15211
|
|
|
15171
|
15212
|
if (userModel.F_RoleCode == "WLDW" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
15172
|
15213
|
{
|
|
15173
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
15214
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
15215
|
+
|
|
|
15216
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
15174
|
15217
|
//int state = RequestString.GetInt("state", 0);
|
|
15175
|
15218
|
DateTime newlimittime = DateTime.Parse(RequestString.GetFormString("newlimittime") + " 23:59:59");
|
|
15176
|
15219
|
string reason = RequestString.GetFormString("reason");
|
|
|
@@ -15304,7 +15347,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
15304
|
15347
|
|
|
15305
|
15348
|
if (userModel.F_RoleCode == "ZXLD" || userModel.F_RoleCode == "ZXLDGLYGLY" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
15306
|
15349
|
{
|
|
15307
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
15350
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
15351
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
15308
|
15352
|
int state = RequestString.GetInt("state", 0);
|
|
15309
|
15353
|
string reason = RequestString.GetFormString("reason");
|
|
15310
|
15354
|
DateTime newlimittime = DateTime.Parse(RequestString.GetFormString("newlimittime") + " 23:59:59");
|
|
|
@@ -15638,7 +15682,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
15638
|
15682
|
|
|
15639
|
15683
|
if (userModel.F_RoleCode == "ZXLD" || userModel.F_RoleCode == "ZXLDGLYGLY" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
15640
|
15684
|
{
|
|
15641
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
15685
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
15686
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
15642
|
15687
|
int isnotice = RequestString.GetInt("isnotice", -1);
|
|
15643
|
15688
|
string deptids = RequestString.GetFormString("deptids");//通告单位
|
|
15644
|
15689
|
string noticereson = RequestString.GetFormString("noticereson");//通告原因
|
|
|
@@ -15749,7 +15794,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
15749
|
15794
|
|
|
15750
|
15795
|
Model.T_Sys_UserAccount userModel = new BLL.T_Sys_UserAccount().GetModel(userId);
|
|
15751
|
15796
|
|
|
15752
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
15797
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
15798
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
15753
|
15799
|
string title = RequestString.GetFormString("title");
|
|
15754
|
15800
|
string content = RequestString.GetFormString("content");
|
|
15755
|
15801
|
string files = RequestString.GetFormString("files");
|
|
|
@@ -16055,7 +16101,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
16055
|
16101
|
|
|
16056
|
16102
|
if (userModel.F_RoleCode == "ZXLDGLYGLY" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
16057
|
16103
|
{
|
|
16058
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
16104
|
+ //string workorderid = RequestString.GetFormString("workorderid");
|
|
|
16105
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
16059
|
16106
|
|
|
16060
|
16107
|
int source = RequestString.GetInt("source", 0);
|
|
16061
|
16108
|
|
|
|
@@ -16587,7 +16634,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
16587
|
16634
|
|
|
16588
|
16635
|
if (userModel.F_RoleCode == "ZXLD" || userModel.F_RoleCode == "ZXLDGLYGLY" || userModel.F_RoleCode == "GLY" || userModel.F_RoleCode == "DDZG")
|
|
16589
|
16636
|
{
|
|
16590
|
|
- string workorderid = RequestString.GetFormString("workorderid");
|
|
|
16637
|
+ // string workorderid = RequestString.GetQueryString("workorderid");
|
|
|
16638
|
+ string workorderid = HttpUtility.UrlDecode(RequestString.GetFormString("workorderid"));
|
|
16591
|
16639
|
string citycode = RequestString.GetFormString("citycode");
|
|
16592
|
16640
|
Model.T_Bus_WorkOrder modelT_Bus_WorkOrder = workorderBLL.GetModel(workorderid);
|
|
16593
|
16641
|
if (modelT_Bus_WorkOrder != null && (modelT_Bus_WorkOrder.F_WorkState == (int)EnumWorkState.submit))
|