Browse Source

提交统计

yanshi
edy 3 years ago
parent
commit
4096ae365c
31 changed files with 371 additions and 652 deletions
  1. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoBasicController.cs
  2. +11
    -14
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js
  3. +4
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/PrintXJ.cshtml
  4. +50
    -23
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Controllers/SW_Ask_MainController.cs
  5. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/ClassBurse.cshtml
  6. +7
    -20
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/ClassBurse.js
  7. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/ClassDifficulyt.cshtml
  8. +7
    -20
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/ClassDifficulyt.js
  9. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/ClassFellowship.cshtml
  10. +7
    -20
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/ClassFellowship.js
  11. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/ClassSubsidy.cshtml
  12. +7
    -20
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/ClassSubsidy.js
  13. +5
    -18
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/MajorBurse.js
  14. +4
    -17
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/MajorDifficulyt.js
  15. +4
    -17
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/MajorFellowship.js
  16. +4
    -17
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/MajorsSubsidy.js
  17. +7
    -21
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/SchoolBurse.js
  18. +7
    -21
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/SchoolDifficulyt.js
  19. +7
    -21
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/SchoolFellowship.js
  20. +7
    -21
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/SchoolSubsidy.js
  21. +0
    -35
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/TeacherBurse.cshtml
  22. +0
    -85
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/TeacherBurse.js
  23. +0
    -35
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/TeacherFellowship.cshtml
  24. +0
    -85
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/TeacherFellowship.js
  25. +0
    -35
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/TeacherSubsidy.cshtml
  26. +0
    -85
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/TeacherSubsidy.js
  27. +0
    -6
      Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
  28. +57
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/StudentWork/SW_Ask_Main/SW_Ask_MainBLL.cs
  29. +2
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/StudentWork/SW_Ask_Main/SW_Ask_MainEntity.cs
  30. +4
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/StudentWork/SW_Ask_Main/SW_Ask_MainIBLL.cs
  31. +160
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/StudentWork/SW_Ask_Main/SW_Ask_MainService.cs

+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoBasicController.cs View File

