diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/CheckIndex.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/CheckIndex.cshtml index 2903d36c5..1ebb0215b 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/CheckIndex.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/CheckIndex.cshtml @@ -48,7 +48,7 @@
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/Index.js index 64ac12455..725bcb5fa 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/Index.js @@ -15,66 +15,96 @@ var bootstrap = function ($, learun) { }, bind: function () { // 跳转 - var modulesTree = learun.clientdata.get(['modulesTree']); + //var modulesTree = learun.clientdata.get(['modulesTree']); $('#changeMajor').on('click', function () { - let item = modulesTree[0].filter(item => { - return item.F_FullName == "教务信息管理" - }) - let modules = modulesTree[item[0].F_ModuleId].filter(item => { - return item.F_EnCode == "Transfermenu" //学籍异动菜单 - }) - let moduleitem = modulesTree[modules[0].F_ModuleId].filter(item => { - return item.F_EnCode == "MajorIndex"// "转专业" - }) - learun.frameTab.open(moduleitem[0]); + //let item = modulesTree[0].filter(item => { + // return item.F_FullName == "教务信息管理" + //}) + //let modules = modulesTree[item[0].F_ModuleId].filter(item => { + // return item.F_EnCode == "Transfermenu" //学籍异动菜单 + //}) + //let moduleitem = modulesTree[modules[0].F_ModuleId].filter(item => { + // return item.F_EnCode == "MajorIndex"// "转专业" + //}) + var SetkeyValue = 'c94221e8-9ad3-4af8-8976-c08067532902'; + $.lrSetForm(top.$.rootUrl + '/LR_SystemModule/Module/GetFormData?keyValue=' + SetkeyValue, function (data) { + if (data.moduleEntity != null) { + learun.frameTab.open(data.moduleEntity); + } + }); + //learun.frameTab.open(moduleitem[0]); }) $('#changeRestAgain').on('click', function () { - let item = modulesTree[0].filter(item => { - return item.F_FullName == "教务信息管理" - }) - let modules = modulesTree[item[0].F_ModuleId].filter(item => { - return item.F_EnCode == "Transfermenu" //学籍异动菜单 - }) - let moduleitem = modulesTree[modules[0].F_ModuleId].filter(item => { - return item.F_EnCode == "RestAgain"// "休学复学" - }) - learun.frameTab.open(moduleitem[0]); + var SetkeyValue = '36df4209-152b-4842-97e0-6057a40fe903'; + $.lrSetForm(top.$.rootUrl + '/LR_SystemModule/Module/GetFormData?keyValue=' + SetkeyValue, function (data) { + if (data.moduleEntity != null) { + learun.frameTab.open(data.moduleEntity); // "休学复学" + } + }); + //let item = modulesTree[0].filter(item => { + // return item.F_FullName == "教务信息管理" + //}) + //let modules = modulesTree[item[0].F_ModuleId].filter(item => { + // return item.F_EnCode == "Transfermenu" //学籍异动菜单 + //}) + //let moduleitem = modulesTree[modules[0].F_ModuleId].filter(item => { + // return item.F_EnCode == "RestAgain"// "休学复学" + //}) + //learun.frameTab.open(moduleitem[0]); }) $('#changeDrop').on('click', function () { - let item = modulesTree[0].filter(item => { - return item.F_FullName == "教务信息管理" - }) - let modules = modulesTree[item[0].F_ModuleId].filter(item => { - return item.F_EnCode == "Transfermenu" //学籍异动菜单 - }) - let moduleitem = modulesTree[modules[0].F_ModuleId].filter(item => { - return item.F_EnCode == "DropOut"// "退学异动" - }) - learun.frameTab.open(moduleitem[0]); + var SetkeyValue = 'a418147e-7768-44c2-ae5f-05bc4de6af2b'; + $.lrSetForm(top.$.rootUrl + '/LR_SystemModule/Module/GetFormData?keyValue=' + SetkeyValue, function (data) { + if (data.moduleEntity != null) { + learun.frameTab.open(data.moduleEntity); // "退学异动" + } + }); + //let item = modulesTree[0].filter(item => { + // return item.F_FullName == "教务信息管理" + //}) + //let modules = modulesTree[item[0].F_ModuleId].filter(item => { + // return item.F_EnCode == "Transfermenu" //学籍异动菜单 + //}) + //let moduleitem = modulesTree[modules[0].F_ModuleId].filter(item => { + // return item.F_EnCode == "DropOut"// "退学异动" + //}) + //learun.frameTab.open(moduleitem[0]); }) $('#changeIndexAnd').on('click', function () { - let item = modulesTree[0].filter(item => { - return item.F_FullName == "教务信息管理" - }) - let modules = modulesTree[item[0].F_ModuleId].filter(item => { - return item.F_EnCode == "Transfermenu" //学籍异动菜单 - }) - let moduleitem = modulesTree[modules[0].F_ModuleId].filter(item => { - return item.F_EnCode == "InAndOut" //"转入转出异动" - }) - learun.frameTab.open(moduleitem[0]); + var SetkeyValue = 'e3c24747-9b2f-4645-8392-1e0f1b37340d'; + $.lrSetForm(top.$.rootUrl + '/LR_SystemModule/Module/GetFormData?keyValue=' + SetkeyValue, function (data) { + if (data.moduleEntity != null) { + learun.frameTab.open(data.moduleEntity); //"转入转出异动" + } + }); + //let item = modulesTree[0].filter(item => { + // return item.F_FullName == "教务信息管理" + //}) + //let modules = modulesTree[item[0].F_ModuleId].filter(item => { + // return item.F_EnCode == "Transfermenu" //学籍异动菜单 + //}) + //let moduleitem = modulesTree[modules[0].F_ModuleId].filter(item => { + // return item.F_EnCode == "InAndOut" //"转入转出异动" + //}) + //learun.frameTab.open(moduleitem[0]); }) $('#changeCheck').on('click', function () { - let item = modulesTree[0].filter(item => { - return item.F_FullName == "教务信息管理" - }) - let modules = modulesTree[item[0].F_ModuleId].filter(item => { - return item.F_EnCode == "Transfermenu" //学籍异动菜单 - }) - let moduleitem = modulesTree[modules[0].F_ModuleId].filter(item => { - return item.F_EnCode == "CheckIndex" //"学籍异动审核" - }) - learun.frameTab.open(moduleitem[0]); + var SetkeyValue = '5d40d91e-833c-4511-96e6-4a91afaabc9f'; + $.lrSetForm(top.$.rootUrl + '/LR_SystemModule/Module/GetFormData?keyValue=' + SetkeyValue, function (data) { + if (data.moduleEntity != null) { + learun.frameTab.open(data.moduleEntity); //"学籍异动审核" + } + }); + //let item = modulesTree[0].filter(item => { + // return item.F_FullName == "教务信息管理" + //}) + //let modules = modulesTree[item[0].F_ModuleId].filter(item => { + // return item.F_EnCode == "Transfermenu" //学籍异动菜单 + //}) + //let moduleitem = modulesTree[modules[0].F_ModuleId].filter(item => { + // return item.F_EnCode == "CheckIndex" //"学籍异动审核" + //}) + //learun.frameTab.open(moduleitem[0]); })