diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/IndexXF.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/IndexXF.js index 3c34d984d..082384dda 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/IndexXF.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/IndexXF.js @@ -276,6 +276,7 @@ var bootstrap = function ($, learun) { //} }; refreshGirdData = function (res, postData) { + console.log("refreshgrid"); if (res.code == 200) { var DisFrom = $('#gridtable').jfGridValue('DisFrom'); var Reasons = $('#gridtable').jfGridValue('Reasons'); @@ -289,24 +290,24 @@ var bootstrap = function ($, learun) { success: function (res) { var bb = ''; $.each(res.data, - function (i, item) { - bb += item.F_FileName.substring(0, item.F_FileName.indexOf(".")) + ',' - }) + function(i, item) { + bb += item.F_FileName.substring(0, item.F_FileName.indexOf(".")) + ','; + }); Reasons = bb; + // 发起流程 + var postData = { + //schemeCode: 'Dispatch',// 本地 + schemeCode: 'XBSW',// 线上 + title: "(" + DisFrom + ") " + Reasons, + processId: processId, + level: '1', + }; + learun.httpAsync('Post', top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/CreateFlow', postData, function (data) { + learun.loading(false); + }); + page.search(); } }); - // 发起流程 - var postData = { - //schemeCode: 'Dispatch',// 本地 - schemeCode: 'XBSW',// 线上 - title: "(" + DisFrom + ") " + Reasons, - processId: processId, - level: '1', - }; - learun.httpAsync('Post', top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/CreateFlow', postData, function (data) { - learun.loading(false); - }); - page.search(); } }; page.init();