mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-07-15 23:13:40 +08:00
routine update
This commit is contained in:
parent
7a5084b6e1
commit
cb7ab591c6
@ -111,12 +111,13 @@
|
|||||||
flowData["SchemeContent"] = JSON.stringify({ "Frm": frmData, "Flow": FlowDesignPanel.exportData() });
|
flowData["SchemeContent"] = JSON.stringify({ "Frm": frmData, "Flow": FlowDesignPanel.exportData() });
|
||||||
postData = $.extend(postData, _data);
|
postData = $.extend(postData, _data);
|
||||||
postData["EnabledMark"] = 3;
|
postData["EnabledMark"] = 3;
|
||||||
|
var index = parent.layer.getFrameIndex(window.name); //获取窗口索引
|
||||||
$.SaveForm({
|
$.SaveForm({
|
||||||
url: "../../FlowManage/FlowDesign/SaveForm?keyValue=" + keyValue,
|
url: "../../FlowManage/FlowDesign/SaveForm?keyValue=" + keyValue,
|
||||||
param: { "InfoEntity": JSON.stringify(postData), "ContentEntity": JSON.stringify(flowData), "shcemeAuthorizeData": shcemeAuthorizeData },
|
param: { "InfoEntity": JSON.stringify(postData), "ContentEntity": JSON.stringify(flowData), "shcemeAuthorizeData": shcemeAuthorizeData },
|
||||||
loading: "正在保存数据...",
|
loading: "正在保存数据...",
|
||||||
success: function () {
|
success: function () {
|
||||||
$.currentIframe().$("#gridTable").trigger("reloadGrid");
|
parent.layer.close(index);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
@ -339,12 +340,13 @@
|
|||||||
/*=========创建完成(begin)==================================================================*/
|
/*=========创建完成(begin)==================================================================*/
|
||||||
function finishbtn() {
|
function finishbtn() {
|
||||||
postData["EnabledMark"] = 1;
|
postData["EnabledMark"] = 1;
|
||||||
|
var index = parent.layer.getFrameIndex(window.name); //获取窗口索引
|
||||||
$.SaveForm({
|
$.SaveForm({
|
||||||
url: "../../FlowManage/FlowDesign/SaveForm?keyValue=" + keyValue,
|
url: "../../FlowManage/FlowDesign/SaveForm?keyValue=" + keyValue,
|
||||||
param: { "InfoEntity": JSON.stringify(postData), "ContentEntity": JSON.stringify(flowData), "shcemeAuthorizeData": shcemeAuthorizeData },
|
param: { "InfoEntity": JSON.stringify(postData), "ContentEntity": JSON.stringify(flowData), "shcemeAuthorizeData": shcemeAuthorizeData },
|
||||||
loading: "正在保存数据...",
|
loading: "正在保存数据...",
|
||||||
success: function () {
|
success: function () {
|
||||||
$.currentIframe().$("#gridTable").trigger("reloadGrid");
|
parent.layer.close(index);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -26,11 +26,14 @@
|
|||||||
_postData["EnabledMark"] = 3;
|
_postData["EnabledMark"] = 3;
|
||||||
_postData["wfLevel"] = $('input[name="wfLevel"]:checked').val();
|
_postData["wfLevel"] = $('input[name="wfLevel"]:checked').val();
|
||||||
var _data = $("#frmpreview").frmGetData();
|
var _data = $("#frmpreview").frmGetData();
|
||||||
|
var index = parent.layer.getFrameIndex(window.name); //获取窗口索引
|
||||||
$.SaveForm({
|
$.SaveForm({
|
||||||
url: "../../FlowManage/FlowInstances/CreateProcess",
|
url: "../../FlowManage/FlowInstances/CreateProcess",
|
||||||
param: { "wfSchemeInfoId": keyValue, "frmData": JSON.stringify(_data), "wfProcessInstanceJson": JSON.stringify(_postData) },
|
param: { "wfSchemeInfoId": keyValue, "frmData": JSON.stringify(_data), "wfProcessInstanceJson": JSON.stringify(_postData) },
|
||||||
loading: "正在保存数据...",
|
loading: "正在保存数据...",
|
||||||
success: function () { }
|
success: function() {
|
||||||
|
parent.layer.close(index);
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
//提交表单
|
//提交表单
|
||||||
@ -42,11 +45,14 @@
|
|||||||
_postData["EnabledMark"] = 1;
|
_postData["EnabledMark"] = 1;
|
||||||
_postData["wfLevel"] = $('input[name="wfLevel"]:checked').val();
|
_postData["wfLevel"] = $('input[name="wfLevel"]:checked').val();
|
||||||
var _data = $("#frmpreview").frmGetData();
|
var _data = $("#frmpreview").frmGetData();
|
||||||
|
var index = parent.layer.getFrameIndex(window.name); //获取窗口索引
|
||||||
$.SaveForm({
|
$.SaveForm({
|
||||||
url: "../../FlowManage/FlowInstances/CreateProcess",
|
url: "../../FlowManage/FlowInstances/CreateProcess",
|
||||||
param: { "wfSchemeInfoId": keyValue, "frmData": JSON.stringify(_data), "wfProcessInstanceJson": JSON.stringify(_postData) },
|
param: { "wfSchemeInfoId": keyValue, "frmData": JSON.stringify(_data), "wfProcessInstanceJson": JSON.stringify(_postData) },
|
||||||
loading: "正在保存数据...",
|
loading: "正在保存数据...",
|
||||||
success: function () { }
|
success: function() {
|
||||||
|
parent.layer.close(index);
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
@ -208,13 +208,13 @@
|
|||||||
delete _postdata["VerificationFinally3"];
|
delete _postdata["VerificationFinally3"];
|
||||||
|
|
||||||
_postdata["VerificationFinally"] = _verificationFinally;
|
_postdata["VerificationFinally"] = _verificationFinally;
|
||||||
|
var index = parent.layer.getFrameIndex(window.name); //获取窗口索引
|
||||||
$.ConfirmAjax({
|
$.ConfirmAjax({
|
||||||
msg: "请确认是否要【提交审核】流程?",
|
msg: "请确认是否要【提交审核】流程?",
|
||||||
url: "../../FlowManage/FlowInstances/VerificationProcess",
|
url: "../../FlowManage/FlowInstances/VerificationProcess",
|
||||||
param: { processId: processInstanceId, verificationData: JSON.stringify(_postdata) },
|
param: { processId: processInstanceId, verificationData: JSON.stringify(_postdata) },
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
$.currentIframe().callBack();
|
parent.layer.close(index);
|
||||||
dialogClose();
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
if (!$('#step-1').Validform()) {
|
if (!$('#step-1').Validform()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
var index = parent.layer.getFrameIndex(window.name); //获取窗口索引
|
||||||
var _data = $("#step-1").GetWebControls(keyValue);
|
var _data = $("#step-1").GetWebControls(keyValue);
|
||||||
postData = $.extend(postData, _data);
|
postData = $.extend(postData, _data);
|
||||||
postData["EnabledMark"] = 3;
|
postData["EnabledMark"] = 3;
|
||||||
@ -91,7 +92,7 @@
|
|||||||
param: postData,
|
param: postData,
|
||||||
loading: "正在保存数据...",
|
loading: "正在保存数据...",
|
||||||
success: function () {
|
success: function () {
|
||||||
$.currentIframe().$("#gridTable").trigger("reloadGrid");
|
parent.layer.close(index);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
@ -80,7 +80,10 @@ function edit() {
|
|||||||
skin: 'layui-layer-rim', //加上边框
|
skin: 'layui-layer-rim', //加上边框
|
||||||
area: ['1200px', '700px'], //宽高
|
area: ['1200px', '700px'], //宽高
|
||||||
maxmin: true, //开启最大化最小化按钮
|
maxmin: true, //开启最大化最小化按钮
|
||||||
content: '/FlowManage/FlowDesign/FlowSchemeBuider?keyValue=' + selected.Id
|
content: '/FlowManage/FlowDesign/FlowSchemeBuider?keyValue=' + selected.Id,
|
||||||
|
end: function () {
|
||||||
|
list.reload();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user