瀏覽代碼

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

大厂分支
liangkun 4 年之前
父節點
當前提交
a7db3dd8ed
共有 1 個文件被更改,包括 8 次插入2 次删除
  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 查看文件

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


Loading…
取消
儲存