Browse Source

公文接收下发去掉流程嵌套

金隅分支
liangkun 3 years ago
parent
commit
588bbf7a8c
1 changed files with 17 additions and 17 deletions
  1. +17
    -17
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/Index.js

+ 17
- 17
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/Index.js View File

@@ -147,7 +147,7 @@ var bootstrap = function ($, learun) {
}; };


learun.postForm(top.$.rootUrl + '/EducationalAdministration/Sys_ReceiveFile/ZhuRenP', postData, function (res) { 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) strEntity: JSON.stringify(formData)
}; };
learun.postForm(top.$.rootUrl + '/EducationalAdministration/Sys_ReceiveFile/XiaoZhangP', postData, function (res) { 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) { if (res) {
processId = learun.newGuid(); processId = learun.newGuid();
learun.postForm(top.$.rootUrl + '/EducationalAdministration/Sys_ReceiveDocument/OverIssue', { keyValue: keyValue, }, function (res) { 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) }); $('#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(); page.init();
} }

Loading…
Cancel
Save