소스 검색

数据上报调整

金隅分支
zhangli 3 년 전
부모
커밋
8917545e90
3개의 변경된 파일12개의 추가작업 그리고 4개의 파일을 삭제
  1. +3
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/QualityReport/Index.js
  2. +7
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/QualityReport/IndexReport.js
  3. +2
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LR_Desktop/QualityReportMain/QualityReportMainService.cs

+ 3
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/QualityReport/Index.js 파일 보기

@@ -165,7 +165,9 @@ var bootstrap = function ($, learun) {
label: "公式计算结果", name: "Result", width: 150, align: "left" label: "公式计算结果", name: "Result", width: 150, align: "left"
}, },
{ {
label: "填报时间", name: "ReportTime", width: 150, align: "left"
label: "填报时间", name: "ReportTime", width: 150, align: "left", formatter: function (cellvalue) {
return learun.formatDate(cellvalue, 'yyyy-MM');
}
}, },
{ {
label: "状态", name: "Status", width: 150, align: "left", label: "状态", name: "Status", width: 150, align: "left",


+ 7
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/QualityReport/IndexReport.js 파일 보기

@@ -157,7 +157,10 @@ var bootstrap = function ($, learun) {
label: "公式计算结果", name: "Result", width: 150, align: "left" label: "公式计算结果", name: "Result", width: 150, align: "left"
}, },
{ {
label: "填报时间", name: "ReportTime", width: 150, align: "left"
label: "填报时间", name: "ReportTime", width: 150, align: "left",
formatter: function (cellvalue) {
return learun.formatDate(cellvalue, 'yyyy-MM');
}
}, },
{ {
label: "状态", name: "Status", width: 150, align: "left", label: "状态", name: "Status", width: 150, align: "left",
@@ -173,7 +176,9 @@ var bootstrap = function ($, learun) {
}, },
], ],
mainId: 'Id', mainId: 'Id',
isPage: true
isPage: true,
sidx: 'ReportTime',
sord: 'DESC',
}); });
page.search(); page.search();
}, },


+ 2
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LR_Desktop/QualityReportMain/QualityReportMainService.cs 파일 보기

@@ -4,6 +4,7 @@ using Learun.Util;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Data; using System.Data;
using System.Linq;
using System.Text; using System.Text;


namespace Learun.Application.TwoDevelopment.LR_Desktop namespace Learun.Application.TwoDevelopment.LR_Desktop
@@ -84,7 +85,7 @@ namespace Learun.Application.TwoDevelopment.LR_Desktop
strSql.Append($" AND a.FillInFromId='{queryParam["FillInFromId"].ToString()}' "); strSql.Append($" AND a.FillInFromId='{queryParam["FillInFromId"].ToString()}' ");
} }


return this.BaseRepository("CollegeMIS").FindList<QualityReportMainEntity>(strSql.ToString(), dp);
return this.BaseRepository("CollegeMIS").FindList<QualityReportMainEntity>(strSql.ToString(), dp).OrderByDescending(x => x.ReportTime);
} }
catch (Exception ex) catch (Exception ex)
{ {


불러오는 중...
취소
저장