@@ -532,7 +532,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
/// 申请
/// </summary>
/// <returns></returns>
[HttpGet]
[HttpPost]
[AjaxOnly]
public ActionResult ApplyForm(string keyValue)
{
@@ -544,7 +544,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
/// 审核
/// </summary>
/// <returns></returns>
[HttpGet]
[HttpPost]
[AjaxOnly]
public ActionResult AuditForm(string keyValue)
{


+ 11
- 14
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js View File

@@ -102,24 +102,21 @@ var bootstrap = function ($, learun) {
$('#lr_apply').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('StuId');
if (learun.checkrow(keyValue)) {
learun.layerConfirm('是否申请打印学籍!',
function (res) {
if (res) {
learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/ApplyForm',
{ keyValue: keyValue },
function () {
refreshGirdData();
});
}
});
learun.layerConfirm('是否申请打印学籍?', function (res) {
if (res) {
learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/ApplyForm', { keyValue: keyValue }, function () {
refreshGirdData();
});
}
});
}
});
// 审核
$('#lr_audit').on('click', function () {
$('#lr_audit').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('StuId');
if (learun.checkrow(keyValue)) {
var State = $('#gridtable').jfGridValue('StuId');
if (keyValue.indexOf(',') != -1) {
var State = $('#gridtable').jfGridValue('State');
if (State != 1) {
learun.alert.warning("当前项不能进行审核!");
return;
}
@@ -145,7 +142,7 @@ var bootstrap = function ($, learun) {
}
learun.layerForm({
id: 'print',
title: '教职工基本信息登记表',
title: '打印学籍',
url: top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/PrintXJ?keyValue=' + keyValue,
width: 1100,
height: 800,


+ 4
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/PrintXJ.cshtml View File

@@ -5,7 +5,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>学生简历表</title>
<title>学生学籍表</title>
@Html.AppendCssFile("/Areas/EducationalAdministration/Views/StuInfoBasic/PrintXJ.css")
<style>
.StuScoreBox {
@@ -19,7 +19,7 @@
<body>
<div id="table">
<div class="tableBox">
<div class="tableT">学生简历表</div>
<div class="tableT">学生学籍表</div>
<table class="table">
<tr>
<td>姓名</td>
@@ -54,7 +54,7 @@
<td>报到日期</td>
<td colspan="2">@(Model.RegisterDate.HasValue ? Model.RegisterDate.Value.ToShortDateString().Replace("/", "-") : "")</td>
</tr>
<tr>
@*<tr>
<td>奖罚情况</td>
<td colspan="6">
@foreach (var item in Model.StuEncourgementList)
@@ -79,7 +79,7 @@
}
}
</td>
</tr>
</tr>*@

</table>
</div>


+ 50
- 23
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Controllers/SW_Ask_MainController.cs View File

@@ -87,29 +87,6 @@ namespace Learun.Application.Web.Areas.StudentWork.Controllers
}
#endregion

#region 教研组

[HttpGet]
public ActionResult TeacherSubsidy()
{
return View();
}

[HttpGet]
public ActionResult TeacherFellowship()
{
return View();

}

[HttpGet]
public ActionResult TeacherBurse()
{
return View();
}

#endregion

#region 专业

[HttpGet]
@@ -592,5 +569,55 @@ namespace Learun.Application.Web.Areas.StudentWork.Controllers

#endregion


#region 扩展数据

[HttpGet]
[AjaxOnly]
public ActionResult GetSchoolList(string pagination, string queryJson)
{
Pagination paginationobj = pagination.ToObject<Pagination>();
var data = ask_MainIBLL.GetSchoolList(paginationobj, queryJson);
var jsonData = new
{
rows = data,
total = paginationobj.total,
page = paginationobj.page,
records = paginationobj.records
};
return Success(jsonData);
}
[HttpGet]
[AjaxOnly]
public ActionResult GetMajorlList(string pagination, string queryJson)
{
Pagination paginationobj = pagination.ToObject<Pagination>();
var data = ask_MainIBLL.GetMajorList(paginationobj, queryJson);
var jsonData = new
{
rows = data,
total = paginationobj.total,
page = paginationobj.page,
records = paginationobj.records
};
return Success(jsonData);
}
[HttpGet]
[AjaxOnly]
public ActionResult GetClassList(string pagination, string queryJson)
{
Pagination paginationobj = pagination.ToObject<Pagination>();
var data = ask_MainIBLL.GetClassList(paginationobj, queryJson);
var jsonData = new
{
rows = data,
total = paginationobj.total,
page = paginationobj.page,
records = paginationobj.records
};
return Success(jsonData);
}

#endregion
}
}

+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/ClassBurse.cshtml View File

@@ -7,7 +7,7 @@
<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">
@*<div class="lr-layout-tool-item">
<div id="multiple_condition_query">
<div class="lr-query-formcontent">
<div class="col-xs-12 lr-form-item">
@@ -20,7 +20,7 @@
</div>
</div>
</div>
</div>
</div>*@
</div>
<div class="lr-layout-tool-right">
<div class=" btn-group btn-group-sm">


+ 7
- 20
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/ClassBurse.js View File

@@ -13,9 +13,9 @@ var bootstrap = function ($, learun) {
page.bind();
},
bind: function () {
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson);
}, 220, 400);
//$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
// page.search(queryJson);
//}, 220, 400);
// 刷新
$('#lr_refresh').on('click', function () {
location.reload();
@@ -26,23 +26,10 @@ var bootstrap = function ($, learun) {
// 初始化列表
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetStatisList',
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetClassList',
headData: [
{
label: "专业", name: "MajorNo", width: 400, align: "center",
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['classname']);
}
});
}
},
{
label: "班级", name: "ClassNo", width: 400, align: "center",
label: "班级", name: "ClassNo", width: 500, align: "center",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'bjsj',
@@ -54,8 +41,7 @@ var bootstrap = function ($, learun) {
});
}
},
{ label: "学生编码", name: "stuNo", width: 400, align: "center" },
{ label: "学生名称", name: "stuName", width: 400, align: "center" },
{ label: "人数", name: "cs", width: 500, align: "center" },
],
mainId: 'Id',
isPage: true
@@ -64,6 +50,7 @@ var bootstrap = function ($, learun) {
},
search: function (param) {
param = param || {};
param.Sign = '03';
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/ClassDifficulyt.cshtml View File

@@ -7,7 +7,7 @@
<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">
@*<div class="lr-layout-tool-item">
<div id="multiple_condition_query">
<div class="lr-query-formcontent">
<div class="col-xs-12 lr-form-item">
@@ -20,7 +20,7 @@
</div>
</div>
</div>
</div>
</div>*@
</div>
<div class="lr-layout-tool-right">
<div class=" btn-group btn-group-sm">


+ 7
- 20
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/ClassDifficulyt.js View File

@@ -13,9 +13,9 @@ var bootstrap = function ($, learun) {
page.bind();
},
bind: function () {
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson);
}, 220, 400);
//$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
// page.search(queryJson);
//}, 220, 400);
// 刷新
$('#lr_refresh').on('click', function () {
location.reload();
@@ -26,23 +26,10 @@ var bootstrap = function ($, learun) {
// 初始化列表
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetStatisList',
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetClassList',
headData: [
{
label: "专业", name: "MajorNo", width: 400, align: "center",
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['classname']);
}
});
}
},
{
label: "班级", name: "ClassNo", width: 400, align: "center",
label: "班级", name: "ClassNo", width: 500, align: "center",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'bjsj',
@@ -54,8 +41,7 @@ var bootstrap = function ($, learun) {
});
}
},
{ label: "学生编码", name: "stuNo", width: 400, align: "center" },
{ label: "学生名称", name: "stuName", width: 400, align: "center" },
{ label: "人数", name: "cs", width: 500, align: "center" },
],
mainId: 'Id',
isPage: true
@@ -64,6 +50,7 @@ var bootstrap = function ($, learun) {
},
search: function (param) {
param = param || {};
param.Sign = '12';
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/ClassFellowship.cshtml View File

@@ -7,7 +7,7 @@
<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">
@*<div class="lr-layout-tool-item">
<div id="multiple_condition_query">
<div class="lr-query-formcontent">
<div class="col-xs-12 lr-form-item">
@@ -20,7 +20,7 @@
</div>
</div>
</div>
</div>
</div>*@
</div>
<div class="lr-layout-tool-right">
<div class=" btn-group btn-group-sm">


+ 7
- 20
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/ClassFellowship.js View File

@@ -13,9 +13,9 @@ var bootstrap = function ($, learun) {
page.bind();
},
bind: function () {
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson);
}, 220, 400);
//$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
// page.search(queryJson);
//}, 220, 400);
// 刷新
$('#lr_refresh').on('click', function () {
location.reload();
@@ -26,23 +26,10 @@ var bootstrap = function ($, learun) {
// 初始化列表
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetStatisList',
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetClassList',
headData: [
{
label: "专业", name: "MajorNo", width: 400, align: "center",
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['classname']);
}
});
}
},
{
label: "班级", name: "ClassNo", width: 400, align: "center",
label: "班级", name: "ClassNo", width: 500, align: "center",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'bjsj',
@@ -54,8 +41,7 @@ var bootstrap = function ($, learun) {
});
}
},
{ label: "学生编码", name: "stuNo", width: 400, align: "center" },
{ label: "学生名称", name: "stuName", width: 400, align: "center" },
{ label: "人数", name: "cs", width: 500, align: "center" },
],
mainId: 'Id',
isPage: true
@@ -64,6 +50,7 @@ var bootstrap = function ($, learun) {
},
search: function (param) {
param = param || {};
param.Sign = '02';
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/ClassSubsidy.cshtml View File

@@ -7,7 +7,7 @@
<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">
@*<div class="lr-layout-tool-item">
<div id="multiple_condition_query">
<div class="lr-query-formcontent">
<div class="col-xs-12 lr-form-item">
@@ -20,7 +20,7 @@
</div>
</div>
</div>
</div>
</div>*@
</div>
<div class="lr-layout-tool-right">
<div class=" btn-group btn-group-sm">


+ 7
- 20
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/ClassSubsidy.js View File

@@ -13,9 +13,9 @@ var bootstrap = function ($, learun) {
page.bind();
},
bind: function () {
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson);
}, 220, 400);
//$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
// page.search(queryJson);
//}, 220, 400);
// 刷新
$('#lr_refresh').on('click', function () {
location.reload();
@@ -26,23 +26,10 @@ var bootstrap = function ($, learun) {
// 初始化列表
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetStatisList',
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetClassList',
headData: [
{
label: "专业", name: "MajorNo", width: 400, align: "center",
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['classname']);
}
});
}
},
{
label: "班级", name: "ClassNo", width: 400, align: "center",
label: "班级", name: "ClassNo", width: 500, align: "center",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'bjsj',
@@ -54,8 +41,7 @@ var bootstrap = function ($, learun) {
});
}
},
{ label: "学生编码", name: "stuNo", width: 400, align: "center" },
{ label: "学生名称", name: "stuName", width: 400, align: "center" },
{ label: "人数", name: "cs", width: 500, align: "center" },
],
mainId: 'Id',
isPage: true
@@ -64,6 +50,7 @@ var bootstrap = function ($, learun) {
},
search: function (param) {
param = param || {};
param.Sign = '01';
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};


