src/views/eam/DailyInspectionStandardList.vue
@@ -87,6 +87,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" @@ -712,6 +718,11 @@ }) }, handlePrint(record) { let href = `${window._CONFIG['domianURL']}/jmreport/view/934677113625829376?id=` + record.id; //网站链接 window.open(href, "_blank"); }, } } </script>