From d158088784cbb6547b55619fc1cae7ea0d9518ce Mon Sep 17 00:00:00 2001 From: zengwh <81383286@qq.com> Date: Thu, 15 Jul 2021 18:09:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=89=93=E5=BC=80=E7=97=85?= =?UTF-8?q?=E6=A1=88=E9=A1=B5=E9=9D=A2=E7=9A=84js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/static/js/font/recordList.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/webapp/static/js/font/recordList.js b/src/main/webapp/static/js/font/recordList.js index 729b1fc..f78965a 100644 --- a/src/main/webapp/static/js/font/recordList.js +++ b/src/main/webapp/static/js/font/recordList.js @@ -69,7 +69,8 @@ $('#mytab').bootstrapTable({ { title:'操作', formatter: function(value,row){ - return '查看详情'; + var patientId = "'" + row.patientId + "'"; + return ''; } } ], @@ -95,16 +96,15 @@ $('#mytab').bootstrapTable({ }, //双击事件 onDblClickRow: function (row) { - window.open(returnShowDetailUrl(row.patientId)); + showDetail(row.patientId); }, }) //定义查看详情的请求地址url function returnShowDetailUrl(patientId){ - return path + '/commom/showRecord174?patientId=' + patientId; + return path + '/font/showRecordFont?patientId=' + patientId; } //病案預覽 //查看详情 function showDetail(patientId){ - //隐藏模板选项 - window.location.href=returnShowDetailUrl(patientId); + window.open(returnShowDetailUrl(patientId),'fullscreen','fullscreen,scrollbars'); }