|
|
|
@ -1736,12 +1736,12 @@ export default { |
|
|
|
if (valid) { |
|
|
|
this.addOrUpdateForm.archive_no = originalArchiveNo |
|
|
|
delete this.addOrUpdateForm.id |
|
|
|
this.$emit('formLoadingShow', true) |
|
|
|
this.$emit('formLoadingShow', true, arcAddType) |
|
|
|
// 预归档库 |
|
|
|
if (this.isDesFormType === 'prearchiveLibrary') { |
|
|
|
if (this.fileOriginal === null || this.fileOriginal === '') { |
|
|
|
this.$message({ message: '请上传电子原件', type: 'error', offset: 8 }) |
|
|
|
this.$emit('formLoadingShow', false) |
|
|
|
this.$emit('formLoadingShow', false, arcAddType) |
|
|
|
return false |
|
|
|
} |
|
|
|
// delete this.addOrUpdateForm.fileOriginal |
|
|
|
@ -1763,7 +1763,7 @@ export default { |
|
|
|
this.crud.refresh() |
|
|
|
this.fileOriginal = null |
|
|
|
} |
|
|
|
this.$emit('formLoadingShow', false) |
|
|
|
this.$emit('formLoadingShow', false, arcAddType) |
|
|
|
}) |
|
|
|
} else if (this.isDesFormType === 'mergeFile') { |
|
|
|
// 合并成件 |
|
|
|
@ -1785,7 +1785,7 @@ export default { |
|
|
|
} |
|
|
|
this.$emit('close-dialog') |
|
|
|
this.crud.refresh() |
|
|
|
this.$emit('formLoadingShow', false) |
|
|
|
this.$emit('formLoadingShow', false, arcAddType) |
|
|
|
}) |
|
|
|
} else { |
|
|
|
// 收集库 |
|
|
|
@ -1882,7 +1882,7 @@ export default { |
|
|
|
this.$message({ message: res.message + ',新增失败', type: 'error', offset: 8 }) |
|
|
|
this.$emit('close-dialog', parentsId) |
|
|
|
} |
|
|
|
this.$emit('formLoadingShow', false) |
|
|
|
this.$emit('formLoadingShow', false, arcAddType) |
|
|
|
}) |
|
|
|
} else { |
|
|
|
collectEdit(params).then(res => { |
|
|
|
@ -1894,7 +1894,7 @@ export default { |
|
|
|
this.$message({ message: res.message + ',编辑失败', type: 'error', offset: 8 }) |
|
|
|
this.$emit('close-dialog', parentsId) |
|
|
|
} |
|
|
|
this.$emit('formLoadingShow', false) |
|
|
|
this.$emit('formLoadingShow', false, arcAddType) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
|