| | |
| | | this.selection.forEach((item) => { |
| | | delIds.push(item.id); |
| | | }); |
| | | delCertificationDetail(delIds).then((res) => { |
| | | delCertificationDetail({ ids: delIds.join(',') }).then((res) => { |
| | | if (res.code !== 200) return; |
| | | this.refreshTable(); |
| | | this.$message.success("删除成功"); |
| | |
| | | }, |
| | | // 资质明细附件下载 |
| | | handleDownLoad(row) { |
| | | const url = process.env.VUE_APP_BASE_API + "/img/" + row.fileUrl; |
| | | this.$download.saveAs(url, row.fileUrl); |
| | | if (!row.fileUrl) { |
| | | this.$message.warning('暂无附件') |
| | | return; |
| | | } |
| | | this.$download.downloadFileFromUrl(row.fileUrl, row.fileUrl); |
| | | }, |
| | | openAdd() { |
| | | this.qualificationsConnectVisible = true; |