| | |
| | | <div class="search-background"> |
| | | <span class="search-group"> |
| | | <span style="width: 120px">标准方法:</span> |
| | | <el-input size="small" v-model="searchForm.methodName" clearable></el-input> |
| | | <!-- <el-input size="small" v-model="searchForm.methodName" clearable></el-input> --> |
| | | <el-input v-model="searchForm.methodName" clearable size="small"></el-input> |
| | | </span> |
| | | <span class="search-group"> |
| | | <el-button size="medium" @click="resetSearchForm">重 置</el-button> |
| | |
| | | type: 'text', |
| | | clickFun: (row) => { |
| | | this.openFormDia('edit', row); |
| | | }, |
| | | }, |
| | | { |
| | | name: '导出', |
| | | type: 'text', |
| | | clickFun: (row) => { |
| | | this.downLoadPost(row); |
| | | }, |
| | | }, |
| | | { |
| | |
| | | this.formDIa = false |
| | | this.searchList() |
| | | }, |
| | | // 导出 |
| | | downLoadPost(row) { |
| | | this.$axios.get(this.$api.processMethodVerify.exportMethodVerify + '?methodVerifyId=' + row.methodVerifyId,{responseType: "blob"}).then(res => { |
| | | this.outLoading = false |
| | | this.$message.success('导出成功') |
| | | const blob = new Blob([res],{ type: 'application/msword' }); |
| | | const url = URL.createObjectURL(blob); |
| | | const link = document.createElement('a'); |
| | | link.href = url; |
| | | link.download = '标准(方法)确认记录.docx'; |
| | | link.click(); |
| | | }) |
| | | }, |
| | | // 分页 |
| | | handleSizeChange(val) { |
| | | this.page.size = val; |