Browse Source

西昌新生状态统计,导出

大厂分支
zhichao lei 4 years ago
parent
commit
2216a8b4cc
4 changed files with 315 additions and 0 deletions
  1. +5
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoFreshController.cs
  2. +31
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/StatusView.cshtml
  3. +277
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/StatusView.js
  4. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj

+ 5
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoFreshController.cs View File

@@ -57,6 +57,11 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
return View();
}
[HttpGet]
public ActionResult StatusView()
{
return View();
}
[HttpGet]
public ActionResult PrintSignFlow(string Id)
{
if (!string.IsNullOrEmpty(Id))


+ 31
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/StatusView.cshtml View File

@@ -0,0 +1,31 @@
@{
ViewBag.Title = "新生信息状态查看";
Layout = "~/Views/Shared/_Index.cshtml";
}
<div class="lr-layout ">
<div class="lr-layout-center">
<div class="lr-layout-wrap lr-layout-wrap-notitle">
<div class="lr-layout-tool">
<div class="lr-layout-tool-left">
<div class="lr-layout-tool-item">
<input id="txt_Keyword" type="text" class="form-control" placeholder="考生号/准考证号/姓名/身份证号" />
<input id="Grade" type="text" class="form-control" placeholder="年级" />
</div>
<div class="lr-layout-tool-item">
<a id="btn_Search" class="btn btn-primary btn-sm"><i class="fa fa-search"></i>&nbsp;查询</a>
</div>
</div>
<div class="lr-layout-tool-right">
<div class=" btn-group btn-group-sm">
<a id="lr_refresh" class="btn btn-default"><i class="fa fa-refresh"></i></a>
</div>
<div class=" btn-group btn-group-sm" learun-authorize="yes">
<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>
</div>
</div>
</div>
@Html.AppendJsFile("/Areas/EducationalAdministration/Views/StuInfoFresh/StatusView.js")

+ 277
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/StatusView.js View File

@@ -0,0 +1,277 @@
/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn)
* Copyright (c) 2013-2018 北京泉江科技有限公司
* 创建人:超级管理员
* 日 期:2019-08-08 17:21
* 描 述:新生信息管理
*/
var selectedRow;
var refreshGirdData;
var bootstrap = function ($, learun) {
"use strict";
var page = {
init: function () {
page.initGird();
page.bind();
},
bind: function () {
// 查询
$('#btn_Search').on('click', function () {
var keyword = $('#txt_Keyword').val();
var Grade = $('#Grade').val();
page.search({ keyword: keyword, Grade: Grade });
});
// 刷新
$('#lr_refresh').on('click', function () {
location.reload();
});
// 查看
$('#lr_view').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('ID');
selectedRow = $('#gridtable').jfGridGet('rowdata');
if (learun.checkrow(keyValue)) {
learun.layerForm({
id: 'form',
title: '查看',
url: top.$.rootUrl + '/EducationalAdministration/StuInfoFresh/FormView?keyValue=' + keyValue,
width: 1200,
height: 700,
btn: null
});
}
});

},
initGird: function () {
$('#gridtable').jfGrid({
url: top.$.rootUrl + '/EducationalAdministration/StuInfoFresh/GetPageList',
headData: [
{ label: '考生号', name: 'ksh', width: 150, align: "left" },
{ label: '准考证号', name: 'zkzh', width: 150, align: "left" },
{ label: '学号', name: 'StuNo', width: 100, align: "left" },
{ label: '年级', name: 'Grade', width: 100, align: "left" },
{ label: '姓名', name: 'StuName', width: 100, align: "left" },
{
label: '是否完善信息', name: 'ID', width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) {

learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'DirectRelatives',
key: row.ID,
keyId: 'stuinfofreshid',
callback: function (_data) {
var a = _data['id'];
if (a == undefined) {
callback("<span class=\"label label-warning\">未完善</span>");
} else {
callback("<span class=\"label label-success\">已完善</span>");
}
}
});
}
},
{
label: '是否生成学籍', name: 'IsInBasic', width: 100, align: "left", formatter: function (cellvalue) {
return cellvalue == true ? "<span class=\"label label-success\">是</span>" : "<span class=\"label label-warning\">否</span>";
}
},
{
label: '线上缴费状态', name: 'PayFeeStatus', width: 100, align: "left", formatter: function (value) {
return value == 1 ? "<span class=\"label label-success\">已缴费</span>" : "<span class=\"label label-warning\">未缴费</span>";
}
},
{ label: '线上缴费时间', name: 'PayFeeDate', width: 130, align: "left" },
{
label: '助学贷款状态', name: 'StudentLoanStatus', width: 100, align: "left", formatter: function (value) {
return value == 1 ? "<span class=\"label label-success\">已审核</span>" : "<span class=\"label label-warning\">未审核</span>";
}
},
{
label: '现场缴费状态', name: 'OnsitePayFeeStatus', width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', {
key: value,
code: 'OnsitePayStatus',
callback: function (_data) {
//callback(_data.text);
if (_data.text) {
if (_data.text == "已缴费") {
callback('<span class=\"label label-success\">' + _data.text + '</span>');
} else {
callback('<span class=\"label label-warning\">' + _data.text + '</span>');
}
} else {
callback('<span class=\"label label-warning\">未缴费</span>');
}
}
});
}
},
{
label: '其他费用缴费状态', name: 'OtherPayFeeStatus', width: 100, align: "left", formatter: function (value) {
return value == 1 ? "<span class=\"label label-success\">已缴费</span>" : "<span class=\"label label-warning\">未缴费</span>";
}
},
{ label: '其他费用缴费时间', name: 'OtherPayFeeDate', width: 130, align: "left" },
{
label: '报到状态', name: 'RegisterStatus', width: 100, align: "left", formatter: function (value) {
return value == 1 ? "<span class=\"label label-success\">已报到</span>" : "<span class=\"label label-warning\">未报到</span>";
}
},
{ label: '报到时间', name: 'ArriveDate', width: 130, align: "left" },
{
label: '收取档案状态', name: 'CollectFileStatus', width: 100, align: "left", formatter: function (value) {
return value == 1 ? "<span class=\"label label-success\">已收取</span>" : "<span class=\"label label-warning\">未收取</span>";
}
},
{ label: '收取档案时间', name: 'CollectFileDate', width: 130, align: "left" },
{
label: '领取钥匙状态', name: 'GetKeyStatus', width: 100, align: "left", formatter: function (value) {
return value == 1 ? "<span class=\"label label-success\">已领取</span>" : "<span class=\"label label-warning\">未领取</span>";
}
},
{ label: '领取钥匙时间', name: 'GetKeyDate', width: 130, align: "left" },
{
label: '领取校园卡状态', name: 'GetCardStatus', width: 100, align: "left", formatter: function (value) {
return value == 1 ? "<span class=\"label label-success\">已领取</span>" : "<span class=\"label label-warning\">未领取</span>";
}
},
{ label: '领取校园卡时间', name: 'GetCardDate', width: 130, align: "left" },
{
label: '系', name: 'DeptNo', width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo',
key: value,
keyId: 'deptno',
callback: function (_data) {
callback(_data['deptname']);
}
});
}
},
{
label: '专业', name: 'MajorNo', width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdMajorInfo',
key: value,
keyId: 'majorno',
callback: function (_data) {
callback(_data['majorname']);
}
});
}
},
{
label: '班级', name: 'ClassNo', width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'bjsj',
key: value,
keyId: 'classno',
callback: function (_data) {
callback(_data['classname']);
}
});
}
},
{
label: '性别', name: 'GenderNo', width: 80, align: "left", formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', {
key: value,
code: 'usersex',
callback: function (_data) {
callback(_data.text);
}
});
}
},
{ label: '身份证号', name: 'IdentityCardNo', width: 150, align: "left" },
{
label: '民族', name: 'NationalityNo', width: 80, align: "left", formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality',
key: value,
keyId: 'nationalityno',
callback: function (_data) {
callback(_data['nationality']);
}
});
}
},
{
label: '考生类别', name: 'FamilyOriginNo', width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', {
key: value,
code: 'ExamineeCategory',
callback: function (_data) {
callback(_data.text);
}
});
}
},
{
label: '考生类型', name: 'TestStuSortNo', width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', {
key: value,
code: 'ExamineeType',
callback: function (_data) {
callback(_data.text);
}
});
}
},
{
label: '科类', name: 'TestStuSubjectNo', width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', {
key: value,
code: 'SubjectType',
callback: function (_data) {
callback(_data.text);
}
});
}
},
{ label: '高考总分', name: 'HighAmountScore', width: 100, align: "left" },
{ label: '第几志愿', name: 'WillNo', width: 80, align: "left" },
{
label: '录取专业', name: 'RecruitMajorNo', width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdMajorInfo',
key: value,
keyId: 'majorno',
callback: function (_data) {
callback(_data['majorname']);
}
});
}
},
{
label: '录取方式', name: 'MatriculateSort', width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', {
key: value,
code: 'EnrollStyle',
callback: function (_data) {
callback(_data.text);
}
});
}
},
{ label: '语文', name: 'ChineseScore', width: 100, align: "left" },
{ label: '数学', name: 'MathScore', width: 100, align: "left" },
{ label: '英语', name: 'ForeignLangScore', width: 100, align: "left" },
{ label: '综合', name: 'ComprehensiveScore', width: 100, align: "left" },
],
mainId: 'ID',
isPage: true,
sidx: 'StuNo',
sord: 'desc'
});
page.search();
},
search: function (param) {
param = param || {};
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};
refreshGirdData = function () {
page.search();
};
page.init();
}