+ 5
- 18
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/MajorBurse.js View File

@@ -26,10 +26,10 @@ var bootstrap = function ($, learun) {
// 初始化列表
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetStatisList',
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetMajorList',
headData: [
{
label: "专业", name: "MajorNo", width: 400, align: "center",
label: "专业", name: "MajorNo", width: 500, align: "center",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdMajorInfo',
@@ -40,22 +40,8 @@ var bootstrap = function ($, learun) {
}
});
}
},
{
label: "班级", name: "ClassNo", width: 400, align: "center",
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: "stuNo", width: 400, align: "center" },
{ label: "学生名称", name: "stuName", width: 400, align: "center" },
},
{ label: "人数", name: "cs", width: 500, align: "center" },
],
mainId: 'Id',
isPage: true
@@ -64,6 +50,7 @@ var bootstrap = function ($, learun) {
},
search: function (param) {
param = param || {};
param.Sign = '03';
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};


+ 4
- 17
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/MajorDifficulyt.js View File

@@ -26,10 +26,10 @@ var bootstrap = function ($, learun) {
// 初始化列表
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetStatisList',
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetMajorList',
headData: [
{
label: "专业", name: "MajorNo", width: 400, align: "center",
label: "专业", name: "MajorNo", width: 500, align: "center",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdMajorInfo',
@@ -41,21 +41,7 @@ var bootstrap = function ($, learun) {
});
}
},
{
label: "班级", name: "ClassNo", width: 400, align: "center",
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: "stuNo", width: 400, align: "center" },
{ label: "学生名称", name: "stuName", width: 400, align: "center" },
{ label: "人数", name: "cs", width: 500, align: "center" },
],
mainId: 'Id',
isPage: true
@@ -64,6 +50,7 @@ var bootstrap = function ($, learun) {
},
search: function (param) {
param = param || {};
param.Sign = '12';
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};


