diff --git a/src/main/webapp/static/js/recordManage/templateSearch/searchCommomMethod.js b/src/main/webapp/static/js/recordManage/templateSearch/searchCommomMethod.js index 8f43cbc..75cf0d1 100644 --- a/src/main/webapp/static/js/recordManage/templateSearch/searchCommomMethod.js +++ b/src/main/webapp/static/js/recordManage/templateSearch/searchCommomMethod.js @@ -327,12 +327,11 @@ function AddFunctionAlty(value, row, index) { str += ''; } } - debugger //判断可否下载 - if((null != isDownload && isDownload == 1) || downloadRecord == '1'){ - str += ''; - }else{ - if(downloadOper == 1){ + if(downloadOper == 1){ + if((null != isDownload && isDownload == 1) || downloadRecord == '1'){ + str += ''; + }else{ str += ''; } } diff --git a/src/main/webapp/static/js/recordManage/templateSearch/searchCommomMethodBlood.js b/src/main/webapp/static/js/recordManage/templateSearch/searchCommomMethodBlood.js index 24a1df0..304199d 100644 --- a/src/main/webapp/static/js/recordManage/templateSearch/searchCommomMethodBlood.js +++ b/src/main/webapp/static/js/recordManage/templateSearch/searchCommomMethodBlood.js @@ -369,10 +369,10 @@ function AddFunctionAlty(value, row, index) { } } //判断可否下载 - if((null != isDownload && isDownload == 1) || downloadRecord == '1'){ - str += ''; - }else{ - if(downloadOper == 1){ + if(downloadOper == 1){ + if((null != isDownload && isDownload == 1) || downloadRecord == '1'){ + str += ''; + }else{ str += ''; } }