+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj View File

@@ -952,6 +952,7 @@
<Content Include="Areas\EducationalAdministration\Views\StuInfoBasic\MyClass.js" />
<Content Include="Areas\EducationalAdministration\Views\StuInfoBasic\Print.css" />
<Content Include="Areas\EducationalAdministration\Views\StuInfoFresh\AllocationClassDC.js" />
<Content Include="Areas\EducationalAdministration\Views\StuInfoFresh\StatusView.js" />
<Content Include="Areas\EducationalAdministration\Views\StuInfoFresh\OnsitePayForm.js" />
<Content Include="Areas\EducationalAdministration\Views\StuInfoFresh\LoanForm.js" />
<Content Include="Areas\EducationalAdministration\Views\StuInfoFresh\FormDC.js" />
@@ -6816,6 +6817,7 @@
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\IssueForm.cshtml" />
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\ReadList.cshtml" />
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveFile\IndexGWJS.cshtml" />
<Content Include="Areas\EducationalAdministration\Views\StuInfoFresh\StatusView.cshtml" />
<None Include="Properties\PublishProfiles\FolderProfile.pubxml" />
<Content Include="Views\Login\Default-beifen.cshtml" />
<None Include="Properties\PublishProfiles\FolderProfile1.pubxml" />


Loading…
Cancel
Save