| | |
| | | currentRightClickedTableRowInfo: {}, |
| | | hasLoadedDataTabKeyArray: [], |
| | | url:{ |
| | | submitProccess:'/dncFlow/dispatchFile/submitProccess' |
| | | |
| | | } |
| | | } |
| | | }, |
| | |
| | | description: res.message |
| | | }) |
| | | } |
| | | }) |
| | | .finally(() => { |
| | | that.$destroyAll() |
| | | }) |
| | | }, |
| | | onCancel: () => { |
| | | that.$destroyAll() |
| | | } |
| | | }) |
| | | }, |
| | | handleAppoint(){ |
| | | const that = this |
| | | const { docId, param, attributionId,attributionType,publishFileId } = this.currentRightClickedTableRowInfo |
| | | that.$confirm({ |
| | | title: '提示', |
| | | content: `确认定型吗?`, |
| | | okText: '确认', |
| | | cancelText: '取消', |
| | | onOk: () => { |
| | | let dispatchFile = { |
| | | 'docId':docId, |
| | | 'attributionId':attributionId, |
| | | 'attributionType':attributionType, |
| | | 'fileId':publishFileId |
| | | } |
| | | postAction(this.url.submitProccess,dispatchFile) |
| | | .then(res => { |
| | | if (res.success) { |
| | | this.$message.success('流程发起成功') |
| | | } else { |
| | | that.$notification.error({ |
| | | message: '消息', |
| | | description: res.message |
| | | }) |
| | | } |
| | | }) |
| | | .catch(err => { |
| | | that.$notification.error({ |
| | | message: '消息', |
| | | description: err.message |
| | | }) |
| | | }) |
| | | .finally(() => { |
| | | that.$destroyAll() |