|
|
@@ -147,7 +147,7 @@ var bootstrap = function ($, learun) { |
|
|
|
}; |
|
|
|
|
|
|
|
learun.postForm(top.$.rootUrl + '/EducationalAdministration/Sys_ReceiveFile/ZhuRenP', postData, function (res) { |
|
|
|
refreshGirdData(res, {}); |
|
|
|
page.search(); |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
@@ -167,7 +167,7 @@ var bootstrap = function ($, learun) { |
|
|
|
strEntity: JSON.stringify(formData) |
|
|
|
}; |
|
|
|
learun.postForm(top.$.rootUrl + '/EducationalAdministration/Sys_ReceiveFile/XiaoZhangP', postData, function (res) { |
|
|
|
refreshGirdData(res, {}); |
|
|
|
page.search(); |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
@@ -207,7 +207,7 @@ var bootstrap = function ($, learun) { |
|
|
|
if (res) { |
|
|
|
processId = learun.newGuid(); |
|
|
|
learun.postForm(top.$.rootUrl + '/EducationalAdministration/Sys_ReceiveDocument/OverIssue', { keyValue: keyValue, }, function (res) { |
|
|
|
refreshGirdData(res, {}); |
|
|
|
page.search(); |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
@@ -350,20 +350,20 @@ var bootstrap = function ($, learun) { |
|
|
|
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); |
|
|
|
} |
|
|
|
}; |
|
|
|
refreshGirdData = function (res, postData) { |
|
|
|
if (res.code == 200) { |
|
|
|
// 发起流程 |
|
|
|
var postData = { |
|
|
|
schemeCode: 'Sys_ReceiveDocument',// 填写流程对应模板编号 |
|
|
|
processId: processId, |
|
|
|
level: '1', |
|
|
|
}; |
|
|
|
learun.httpAsync('Post', top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/CreateFlow', postData, function (data) { |
|
|
|
learun.loading(false); |
|
|
|
}); |
|
|
|
//refreshGirdData = function (res, postData) { |
|
|
|
// if (res.code == 200) { |
|
|
|
// // 发起流程 |
|
|
|
// var postData = { |
|
|
|
// schemeCode: 'Sys_ReceiveDocument',// 填写流程对应模板编号 |
|
|
|
// processId: processId, |
|
|
|
// level: '1', |
|
|
|
// }; |
|
|
|
// learun.httpAsync('Post', top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/CreateFlow', postData, function (data) { |
|
|
|
// learun.loading(false); |
|
|
|
// }); |
|
|
|
|
|
|
|
page.search(); |
|
|
|
} |
|
|
|
}; |
|
|
|
// page.search(); |
|
|
|
// } |
|
|
|
//}; |
|
|
|
page.init(); |
|
|
|
} |