| | |
| | | return httpClient.SyncRequest(); |
| | | } |
| | | |
| | | //反审核 |
| | | public static string UnAudit(string formId, string content) |
| | | { |
| | | HttpClient httpClient = new HttpClient(); |
| | |
| | | httpClient.Content = JsonConvert.SerializeObject(Parameters); |
| | | return httpClient.SyncRequest(); |
| | | } |
| | | |
| | | //下推 |
| | | public static string Push(string formId, string content) |
| | | { |
| | | HttpClient httpClient = new HttpClient(); |
| | |
| | | httpClient.Content = JsonConvert.SerializeObject(args); |
| | | return httpClient.SyncRequest(); |
| | | } |
| | | |
| | | //生产订单 执行 |
| | | public static string ExcuteOperation(string formId, string opNumber, string content) |
| | | { |
| | | HttpClient httpClient = new HttpClient(); |
| | | httpClient.Url = string.Concat(CloudUrl, "Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.ExcuteOperation.common.kdsvc"); |
| | | |
| | | List<object> Parameters = new List<object>(); |
| | | //业务对象Id |
| | | Parameters.Add(formId); |
| | | //操作 开工"ToStart" |
| | | Parameters.Add(opNumber); |
| | | //Json字串 |
| | | Parameters.Add(content); |
| | | httpClient.Content = JsonConvert.SerializeObject(Parameters); |
| | | return httpClient.SyncRequest(); |
| | | } |
| | | } |
| | | } |