Просмотр исходного кода

会议资料查询调整

临城职教中职
ndbs 2 лет назад
Родитель
Сommit
29bed3e74d
3 измененных файлов: 9 добавлений и 3 удалений
  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 Просмотреть файл

@@ -23,8 +23,8 @@
<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="CId"></div>
<div class="lr-form-item-title">标题</div>
<input id="FTitile" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">创建人</div>


+ 0
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/WP_FileList/Index.js Просмотреть файл

@@ -64,7 +64,6 @@ var bootstrap = function ($, learun) {
page.search(queryJson);
}
}, 220, 400);
$('#CId').lrDataSourceSelect({ code: 'FileCatalog', value: 'cid', text: 'cname' });
$('#FCreater').lrDataSourceSelect({ code: 'BaseUser', value: 'f_userid', text: 'f_realname' });
// 刷新
$('#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 Просмотреть файл

@@ -54,6 +54,13 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement
dp.Add("CId", queryParam["CId"].ToString(), DbType.String);
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())
{
dp.Add("FCreater", queryParam["FCreater"].ToString(), DbType.String);


Загрузка…
Отмена
Сохранить