+ 4
- 17
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/MajorFellowship.js View File

@@ -26,10 +26,10 @@ var bootstrap = function ($, learun) {
// 初始化列表
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetStatisList',
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetMajorList',
headData: [
{
label: "专业", name: "MajorNo", width: 400, align: "center",
label: "专业", name: "MajorNo", width: 500, align: "center",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdMajorInfo',
@@ -41,21 +41,7 @@ var bootstrap = function ($, learun) {
});
}
},
{
label: "班级", name: "ClassNo", width: 400, align: "center",
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: "stuNo", width: 400, align: "center" },
{ label: "学生名称", name: "stuName", width: 400, align: "center" },
{ label: "人数", name: "cs", width: 500, align: "center" },
],
mainId: 'Id',
isPage: true
@@ -64,6 +50,7 @@ var bootstrap = function ($, learun) {
},
search: function (param) {
param = param || {};
param.Sign = '02';
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};


+ 4
- 17
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/MajorsSubsidy.js View File

@@ -26,10 +26,10 @@ var bootstrap = function ($, learun) {
// 初始化列表
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetStatisList',
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetMajorList',
headData: [
{
label: "专业", name: "MajorNo", width: 400, align: "center",
label: "专业", name: "MajorNo", width: 500, align: "center",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdMajorInfo',
@@ -41,21 +41,7 @@ var bootstrap = function ($, learun) {
});
}
},
{
label: "班级", name: "ClassNo", width: 400, align: "center",
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: "stuNo", width: 400, align: "center" },
{ label: "学生名称", name: "stuName", width: 400, align: "center" },
{ label: "人数", name: "cs", width: 500, align: "center" },
],
mainId: 'Id',
isPage: true
@@ -64,6 +50,7 @@ var bootstrap = function ($, learun) {
},
search: function (param) {
param = param || {};
param.Sign = '01';
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};


+ 7
- 21
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/SchoolBurse.js View File

@@ -26,36 +26,21 @@ var bootstrap = function ($, learun) {
// 初始化列表
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetStatisList',
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetSchoolList',
headData: [
{
label: "专业", name: "MajorNo", width: 400, align: "center",
label: "类型", name: "TParentType", width: 500, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdMajorInfo',
learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'majorno',
code: 'TParentType',
callback: function (_data) {
callback(_data['classname']);
callback(_data.text);
}
});
}
},
{
label: "班级", name: "ClassNo", width: 400, align: "center",
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: "stuNo", width: 400, align: "center" },
{ label: "学生名称", name: "stuName", width: 400, align: "center" },
{ label: "人数", name: "cs", width: 500, align: "center" },
],
mainId: 'Id',
isPage: true
@@ -64,6 +49,7 @@ var bootstrap = function ($, learun) {
},
search: function (param) {
param = param || {};
param.Sign = '03';
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};


+ 7
- 21
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/SchoolDifficulyt.js View File

