|
@@ -710,7 +710,7 @@ |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
// 多条件查询框 |
|
|
// 多条件查询框 |
|
|
$.fn.lrMultipleQuery = function (search, height, width) { |
|
|
|
|
|
|
|
|
$.fn.lrMultipleQuery = function (search, height, width, isreadcard, readcallback) { |
|
|
var $this = $(this); |
|
|
var $this = $(this); |
|
|
var contentHtml = $this.html(); |
|
|
var contentHtml = $this.html(); |
|
|
$this.addClass('lr-query-wrap'); |
|
|
$this.addClass('lr-query-wrap'); |
|
@@ -724,6 +724,8 @@ |
|
|
//_html += '</div>'; |
|
|
//_html += '</div>'; |
|
|
_html += '<div class="lr-query-arrow"><div class="lr-query-inside"></div></div>'; |
|
|
_html += '<div class="lr-query-arrow"><div class="lr-query-inside"></div></div>'; |
|
|
_html += '<div class="lr-query-content-bottom">'; |
|
|
_html += '<div class="lr-query-content-bottom">'; |
|
|
|
|
|
if (!!isreadcard) |
|
|
|
|
|
_html += '<a id="lr_btn_readcard" class="btn btn-default"> 读 取</a>'; |
|
|
_html += '<a id="lr_btn_queryReset" class="btn btn-default"> 重 置</a>'; |
|
|
_html += '<a id="lr_btn_queryReset" class="btn btn-default"> 重 置</a>'; |
|
|
_html += '<a id="lr_btn_querySearch" class="btn btn-primary"> 查 询</a>'; |
|
|
_html += '<a id="lr_btn_querySearch" class="btn btn-primary"> 查 询</a>'; |
|
|
_html += '</div>'; |
|
|
_html += '</div>'; |
|
@@ -758,7 +760,11 @@ |
|
|
} |
|
|
} |
|
|
$content.lrSetFormData(query); |
|
|
$content.lrSetFormData(query); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
if (!!readcallback) { |
|
|
|
|
|
$this.find('#lr_btn_readcard').on('click', function () { |
|
|
|
|
|
readcallback(); |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
$(document).click(function (e) { |
|
|
$(document).click(function (e) { |
|
|
var et = e.target || e.srcElement; |
|
|
var et = e.target || e.srcElement; |
|
|
var $et = $(et); |
|
|
var $et = $(et); |
|
|