From 221bb1704bb74b38655c2cd2413242885b5cc614 Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期日, 28 四月 2024 09:50:55 +0800 Subject: [PATCH] 1、调整路由模式为hash模式以试图解决项目上线后刷新页面后无法正常跳转页面而出现JSON页面问题 2、首页设备级看板点击报修按钮跳转至故障报修页面并根据设备编号筛选页面对应数据 --- src/views/eam/DailyMaintenanceStandard3List.vue | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/views/eam/DailyMaintenanceStandard3List.vue b/src/views/eam/DailyMaintenanceStandard3List.vue index 7e4462e..6b99f7a 100644 --- a/src/views/eam/DailyMaintenanceStandard3List.vue +++ b/src/views/eam/DailyMaintenanceStandard3List.vue @@ -111,6 +111,12 @@ icon="download" >妯$増涓嬭浇</a-button> <a-button + v-show="selectedRowKeys.length == 1 " + type="primary" + @click="handlePrint(selectionRows[0])" + icon="highlight" + >妯$増鎵撳嵃</a-button> + <a-button type='primary' @click='searchQuery' icon='search' @@ -643,6 +649,11 @@ } }) }, + + handlePrint(record) { + let href = `${window._CONFIG['domianURL']}/jmreport/view/934708250372923392?id=` + record.id; //缃戠珯閾炬帴 + window.open(href, "_blank"); + }, } } </script> -- Gitblit v1.9.3