From e13498e674fa7ccc4ece1cacc5f51d7132fdee0c Mon Sep 17 00:00:00 2001 From: libo Date: Thu, 2 Feb 2023 15:50:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BC=91=E5=AD=A6=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=A0=B7=E5=BC=8F=EF=BC=8C=E4=BF=AE=E6=94=B9=E8=BD=AC?= =?UTF-8?q?=E4=B8=93=E4=B8=9A=E9=A1=B5=E9=9D=A2=E5=A4=9A=E9=80=89=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/StuTransferInfo/IntoIndex.cshtml | 52 +++++++++---------- .../Views/StuTransferInfo/MajorIndex.js | 29 ++++------- 2 files changed, 37 insertions(+), 44 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/IntoIndex.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/IntoIndex.cshtml index 6e82e5f56..1c9727663 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/IntoIndex.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/IntoIndex.cshtml @@ -61,101 +61,101 @@
-
+
@*转入班级*@ -
转入班级
-
+
转入班级
+
系部*
-
+
专业*
-
+
年级*
-
+
班级*
-
+
入班日期*
@*转入学生信息*@ -
转入学生信息
-
+
转入学生信息
+
转学前学校
-
+
转学前年级
-
+
转学前班级
-
+
转学前专业
-
+
转学前学号
-
+
转学日期
-
+
姓名*
-
+
学号*
-
+
证件类型*
-
+
证件号码*
-
+
出生日期
-
+
性别*
-
+
民族
-
+
户口所在地
-
+
籍贯
-
+
是否住宿
-
+
联系电话
-
+
家庭地址
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/MajorIndex.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/MajorIndex.js index 9d43d124e..43eff40b3 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/MajorIndex.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/MajorIndex.js @@ -827,25 +827,18 @@ var bootstrap = function ($, learun) { rows: 100, isMultiselect: true, onSelectRow: function (rowdata, type) { - //console.log(rowdata) - //console.log(type) - if (type) { - var selectedRow = $('#gridtable').jfGridGet('rowdata'); - if (list.length < 1) { - list = selectedRow - } else { - list = list.concat(selectedRow) - let temp = {} - list = list.reduce((prev, curv) => { - if (temp[curv.StuNo]) { } - else { - temp[curv.StuNo] = true - prev.push(curv) - } - return prev - }, []) - } + list.push(rowdata) + let temp = {} + list = list.reduce((prev, curv) => { + if (temp[curv.StuNo]) { } + else { + temp[curv.StuNo] = true + prev.push(curv) + } + return prev + }, []) + //var selectedRow = $('#gridtable').jfGridGet('rowdata'); tempdatra = list $('#selgridtab').jfGridSet('refreshdata', tempdatra); }