@@ -26,36 +26,21 @@ var bootstrap = function ($, learun) {
// 初始化列表
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetStatisList',
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetSchoolList',
headData: [
{
label: "专业", name: "MajorNo", width: 400, align: "center",
label: "类型", name: "TParentType", width: 500, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdMajorInfo',
learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'majorno',
code: 'TParentType',
callback: function (_data) {
callback(_data['classname']);
callback(_data.text);
}
});
}
},
{
label: "班级", name: "ClassNo", width: 400, align: "center",
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: "stuNo", width: 400, align: "center" },
{ label: "学生名称", name: "stuName", width: 400, align: "center" },
{ label: "人数", name: "cs", width: 500, align: "center" },
],
mainId: 'Id',
isPage: true
@@ -64,6 +49,7 @@ var bootstrap = function ($, learun) {
},
search: function (param) {
param = param || {};
param.Sign = '12';
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};


+ 7
- 21
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/SchoolFellowship.js View File

@@ -26,36 +26,21 @@ var bootstrap = function ($, learun) {
// 初始化列表
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetStatisList',
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetSchoolList',
headData: [
{
label: "专业", name: "MajorNo", width: 400, align: "center",
label: "类型", name: "TParentType", width: 500, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdMajorInfo',
learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'majorno',
code: 'TParentType',
callback: function (_data) {
callback(_data['classname']);
callback(_data.text);
}
});
}
},
{
label: "班级", name: "ClassNo", width: 400, align: "center",
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: "stuNo", width: 400, align: "center" },
{ label: "学生名称", name: "stuName", width: 400, align: "center" },
{ label: "人数", name: "cs", width: 500, align: "center" },
],
mainId: 'Id',
isPage: true
@@ -64,6 +49,7 @@ var bootstrap = function ($, learun) {
},
search: function (param) {
param = param || {};
param.Sign = '02';
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};


+ 7
- 21
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/SchoolSubsidy.js View File

@@ -26,36 +26,21 @@ var bootstrap = function ($, learun) {
// 初始化列表
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetStatisList',
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetSchoolList',
headData: [
{
label: "专业", name: "MajorNo", width: 400, align: "center",
label: "类型", name: "TParentType", width: 500, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdMajorInfo',
learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'majorno',
code: 'TParentType',
callback: function (_data) {
callback(_data['classname']);
callback(_data.text);
}
});
}
},
{
label: "班级", name: "ClassNo", width: 400, align: "center",
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: "stuNo", width: 400, align: "center" },
{ label: "学生名称", name: "stuName", width: 400, align: "center" },
{ label: "人数", name: "cs", width: 500, align: "center" },
],
mainId: 'Id',
isPage: true
@@ -64,6 +49,7 @@ var bootstrap = function ($, learun) {
},
search: function (param) {
param = param || {};
param.Sign = '01';
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};


+ 0
- 35
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/TeacherBurse.cshtml View File

@@ -1,35 +0,0 @@
@{
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">
<div id="multiple_condition_query">
<div class="lr-query-formcontent">
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">专业</div>
<div id="MajorNo"></div>
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">班级</div>
<div id="ClassNo"></div>
</div>
</div>
</div>
</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>
</div>
<div class="lr-layout-body" id="gridtable"></div>
</div>
</div>
</div>
@Html.AppendJsFile("/Areas/StudentWork/Views/SW_Ask_Main/TeacherBurse.js")

+ 0
- 85
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/TeacherBurse.js View File

@@ -1,85 +0,0 @@
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
* 创建人:超级管理员
* 日 期:2021-08-05 17:41
* 描 述:统计
*/
var refreshGirdData;
var bootstrap = function ($, learun) {
"use strict";
var page = {
init: function () {
page.initGird();
page.bind();
},
bind: function () {
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson);
}, 220, 400);
// 刷新
$('#lr_refresh').on('click', function () {
location.reload();
});
$('#MajorNo').lrDataSourceSelect({ code: 'CdMajorInfo', value: 'majorno', text: 'majorname' });
$('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' });
},
// 初始化列表
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetStatisList',
headData: [
{
label: "专业", name: "MajorNo", width: 400, align: "center",
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['classname']);
}
});
}
},
{
label: "班级", name: "ClassNo", width: 400, align: "center",
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: "stuNo", width: 400, align: "center" },
{ label: "学生名称", name: "stuName", width: 400, align: "center" },
],
mainId: 'Id',
isPage: true
});
page.search();
},
search: function (param) {
param = param || {};
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};
refreshGirdData = function () {
//if (res.code == 200) {
// // 发起流程
// var postData = {
// schemeCode: 'Dispatch',// 填写流程对应模板编号
// processId: processId,
// level: '1',
// };
// learun.httpAsync('Post', top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/CreateFlow', postData, function (data) {
// learun.loading(false);
// });
page.search();
//}
};
page.init();
}

