diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/NewWorkFlowApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/NewWorkFlowApi.cs
index 18cb62eee..94509397a 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/NewWorkFlowApi.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/NewWorkFlowApi.cs
@@ -46,6 +46,9 @@ namespace Learun.Application.WebApi.Modules
Post["/revoke"] = RevokeFlow;
Post["/refer"] = ReferFlow;
+ Post["/instance"] = SaveInstanceForms;
+ Post["/auditors"] = SaveAuditors;
+
}
private NWFSchemeIBLL nWFSchemeIBLL = new NWFSchemeBLL();
private NWFProcessIBLL nWFProcessIBLL = new NWFProcessBLL();
@@ -379,6 +382,41 @@ namespace Learun.Application.WebApi.Modules
nWFProcessIBLL.ReferFlow(parameter.processId, parameter.taskId, userInfo);
return Success("确认成功");
}
+ ///
+ /// app保存实例
+ ///
+ ///
+ ///
+ public Response SaveInstanceForms(dynamic _)
+ {
+ List param = this.GetReqData>();
+
+ foreach (var item in param)
+ {
+ formSchemeIBLL.SaveInstanceForm(item.schemeInfoId, item.processIdName, item.keyValue, item.formData);
+ }
+ return Success("保存成功!");
+ }
+ ///
+ /// app保存审核人
+ ///
+ ///
+ ///
+ public Response SaveAuditors(dynamic _)
+ {
+ var param = this.GetReqData();
+ UserInfo userInfo = LoginUserInfo.Get();
+ try
+ {
+ nWFProcessIBLL.AuditFlow(param.operationCode, param.operationName, param.processId, param.taskId, param.des, param.auditors, param.stamp, param.signUrl, userInfo);
+ return Success("流程审批成功");
+ }
+ catch (System.Exception ex)
+ {
+
+ return Fail(ex.Message);
+ }
+ }
private class flowParam
{
@@ -443,6 +481,8 @@ namespace Learun.Application.WebApi.Modules
/// 签字图片信息
///
public string signUrl { get; set; }
+
+ public string stamp { get; set; }
}
///
diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js
index 185c5d9b1..4ae06eb55 100644
--- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js
+++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js
@@ -21,11 +21,11 @@ export default {
// "http://192.168.2.98:8088/"
// ],
"apiHost": [
- // "http://cyzjzx.gnway.cc:30626/"//测试地址
- // "http://cyzjzx.gnway.cc:29615/"//正式地址
+ // "http://cyzjzx.gnway.cc:31218/"//测试地址接口
+ // "http://cyzjzx.gnway.cc:29904/"//正式地址接口
"http://192.168.10.58:8012/"
],
- // "webHost":"http://cyzjzx.gnway.cc:29618/",//测试地址
+ // "webHost":"http://cyzjzx.gnway.cc:30549/",//测试地址
//"webHost":"http://wxd3f.cyzjzx.com/",//正式地址
"webHost":"http://192.168.10.31:8087/",
// 开发环境下自动填充登录账号密码,与接口地址一一对应,只在开发环境下显示