Procházet zdrojové kódy

会议资料查询调整

临城职教中职
ndbs před 2 roky
rodič
revize
29bed3e74d
3 změnil soubory, kde provedl 9 přidání a 3 odebrání
  1. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/WP_FileList/Index.cshtml
  2. +0
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/WP_FileList/Index.js
  3. +7
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/WP_FileList/WP_FileListService.cs

+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/WP_FileList/Index.cshtml Zobrazit soubor

@@ -23,8 +23,8 @@
<div id="multiple_condition_query"> <div id="multiple_condition_query">
<div class="lr-query-formcontent"> <div class="lr-query-formcontent">
<div class="col-xs-12 lr-form-item"> <div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">目录</div>
<div id="CId"></div>
<div class="lr-form-item-title">标题</div>
<input id="FTitile" type="text" class="form-control" />
</div> </div>
<div class="col-xs-12 lr-form-item"> <div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">创建人</div> <div class="lr-form-item-title">创建人</div>


+ 0
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/WP_FileList/Index.js Zobrazit soubor

@@ -64,7 +64,6 @@ var bootstrap = function ($, learun) {
page.search(queryJson); page.search(queryJson);
} }
}, 220, 400); }, 220, 400);
$('#CId').lrDataSourceSelect({ code: 'FileCatalog', value: 'cid', text: 'cname' });
$('#FCreater').lrDataSourceSelect({ code: 'BaseUser', value: 'f_userid', text: 'f_realname' }); $('#FCreater').lrDataSourceSelect({ code: 'BaseUser', value: 'f_userid', text: 'f_realname' });
// 刷新 // 刷新
$('#lr_refresh').on('click', function () { $('#lr_refresh').on('click', function () {


+ 7
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/WP_FileList/WP_FileListService.cs Zobrazit soubor

@@ -54,6 +54,13 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement
dp.Add("CId", queryParam["CId"].ToString(), DbType.String); dp.Add("CId", queryParam["CId"].ToString(), DbType.String);
strSql.Append(" AND t.CId = @CId "); strSql.Append(" AND t.CId = @CId ");
} }
if (!queryParam["FTitile"].IsEmpty())
{
dp.Add("FTitile", "%" + queryParam["FTitile"].ToString() + "%", DbType.String);
strSql.Append(" AND t.FTitile Like @FTitile ");
}

if (!queryParam["FCreater"].IsEmpty()) if (!queryParam["FCreater"].IsEmpty())
{ {
dp.Add("FCreater", queryParam["FCreater"].ToString(), DbType.String); dp.Add("FCreater", queryParam["FCreater"].ToString(), DbType.String);


Načítá se…
Zrušit
Uložit