+ 0
- 35
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/TeacherFellowship.cshtml View File

@@ -1,35 +0,0 @@
@{
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">
<div id="multiple_condition_query">
<div class="lr-query-formcontent">
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">专业</div>
<div id="MajorNo"></div>
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">班级</div>
<div id="ClassNo"></div>
</div>
</div>
</div>
</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>
</div>
<div class="lr-layout-body" id="gridtable"></div>
</div>
</div>
</div>
@Html.AppendJsFile("/Areas/StudentWork/Views/SW_Ask_Main/TeacherFellowship.js")

+ 0
- 85
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/TeacherFellowship.js View File

@@ -1,85 +0,0 @@
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
* 创建人:超级管理员
* 日 期:2021-08-05 17:41
* 描 述:统计
*/
var refreshGirdData;
var bootstrap = function ($, learun) {
"use strict";
var page = {
init: function () {
page.initGird();
page.bind();
},
bind: function () {
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson);
}, 220, 400);
// 刷新
$('#lr_refresh').on('click', function () {
location.reload();
});
$('#MajorNo').lrDataSourceSelect({ code: 'CdMajorInfo', value: 'majorno', text: 'majorname' });
$('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' });
},
// 初始化列表
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetStatisList',
headData: [
{
label: "专业", name: "MajorNo", width: 400, align: "center",
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['classname']);
}
});
}
},
{
label: "班级", name: "ClassNo", width: 400, align: "center",
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: "stuNo", width: 400, align: "center" },
{ label: "学生名称", name: "stuName", width: 400, align: "center" },
],
mainId: 'Id',
isPage: true
});
page.search();
},
search: function (param) {
param = param || {};
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};
refreshGirdData = function () {
//if (res.code == 200) {
// // 发起流程
// var postData = {
// schemeCode: 'Dispatch',// 填写流程对应模板编号
// processId: processId,
// level: '1',
// };
// learun.httpAsync('Post', top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/CreateFlow', postData, function (data) {
// learun.loading(false);
// });
page.search();
//}
};
page.init();
}

+ 0
- 35
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/TeacherSubsidy.cshtml View File

@@ -1,35 +0,0 @@
@{
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">
<div id="multiple_condition_query">
<div class="lr-query-formcontent">
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">专业</div>
<div id="MajorNo"></div>
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">班级</div>
<div id="ClassNo"></div>
</div>
</div>
</div>
</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>
</div>
<div class="lr-layout-body" id="gridtable"></div>
</div>
</div>
</div>
@Html.AppendJsFile("/Areas/StudentWork/Views/SW_Ask_Main/TeacherSubsidy.js")

+ 0
- 85
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/StudentWork/Views/SW_Ask_Main/TeacherSubsidy.js View File

@@ -1,85 +0,0 @@
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
* 创建人:超级管理员
* 日 期:2021-08-05 17:41
* 描 述:统计
*/
var refreshGirdData;
var bootstrap = function ($, learun) {
"use strict";
var page = {
init: function () {
page.initGird();
page.bind();
},
bind: function () {
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson);
}, 220, 400);
// 刷新
$('#lr_refresh').on('click', function () {
location.reload();
});
$('#MajorNo').lrDataSourceSelect({ code: 'CdMajorInfo', value: 'majorno', text: 'majorname' });
$('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' });
},
// 初始化列表
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/StudentWork/SW_Ask_Main/GetStatisList',
headData: [
{
label: "专业", name: "MajorNo", width: 400, align: "center",
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['classname']);
}
});
}
},
{
label: "班级", name: "ClassNo", width: 400, align: "center",
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: "stuNo", width: 400, align: "center" },
{ label: "学生名称", name: "stuName", width: 400, align: "center" },
],
mainId: 'Id',
isPage: true
});
page.search();
},
search: function (param) {
param = param || {};
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};
refreshGirdData = function () {
//if (res.code == 200) {
// // 发起流程
// var postData = {
// schemeCode: 'Dispatch',// 填写流程对应模板编号
// processId: processId,
// level: '1',
// };
// learun.httpAsync('Post', top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/CreateFlow', postData, function (data) {
// learun.loading(false);
// });
page.search();
//}
};
page.init();
}

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

