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>