From a7db3dd8ed7eba5d7ad026356404929bbee02e4d Mon Sep 17 00:00:00 2001 From: liangkun Date: Tue, 25 Aug 2020 16:09:44 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=91=E9=9A=85=E8=BA=AB=E4=BB=BD=E8=AF=81?= =?UTF-8?q?=E8=AF=BB=E5=8D=A1=E5=99=A8=E6=9F=A5=E8=AF=A2=E5=9B=9E=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/LR_Content/script/lr-form.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-form.js index fedd0277b..33ee658e6 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-form.js +++ b/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 += ''; _html += '
'; _html += '
'; + if (!!isreadcard) + _html += ' 读  取'; _html += ' 重  置'; _html += ' 查  询'; _html += '
'; @@ -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);