From 5cf299767e09de90f2c19f6b65d32b67b8277d91 Mon Sep 17 00:00:00 2001 From: zengwh <81383286@qq.com> Date: Wed, 15 Apr 2020 17:05:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=9F=A5=E7=9C=8B=E8=AF=A6=E6=83=85=E5=90=8E?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/templateSearch/TemplateSearchController.java | 2 +- .../js/recordManage/templateSearch/searchCommomMethodqf.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/emr/controller/templateSearch/TemplateSearchController.java b/src/main/java/com/emr/controller/templateSearch/TemplateSearchController.java index 4035fdd..224a48c 100644 --- a/src/main/java/com/emr/controller/templateSearch/TemplateSearchController.java +++ b/src/main/java/com/emr/controller/templateSearch/TemplateSearchController.java @@ -978,7 +978,7 @@ public class TemplateSearchController { * @UpdateRemark: 更新说明 * @Version: 1.0 */ - @RequestMapping(value="cutomSearchTable",produces = {"text/json;charset=UTF-8"}) + @RequestMapping(value="cutomSearchTable",produces = {"text/json;charset=UTF-8"},method = RequestMethod.POST) @ResponseBody public String cutomSearchTable(String sql, Integer page, Integer limit, HttpServletRequest request) { if(StringUtils.isNoneBlank(sql)) { diff --git a/src/main/webapp/static/js/recordManage/templateSearch/searchCommomMethodqf.js b/src/main/webapp/static/js/recordManage/templateSearch/searchCommomMethodqf.js index b6f9cb9..bca141a 100644 --- a/src/main/webapp/static/js/recordManage/templateSearch/searchCommomMethodqf.js +++ b/src/main/webapp/static/js/recordManage/templateSearch/searchCommomMethodqf.js @@ -142,6 +142,8 @@ function freshTable(){ } //生成用户数据 $('#mytab').bootstrapTable({ + method: 'post', + contentType:'application/x-www-form-urlencoded; charset=UTF-8', toolbar: '#toolbar', //工具按钮用哪个容器 striped: true, //是否显示行间隔色 cache: false, //是否使用缓存,默认为true,所以一般情况下需要设置一下这个属性(*) @@ -343,7 +345,7 @@ function AddFunctionAlty(value, row, index) { str += ''; }else{ if((null != isShowDetail && isShowDetail == 1) || showRecord == "1"){ - str += '查看详情'; + str += '查看详情'; }else{ if(borrowingOper == 1){ str += '';