浏览代码

【增加】学籍异动管理增加查看页面;

新疆警官学校中职
dyy 1年前
父节点
当前提交
72af7282c4
共有 6 个文件被更改,包括 227 次插入1 次删除
  1. +10
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuTransferInfoController.cs
  2. +105
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/FormView.cshtml
  3. +93
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/FormView.js
  4. +3
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/Index.cshtml
  5. +14
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/Index.js
  6. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj

+ 10
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuTransferInfoController.cs 查看文件

@@ -34,6 +34,11 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
{
return View();
}
[HttpGet]
public ActionResult FormView()
{
return View();
}
/// <summary>
/// 表单页
/// </summary>
@@ -145,7 +150,11 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
public ActionResult GetFormData(string keyValue)
{
var data = stuTransferInfoIBLL.GetEntity(keyValue);
return Success(data);
var jsonData = new
{
StuTransferInfo = data
};
return Success(jsonData);
}
#endregion



+ 105
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/FormView.cshtml 查看文件

@@ -0,0 +1,105 @@
@{
ViewBag.Title = "学籍异动列表";
Layout = "~/Views/Shared/_Form.cshtml";
}
<div class="lr-form-wrap" id="form">
<div class="col-xs-3 lr-form-item" data-table="StuTransferInfo">
<div class="lr-form-item-title">姓名</div>
<input id="StuName" type="text" class="form-control" readonly="readonly" />
</div>
<div class="col-xs-3 lr-form-item" data-table="StuTransferInfo">
<div class="lr-form-item-title">学号</div>
<input id="StuNo" type="text" class="form-control" readonly="readonly" />
</div>
<div class="col-xs-3 lr-form-item" data-table="StuTransferInfo">
<div class="lr-form-item-title">性别</div>
<div id="Gender" readonly="readonly"></div>
</div>
<div class="col-xs-3 lr-form-item" data-table="StuTransferInfo">
<div class="lr-form-item-title">证件号码</div>
<input id="IdentityCardNo" type="text" class="form-control" readonly="readonly" />
</div>
<div class="col-xs-3 lr-form-item" data-table="StuTransferInfo">
<div class="lr-form-item-title">异动类型</div>
<div id="AnomalousType" readonly="readonly"></div>
</div>
<div class="col-xs-3 lr-form-item" data-table="StuTransferInfo">
<div class="lr-form-item-title">是否保留学籍</div>
<div id="StuStatus" readonly="readonly"></div>
</div>
<div class="col-xs-3 lr-form-item" data-table="StuTransferInfo">
<div class="lr-form-item-title">申请人</div>
<div id="CreateUserId" readonly="readonly"></div>
</div>
<div class="col-xs-3 lr-form-item" data-table="StuTransferInfo">
<div class="lr-form-item-title">申请时间</div>
<input id="CreateTime" type="text" class="form-control lr-input-wdatepicker" readonly="readonly" />
</div>
<div class="col-xs-9 lr-form-item" data-table="StuTransferInfo">
<div class="lr-form-item-title">休学年限</div>
<input id="SuspensionPeriod" type="text" class="form-control" readonly="readonly" />
</div>
<div class="col-xs-3 lr-form-item" data-table="StuTransferInfo">
<div class="lr-form-item-title">生效状态</div>
<div id="F_EnabledMark" readonly="readonly"></div>
</div>
<div class="col-xs-3 lr-form-item" data-table="StuTransferInfo">
<div class="lr-form-item-title">异动前班级</div>
<div id="ClassNo" readonly="readonly" ></div>
</div>
<div class="col-xs-3 lr-form-item" data-table="StuTransferInfo">
<div class="lr-form-item-title">异动前年级</div>
<div id="Grade" readonly="readonly" ></div>
</div>
<div class="col-xs-3 lr-form-item" data-table="StuTransferInfo">
<div class="lr-form-item-title">异动前专业</div>
<div id="MajorNo" readonly="readonly" ></div>
</div>
<div class="col-xs-3 lr-form-item" data-table="StuTransferInfo">
<div class="lr-form-item-title">异动前系部</div>
<div id="DeptNo" readonly="readonly" ></div>
</div>
<div class="col-xs-3 lr-form-item" data-table="StuTransferInfo">
<div class="lr-form-item-title">异动后班级</div>
<div id="NewClassNo" readonly="readonly" ></div>
</div>
<div class="col-xs-3 lr-form-item" data-table="StuTransferInfo">
<div class="lr-form-item-title">异动后年级</div>
<div id="NewGrade" readonly="readonly" ></div>
</div>
<div class="col-xs-3 lr-form-item" data-table="StuTransferInfo">
<div class="lr-form-item-title">异动后专业</div>
<div id="NewMajorNo" readonly="readonly" ></div>
</div>
<div class="col-xs-3 lr-form-item" data-table="StuTransferInfo">
<div class="lr-form-item-title">异动后系部</div>
<div id="NewDeptNo" readonly="readonly" ></div>
</div>
<div class="col-xs-12 lr-form-item" data-table="StuTransferInfo">
<div class="lr-form-item-title">异动原因</div>
<input id="ChangeReason" type="text" class="form-control" readonly="readonly" />
</div>
<div class="col-xs-3 lr-form-item" data-table="StuTransferInfo">
<div class="lr-form-item-title">离班日期</div>
<input id="EnteDate" type="text" class="form-control lr-input-wdatepicker" readonly="readonly" />
</div>
<div class="col-xs-3 lr-form-item" data-table="StuTransferInfo">
<div class="lr-form-item-title">审核人</div>
<div id="CheckUserId" readonly="readonly"></div>
</div>
<div class="col-xs-3 lr-form-item" data-table="StuTransferInfo">
<div class="lr-form-item-title">审核状态</div>
<div id="F_EnabledMark2" readonly="readonly"></div>
</div>
<div class="col-xs-3 lr-form-item" data-table="StuTransferInfo">
<div class="lr-form-item-title">审核时间</div>
<input id="CheckTime" type="text" class="form-control lr-input-wdatepicker" readonly="readonly" />
</div>
<div class="col-xs-12 lr-form-item" data-table="StuTransferInfo">
<div class="lr-form-item-title">审核意见</div>
<input id="Remark" type="text" class="form-control" readonly="readonly" />
</div>


