|
@ -9,6 +9,12 @@ |
|
|
</template> |
|
|
</template> |
|
|
刷新 |
|
|
刷新 |
|
|
</ButtonGradient> |
|
|
</ButtonGradient> |
|
|
|
|
|
<ButtonGradient @click="downloadPDF" class="refresh-btn"> |
|
|
|
|
|
<template #prefix> |
|
|
|
|
|
<img src="@screen/images/export.svg" /> |
|
|
|
|
|
</template> |
|
|
|
|
|
规范文件 |
|
|
|
|
|
</ButtonGradient> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<InputSearch ref="searchComp" style="width: 400px" :formList="searchFormList" |
|
|
<InputSearch ref="searchComp" style="width: 400px" :formList="searchFormList" |
|
@ -101,6 +107,15 @@ export default { |
|
|
this.searchData.pageNum = 1; |
|
|
this.searchData.pageNum = 1; |
|
|
this.$refs.searchComp.handleResetForm(); |
|
|
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) { |
|
|
handleSearch(data) { |
|
|
let startTime = null; |
|
|
let startTime = null; |
|
|
let endTime = null; |
|
|
let endTime = null; |
|
|