Explorar el Código

金隅身份证读卡器查询回调

大厂分支
liangkun hace 4 años
padre
commit
a7db3dd8ed
Se han modificado 1 ficheros con 8 adiciones y 2 borrados
  1. +8
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-form.js

+ 8
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-form.js Ver fichero

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

if (!!readcallback) {
$this.find('#lr_btn_readcard').on('click', function () {
readcallback();
});
}
$(document).click(function (e) {
var et = e.target || e.srcElement;
var $et = $(et);


Cargando…
Cancelar
Guardar