|
|
@@ -28,10 +28,10 @@
|
|
|
Excel报表
|
|
|
</a>
|
|
|
</div>
|
|
|
- <!-- <ProcessReportArchive
|
|
|
- v-if="processReportResult.reportResults != undefined"
|
|
|
+ <ProcessReportArchive
|
|
|
+ v-if="processReportResult.reportResults != undefined && loginClientName == '浙江大华'"
|
|
|
:process-report-result="processReportResult"
|
|
|
- /> -->
|
|
|
+ />
|
|
|
|
|
|
<template
|
|
|
v-for="(reportResult, index) in processReportResult.reportResults"
|
|
|
@@ -169,13 +169,13 @@ import Common from '../../common/Common.js';
|
|
|
import Uuid from '../../common/Uuid.js';
|
|
|
import Notify from '../../common/Notify.js';
|
|
|
import DownloadService from '../../common/DownloadService.js';
|
|
|
-// import ProcessReportArchive from './ProcessReportArchive.vue';
|
|
|
+import ProcessReportArchive from './ProcessReportArchive.vue';
|
|
|
|
|
|
export default {
|
|
|
name: 'ProcessReportResultPreview',
|
|
|
|
|
|
components: {
|
|
|
- // ProcessReportArchive,
|
|
|
+ ProcessReportArchive,
|
|
|
},
|
|
|
|
|
|
props: {
|
|
|
@@ -194,9 +194,9 @@ export default {
|
|
|
data: function () {
|
|
|
return {
|
|
|
'uuid': Uuid.createUUID(),
|
|
|
+ loginClientName: '',
|
|
|
};
|
|
|
},
|
|
|
-
|
|
|
computed: {
|
|
|
// 是否文本区域显示流程结果
|
|
|
isTextAreaShowProcessResult: function () {
|
|
|
@@ -219,6 +219,13 @@ export default {
|
|
|
},
|
|
|
|
|
|
},
|
|
|
+ mounted: function () {
|
|
|
+ const loginInfoJson = localStorage.getItem('#LoginInfo');
|
|
|
+ const loginInfo = JSON.parse(loginInfoJson);
|
|
|
+ if (loginInfo != null) {
|
|
|
+ this.loginClientName = loginInfo.loginClientName;
|
|
|
+ }
|
|
|
+ },
|
|
|
|
|
|
methods: {
|
|
|
/**
|