| | |
| | | // queryParams |
| | | exportOutManageRecordCheck(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, '文件审批记录') |
| | | }) |
| | | }, |
| | | getAuthorizedPerson() { |
| | |
| | | }) |
| | | }) |
| | | this.personList = data |
| | | this.refreshTable()() |
| | | this.refreshTable() |
| | | }) |
| | | }, |
| | | // 审核 |
| | |
| | | if (action === 'confirm') { |
| | | // 点击“确定”按钮,允许关闭 |
| | | checkManageRecordCheck({ id: row.id, checkState: '通过' }).then(res => { |
| | | if (res.code === 201) return |
| | | this.refreshTable() |
| | | done(); |
| | | this.$message({ |
| | |
| | | } else if (action === 'cancel') { |
| | | // 点击“取消”按钮,不允许关闭 |
| | | checkManageRecordCheck({ id: row.id, checkState: '不通过' }).then(res => { |
| | | if (res.code === 201) return |
| | | this.refreshTable() |
| | | done(); |
| | | this.$message({ |
| | |
| | | if (action === 'confirm') { |
| | | // 点击“确定”按钮,允许关闭 |
| | | ratifyManageRecordCheck({ id: row.id, ratifyState: '通过' }).then(res => { |
| | | if (res.code === 201) return |
| | | this.refreshTable() |
| | | done(); |
| | | this.$message({ |
| | |
| | | } else if (action === 'cancel') { |
| | | // 点击“取消”按钮,不允许关闭 |
| | | ratifyManageRecordCheck({ id: row.id, ratifyState: '不通过' }).then(res => { |
| | | if (res.code === 201) return |
| | | this.refreshTable() |
| | | done(); |
| | | this.$message({ |
| | |
| | | this.upLoading = false; |
| | | if (response.code == 200) { |
| | | this.$message.success('上传成功'); |
| | | this.refreshTable()() |
| | | this.refreshTable() |
| | | } else { |
| | | this.$message.error('上传失败'); |
| | | } |
| | |
| | | }) |
| | | .then(() => { |
| | | delManageRecordCheck({ id: row.id }).then((res) => { |
| | | if (res.code == 201) return; |
| | | this.$message.success("删除成功"); |
| | | this.refresh(); |
| | | }); |