|
|
@@ -757,7 +757,12 @@ export default {
|
|
|
const executeProcess = function () {
|
|
|
_self.loading = true;
|
|
|
ProcessReportResource.uniqueByNo(infoButton.processReportNo).then(
|
|
|
- successData => {
|
|
|
+ response => {
|
|
|
+ if (response.errorCode != 0) {
|
|
|
+ Notify.error('流程和报表获取错误', response.errorMessage, true);
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ const successData = response.data;
|
|
|
_self.processReportDto = successData;
|
|
|
if (successData) {
|
|
|
_self.pdfOnly = successData.pdfOnly;
|