浏览代码

学籍异动审核页面

新疆警官学校中职
ndbs 1年前
父节点
当前提交
7b79806b25
共有 5 个文件被更改,包括 84 次插入7 次删除
  1. +9
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuTransferInfoController.cs
  2. +15
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/CheckForm.cshtml
  3. +43
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/CheckForm.js
  4. +15
    -7
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/CheckIndex.js
  5. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj

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

@@ -97,6 +97,15 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
{ {
return View(); return View();
} }
/// <summary>
/// 审核页
/// </summary>
/// <returns></returns>
[HttpGet]
public ActionResult CheckForm()
{
return View();
}
#endregion #endregion


#region 获取数据 #region 获取数据


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

@@ -0,0 +1,15 @@
@{
ViewBag.Title = "学籍异动列表审核";
Layout = "~/Views/Shared/_Form.cshtml";
}
<div class="lr-form-wrap" id="form">
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">审核状态<font face="宋体">*</font></div>
<div id="F_EnabledMark" isvalid="yes"></div>
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">审核用户<font face="宋体">*</font></div>
<input id="CheckUserId" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" readonly/>
</div>
</div>
@Html.AppendJsFile("/Areas/EducationalAdministration/Views/StuTransferInfo/CheckForm.js")

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

@@ -0,0 +1,43 @@
/* * 版 本 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.initData();
page.bind();
},
bind: function () {
$('#F_EnabledMark').lrselect({
data: [{ text: "同意", value: "1" }, { text: "作废", value: "2" }],
text: "text",
value: "value"
});
$('#CheckUserId')[0].lrvalue = learun.clientdata.get(['userinfo']).userId;
$('#CheckUserId').val(learun.clientdata.get(['userinfo']).realName);
},
initData: function () {
}
};
// 保存数据
acceptClick = function (callBack) {
if (!$('#form').lrValidform()) {
return false;
}
var postData = $('#form').lrGetFormData();
$.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/StuTransferInfo/CheckForm?keyValue=' + keyValue, postData, function (res) {
// 保存成功后才回调
if (!!callBack) {
callBack();
}
});
};
page.init();
}

+ 15
- 7
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/CheckIndex.js 查看文件

@@ -46,17 +46,25 @@ var bootstrap = function ($, learun) {
// 审核 // 审核
$('#lr_check').on('click', function () { $('#lr_check').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('ID'); var keyValue = $('#gridtable').jfGridValue('ID');
console.log(keyValue, "keyValue")
if (learun.checkrow(keyValue)) { if (learun.checkrow(keyValue)) {
var CheckMark = $('#gridtable').jfGridValue('CheckMark');
var CheckMark = $('#gridtable').jfGridValue('F_EnabledMark');
if (CheckMark.indexOf('1') != -1) { if (CheckMark.indexOf('1') != -1) {
learun.alert.warning("选中记录中包含已审核项,已审核项不能二次审核!");
learun.alert.warning("选中记录中包含已审核项,已审核项不能二次审核!");
return; return;
} }
learun.layerConfirm('是否确认审核选中项进行学籍异动,该项不可逆转!', function (res) {
if (res) {
learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuTransferInfo/CheckForm', { keyValue: keyValue }, function () {
refreshGirdData();
});
if (CheckMark.indexOf('2') != -1) {
learun.alert.warning("选中记录中包含已作废项,不可审核!");
return;
}
learun.layerForm({
id: 'form',
title: '审核页面',
url: top.$.rootUrl + '/EducationalAdministration/StuTransferInfo/CheckForm?keyValue=' + keyValue,
width: 400,
height: 300,
callBack: function (id) {
return top[id].acceptClick(refreshGirdData);
} }
}); });
} }


+ 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\ScoreQueryAllIndexTeacher.js" />
<Content Include="Areas\EducationalAdministration\Views\StuScore\ScoreQueryAllIndex.js" /> <Content Include="Areas\EducationalAdministration\Views\StuScore\ScoreQueryAllIndex.js" />
<Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\CheckIndex.js" /> <Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\CheckIndex.js" />
<Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\CheckForm.js" />
<Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\RolloffIndex.js" /> <Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\RolloffIndex.js" />
<Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\ReturnIndex.js" /> <Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\ReturnIndex.js" />
<Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\IntoIndex.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\IntoIndex.cshtml" />
<Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\ReturnIndex.cshtml" /> <Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\ReturnIndex.cshtml" />
<Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\RolloffIndex.cshtml" /> <Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\RolloffIndex.cshtml" />
<Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\CheckForm.cshtml" />
<None Include="Properties\PublishProfiles\CustomProfile.pubxml" /> <None Include="Properties\PublishProfiles\CustomProfile.pubxml" />
<None Include="Properties\PublishProfiles\FolderProfile.pubxml" /> <None Include="Properties\PublishProfiles\FolderProfile.pubxml" />
<Content Include="Views\Login\Default-beifen.cshtml" /> <Content Include="Views\Login\Default-beifen.cshtml" />


正在加载...
取消
保存