Przeglądaj źródła

Merge branch '塔里木分支' of http://123.57.209.16:3000/bjquanjiang/DigitalScholl into 塔里木分支

新疆影视学院高职
zhangli 2 lat temu
rodzic
commit
834973d79b
3 zmienionych plików z 8 dodań i 3 usunięć
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoFreshController.cs
  2. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/StatisticsProvince.js
  3. +5
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoFresh/StuInfoFreshService.cs

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoFreshController.cs Wyświetl plik

@@ -1286,7 +1286,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
public ActionResult GetStatisticProvince(string queryJson) public ActionResult GetStatisticProvince(string queryJson)
{ {
var data = stuInfoFreshIBLL.GetList2(queryJson); var data = stuInfoFreshIBLL.GetList2(queryJson);
var list = data.Where(x => !string.IsNullOrEmpty(x.Province) && !string.IsNullOrEmpty(x.City)).GroupBy(x => new { x.Province, x.City }).Select(x => new StatisticModel
var list = data.Where(x => !string.IsNullOrEmpty(x.Province)).GroupBy(x => new { x.Province, x.City }).Select(x => new StatisticModel
{ {
Province = x.Key.Province, Province = x.Key.Province,
City = x.Key.City, City = x.Key.City,


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/StatisticsProvince.js Wyświetl plik

@@ -35,7 +35,7 @@ var bootstrap = function ($, learun) {
url: top.$.rootUrl + '/EducationalAdministration/StuInfoFresh/GetStatisticProvince', url: top.$.rootUrl + '/EducationalAdministration/StuInfoFresh/GetStatisticProvince',
headData: [ headData: [
{ {
label: '生源地', name: 'Province', width: 100, align: "left",
label: '省份', name: 'Province', width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) { formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', { learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'DIC_PROVINCE', url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'DIC_PROVINCE',
@@ -48,7 +48,7 @@ var bootstrap = function ($, learun) {
} }
}, },
{ {
label: '疆内', name: 'City', width: 100, align: "left",
label: '地市', name: 'City', width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) { formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', { learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'DIC_CITY', url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'DIC_CITY',


+ 5
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoFresh/StuInfoFreshService.cs Wyświetl plik

@@ -206,6 +206,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
{ {
item.IsStudentEdit = false; item.IsStudentEdit = false;
} }

if (item.Province != "650000")
{
item.City = "";
}
} }


return data; return data;


Ładowanie…
Anuluj
Zapisz