Bladeren bron

处理工单加保存的

liyuanyuan 2 jaren geleden
bovenliggende
commit
b18deeb835

+ 15 - 1
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderController.cs

@@ -1104,7 +1104,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
1104 1104
         public ActionResult DealWorkOrder(string orderid, int isend
1105 1105
            , string customer, string inqtime, string inquser, string country, string address
1106 1106
            , string detail, string cont, string answer, string remark,
1107
-            string infotype, string infotypedetail, int unit, int clbm, string clgh,int isrestore,int infotypeid=0,int infotypedetailid=0)
1107
+            string infotype, string infotypedetail, string clgh,int isrestore,int infotypeid=0,int infotypedetailid=0
1108
+            ,int buttontype=0, int unit = 0, int clbm = 0)
1108 1109
             //
1109 1110
             //客户名,调查时间,调查人,营业部,地址
1110 1111
         //问题详情,处理内容,回复内容,备注,
@@ -1114,6 +1115,19 @@ namespace CallCenterApi.Interface.Controllers.workorder
1114 1115
             if (model != null)
1115 1116
             {
1116 1117
 
1118
+                if (buttontype==1)
1119
+                {
1120
+                    model.Clcontent = cont;
1121
+                    new  BLL.T_Wo_WorkOrder().Update(model);
1122
+                    return Success("保存成功");
1123
+
1124
+                }
1125
+
1126
+
1127
+
1128
+
1129
+
1130
+
1117 1131
                 var model_Dep = new BLL.T_Sys_Department().GetModel(unit);
1118 1132
 
1119 1133
                 #region 信息分类和交办单位