@@ -1525,16 +1525,13 @@
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\AnswerQuery.js" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\Form.js" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\ApplyIndex.js" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\TeacherBurse.js" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\SchoolSubsidy.js" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\TeacherSubsidy.js" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\MajorsSubsidy.js" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\ClassSubsidy.js" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\SchoolDifficulyt.js" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\MajorDifficulyt.js" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\ClassDifficulyt.js" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\SchoolFellowship.js" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\TeacherFellowship.js" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\MajorFellowship.js" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\ClassFellowship.js" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\ClassBurse.js" />
@@ -7555,13 +7552,10 @@
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\MajorDifficulyt.cshtml" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\ClassDifficulyt.cshtml" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\SchoolFellowship.cshtml" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\TeacherFellowship.cshtml" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\MajorFellowship.cshtml" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\ClassFellowship.cshtml" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\ClassBurse.cshtml" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\TeacherBurse.cshtml" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\SchoolSubsidy.cshtml" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\TeacherSubsidy.cshtml" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\MajorsSubsidy.cshtml" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\ClassSubsidy.cshtml" />
<Content Include="Areas\EducationalAdministration\Views\StuInfoBasic\PrintXJ.cshtml" />


+ 57
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/StudentWork/SW_Ask_Main/SW_Ask_MainBLL.cs View File

@@ -441,5 +441,62 @@ namespace Learun.Application.TwoDevelopment.StudentWork
}
}

#region 扩展数据
public IEnumerable<SW_Ask_MainEntity> GetSchoolList(Pagination pagination, string queryJson)
{
try
{
return ask_MainService.GetSchoolList(pagination, queryJson);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowBusinessException(ex);
}
}
}
public IEnumerable<SW_Ask_MainEntity> GetMajorList(Pagination pagination, string queryJson)
{
try
{
return ask_MainService.GetMajorList(pagination, queryJson);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowBusinessException(ex);
}
}
}
public IEnumerable<SW_Ask_MainEntity> GetClassList(Pagination pagination, string queryJson)
{
try
{
return ask_MainService.GetClassList(pagination, queryJson);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowBusinessException(ex);
}
}
}

#endregion
}
}

+ 2
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/StudentWork/SW_Ask_Main/SW_Ask_MainEntity.cs View File

@@ -144,7 +144,8 @@ namespace Learun.Application.TwoDevelopment.StudentWork
/// </summary>
[NotMapped]
public string TName { get; set; }

[NotMapped]
public string CS { get; set; }
#endregion
}
}


+ 4
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/StudentWork/SW_Ask_Main/SW_Ask_MainIBLL.cs View File

@@ -69,6 +69,10 @@ namespace Learun.Application.TwoDevelopment.StudentWork
void ChangeFormStatus(string keyValue, bool status);
IEnumerable<SW_Ask_MainEntity> GetStudentPageList(Pagination pagination, string queryJson);
IEnumerable<SW_Ask_MainEntity> GetTeacherPageList(Pagination pagination, string queryJson);
IEnumerable<SW_Ask_MainEntity> GetSchoolList(Pagination pagination, string queryJson);
IEnumerable<SW_Ask_MainEntity> GetMajorList(Pagination pagination, string queryJson);
IEnumerable<SW_Ask_MainEntity> GetClassList(Pagination pagination, string queryJson);
/// <summary>
/// 获取页面显示列表数据
/// <summary>


+ 160
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/StudentWork/SW_Ask_Main/SW_Ask_MainService.cs View File

@@ -35,7 +35,7 @@ namespace Learun.Application.TwoDevelopment.StudentWork
strSql.Append("SELECT t.*,tt.TApplyTemplateNo ");
strSql.Append(" FROM SW_Ask_Main t left join SW_Ask_Type tt on t.TId=tt.Id ");
strSql.Append(" WHERE 1=1 ");
var queryParam = queryJson.ToJObject();
var queryParam = queryJson.ToJObject();
// 虚拟参数
var dp = new DynamicParameters(new { });
if (!queryParam["VTitle"].IsEmpty())
@@ -909,5 +909,164 @@ namespace Learun.Application.TwoDevelopment.StudentWork
}
}
}

