Bladeren bron

数据上报

金隅分支
zhangli 3 jaren geleden
bovenliggende
commit
97c2fb5c4a
3 gewijzigde bestanden met toevoegingen van 8 en 4 verwijderingen
  1. +2
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/QualityReport/Index.js
  2. +5
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/FillinFrom/FillinFromService.cs
  3. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LR_Desktop/QualityReportChild/QualityReportChildService.cs

+ 2
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/QualityReport/Index.js Bestand weergeven

@@ -67,7 +67,6 @@ var bootstrap = function ($, learun) {
url: top.$.rootUrl + '/EducationalAdministration/FillinFrom/GetPageList', url: top.$.rootUrl + '/EducationalAdministration/FillinFrom/GetPageList',
headData: [ headData: [
{ label: "核心工作模块", name: "WorderModule", width: 300, align: "left" }, { label: "核心工作模块", name: "WorderModule", width: 300, align: "left" },
//{ label: "序号", name: "SerialNo", width: 100, align: "center" },
{ label: "项目名称", name: "ProjectName", width: 300, align: "left" }, { label: "项目名称", name: "ProjectName", width: 300, align: "left" },
{ {
label: "填报周期", name: "FillingCycle", width: 100, align: "left", label: "填报周期", name: "FillingCycle", width: 100, align: "left",
@@ -142,8 +141,8 @@ var bootstrap = function ($, learun) {
}, },
search: function (param) { search: function (param) {
param = param || {}; param = param || {};
param.State = 3;
//param.FillingPeople = learun.clientdata.get(['userinfo']).userId;
param.SqlParameter = ' AND (FillingPeople is not null and len(FillingPeople)>0) and (Formula is not null and len(Formula)>0)';
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); $('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
} }
}; };


+ 5
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/FillinFrom/FillinFromService.cs Bestand weergeven

@@ -86,6 +86,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
} }
//queryParam["userId"].ToString() != "System" && //queryParam["userId"].ToString() != "System" &&
} }
//sql条件
if (!queryParam["SqlParameter"].IsEmpty())
{
strSql.Append(queryParam["SqlParameter"].ToString());
}
return this.BaseRepository("CollegeMIS").FindList<FillinFromEntity>(strSql.ToString(), dp, pagination); return this.BaseRepository("CollegeMIS").FindList<FillinFromEntity>(strSql.ToString(), dp, pagination);
} }
catch (Exception ex) catch (Exception ex)


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LR_Desktop/QualityReportChild/QualityReportChildService.cs Bestand weergeven

@@ -159,7 +159,7 @@ where a.Id='{keyValue}' order by b.Sort";
{ {
if (DateTime.Now.Day >= 15) if (DateTime.Now.Day >= 15)
{ {
//return "每月1-15日才可填报!";
return "每月1-15日才可填报!";
} }


int mouth = DateTime.Now.Month - 1; int mouth = DateTime.Now.Month - 1;


Laden…
Annuleren
Opslaan