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 += '';