|
|
|
|
@ -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 += '<button type="button" class="btn btn-success TableView btn-sm" onclick="unlock('+patientId+')">解锁</button>';
|
|
|
|
|
}else{
|
|
|
|
|
if((null != isShowDetail && isShowDetail == 1) || showRecord == "1"){
|
|
|
|
|
str += '<a type="button" href="'+returnShowDetailUrl(row.patientId)+'" class="btn btn-danger TableView btn-sm" onclick="showDetail('+patientId+')" target="_blank">查看详情</a>';
|
|
|
|
|
str += '<a type="button" href="'+returnShowDetailUrl(row.patientId)+'" class="btn btn-danger TableView btn-sm" target="_blank">查看详情</a>';
|
|
|
|
|
}else{
|
|
|
|
|
if(borrowingOper == 1){
|
|
|
|
|
str += '<button type="button" class="btn btn-primary TableView btn-sm" onclick="borrowing('+patientId+')" data-toggle="modal" data-target="#myModal1">借阅申请</button>';
|
|
|
|
|
|