From 3376923c7b7a6e4418286ca53e15e750949b107f Mon Sep 17 00:00:00 2001 From: kgdxpr Date: Tue, 25 Jun 2024 09:51:39 +0800 Subject: [PATCH] 'commit' --- .../tb/zbdc/examine/examine_search_xx.html | 25 ++++++++++++------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/WebRoot/view/tb/zbdc/examine/examine_search_xx.html b/WebRoot/view/tb/zbdc/examine/examine_search_xx.html index b31e3d3b..164a2aed 100644 --- a/WebRoot/view/tb/zbdc/examine/examine_search_xx.html +++ b/WebRoot/view/tb/zbdc/examine/examine_search_xx.html @@ -83,9 +83,12 @@
@@ -124,14 +127,18 @@ defaultToolbar: [] }); - table.on('tool(myTable)', function (obj) { - layer.open({ - type: 2, - title: obj.data.data_name, - shade: 0.1, - area: ['800px', '512px'], - content: './examine_search_details.html?year=' + obj.data.year - }); + table.on('tool(myTable)', function (obj) { + if (obj.event == 'view') { + layer.open({ + type: 2, + title: obj.data.data_name, + shade: 0.1, + area: ['800px', '512px'], + content: './examine_search_details.html?year=' + obj.data.year + }); + } else { + window.location.href = '/QingLong/zbdc/CheckOneKeyExportExcel'; + } });