Quellcode durchsuchen

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

大厂分支
liangkun vor 4 Jahren
Ursprung
Commit
a7db3dd8ed
1 geänderte Dateien mit 8 neuen und 2 gelöschten Zeilen
  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 Datei anzeigen

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


Laden…
Abbrechen
Speichern