|
|
@ -9,6 +9,12 @@ |
|
|
|
</template> |
|
|
|
刷新 |
|
|
|
</ButtonGradient> |
|
|
|
<ButtonGradient @click="downloadPDF" class="refresh-btn"> |
|
|
|
<template #prefix> |
|
|
|
<img src="@screen/images/export.svg" /> |
|
|
|
</template> |
|
|
|
规范文件 |
|
|
|
</ButtonGradient> |
|
|
|
</div> |
|
|
|
|
|
|
|
<InputSearch ref="searchComp" style="width: 400px" :formList="searchFormList" |
|
|
@ -101,6 +107,15 @@ export default { |
|
|
|
this.searchData.pageNum = 1; |
|
|
|
this.$refs.searchComp.handleResetForm(); |
|
|
|
}, |
|
|
|
downloadPDF() { |
|
|
|
const filePath = '/documents/规范文件.pdf'; |
|
|
|
const link = document.createElement('a'); |
|
|
|
link.href = filePath; |
|
|
|
link.download = '规范文件.pdf'; |
|
|
|
document.body.appendChild(link); |
|
|
|
link.click(); |
|
|
|
document.body.removeChild(link); |
|
|
|
}, |
|
|
|
handleSearch(data) { |
|
|
|
let startTime = null; |
|
|
|
let endTime = null; |
|
|
|