From 6357f89bf38b83b779e233249c2b0e480b78e164 Mon Sep 17 00:00:00 2001
From: luo <2855143437@qq.com>
Date: 星期六, 23 九月 2023 17:24:16 +0800
Subject: [PATCH] 学员

---
 cloud-server-management/src/main/webapp/static/modular/system/coursePackage/registrationRecord.js |   40 +++++++++++++++++++++++++++++++++++++++-
 1 files changed, 39 insertions(+), 1 deletions(-)

diff --git a/cloud-server-management/src/main/webapp/static/modular/system/coursePackage/registrationRecord.js b/cloud-server-management/src/main/webapp/static/modular/system/coursePackage/registrationRecord.js
index 9d07773..1e07b58 100644
--- a/cloud-server-management/src/main/webapp/static/modular/system/coursePackage/registrationRecord.js
+++ b/cloud-server-management/src/main/webapp/static/modular/system/coursePackage/registrationRecord.js
@@ -13,7 +13,7 @@
  */
 RegistrationRecord.initColumn = function () {
     let columns = [
-        {field: 'selectItem', radio: true},
+        {field: 'selectItem', checkbox: true},
         {title: 'id', field: 'id', visible: false, align: 'center', valign: 'middle'},
         {title: '购买用户', field: 'userName', align: 'center', valign: 'middle'},
         {title: '联系方式', field: 'phone', align: 'center', valign: 'middle'},
@@ -45,6 +45,8 @@
         return false;
     } else {
         RegistrationRecord.seItem = selected[0];
+        RegistrationRecord.seItem1 = selected;
+
         return true;
     }
 };
@@ -64,6 +66,42 @@
     this.layerIndex = index;
 };
 
+
+RegistrationRecord.holiClass = function () {
+    if (this.check()) {
+        var ids = RegistrationRecord.seItem1.map(function(item) {
+            return item.id;
+        }).join(",");
+        let index = layer.open({
+            type: 2,
+            title: '报名信息',
+            area: ['50%', '50%'], //宽高
+            fix: false, //不固定
+            maxmin: true,
+            content: Feng.ctxPath + '/tStudent/TTT?ids='+ids+'&id='+$('#id').val()
+        });
+        this.layerIndex = index;
+    }
+};
+
+RegistrationRecord.transClass = function () {
+    if (this.check()) {
+        var ids = RegistrationRecord.seItem1.map(function(item) {
+            return item.id;
+        }).join(",");
+        let index = layer.open({
+            type: 2,
+            title: '报名信息',
+            area: ['50%', '50%'], //宽高
+            fix: false, //不固定
+            maxmin: true,
+            content: Feng.ctxPath + '/tStudent/trans?ids='+ids+'&id='+$('#id').val()
+        });
+        this.layerIndex = index;
+    }
+};
+
+
 /**
  * 点击修改按钮时
  * @param userId 管理员id

--
Gitblit v1.7.1