From f0f336798d3042082a1ed277c5384f4d6bb60788 Mon Sep 17 00:00:00 2001
From: yxj <1qaz@123>
Date: 星期二, 19 四月 2022 21:01:59 +0800
Subject: [PATCH] 工序进站接收单列表,工序出站汇报单列表、工序委外接收单列表,工序委外出站单列表模块界面新增未结案过滤选择勾选框;不良品列表模块入库按钮增加点击后变灰

---
 WebAPI/InvokeHelper.cs |   29 ++++++++++++++++++++++++-----
 1 files changed, 24 insertions(+), 5 deletions(-)

diff --git a/WebAPI/InvokeHelper.cs b/WebAPI/InvokeHelper.cs
index 1ba49f0..99a11a3 100644
--- a/WebAPI/InvokeHelper.cs
+++ b/WebAPI/InvokeHelper.cs
@@ -9,10 +9,10 @@
 {
     public static class InvokeHelper
     {
-        //private static string CloudUrl = "http://localhost/k3cloud/";//K/3 Cloud 涓氬姟绔欑偣鍦板潃
+        private static string CloudUrl = "http://localhost/k3cloud/";//K/3 Cloud 涓氬姟绔欑偣鍦板潃
         //private static string CloudUrl = "http://60.190.4.42:9002/k3cloud/";//K/3 Cloud 涓氬姟绔欑偣鍦板潃
         //private static string CloudUrl = "http://47.96.97.237/k3cloud/";//K/3 Cloud 涓氬姟绔欑偣鍦板潃
-        private static string CloudUrl = "http://60.190.4.42:9002/K3CLOUD/";//澶忓疂
+        //private static string CloudUrl = "http://60.190.4.42:9002/K3CLOUD/";//澶忓疂
 
         /// <summary>
         /// 鐧婚檰
@@ -23,9 +23,9 @@
             httpClient.Url = string.Concat(CloudUrl, "Kingdee.BOS.WebApi.ServicesStub.AuthService.ValidateUser.common.kdsvc");
 
             List<object> Parameters = new List<object>();
-            Parameters.Add("61b14ea86f5c8a");//璐﹀鏍囩ず
+            Parameters.Add("607e565e718a3c");//璐﹀鏍囩ず
             Parameters.Add("Administrator");//鐢ㄦ埛鍚�
-            Parameters.Add("888888");//瀵嗙爜
+            Parameters.Add("ycy123");//瀵嗙爜
             Parameters.Add(2052);//2052浠h〃涓枃
             httpClient.Content = JsonConvert.SerializeObject(Parameters);
 
@@ -186,6 +186,7 @@
             return httpClient.SyncRequest();
         }
 
+        //鍙嶅鏍�
         public static string UnAudit(string formId, string content)
         {
             HttpClient httpClient = new HttpClient();
@@ -199,7 +200,7 @@
             httpClient.Content = JsonConvert.SerializeObject(Parameters);
             return httpClient.SyncRequest();
         }
-
+        //涓嬫帹
         public static string Push(string formId, string content)
         {
             HttpClient httpClient = new HttpClient();
@@ -241,5 +242,23 @@
             httpClient.Content = JsonConvert.SerializeObject(args);
             return httpClient.SyncRequest();
         }
+
+        //鐢熶骇璁㈠崟 鎵ц
+        public static string ExcuteOperation(string formId, string opNumber, string content)
+        {
+            LogService.Write("鐢熶骇璁㈠崟 鎵ц锛宱pNumber锛� " + opNumber + ",content:" + 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();
+        }
     }
 }

--
Gitblit v1.9.1