Просмотр исходного кода

【增加】异动管理:增加综合查询按钮和选项卡。

新疆警官学校中职
dyy 1 год назад
Родитель
Сommit
05e0b93f36
6 измененных файлов: 165 добавлений и 0 удалений
  1. +54
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuTransferInfoController.cs
  2. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/Index.cshtml
  3. +18
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/Index.js
  4. +51
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/QueryBasicInfo.cshtml
  5. +39
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/QueryBasicInfo.js
  6. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj

+ 54
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuTransferInfoController.cs Просмотреть файл

@@ -112,6 +112,60 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
{
return View();
}
/// <summary>
/// 综合查询-基本信息
/// </summary>
/// <returns></returns>
[HttpGet]
public ActionResult QueryBasicInfo()
{
return View();
}
/// <summary>
/// 综合查询-成绩查看
/// </summary>
/// <returns></returns>
[HttpGet]
public ActionResult QueryScoreIndex()
{
return View();
}
/// <summary>
/// 综合查询-奖助学金查看
/// </summary>
/// <returns></returns>
[HttpGet]
public ActionResult QueryScholarshipIndex()
{
return View();
}
/// <summary>
/// 综合查询-心理健康档案
/// </summary>
/// <returns></returns>
[HttpGet]
public ActionResult QueryAPStuHealthIndex()
{
return View();
}
/// <summary>
/// 综合查询-兵役信息
/// </summary>
/// <returns></returns>
[HttpGet]
public ActionResult QueryMSRMilitaryIndex()
{
return View();
}
/// <summary>
/// 综合查询-奖惩信息
/// </summary>
/// <returns></returns>
[HttpGet]
public ActionResult QueryStuEncourgementIndex()
{
return View();
}

#endregion



+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/Index.cshtml Просмотреть файл

@@ -95,6 +95,7 @@
</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>
<a id="lr_compoundQuery" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;综合查询</a>
</div>
</div>
</div>


+ 18
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/Index.js Просмотреть файл

@@ -119,6 +119,24 @@ var bootstrap = function ($, learun) {
});
}
});
// 综合查询
$('#lr_compoundQuery').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('ID');
if (learun.checkrow(keyValue)) {
if (keyValue.indexOf(',') != -1) {
learun.alert.warning("只能选择一条记录进行查看!");
return;
}
learun.layerForm({
id: 'QueryBasicInfo',
title: '综合查询',
url: top.$.rootUrl + '/EducationalAdministration/StuTransferInfo/QueryBasicInfo?keyValue=' + keyValue,
width: 1200,
height: 800,
btn: null
});
}
});
},
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({


+ 51
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/QueryBasicInfo.cshtml Просмотреть файл

@@ -0,0 +1,51 @@
@{
ViewBag.Title = "综合查询-基本信息";
Layout = "~/Views/Shared/_Form.cshtml";
}

<style>
#tab2 > .lr-scroll-box,
#tab3 > .lr-scroll-box,
#tab4 > .lr-scroll-box,
#tab5 > .lr-scroll-box,
#tab6 > .lr-scroll-box {
height: 100%;
width: 100%;
}
</style>
<script>
</script>
<div class="lr-form-tabs" id="lr_form_tabs">
<ul class="nav nav-tabs">
<li><a data-value="tab1">基本资料</a></li>
<li><a data-value="tab2">成绩查看</a></li>
<li><a data-value="tab3">奖助学金查看</a></li>
<li><a data-value="tab4">心理健康档案</a></li>
<li><a data-value="tab5">兵役信息</a></li>
<li><a data-value="tab6">奖惩信息</a></li>
</ul>
</div>
<div class="tab-content lr-tab-content" id="lr_tab_content">
<div class="lr-form-wrap tab-pane" id="tab1">
<div>todo</div>
</div>
<div class="lr-form-wrap tab-pane" id="tab2" style="overflow-y: auto;">
<iframe id="QueryScoreIndex" width="100%" scrolling="no" height="100%" frameborder="0"></iframe>
</div>
<div class="lr-form-wrap tab-pane" id="tab3">
<iframe id="QueryScholarshipIndex" width="100%" scrolling="no" height="100%" frameborder="0"></iframe>
</div>
<div class="lr-form-wrap tab-pane" id="tab4">
<iframe id="QueryAPStuHealthIndex" width="100%" scrolling="no" height="100%" frameborder="0"></iframe>
</div>
<div class="lr-form-wrap tab-pane" id="tab5">
<iframe id="QueryMSRMilitaryIndex" width="100%" scrolling="no" height="100%" frameborder="0"></iframe>
</div>
<div class="lr-form-wrap tab-pane" id="tab6">
<iframe id="QueryStuEncourgementIndex" width="100%" scrolling="no" height="100%" frameborder="0"></iframe>
</div>
</div>


@Html.AppendJsFile("/Areas/EducationalAdministration/Views/StuTransferInfo/QueryBasicInfo.js")

+ 39
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/QueryBasicInfo.js Просмотреть файл

@@ -0,0 +1,39 @@
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
* 创建人:超级管理员
* 日 期:2023-01-04 15:03
* 描 述:综合查询-基本信息
*/
var acceptClick;
var keyValue = request('keyValue');
console.log(keyValue);
var bootstrap = function ($, learun) {
"use strict";
var page = {
init: function () {
page.bind();
page.initData();
},
bind: function () {
//选项卡
$("#QueryScoreIndex").attr("src", "/EducationalAdministration/StuTransferInfo/QueryScoreIndex?keyValue=" + keyValue);
$("#QueryScholarshipIndex").attr("src", "/EducationalAdministration/StuTransferInfo/QueryScholarshipIndex?keyValue=" + keyValue);
$("#QueryAPStuHealthIndex").attr("src", "/EducationalAdministration/StuTransferInfo/QueryAPStuHealthIndex?keyValue=" + keyValue);
$("#QueryMSRMilitaryIndex").attr("src", "/EducationalAdministration/StuTransferInfo/QueryMSRMilitaryIndex?keyValue=" + keyValue);
$("#QueryStuEncourgementIndex").attr("src", "/EducationalAdministration/StuTransferInfo/QueryStuEncourgementIndex?keyValue=" + keyValue);
$('#lr_form_tabs').lrFormTab();
$('#lr_form_tabs ul li').eq(0).trigger('click');

},
initData: function () {
if (!!keyValue) {
}
}
};
// 保存数据
acceptClick = function (callBack) {
};
page.init();
}

+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj Просмотреть файл

@@ -1365,6 +1365,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\QueryBasicInfo.js" />
<Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\FormView.js" />
<Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\IndexQuery.js" />
<Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\RolloffIndex.js" />
@@ -8076,6 +8077,7 @@
<Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\RolloffIndex.cshtml" />
<Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\FormView.cshtml" />
<Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\IndexQuery.cshtml" />
<Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\QueryBasicInfo.cshtml" />
<None Include="Properties\PublishProfiles\CustomProfile.pubxml" />
<None Include="Properties\PublishProfiles\FolderProfile.pubxml" />
<Content Include="Views\Login\Default-beifen.cshtml" />


Загрузка…
Отмена
Сохранить