</div>
@Html.AppendJsFile("/Areas/EducationalAdministration/Views/StuTransferInfo/FormView.js")

+ 93
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/FormView.js 查看文件

@@ -0,0 +1,93 @@
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
* 创建人:超级管理员
* 日 期:2023-01-04 15:03
* 描 述:学籍异动列表
*/
var acceptClick;
var keyValue = request('keyValue');
var bootstrap = function ($, learun) {
"use strict";
var page = {
init: function () {
page.bind();
page.initData();
},
bind: function () {
$('#Gender').lrDataItemSelect({ code: 'usersexbit' });
$('#AnomalousType').lrDataItemSelect({ code: 'StuChangeType' });
$('#StuStatus').lrDataItemSelect({ code: 'YesOrNoInt' });
$('#F_EnabledMark').lrselect({ data: [{ id: '0', text: '未生效' }, { id: '1', text: '已生效' }]});
$('#F_EnabledMark2').lrselect({ data: [{ id: '0', text: '未审核' }, { id: '1', text: '已审核' }] });
$('#CreateUserId').lrDataSourceSelect({ code: 'BaseUser', value: 'f_userid', text: 'f_realname' });
$('#CheckUserId').lrDataSourceSelect({ code: 'BaseUser', value: 'f_userid', text: 'f_realname' });
$('#NewDeptNo').lrselect({
allowSearch: true,
value: "deptno",
text: "deptname",
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo',
});
$('#NewMajorNo').lrselect({
allowSearch: true,
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
value: "majorno",
text: "majorname",
param: { strWhere: "1=1 AND CheckMark=1" },
});
$('#NewGrade').lrselect({
url: top.$.rootUrl + '/EducationalAdministration/ClassInfo/GenerateNearByYear',
value: "value",
text: "text",
});
$('#NewClassNo').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"
});
$('#DeptNo').lrselect({
allowSearch: true,
value: "deptno",
text: "deptname",
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo',
});
$('#MajorNo').lrselect({
allowSearch: true,
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
value: "majorno",
text: "majorname",
param: { strWhere: "1=1 AND CheckMark=1" },
});
$('#Grade').lrselect({
url: top.$.rootUrl + '/EducationalAdministration/ClassInfo/GenerateNearByYear',
value: "value",
text: "text",
});
$('#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"
});
},
initData: function () {
if (!!keyValue) {
$.lrSetForm(top.$.rootUrl + '/EducationalAdministration/StuTransferInfo/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]);
}
}
$('#F_EnabledMark2').lrselectSet(data[id].F_EnabledMark);
});
}
}
};
page.init();
}

+ 3
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/Index.cshtml 查看文件

@@ -93,6 +93,9 @@
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;编辑</a>
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
</div>
<div class=" btn-group btn-group-sm">
<a id="lr_view" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;查看</a>
</div>
</div>
</div>
<div class="lr-layout-body" id="gridtable"></div>


+ 14
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/Index.js 查看文件

@@ -101,6 +101,20 @@ var bootstrap = function ($, learun) {
$('#lr_refresh').on('click', function () {
location.reload();
});
// 查看
$('#lr_view').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('ID');
if (learun.checkrow(keyValue)) {
learun.layerForm({
id: 'formview',
title: '查看',
url: top.$.rootUrl + '/EducationalAdministration/StuTransferInfo/FormView?keyValue=' + keyValue,
width: 1000,
height: 600,
btn: null
});
}
});
},
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({


+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj 查看文件

@@ -1362,6 +1362,7 @@
<Content Include="Areas\EducationalAdministration\Views\StuScore\ScoreQueryAllIndexTeacher.js" />
<Content Include="Areas\EducationalAdministration\Views\StuScore\ScoreQueryAllIndex.js" />
<Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\CheckIndex.js" />
<Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\FormView.js" />
<Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\RolloffIndex.js" />
<Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\ReturnIndex.js" />
<Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\IntoIndex.js" />
@@ -8049,6 +8050,7 @@
<Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\IntoIndex.cshtml" />
<Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\ReturnIndex.cshtml" />
<Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\RolloffIndex.cshtml" />
<Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\FormView.cshtml" />
<None Include="Properties\PublishProfiles\CustomProfile.pubxml" />
<None Include="Properties\PublishProfiles\FolderProfile.pubxml" />
<Content Include="Views\Login\Default-beifen.cshtml" />


正在加载...
取消
保存