Просмотр исходного кода

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

金隅分支
liangkun 3 лет назад
Родитель
Сommit
588bbf7a8c
1 измененных файлов: 17 добавлений и 17 удалений
  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 Просмотреть файл

@@ -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();
}

Загрузка…
Отмена
Сохранить