/// 审核
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/FormAudit.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/FormAudit.cshtml
index 2ceef9f8a..a98693ebb 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/FormAudit.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/FormAudit.cshtml
@@ -1,15 +1,53 @@
@{
- ViewBag.Title = "学业考核成绩记载审核表单";
+ ViewBag.Title = "教务意见";
Layout = "~/Views/Shared/_Form.cshtml";
}
-
+
@Html.AppendJsFile("/Areas/EducationalAdministration/Views/ScoreCheckInfo/FormTeach.js")
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/FormTeach.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/FormTeach.js
index ee1dcfda5..f8ffa23ff 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/FormTeach.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/FormTeach.js
@@ -2,7 +2,7 @@
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
* 创建人:超级管理员
* 日 期:2022-09-19 14:37
- * 描 述:学业成绩考核记录表
+ * 描 述: 教师评语
*/
var acceptClick;
var keyValue = request('keyValue');
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/Index.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/Index.cshtml
index 3150c036e..f0d14467d 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/Index.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/Index.cshtml
@@ -52,12 +52,10 @@
删除
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/Index.js
index 9a5fe66f4..2017e0539 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/Index.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/Index.js
@@ -105,15 +105,6 @@ var bootstrap = function ($, learun) {
$('#lr_edit').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('ID');
if (learun.checkrow(keyValue)) {
- if (keyValue.indexOf(',') != -1) {
- learun.alert.warning("只能选择一条记录进行编辑!");
- return;
- }
- var CheckMark = $('#gridtable').jfGridValue('CheckStatus');
- if (CheckMark == "1" || CheckMark == "2") {
- learun.alert.warning("当前项目已提交不能编辑!");
- return;
- }
learun.layerForm({
id: 'form',
title: '编辑',
@@ -130,11 +121,6 @@ var bootstrap = function ($, learun) {
$('#lr_delete').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('ID');
if (learun.checkrow(keyValue)) {
- var CheckMark = $('#gridtable').jfGridValue('CheckStatus');
- if (CheckMark.indexOf('1') > -1 || CheckMark.indexOf('2') > -1) {
- learun.alert.warning("选中记录中包含已审核项目,不可删除!");
- return;
- }
learun.layerConfirm('是否确认删除该项!', function (res) {
if (res) {
learun.deleteForm(top.$.rootUrl + '/EducationalAdministration/ScoreCheckInfo/DeleteForm', { keyValue: keyValue }, function () {
@@ -144,50 +130,34 @@ var bootstrap = function ($, learun) {
});
}
});
- // 打印
- $('#lr_print').on('click', function () {
- $('#gridtable').jqprintTable();
- });
- // 审核
- $('#lr_lock').on('click', function () {
+
+ //教师评语
+ $('#lr_Coordinator').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('ID');
if (learun.checkrow(keyValue)) {
- var CheckMark = $('#gridtable').jfGridValue('CheckStatus');
- if (CheckMark.indexOf('1') > -1 || CheckMark.indexOf('2') > -1) {
- learun.alert.warning("选中记录中包含已审核项目,请勿重复提交!");
- return;
- }
learun.layerForm({
id: 'formTeach',
- title: '编辑',
- url: top.$.rootUrl + '/EducationalAdministration/ScoreCheckInfo/FormAudit?keyValue=' + keyValue,
- width: 800,
- height: 600,
+ title: '教师评语',
+ url: top.$.rootUrl + '/EducationalAdministration/ScoreCheckInfo/FormTeach?keyValue=' + keyValue,
+ width: 1000,
+ height: 800,
callBack: function (id) {
return top[id].acceptClick(refreshGirdData);
}
});
}
});
- // 教师评语
- $('#lr_Coordinator').on('click', function () {
+
+ //教务意见
+ $('#lr_Opinion').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('ID');
if (learun.checkrow(keyValue)) {
- if (keyValue.indexOf(',') != -1) {
- learun.alert.warning("只能选择一条记录进行编辑!");
- return;
- }
- var CheckMark = $('#gridtable').jfGridValue('CheckStatus');
- if (CheckMark.indexOf('1') > -1 || CheckMark.indexOf('2') > -1) {
- learun.alert.warning("选中记录中包含已审核项目,请勿重复提交!");
- return;
- }
learun.layerForm({
- id: 'formTeach',
- title: '编辑',
- url: top.$.rootUrl + '/EducationalAdministration/ScoreCheckInfo/FormTeach?keyValue=' + keyValue,
- width: 800,
- height: 600,
+ id: 'formAudit',
+ title: '教务意见',
+ url: top.$.rootUrl + '/EducationalAdministration/ScoreCheckInfo/FormAudit?keyValue=' + keyValue,
+ width: 1000,
+ height: 800,
callBack: function (id) {
return top[id].acceptClick(refreshGirdData);
}
@@ -208,28 +178,28 @@ var bootstrap = function ($, learun) {
}
});
});
- // 提交
- $('#lr_submit').on('click', function () {
+
+ //学业成绩考核记载表打印
+ $('#lr_print').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('ID');
if (learun.checkrow(keyValue)) {
- var CheckMark = $('#gridtable').jfGridValue('CheckStatus');
- if (CheckMark.indexOf('1') > -1 || CheckMark.indexOf('2') > -1) {
- learun.alert.warning("选中记录中包含已审核项目,请勿重复提交!");
- return;
- }
- learun.layerConfirm('是否确认提交选择项!', function (res) {
- if (res) {
- learun.deleteForm(top.$.rootUrl + '/EducationalAdministration/ScoreCheckInfo/SubmitFrom', { keyValue: keyValue }, function () {
- refreshGirdData();
- });
+ learun.layerForm({
+ id: 'recordtableprint',
+ title: '学业成绩考核记载表',
+ url: top.$.rootUrl + '/EducationalAdministration/ScoreCheckInfo/RecordTablePrint?keyValue=' + keyValue,
+ width: 1200,
+ height: 800,
+ callBack: function (id) {
+ return top[id].acceptClick(refreshGirdData);
}
});
}
});
+
},
// 初始化列表
initGird: function () {
- $('#gridtable').lrAuthorizeJfGrid({
+ $('#gridtable').jfGrid({
url: top.$.rootUrl + '/EducationalAdministration/ScoreCheckInfo/GetPageList',
headData: [
{ label: "学年", name: "AcademicYearNo", width: 60, align: "left" },
@@ -275,6 +245,14 @@ var bootstrap = function ($, learun) {
});
}
},
+
+ { label: "班主任评语", name: "TeacherDemo", width: 100, align: "left" },
+ {
+ label: "评语日期", name: "TDate", width: 90, align: "left"
+ },
+ {
+ label: "评语填写人", name: "Signed", width: 100, align: "left"
+ },
{
label: "操作等级", name: "OperatingLevel", width: 60, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
@@ -287,50 +265,19 @@ var bootstrap = function ($, learun) {
});
}
},
+ { label: "学校教务部门审核意见", name: "CheckOpinion", width: 150, align: "left" },
{
- label: "评语填写人", name: "Signed", width: 100, align: "left",
- formatterAsync: function (callback, value, row, op, $cell) {
- learun.clientdata.getAsync('custmerData', {
- url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'EmpInfo',
- key: value,
- keyId: 'empno',
- callback: function (_data) {
- callback(_data['empname']);
- }
- });
- }
- },
- { label: "班主任评语", name: "TeacherDemo", width: 200, align: "left" },
- {
- label: "评价时间", name: "TDate", width: 100, align: "left",
- formatter: function (cellvalue) {
- return learun.formatDate(cellvalue, 'yyyy-MM-dd');
- }
- },
- { label: "学校教务部门审核意见", name: "CheckOpinion", width: 200, align: "left" },
- {
- label: "审核时间", name: "CheckTime", width: 100, align: "left",
- formatter: function (cellvalue) {
- return learun.formatDate(cellvalue, 'yyyy-MM-dd');
- }
+ label: "意见日期", name: "CheckTime", width: 90, align: "left"
},
{
- label: "审核状态", name: "CheckStatus", width: 100, align: "left",
- formatter: function (cellvalue, row) {
- if (cellvalue == 1) {
- return '审核中';
- } else if (cellvalue == 2) {
- return '审核通过';
- } else {
- return '草稿';
- }
- }
+ label: "意见填写人", name: "CheckUser", width: 100, align: "left"
},
+
],
mainId: 'ID',
isPage: true,
- sidx: 'CreateTime desc',
- isMultiselect: true,
+ sidx: 'AcademicYearNo desc,Semester desc,StuNo asc',
+ isMultiselect: false,
});
page.search();
},
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/RecordTablePrint.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/RecordTablePrint.cshtml
new file mode 100644
index 000000000..ee726a169
--- /dev/null
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/RecordTablePrint.cshtml
@@ -0,0 +1,437 @@
+@using Learun.Application.TwoDevelopment.EducationalAdministration
+@model Learun.Application.TwoDevelopment.EducationalAdministration.ScoreCheckInfoEntity
+@{
+ ViewBag.Title = "学业成绩考核记载表";
+ Layout = null;
+}
+
+
+
+
+
+
+
+
+ Document
+
+
+
+
+
+
+
+
学生成绩考核记载表(@Model.AcademicYearNo学年,第@Model.Semester学期)
+
+ @{
+ var scoreList = Model.StuScoreList as IEnumerable;
+ //两个为一组
+ var scoreListTemp = scoreList.Select((x, i) => new { Index = i, Value = x }).GroupBy(x => x.Index / 2).Select(x => x.Select(y => y.Value).ToList()).ToList();
+ //第一列占多少行
+ int rowNum = 9;
+ if (scoreList.Count() > 14)
+ {
+ rowNum = Convert.ToInt32(Math.Ceiling(Convert.ToDecimal(scoreList.Count() / 2))) + 2;
+ }
+
+
+
+ 学业成绩
+ |
+ 学科名称 |
+ 成 绩 |
+ 学科名称 |
+ 成 绩 |
+
+
+ 正考 |
+ 补考 |
+ 正考 |
+ 补考 |
+
+ for (int i = 0; i < rowNum - 2; i++)
+ {
+
+ @if (i < scoreListTemp.Count())
+ {
+ for (int j = 0; j < 2; j++)
+ {
+ if (j < scoreListTemp[i].Count())
+ {
+ @scoreListTemp[i][j].LessonName |
+ @(scoreListTemp[i][j].Score == null ? 0 : scoreListTemp[i][j].Score) |
+ @(Convert.ToInt32(scoreListTemp[i][j].ScoreOfNotPassTwo) > 0 ? scoreListTemp[i][j].ScoreOfNotPassTwo : scoreListTemp[i][j].ScoreOfNotPass) |
+ }
+ else
+ {
+ |
+ |
+ |
+ }
+
+ }
+ }
+ else
+ {
+ |
+ |
+ |
+ |
+ |
+ |
+ }
+
+ }
+
+ 学校教务部门审核意见 |
+
+ @Model.CheckOpinion
+
+ (盖 章)
+ @if (!string.IsNullOrEmpty(Model.FilePath))
+ {
+
+ }
+
+
+ @{
+ if (Model.CheckTime.HasValue)
+ {
+ @Model.CheckTime.Value.Year 年 @Model.CheckTime.Value.Month 月 @Model.CheckTime.Value.Day 日
+ }
+ else
+ {
+ 年 月 日
+ }
+ }
+
+
+ |
+
+
+ 考勤 |
+ 事假(节) |
+
+
+
+ 病假(节) |
+ 旷课(节) |
+ 迟到(次) |
+ 早退(次) |
+
+
+ |
+
+
+
+ @{
+ var leaveList = Model.StuAttendanceLeaveList as IEnumerable;
+
+ @leaveList.Where(x=>x.LeaveType=="事假").Count() |
+
+
+
+ @leaveList.Where(x => x.LeaveType == "病假").Count() |
+ @leaveList.Where(x => x.LeaveType == "旷课").Count() |
+ @leaveList.Where(x => x.LeaveType == "迟到").Count() |
+ @leaveList.Where(x => x.LeaveType == "早退").Count() |
+
+
+ |
+ }
+
+
+
+ 职业资格证书获得情况 |
+
+
+ @foreach (var item in Model.StudentCertificateList)
+ {
+ @(Model.StudentCertificateList.IndexOf(item) + 1)、@item.CreateTime.Value.ToShortDateString().Replace("/", "-") @item.SCName
+ }
+
+ |
+
+
+ 奖 惩 记 载 |
+
+
+ @foreach (var item in Model.StuEncourgementList)
+ {
+ 奖励 @(Model.StuEncourgementList.IndexOf(item) + 1)、@item.EncourgeDate.Value.ToShortDateString().Replace("/", "-") @item.EncourgeName @item.Fee
+ }
+ @foreach (var item in Model.StuPunishmentList)
+ {
+ 处分 @(Model.StuPunishmentList.IndexOf(item) + 1)、@item.PunishDate.Value.ToShortDateString().Replace("/", "-") @item.PunishName
+ }
+
+ |
+
+
+
+ 操行鉴定
+ |
+ 操行等级 |
+ @Model.OperatingLevel |
+
+
+ 班主任评估 |
+
+ @Model.TeacherDemo
+ 班主任签名:@Model.Signed
+
+ @{
+ if (Model.TDate.HasValue)
+ {
+ @Model.TDate.Value.Year 年 @Model.TDate.Value.Month 月 @Model.TDate.Value.Day 日
+ }
+ else
+ {
+ 年 月 日
+ }
+ }
+
+
+ |
+
+ }
+
+
注:操行等级分优、良、中、差四等
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuGraduateStatistic/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuGraduateStatistic/Form.js
index 43837343e..083c5c2d3 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuGraduateStatistic/Form.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuGraduateStatistic/Form.js
@@ -1,63 +1,4 @@
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
+/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
* 创建人:超级管理员
* 日 期:2022-08-29 16:34
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuGraduateStatistic/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuGraduateStatistic/Index.js
index 0360c5e2e..8a3512528 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuGraduateStatistic/Index.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuGraduateStatistic/Index.js
@@ -1,107 +1,4 @@
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
-87
-88
-89
-90
-91
-92
-93
-94
-95
-96
-97
-98
-99
-100
-101
-102
-103
-/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
+/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
* 创建人:超级管理员
* 日 期:2022-08-29 16:34
@@ -243,7 +140,7 @@ var bootstrap = function ($, learun) {
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', {
key: value,
- code: 'UniversityLevel',
+ code: 'GraduateLevel',
callback: function (_data) {
callback(_data.text);
}
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/CreateGraduateNo.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/CreateGraduateNo.cshtml
index edfd4c6db..e4034cd02 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/CreateGraduateNo.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/CreateGraduateNo.cshtml
@@ -47,7 +47,7 @@
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/CreateGraduateNo.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/CreateGraduateNo.js
index c261905c8..092c8f045 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/CreateGraduateNo.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/CreateGraduateNo.js
@@ -39,7 +39,7 @@ var bootstrap = function ($, learun) {
});
$('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' });
$('#FinishSchoolMark').lrselect({
- data: [{ text: "准许毕业", value: "1" }, { text: "待准许", value: "0" }],
+ data: [{ text: "已毕业", value: "2" }, { text: "准许毕业", value: "1" }, { text: "待准许", value: "0" }],
text: "text",
value: "value"
})
@@ -47,26 +47,37 @@ var bootstrap = function ($, learun) {
$('#lr_refresh').on('click', function () {
location.reload();
});
+ //生成毕业证【按专业进行排序】
+ //$('#lr_create').on('click', function () {
+ // learun.layerForm({
+ // id: 'form',
+ // title: '生成毕业证',
+ // url: top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/CreateGraduateNoForm',
+ // width: 800,
+ // height: 600,
+ // callBack: function (id) {
+ // return top[id].acceptClick(refreshGirdData);
+ // }
+ // });
+ //})
+ //生成毕业证【按学号排序】
$('#lr_create').on('click', function () {
- learun.layerForm({
- id: 'form',
- title: '生成毕业证',
- url: top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/CreateGraduateNoForm',
- width: 800,
- height: 600,
- callBack: function (id) {
- return top[id].acceptClick(refreshGirdData);
+ learun.layerConfirm('1.毕业证号的生成规则:年份两位(22)+学校编码十位(3642000004)+顺序号四位(0001)组成;
2.此次操作仅对毕业状态为“准许毕业”和“已毕业”的学生进行操作;
3.生成毕业证号后不可撤消,请谨慎操作!
', function (res) {
+ if (res) {
+ learun.httpAsync('post', top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/DoCreateGraduateNo', {}, function () {
+ refreshGirdData();
+ });
}
});
})
-
+
},
// 初始化列表
initGird: function () {
$('#gridtable').jfGrid({
url: top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/GetPageList',
headData: [
- { label: "学号", name: "StuNo", width: 100, align: "left" },
+ { label: "学号", name: "StuNo", width: 150, align: "left" },
{ label: "姓名", name: "StuName", width: 100, align: "left" },
{
label: "性别", name: "GenderNo", width: 80, align: "left",
@@ -139,12 +150,12 @@ var bootstrap = function ($, learun) {
}
}
},
- { label: "毕业证", name: "DiplomaNo", width: 100, align: "left" },
{ label: "毕业时间", name: "FinishSchoolDate", width: 100, align: "left" },
+ { label: "毕业证号", name: "DiplomaNo", width: 100, align: "left" },
],
mainId: 'StuId',
isPage: true,
- isMultiselect: true,
+ isMultiselect: false,
});
page.search();
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormTran.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormTran.cshtml
index ac6ccb25e..e3805f7cf 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormTran.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormTran.cshtml
@@ -16,8 +16,8 @@
@*
-
+
准许毕业
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateCardDeregistrate.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateCardDeregistrate.js
index 21899f1ff..39f8aa099 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateCardDeregistrate.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateCardDeregistrate.js
@@ -10,34 +10,116 @@ var bootstrap = function ($, learun) {
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson);
}, 290, 400);
- $('#DeptNo').lrDataSourceSelect({
- code: 'CdDeptInfo', value: 'deptno', text: 'deptname', select: function (val) {
- var deptno = "";
- if (val) {
- deptno = val.deptno;
+ $('#DeptNo').lrselect({
+ allowSearch: true,
+ value: "deptno",
+ text: "deptname",
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo',
+ select: function (item) {
+ if (item) {
+ $('#MajorNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
+ param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" }
+ });
+ } else {
+ $('#MajorNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
+ param: { strWhere: "1=1 AND CheckMark=1" }
+ });
}
- $('#MajorNo').lrselectRefresh({
- url: top.$.rootUrl + '/EducationalAdministration/CdMajor/GetListByDeptNo?DeptNo=' + deptno,
- text: "MajorName",
- value: "MajorNo"
- })
+
}
});
- $('#MajorNo').lrDataSourceSelect({
- code: 'CdMajorInfo', value: 'majorno', text: 'majorname', select:
- function (val) {
- var majorNo = '';
- if (val) {
- majorNo = val.MajorNo;
+ $('#MajorNo').lrselect({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
+ value: "majorno",
+ text: "majorname",
+ param: { strWhere: "1=1 AND CheckMark=1" },
+ select: function (item) {
+ var Grades = $("#Grade").lrselectGet();
+ if (Grades != null && Grades != "" && Grades != "undefined") {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "majorno='" + item.majorno + "' AND CheckMark=1 AND Grade='" + Grades + "' order by classno desc" }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
+ }
+ } else {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "majorno='" + item.majorno + "' AND CheckMark=1 order by classno desc" }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
}
- $('#ClassNo').lrselectRefresh({
- url: top.$.rootUrl + '/EducationalAdministration/ClassInfo/GetClassByMajorNo?majorNo=' + majorNo,
- text: "ClassName",
- value: "ClassNo"
- })
}
+ }
+ });
+ $('#Grade').lrselect({
+ url: top.$.rootUrl + '/EducationalAdministration/ClassInfo/GenerateNearByYear',
+ value: "value",
+ text: "text",
+ select: function (item) {
+ var MajorNos = $("#MajorNo").lrselectGet();
+ if (MajorNos != null && MajorNos != "" && MajorNos != "undefined") {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: {
+ strWhere: "majorno='" + MajorNos + "' AND CheckMark=1 AND Grade='" + item.text + "' order by classno desc"
+ }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
+ }
+ } else {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: {
+ strWhere: "CheckMark=1 AND Grade='" + item.text + "' order by classno desc"
+ }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
+ }
+ }
+
+ }
+ });
+ $('#ClassNo').lrselect({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" },
+ value: "classno",
+ text: "classname"
});
- $('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' });
$('#FinishSchoolMark').lrselect({
data: [{ text: "已毕业", value: "2" }, { text: "准许毕业", value: "1" }, { text: "待准许", value: "0" }],
text: "text",
@@ -173,6 +255,7 @@ var bootstrap = function ($, learun) {
],
mainId: 'StuId',
isPage: true,
+ rows: 100,
isMultiselect: true,
});
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateCheckOut.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateCheckOut.cshtml
index 187e05d2d..e1dd43e39 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateCheckOut.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateCheckOut.cshtml
@@ -20,10 +20,6 @@
姓名
-
+
准许毕业
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateCheckOut.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateCheckOut.js
index 47c0d2308..aec500e18 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateCheckOut.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateCheckOut.js
@@ -10,34 +10,116 @@ var bootstrap = function ($, learun) {
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson);
}, 290, 400);
- $('#DeptNo').lrDataSourceSelect({
- code: 'CdDeptInfo', value: 'deptno', text: 'deptname', select: function (val) {
- var deptno = "";
- if (val) {
- deptno = val.deptno;
+ $('#DeptNo').lrselect({
+ allowSearch: true,
+ value: "deptno",
+ text: "deptname",
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo',
+ select: function (item) {
+ if (item) {
+ $('#MajorNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
+ param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" }
+ });
+ } else {
+ $('#MajorNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
+ param: { strWhere: "1=1 AND CheckMark=1" }
+ });
}
- $('#MajorNo').lrselectRefresh({
- url: top.$.rootUrl + '/EducationalAdministration/CdMajor/GetListByDeptNo?DeptNo=' + deptno,
- text: "MajorName",
- value: "MajorNo"
- })
+
}
});
- $('#MajorNo').lrDataSourceSelect({
- code: 'CdMajorInfo', value: 'majorno', text: 'majorname', select:
- function (val) {
- var majorNo = '';
- if (val) {
- majorNo = val.MajorNo;
+ $('#MajorNo').lrselect({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
+ value: "majorno",
+ text: "majorname",
+ param: { strWhere: "1=1 AND CheckMark=1" },
+ select: function (item) {
+ var Grades = $("#Grade").lrselectGet();
+ if (Grades != null && Grades != "" && Grades != "undefined") {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "majorno='" + item.majorno + "' AND CheckMark=1 AND Grade='" + Grades + "' order by classno desc" }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
+ }
+ } else {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "majorno='" + item.majorno + "' AND CheckMark=1 order by classno desc" }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
}
- $('#ClassNo').lrselectRefresh({
- url: top.$.rootUrl + '/EducationalAdministration/ClassInfo/GetClassByMajorNo?majorNo=' + majorNo,
- text: "ClassName",
- value: "ClassNo"
- })
}
+ }
+ });
+ $('#Grade').lrselect({
+ url: top.$.rootUrl + '/EducationalAdministration/ClassInfo/GenerateNearByYear',
+ value: "value",
+ text: "text",
+ select: function (item) {
+ var MajorNos = $("#MajorNo").lrselectGet();
+ if (MajorNos != null && MajorNos != "" && MajorNos != "undefined") {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: {
+ strWhere: "majorno='" + MajorNos + "' AND CheckMark=1 AND Grade='" + item.text + "' order by classno desc"
+ }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
+ }
+ } else {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: {
+ strWhere: "CheckMark=1 AND Grade='" + item.text + "' order by classno desc"
+ }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
+ }
+ }
+
+ }
+ });
+ $('#ClassNo').lrselect({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" },
+ value: "classno",
+ text: "classname"
});
- $('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' });
$('#FinishSchoolMark').lrselect({
data: [{ text: "已毕业", value: "2" }, { text: "准许毕业", value: "1" }, { text: "待准许", value: "0" }],
text: "text",
@@ -173,6 +255,7 @@ var bootstrap = function ($, learun) {
],
mainId: 'StuId',
isPage: true,
+ rows: 100,
isMultiselect: true,
});
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateDiplomaReceive.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateDiplomaReceive.cshtml
index 096c17ab1..f284679c0 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateDiplomaReceive.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateDiplomaReceive.cshtml
@@ -20,10 +20,6 @@
姓名
-
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateDiplomaReceive.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateDiplomaReceive.js
index c40319e8f..ac1b90546 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateDiplomaReceive.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateDiplomaReceive.js
@@ -10,34 +10,116 @@ var bootstrap = function ($, learun) {
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson);
}, 290, 400);
- $('#DeptNo').lrDataSourceSelect({
- code: 'CdDeptInfo', value: 'deptno', text: 'deptname', select: function (val) {
- var deptno = "";
- if (val) {
- deptno = val.deptno;
+ $('#DeptNo').lrselect({
+ allowSearch: true,
+ value: "deptno",
+ text: "deptname",
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo',
+ select: function (item) {
+ if (item) {
+ $('#MajorNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
+ param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" }
+ });
+ } else {
+ $('#MajorNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
+ param: { strWhere: "1=1 AND CheckMark=1" }
+ });
}
- $('#MajorNo').lrselectRefresh({
- url: top.$.rootUrl + '/EducationalAdministration/CdMajor/GetListByDeptNo?DeptNo=' + deptno,
- text: "MajorName",
- value: "MajorNo"
- })
+
}
});
- $('#MajorNo').lrDataSourceSelect({
- code: 'CdMajorInfo', value: 'majorno', text: 'majorname', select:
- function (val) {
- var majorNo = '';
- if (val) {
- majorNo = val.MajorNo;
+ $('#MajorNo').lrselect({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
+ value: "majorno",
+ text: "majorname",
+ param: { strWhere: "1=1 AND CheckMark=1" },
+ select: function (item) {
+ var Grades = $("#Grade").lrselectGet();
+ if (Grades != null && Grades != "" && Grades != "undefined") {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "majorno='" + item.majorno + "' AND CheckMark=1 AND Grade='" + Grades + "' order by classno desc" }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
+ }
+ } else {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "majorno='" + item.majorno + "' AND CheckMark=1 order by classno desc" }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
}
- $('#ClassNo').lrselectRefresh({
- url: top.$.rootUrl + '/EducationalAdministration/ClassInfo/GetClassByMajorNo?majorNo=' + majorNo,
- text: "ClassName",
- value: "ClassNo"
- })
}
+ }
+ });
+ $('#Grade').lrselect({
+ url: top.$.rootUrl + '/EducationalAdministration/ClassInfo/GenerateNearByYear',
+ value: "value",
+ text: "text",
+ select: function (item) {
+ var MajorNos = $("#MajorNo").lrselectGet();
+ if (MajorNos != null && MajorNos != "" && MajorNos != "undefined") {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: {
+ strWhere: "majorno='" + MajorNos + "' AND CheckMark=1 AND Grade='" + item.text + "' order by classno desc"
+ }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
+ }
+ } else {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: {
+ strWhere: "CheckMark=1 AND Grade='" + item.text + "' order by classno desc"
+ }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
+ }
+ }
+
+ }
+ });
+ $('#ClassNo').lrselect({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" },
+ value: "classno",
+ text: "classname"
});
- $('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' });
$('#FinishSchoolMark').lrselect({
data: [{ text: "已毕业", value: "2" }, { text: "准许毕业", value: "1" }, { text: "待准许", value: "0" }],
text: "text",
@@ -52,14 +134,30 @@ var bootstrap = function ($, learun) {
var keyValue = $('#gridtable').jfGridValue('StuId');
var DiplomaReceiveStatus = $('#gridtable').jfGridValue('DiplomaReceiveStatus');
if (learun.checkrow(keyValue)) {
- if (DiplomaReceiveStatus.indexOf('1') != -1) {
- return learun.alert.warning("选中项包括已领取数据!");
+ //if (DiplomaReceiveStatus.indexOf('1') != -1) {
+ // return learun.alert.warning("选中项包括已领取数据!");
+ //}
+ //learun.layerConfirm('是否确认领取毕业证!', function (res) {
+ // if (res) {
+ // learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/GetCard', { keyValue: keyValue, status: '1' }, function () {
+ // refreshGirdData();
+ // });
+ // }
+ //});
+ if (keyValue.split(',').length > 1) {
+ return learun.alert.warning("只能选择一条记录进行操作!");
}
- learun.layerConfirm('是否确认领取毕业证!', function (res) {
- if (res) {
- learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/GetCard', { keyValue: keyValue, status: '1' }, function () {
- refreshGirdData();
- });
+ if (DiplomaReceiveStatus == "1") {
+ return learun.alert.warning("当前记录毕业证已领取!");
+ }
+ learun.layerForm({
+ id: 'form',
+ title: '毕业证领取',
+ url: top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/GraduateDiplomaReceiveForm?keyValue=' + keyValue,
+ width: 600,
+ height: 400,
+ callBack: function (id) {
+ return top[id].acceptClick(refreshGirdData);
}
});
}
@@ -168,10 +266,14 @@ var bootstrap = function ($, learun) {
return cellvalue == "1" ? "已领取" : "未领取"
}
},
- { label: "毕业证领取时间", name: "DiplomaReceiveDate", width: 100, align: "left" },
+ { label: "毕业证领取时间", name: "DiplomaReceiveDate", width: 120, align: "left" },
+ { label: "领取人签名", name: "DiplomaReceiveSign", width: 100, align: "left" },
+ { label: "代领人身份证号", name: "DiplomaReceiveIdcard", width: 130, align: "left" },
+ { label: "代领备注", name: "DiplomaReceiveRemark", width: 100, align: "left" },
],
mainId: 'StuId',
isPage: true,
+ rows: 100,
isMultiselect: true,
});
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateDiplomaReceiveForm.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateDiplomaReceiveForm.cshtml
new file mode 100644
index 000000000..4b671c936
--- /dev/null
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateDiplomaReceiveForm.cshtml
@@ -0,0 +1,19 @@
+@{
+ ViewBag.Title = "毕业证领取表单";
+ Layout = "~/Views/Shared/_Form.cshtml";
+}
+
+@Html.AppendJsFile("/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateDiplomaReceiveForm.js")
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateDiplomaReceiveForm.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateDiplomaReceiveForm.js
new file mode 100644
index 000000000..63f2ce1c6
--- /dev/null
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateDiplomaReceiveForm.js
@@ -0,0 +1,57 @@
+/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn)
+ * Copyright (c) 2013-2018 北京泉江科技有限公司
+ * 创建人:超级管理员
+ * 日 期:2022-09-26 16:53
+ * 描 述:毕业证领取表单
+ */
+var acceptClick;
+var keyValue = request('keyValue');
+var bootstrap = function ($, learun) {
+ "use strict";
+ var page = {
+ init: function () {
+ $('.lr-form-wrap').lrscroll();
+ page.bind();
+ page.initData();
+ page.hide();
+ },
+ hide: function () {
+
+ },
+ bind: function () {
+
+ },
+ initData: function () {
+ if (!!keyValue) {
+ $.lrSetForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/GetFormData?keyValue=' + keyValue, function (data) {
+ for (var id in data) {
+ if (!!data[id].length && data[id].length > 0) {
+ $('#' + id).jfGridSet('refreshdata', data[id]);
+ }
+ else {
+ $('[data-table="' + id + '"]').lrSetFormData(data[id]);
+ }
+ }
+ });
+ }
+ }
+ };
+ // 保存数据
+ acceptClick = function (callBack) {
+ if (!$('body').lrValidform()) {
+ return false;
+ }
+ var postData = {
+ status:"1",
+ strEntity: JSON.stringify($('body').lrGetFormData())
+ };
+ $.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/GetCard?keyValue=' + keyValue, postData, function (res) {
+ // 保存成功后才回调
+ if (!!callBack) {
+ callBack();
+ }
+ });
+ };
+ page.init();
+
+}
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateEmployAgree.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateEmployAgree.cshtml
index 3acfdea75..42b0205b3 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateEmployAgree.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateEmployAgree.cshtml
@@ -20,10 +20,6 @@
姓名
-
+
准许毕业
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateEmployAgree.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateEmployAgree.js
index 2da57c622..cb2210ffc 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateEmployAgree.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateEmployAgree.js
@@ -10,34 +10,116 @@ var bootstrap = function ($, learun) {
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson);
}, 290, 400);
- $('#DeptNo').lrDataSourceSelect({
- code: 'CdDeptInfo', value: 'deptno', text: 'deptname', select: function (val) {
- var deptno = "";
- if (val) {
- deptno = val.deptno;
+ $('#DeptNo').lrselect({
+ allowSearch: true,
+ value: "deptno",
+ text: "deptname",
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo',
+ select: function (item) {
+ if (item) {
+ $('#MajorNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
+ param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" }
+ });
+ } else {
+ $('#MajorNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
+ param: { strWhere: "1=1 AND CheckMark=1" }
+ });
}
- $('#MajorNo').lrselectRefresh({
- url: top.$.rootUrl + '/EducationalAdministration/CdMajor/GetListByDeptNo?DeptNo=' + deptno,
- text: "MajorName",
- value: "MajorNo"
- })
+
}
});
- $('#MajorNo').lrDataSourceSelect({
- code: 'CdMajorInfo', value: 'majorno', text: 'majorname', select:
- function (val) {
- var majorNo = '';
- if (val) {
- majorNo = val.MajorNo;
+ $('#MajorNo').lrselect({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
+ value: "majorno",
+ text: "majorname",
+ param: { strWhere: "1=1 AND CheckMark=1" },
+ select: function (item) {
+ var Grades = $("#Grade").lrselectGet();
+ if (Grades != null && Grades != "" && Grades != "undefined") {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "majorno='" + item.majorno + "' AND CheckMark=1 AND Grade='" + Grades + "' order by classno desc" }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
+ }
+ } else {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "majorno='" + item.majorno + "' AND CheckMark=1 order by classno desc" }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
}
- $('#ClassNo').lrselectRefresh({
- url: top.$.rootUrl + '/EducationalAdministration/ClassInfo/GetClassByMajorNo?majorNo=' + majorNo,
- text: "ClassName",
- value: "ClassNo"
- })
}
+ }
+ });
+ $('#Grade').lrselect({
+ url: top.$.rootUrl + '/EducationalAdministration/ClassInfo/GenerateNearByYear',
+ value: "value",
+ text: "text",
+ select: function (item) {
+ var MajorNos = $("#MajorNo").lrselectGet();
+ if (MajorNos != null && MajorNos != "" && MajorNos != "undefined") {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: {
+ strWhere: "majorno='" + MajorNos + "' AND CheckMark=1 AND Grade='" + item.text + "' order by classno desc"
+ }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
+ }
+ } else {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: {
+ strWhere: "CheckMark=1 AND Grade='" + item.text + "' order by classno desc"
+ }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
+ }
+ }
+
+ }
+ });
+ $('#ClassNo').lrselect({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" },
+ value: "classno",
+ text: "classname"
});
- $('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' });
$('#FinishSchoolMark').lrselect({
data: [{ text: "已毕业", value: "2" }, { text: "准许毕业", value: "1" }, { text: "待准许", value: "0" }],
text: "text",
@@ -173,6 +255,7 @@ var bootstrap = function ($, learun) {
],
mainId: 'StuId',
isPage: true,
+ rows: 100,
isMultiselect: true,
});
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateFeeSettle.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateFeeSettle.cshtml
index 32c74ebb1..e93609736 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateFeeSettle.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateFeeSettle.cshtml
@@ -20,10 +20,6 @@
姓名
-
+
准许毕业
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateFeeSettle.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateFeeSettle.js
index ab806d828..68664f728 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateFeeSettle.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateFeeSettle.js
@@ -10,34 +10,116 @@ var bootstrap = function ($, learun) {
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson);
}, 290, 400);
- $('#DeptNo').lrDataSourceSelect({
- code: 'CdDeptInfo', value: 'deptno', text: 'deptname', select: function (val) {
- var deptno = "";
- if (val) {
- deptno = val.deptno;
+ $('#DeptNo').lrselect({
+ allowSearch: true,
+ value: "deptno",
+ text: "deptname",
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo',
+ select: function (item) {
+ if (item) {
+ $('#MajorNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
+ param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" }
+ });
+ } else {
+ $('#MajorNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
+ param: { strWhere: "1=1 AND CheckMark=1" }
+ });
}
- $('#MajorNo').lrselectRefresh({
- url: top.$.rootUrl + '/EducationalAdministration/CdMajor/GetListByDeptNo?DeptNo=' + deptno,
- text: "MajorName",
- value: "MajorNo"
- })
+
}
});
- $('#MajorNo').lrDataSourceSelect({
- code: 'CdMajorInfo', value: 'majorno', text: 'majorname', select:
- function (val) {
- var majorNo = '';
- if (val) {
- majorNo = val.MajorNo;
+ $('#MajorNo').lrselect({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
+ value: "majorno",
+ text: "majorname",
+ param: { strWhere: "1=1 AND CheckMark=1" },
+ select: function (item) {
+ var Grades = $("#Grade").lrselectGet();
+ if (Grades != null && Grades != "" && Grades != "undefined") {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "majorno='" + item.majorno + "' AND CheckMark=1 AND Grade='" + Grades + "' order by classno desc" }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
+ }
+ } else {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "majorno='" + item.majorno + "' AND CheckMark=1 order by classno desc" }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
}
- $('#ClassNo').lrselectRefresh({
- url: top.$.rootUrl + '/EducationalAdministration/ClassInfo/GetClassByMajorNo?majorNo=' + majorNo,
- text: "ClassName",
- value: "ClassNo"
- })
}
+ }
+ });
+ $('#Grade').lrselect({
+ url: top.$.rootUrl + '/EducationalAdministration/ClassInfo/GenerateNearByYear',
+ value: "value",
+ text: "text",
+ select: function (item) {
+ var MajorNos = $("#MajorNo").lrselectGet();
+ if (MajorNos != null && MajorNos != "" && MajorNos != "undefined") {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: {
+ strWhere: "majorno='" + MajorNos + "' AND CheckMark=1 AND Grade='" + item.text + "' order by classno desc"
+ }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
+ }
+ } else {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: {
+ strWhere: "CheckMark=1 AND Grade='" + item.text + "' order by classno desc"
+ }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
+ }
+ }
+
+ }
+ });
+ $('#ClassNo').lrselect({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" },
+ value: "classno",
+ text: "classname"
});
- $('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' });
$('#FinishSchoolMark').lrselect({
data: [{ text: "已毕业", value: "2" }, { text: "准许毕业", value: "1" }, { text: "待准许", value: "0" }],
text: "text",
@@ -173,6 +255,7 @@ var bootstrap = function ($, learun) {
],
mainId: 'StuId',
isPage: true,
+ rows: 100,
isMultiselect: true,
});
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateFileTransfer.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateFileTransfer.cshtml
index 28b483019..e532c9d15 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateFileTransfer.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateFileTransfer.cshtml
@@ -20,10 +20,6 @@
姓名
-
+
准许毕业
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateFileTransfer.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateFileTransfer.js
index 8405fcd53..623c8a3ff 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateFileTransfer.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateFileTransfer.js
@@ -10,34 +10,116 @@ var bootstrap = function ($, learun) {
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson);
}, 290, 400);
- $('#DeptNo').lrDataSourceSelect({
- code: 'CdDeptInfo', value: 'deptno', text: 'deptname', select: function (val) {
- var deptno = "";
- if (val) {
- deptno = val.deptno;
+ $('#DeptNo').lrselect({
+ allowSearch: true,
+ value: "deptno",
+ text: "deptname",
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo',
+ select: function (item) {
+ if (item) {
+ $('#MajorNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
+ param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" }
+ });
+ } else {
+ $('#MajorNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
+ param: { strWhere: "1=1 AND CheckMark=1" }
+ });
}
- $('#MajorNo').lrselectRefresh({
- url: top.$.rootUrl + '/EducationalAdministration/CdMajor/GetListByDeptNo?DeptNo=' + deptno,
- text: "MajorName",
- value: "MajorNo"
- })
+
}
});
- $('#MajorNo').lrDataSourceSelect({
- code: 'CdMajorInfo', value: 'majorno', text: 'majorname', select:
- function (val) {
- var majorNo = '';
- if (val) {
- majorNo = val.MajorNo;
- }
- $('#ClassNo').lrselectRefresh({
- url: top.$.rootUrl + '/EducationalAdministration/ClassInfo/GetClassByMajorNo?majorNo=' + majorNo,
- text: "ClassName",
- value: "ClassNo"
- })
+ $('#MajorNo').lrselect({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
+ value: "majorno",
+ text: "majorname",
+ param: { strWhere: "1=1 AND CheckMark=1" },
+ select: function (item) {
+ var Grades = $("#Grade").lrselectGet();
+ if (Grades != null && Grades != "" && Grades != "undefined") {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "majorno='" + item.majorno + "' AND CheckMark=1 AND Grade='" + Grades + "' order by classno desc" }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
+ }
+ } else {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "majorno='" + item.majorno + "' AND CheckMark=1 order by classno desc" }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
+ }
+ }
+ }
+ });
+ $('#Grade').lrselect({
+ url: top.$.rootUrl + '/EducationalAdministration/ClassInfo/GenerateNearByYear',
+ value: "value",
+ text: "text",
+ select: function (item) {
+ var MajorNos = $("#MajorNo").lrselectGet();
+ if (MajorNos != null && MajorNos != "" && MajorNos != "undefined") {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: {
+ strWhere: "majorno='" + MajorNos + "' AND CheckMark=1 AND Grade='" + item.text + "' order by classno desc"
+ }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
+ }
+ } else {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: {
+ strWhere: "CheckMark=1 AND Grade='" + item.text + "' order by classno desc"
+ }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
+ }
}
+
+ }
+ });
+ $('#ClassNo').lrselect({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" },
+ value: "classno",
+ text: "classname"
});
- $('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' });
$('#FinishSchoolMark').lrselect({
data: [{ text: "已毕业", value: "2" }, { text: "准许毕业", value: "1" }, { text: "待准许", value: "0" }],
text: "text",
@@ -217,6 +299,7 @@ var bootstrap = function ($, learun) {
],
mainId: 'StuId',
isPage: true,
+ rows: 100,
isMultiselect: true,
});
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateReturnBooks.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateReturnBooks.cshtml
index b3a955fa3..b2e8e86a1 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateReturnBooks.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateReturnBooks.cshtml
@@ -20,10 +20,6 @@
姓名
-
+
准许毕业
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateReturnBooks.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateReturnBooks.js
index bfe5f5e4d..c72ab983f 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateReturnBooks.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateReturnBooks.js
@@ -10,34 +10,116 @@ var bootstrap = function ($, learun) {
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson);
}, 290, 400);
- $('#DeptNo').lrDataSourceSelect({
- code: 'CdDeptInfo', value: 'deptno', text: 'deptname', select: function (val) {
- var deptno = "";
- if (val) {
- deptno = val.deptno;
+ $('#DeptNo').lrselect({
+ allowSearch: true,
+ value: "deptno",
+ text: "deptname",
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo',
+ select: function (item) {
+ if (item) {
+ $('#MajorNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
+ param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" }
+ });
+ } else {
+ $('#MajorNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
+ param: { strWhere: "1=1 AND CheckMark=1" }
+ });
}
- $('#MajorNo').lrselectRefresh({
- url: top.$.rootUrl + '/EducationalAdministration/CdMajor/GetListByDeptNo?DeptNo=' + deptno,
- text: "MajorName",
- value: "MajorNo"
- })
+
}
});
- $('#MajorNo').lrDataSourceSelect({
- code: 'CdMajorInfo', value: 'majorno', text: 'majorname', select:
- function (val) {
- var majorNo = '';
- if (val) {
- majorNo = val.MajorNo;
+ $('#MajorNo').lrselect({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
+ value: "majorno",
+ text: "majorname",
+ param: { strWhere: "1=1 AND CheckMark=1" },
+ select: function (item) {
+ var Grades = $("#Grade").lrselectGet();
+ if (Grades != null && Grades != "" && Grades != "undefined") {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "majorno='" + item.majorno + "' AND CheckMark=1 AND Grade='" + Grades + "' order by classno desc" }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
+ }
+ } else {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "majorno='" + item.majorno + "' AND CheckMark=1 order by classno desc" }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
}
- $('#ClassNo').lrselectRefresh({
- url: top.$.rootUrl + '/EducationalAdministration/ClassInfo/GetClassByMajorNo?majorNo=' + majorNo,
- text: "ClassName",
- value: "ClassNo"
- })
}
+ }
+ });
+ $('#Grade').lrselect({
+ url: top.$.rootUrl + '/EducationalAdministration/ClassInfo/GenerateNearByYear',
+ value: "value",
+ text: "text",
+ select: function (item) {
+ var MajorNos = $("#MajorNo").lrselectGet();
+ if (MajorNos != null && MajorNos != "" && MajorNos != "undefined") {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: {
+ strWhere: "majorno='" + MajorNos + "' AND CheckMark=1 AND Grade='" + item.text + "' order by classno desc"
+ }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
+ }
+ } else {
+ if (item) {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: {
+ strWhere: "CheckMark=1 AND Grade='" + item.text + "' order by classno desc"
+ }
+ });
+ } else {
+ $('#ClassNo').lrselectRefresh({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
+ });
+ }
+ }
+
+ }
+ });
+ $('#ClassNo').lrselect({
+ allowSearch: true,
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj',
+ param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" },
+ value: "classno",
+ text: "classname"
});
- $('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' });
$('#FinishSchoolMark').lrselect({
data: [{ text: "已毕业", value: "2" }, { text: "准许毕业", value: "1" }, { text: "待准许", value: "0" }],
text: "text",
@@ -173,6 +255,7 @@ var bootstrap = function ($, learun) {
],
mainId: 'StuId',
isPage: true,
+ rows: 100,
isMultiselect: true,
});
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Form.js
index 6dfe0411e..134f5d2ce 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Form.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Form.js
@@ -15,8 +15,16 @@ var bootstrap = function ($, learun) {
page.initData();
},
bind: function () {
- $('#StuChangeType').lrDataItemSelect({
- code: 'StuChangeType', select: function (item) {
+ //$('#StuChangeType').lrDataItemSelect({
+ // code: 'StuChangeType',
+ // select: function (item) {
+ // console.log(item);
+ // }
+ //});
+ //异动类型下拉不显示复学、学籍关键信息更改、转入/进、;
+ $('#StuChangeType').lrselect({
+ data: [{ text: '留级', id: '01' }, { text: '转出/校', id: '02' }, { text: '退学', id: '05' }, { text: '休学', id: '06' }, { text: '转班', id: '07' }, { text: '转专业', id: '08' }],
+ select: function (item) {
if (item != null && item != undefined) {
var StuNo = $('#StuNo').val();
if (!StuNo) {
@@ -59,25 +67,6 @@ var bootstrap = function ($, learun) {
$('#OutSchool').attr("checkexpession", "NotNull");
$("#OutSchool").siblings('div').html($("#OutSchool").siblings('div').attr('data-title') + '
*');
$(".NewSchool").show();
- } else if (item.id === "03") { //复学
- $("#NewDeptNo").lrselectSet($("#DeptNo").lrselectGet());
- var timer2 = setInterval(function () {
- if ($("#NewDeptNo").lrselectGet()) {
- $("#NewMajorNo").lrselectSet($("#MajorNo").lrselectGet());
- console.log("系部赋值后,在赋值专业:" + $("#NewMajorNo").lrselectGet());
- clearInterval(timer2);
- }
- }, 1000);
- var timer3 = setInterval(function () {
- if ($("#NewMajorNo").lrselectGet()) {
- $("#NewClassNo").lrselectSet($("#ClassNo").lrselectGet());
- clearInterval(timer3);
- }
- }, 1000);
- } else if (item.id === "04") { //转入/进
- learun.alert.warning("异动转进请点击学籍信息管理-异动转入按钮!");
- $("#StuNo").val("");
- $("#StuName").val("");
}
else if (item.id === "05" || item.id === "06") { //退学、休学、
$(".NewContainer").find('.contentDiv').removeAttr("isvalid");
@@ -213,13 +202,8 @@ var bootstrap = function ($, learun) {
$('#OutSchool').attr("checkexpession", "NotNull");
$("#OutSchool").siblings('div').html($("#OutSchool").siblings('div').attr('data-title') + '
*');
$(".NewSchool").show();
- } else if (data[id].StuChangeType == "03") { //复学
- $(".NewContainer").find('.contentDiv').removeAttr('readonly');
- } else if (data[id].StuChangeType == "04") { //转入/进
- learun.alert.warning("异动转进请点击学籍信息管理-异动转入按钮!");
- $("#StuNo").val("");
- $("#StuName").val("");
- } else if (data[id].StuChangeType == "05" || data[id].StuChangeType == "06") { //退学、休学、
+ }
+ else if (data[id].StuChangeType == "05" || data[id].StuChangeType == "06") { //退学、休学、
$(".NewContainer").find('.contentDiv').removeAttr("isvalid");
$(".NewContainer").find('.contentDiv').removeAttr("checkexpession");
$(".NewContainer").find('.contentDiv').removeAttr('readonly');
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Index.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Index.cshtml
index 9a9b8447c..37c2510c8 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Index.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Index.cshtml
@@ -26,9 +26,13 @@
录入
修改
删除
-
审核
-
去审核
+ @*todo:带异动开发完成,解除注释*@
+ @*
审核
+
去审核*@
+ @**@
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Index.js
index 76ceab8f3..823e32372 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Index.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Index.js
@@ -99,6 +99,11 @@ var bootstrap = function ($, learun) {
learun.alert.warning("当前项目未审核无法去审!");
return;
}
+ var GoBackStatus = $('#gridtable').jfGridValue('GoBackStatus');
+ if (GoBackStatus == 1) {
+ learun.alert.warning("当前休学项已复学,无法去审!");
+ return;
+ }
learun.layerConfirm('是否确认去审核该项!', function (res) {
if (res) {
learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasicChange/UnCheckForm', { keyValue: keyValue }, function () {
@@ -108,10 +113,40 @@ var bootstrap = function ($, learun) {
});
}
});
+
+ // 复学
+ $('#lr_goback').on('click', function () {
+ var keyValue = $('#gridtable').jfGridValue('Id');
+ if (learun.checkrow(keyValue)) {
+ //对已审核&休学&未复学
+ var StuChangeType = $('#gridtable').jfGridValue('StuChangeType');
+ if (StuChangeType != "06") {
+ learun.alert.warning("当前项异动类型不是休学,无法复学!");
+ return;
+ }
+ var CheckStatus = $('#gridtable').jfGridValue('CheckStatus');
+ if (CheckStatus != 1) {
+ learun.alert.warning("当前休学项未审核,无法复学!");
+ return;
+ }
+ var GoBackStatus = $('#gridtable').jfGridValue('GoBackStatus');
+ if (GoBackStatus == 1) {
+ learun.alert.warning("当前休学项已复学!");
+ return;
+ }
+ learun.layerConfirm('是否确认复学该项!', function (res) {
+ if (res) {
+ learun.deleteForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasicChange/DoGoBack', { keyValue: keyValue }, function () {
+ refreshGirdData();
+ });
+ }
+ });
+ }
+ });
},
// 初始化列表
initGird: function () {
- $('#gridtable').lrAuthorizeJfGrid({
+ $('#gridtable').jfGrid({
url: top.$.rootUrl + '/EducationalAdministration/StuInfoBasicChange/GetPageList',
headData: [
{ label: "学号", name: "StuNo", width: 100, align: "left" },
@@ -230,6 +265,14 @@ var bootstrap = function ($, learun) {
return cellvalue == "1" ? "已审核" : "未审核";
}
},
+ {
+ label: "复学状态", name: "GoBackStatus", width: 100, align: "left",
+ formatter: function (cellvalue) {
+ return cellvalue == "1" ? "已复学" : "未复学";
+ }
+ },
+ { label: "复学时间", name: "GoBackTime", width: 150, align: "left" },
+
],
mainId: 'Id',
isPage: true,
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StudentCertificate/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StudentCertificate/Form.cshtml
index 58b5233ba..2862393b1 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StudentCertificate/Form.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StudentCertificate/Form.cshtml
@@ -3,49 +3,57 @@
Layout = "~/Views/Shared/_Form.cshtml";
}