#region 扩展代码
/// <summary>
/// 全校
/// </summary>
/// <param name="pagination"></param>
/// <param name="queryJson"></param>
/// <returns></returns>
public IEnumerable<SW_Ask_MainEntity> GetSchoolList(Pagination pagination, string queryJson)
{
try
{
var strSql = new StringBuilder();
var queryParam = queryJson.ToJObject();
strSql.Append(" select c.TParentType,Count(*) as cs from (");
strSql.Append(@" SELECT t.*,b.IsAnswer,b.CreateDate,b.Status as StudentMainStatus,b.UID as UserId,b.SMId,tt.TName,tt.TParentType,sib.StuNo,sib.ClassNo,sib.MajorNo
FROM SW_Ask_Main t right join SW_Ask_StudentMain b on t.VID = b.VID
left join SW_Ask_Type tt on t.TId = tt.Id
left join LR_Base_User u on b.UID = u.F_UserId
left join[CollegeMIS_演示].dbo.StuInfoBasic sib on sib.stuNo = t.UID ");
strSql.Append(" where 1=1");
string Sign = queryParam["Sign"].IsEmpty().ToString();
switch (Sign)
{
case "01":
strSql.Append(" and tt.TParentType='01'");
break;
case "02":
strSql.Append(" and tt.TParentType='02' ");
break;
case "03":
strSql.Append(" and tt.TParentType='03' ");
break;
case "12":
strSql.Append(" and tt.TParentType='12' ");
break;
}

strSql.Append(" ) c where 1=1 Group by c.TParentType ");
var dp = new DynamicParameters(new { });
return this.BaseRepository().FindList<SW_Ask_MainEntity>(strSql.ToString(), dp, pagination);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{

throw ExceptionEx.ThrowServiceException(ex);
}
}
}
/// <summary>
///
/// </summary>
/// <param name="pagination"></param>
/// <param name="queryJson"></param>
/// <returns></returns>
public IEnumerable<SW_Ask_MainEntity> GetMajorList(Pagination pagination, string queryJson)
{
try
{
var strSql = new StringBuilder();
var queryParam = queryJson.ToJObject();
strSql.Append(" select c.MajorNo,Count(*) as cs from (");
strSql.Append(@" SELECT t.*,b.IsAnswer,b.CreateDate,b.Status as StudentMainStatus,b.UID as UserId,b.SMId,tt.TName,tt.TParentType,sib.StuNo,sib.ClassNo,sib.MajorNo
FROM SW_Ask_Main t right join SW_Ask_StudentMain b on t.VID = b.VID
left join SW_Ask_Type tt on t.TId = tt.Id
left join LR_Base_User u on b.UID = u.F_UserId
left join[CollegeMIS_演示].dbo.StuInfoBasic sib on sib.stuNo = t.UID ");
strSql.Append(" where 1=1");
string Sign = queryParam["Sign"].IsEmpty().ToString();
switch (Sign)
{
case "01":
strSql.Append(" and tt.TParentType='01'");
break;
case "02":
strSql.Append(" and tt.TParentType='02' ");
break;
case "03":
strSql.Append(" and tt.TParentType='03' ");
break;
case "12":
strSql.Append(" and tt.TParentType='12' ");
break;
}
strSql.Append(" ) c where 1=1 and c.MajorNo is not null Group by c.MajorNo ");
var dp = new DynamicParameters(new { });
return this.BaseRepository().FindList<SW_Ask_MainEntity>(strSql.ToString(), dp, pagination);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowServiceException(ex);
}
}
}
/// <summary>
///
/// </summary>
/// <param name="pagination"></param>
/// <param name="queryJson"></param>
/// <returns></returns>
public IEnumerable<SW_Ask_MainEntity> GetClassList(Pagination pagination, string queryJson)
{
try
{
var strSql = new StringBuilder();
var queryParam = queryJson.ToJObject();
strSql.Append(" select c.ClassNo,Count(*) as cs from (");
strSql.Append(@" SELECT t.*,b.IsAnswer,b.CreateDate,b.Status as StudentMainStatus,b.UID as UserId,b.SMId,tt.TName,tt.TParentType,sib.StuNo,sib.ClassNo,sib.MajorNo
FROM SW_Ask_Main t right join SW_Ask_StudentMain b on t.VID = b.VID
left join SW_Ask_Type tt on t.TId = tt.Id
left join LR_Base_User u on b.UID = u.F_UserId
left join[CollegeMIS_演示].dbo.StuInfoBasic sib on sib.stuNo = t.UID ");
strSql.Append(" where 1=1");
string Sign = queryParam["Sign"].IsEmpty().ToString();
switch (Sign)
{
case "01":
strSql.Append(" and tt.TParentType='01'");
break;
case "02":
strSql.Append(" and tt.TParentType='02' ");
break;
case "03":
strSql.Append(" and tt.TParentType='03' ");
break;
case "12":
strSql.Append(" and tt.TParentType='12' ");
break;
}
strSql.Append(" ) c where 1=1 and c.ClassNo is not null Group by c.ClassNo ");
// 虚拟参数
var dp = new DynamicParameters(new { });
return this.BaseRepository().FindList<SW_Ask_MainEntity>(strSql.ToString(), dp, pagination);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowServiceException(ex);
}
}
}
#endregion
}
}

Loading…
Cancel
Save