| | |
| | | method: '修订', |
| | | } |
| | | this.title = '新增' |
| | | this.file = null |
| | | this.addDialogVisible = true; |
| | | }, |
| | | // 导出 |
| | |
| | | this.outLoading = true |
| | | exportOutManageRecordAudit(this.queryParams).then(res => { |
| | | this.outLoading = false |
| | | if (res.code == 201) return this.$message.error('导出失败') |
| | | let url = this.javaApi + '/word/' + res.data |
| | | this.$download.saveAs(url, "文件修订表"); |
| | | this.$download.downloadFileFromUrl(res.data, "文件修订表"); |
| | | }) |
| | | }, |
| | | getList() { |
| | |
| | | handleEdit(row) { |
| | | this.addInfo = row |
| | | this.title = '修改' |
| | | this.file = null |
| | | this.addDialogVisible = true; |
| | | }, |
| | | // 审批 |
| | |
| | | }) |
| | | .then(() => { |
| | | ratifyManageRecordAudit({ id: row.id }).then(res => { |
| | | if (res.code === 201) { |
| | | return; |
| | | } |
| | | this.$message.success('操作成功'); |
| | | this.refreshTable(); |
| | | }) |