From a20bf71a183e02d3f01826152df9061855bc39e8 Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期一, 26 五月 2025 18:00:37 +0800
Subject: [PATCH] 设备管理新增生产设备自主维护点检表页面
---
src/views/eam/DailyInspectionStandardList.vue | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/src/views/eam/DailyInspectionStandardList.vue b/src/views/eam/DailyInspectionStandardList.vue
index 8ce3764..8473bf0 100644
--- a/src/views/eam/DailyInspectionStandardList.vue
+++ b/src/views/eam/DailyInspectionStandardList.vue
@@ -1,6 +1,6 @@
<template>
<a-card
- title="鑷富缁存姢鐐规鏍囧噯"
+ title=""
:bordered='false'
>
<div class='table-page-search-wrapper'>
@@ -86,6 +86,12 @@
@click="handleDownload"
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"
@@ -712,6 +718,11 @@
})
},
+ handlePrint(record) {
+ let href = `${window._CONFIG['domianURL']}/jmreport/view/934677113625829376?id=` + record.id; //缃戠珯閾炬帴
+ window.open(href, "_blank");
+ },
+
}
}
</script>
--
Gitblit v1.9.3