|
|
@@ -17041,7 +17041,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
17041
|
17041
|
int state = RequestString.GetInt("state", 1);//0保存 1保存并下一步
|
|
17042
|
17042
|
int visitid = RequestString.GetInt("visitid", 0);
|
|
17043
|
17043
|
string result = RequestString.GetFormString("result");//回访情况
|
|
17044
|
|
- int nexttype = RequestString.GetInt("nexttype", 0);//1重办 2退回重办3仅回访
|
|
|
17044
|
+ int nexttype = RequestString.GetInt("nexttype", 0);//1重办 2退回重办3仅回访4已办未果
|
|
17045
|
17045
|
string cbreason = RequestString.GetFormString("cbreason");//重办原因
|
|
17046
|
17046
|
string callid = RequestString.GetFormString("callid");
|
|
17047
|
17047
|
string guid = RequestString.GetFormString("guid");
|
|
|
@@ -17315,6 +17315,21 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
17315
|
17315
|
|
|
17316
|
17316
|
}
|
|
17317
|
17317
|
}
|
|
|
17318
|
+ else if (nexttype ==4)
|
|
|
17319
|
+ {
|
|
|
17320
|
+ Dictionary<string, object> keyValuePairs2 = new Dictionary<string, object>();
|
|
|
17321
|
+ keyValuePairs2.Add("F_ToBereply", 0);
|
|
|
17322
|
+ keyValuePairs2.Add("F_IsSms", 0);
|
|
|
17323
|
+ keyValuePairs2.Add("F_IsProResult", 2);
|
|
|
17324
|
+ if (modelT_Bus_WorkOrder.F_MainDeptId > 0)
|
|
|
17325
|
+ {
|
|
|
17326
|
+ workorderBLL.UpdateWorkOrder(modelT_Bus_WorkOrder.F_Id, keyValuePairs2);
|
|
|
17327
|
+ opt = "提交已办未果";
|
|
|
17328
|
+ }
|
|
|
17329
|
+ else
|
|
|
17330
|
+ return Error("该工单没有承办单位");
|
|
|
17331
|
+ }
|
|
|
17332
|
+
|
|
17318
|
17333
|
#region 插入操作记录
|
|
17319
|
17334
|
Model.T_Bus_Operation oper = new Model.T_Bus_Operation();
|
|
17320
|
17335
|
oper.F_WorkOrderId = modelT_Bus_WorkOrder.F_WorkOrderId;
|