@@ -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> | ||||
@@ -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 () { | ||||
@@ -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); | ||||