|
|
|
|
@ -327,12 +327,11 @@ function AddFunctionAlty(value, row, index) {
|
|
|
|
|
str += '<button type="button" class="btn btn-primary TableView btn-sm" onclick="borrowing('+patientId+')" data-toggle="modal" data-target="#myModal1">借阅申请</button>';
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
debugger
|
|
|
|
|
//判断可否下载
|
|
|
|
|
if((null != isDownload && isDownload == 1) || downloadRecord == '1'){
|
|
|
|
|
str += '<button type="button" class="btn btn-sm btn-info TableView btn-sm" onclick="downloadPdf('+patientId+')">下载PDF</button>';
|
|
|
|
|
}else{
|
|
|
|
|
if(downloadOper == 1){
|
|
|
|
|
if(downloadOper == 1){
|
|
|
|
|
if((null != isDownload && isDownload == 1) || downloadRecord == '1'){
|
|
|
|
|
str += '<button type="button" class="btn btn-sm btn-info TableView btn-sm" onclick="downloadPdf('+patientId+')">下载PDF</button>';
|
|
|
|
|
}else{
|
|
|
|
|
str += '<button type="button" class="btn btn-success TableView btn-sm" onclick="downBorrowing('+patientId+')" data-toggle="modal" data-target="#myModal1">下载申请</button>';
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|