Browse Source

大同煤炭校办收文党办收文创建流程任务时,标题长度超长报错修改。

西昌缴费二期
liangkun 2 years ago
parent
commit
af894679bd
2 changed files with 3 additions and 1 deletions
  1. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/Index.js
  2. +2
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/IndexXF.js

+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/Index.js View File

@@ -299,6 +299,7 @@ var bootstrap = function ($, learun) {
processId: processId, processId: processId,
level: '1', level: '1',
}; };
postData.title = postData.title.substring(0, 100);
//learun.httpAsync('Post', top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/CreateFlow', postData, function (data) { //learun.httpAsync('Post', top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/CreateFlow', postData, function (data) {
// learun.loading(false); // learun.loading(false);
//}); //});


+ 2
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/IndexXF.js View File

@@ -300,8 +300,9 @@ var bootstrap = function ($, learun) {
schemeCode: 'XBSW',// 线上 schemeCode: 'XBSW',// 线上
title: "(" + DisFrom + ") " + Reasons, title: "(" + DisFrom + ") " + Reasons,
processId: processId, processId: processId,
level: '1',
level: '1'
}; };
postData.title=postData.title.substring(0, 100);
learun.httpAsync('Post', top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/CreateFlow', postData, function (data) { learun.httpAsync('Post', top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/CreateFlow', postData, function (data) {
learun.loading(false); learun.loading(false);
}); });


Loading…
Cancel
Save