|
|
@@ -3344,15 +3344,19 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
3344
|
3344
|
var dt = DbHelperSQL.Query(sql).Tables[0];
|
|
3345
|
3345
|
if (dt.Rows.Count > 0)
|
|
3346
|
3346
|
{
|
|
3347
|
|
- if (dt.Rows[0]["F_IsProtect"] != null && userModel.F_RoleCode == "WLDW")
|
|
|
3347
|
+ if (dt.Rows[0]["F_IsProtect"] != null )
|
|
3348
|
3348
|
{
|
|
3349
|
|
- string isp = dt.Rows[0]["F_IsProtect"].ToString();
|
|
3350
|
|
- if (isp == "1")
|
|
|
3349
|
+ if (userModel.F_RoleCode == "WLDW"|| userModel.F_RoleCode == "EJWLDW")
|
|
3351
|
3350
|
{
|
|
3352
|
|
- dt.Rows[0]["F_CusName"] = "";
|
|
3353
|
|
- dt.Rows[0]["F_CusPhone"] = "";
|
|
3354
|
|
- dt.Rows[0]["F_ConPhone"] = "";
|
|
|
3351
|
+ string isp = dt.Rows[0]["F_IsProtect"].ToString();
|
|
|
3352
|
+ if (isp == "1")
|
|
|
3353
|
+ {
|
|
|
3354
|
+ dt.Rows[0]["F_CusName"] = "";
|
|
|
3355
|
+ dt.Rows[0]["F_CusPhone"] = "";
|
|
|
3356
|
+ dt.Rows[0]["F_ConPhone"] = "";
|
|
|
3357
|
+ }
|
|
3355
|
3358
|
}
|
|
|
3359
|
+
|
|
3356
|
3360
|
}
|
|
3357
|
3361
|
|
|
3358
|
3362
|
var configly = configBll.GetModelList(" F_ParamCode='PlayLeaveVoice' ").FirstOrDefault();
|
|
|
@@ -5690,7 +5694,11 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
5690
|
5694
|
|
|
5691
|
5695
|
Model.T_Bus_WorkOrder modelT_Bus_WorkOrder = workorderBLL.GetModel(workorderid);
|
|
5692
|
5696
|
Model.T_Bus_AssignedInfo modelT_Bus_AssignedInfo = assignBLL.GetNewModelByWorkOrderID(workorderid);
|
|
5693
|
|
-
|
|
|
5697
|
+ if (modelT_Bus_WorkOrder!=null )
|
|
|
5698
|
+ {
|
|
|
5699
|
+ if (modelT_Bus_WorkOrder.F_WorkState != 4)
|
|
|
5700
|
+ return Error("非办理中工单不可申请延时!");
|
|
|
5701
|
+ }
|
|
5694
|
5702
|
if (modelT_Bus_WorkOrder != null && modelT_Bus_AssignedInfo != null && modelT_Bus_AssignedInfo.F_MainDeptId == userModel.F_DeptId)
|
|
5695
|
5703
|
{
|
|
5696
|
5704
|
if (modelT_Bus_AssignedInfo.F_IsSure == 1)
|