123456789101112131415161718192021222324 |
- var windowID;
- var trainingClassIDList = [];
- $(function () {
- windowID = $.SystemGeneral.getUrlParam("WindowID");
- trainingClassIDList = top.$('#' + windowID).data("inputData");
- var trainingClassIDs = trainingClassIDList.join(',');
- $("#TrainingClassIDs").val(trainingClassIDs);
- $.post(CMS_SystemConfig.VirtualDirectoryPath + '/TrainingClass/GetMergeName', { trainingClassIDs: trainingClassIDs }, function (data) {
- if (data.IsSuccess) {
- $("#Name").val(data.Data);
- } else {
- $.messager.alert("系统提示", data.Message, null, function () {
- top.$('#' + windowID).dialog("close");
- });
- }
- });
- });
- function TrainingClass_Merge() {
- $(document.forms[0]).submit();
- }
|