|
@@ -1034,7 +1034,11 @@ export default {
|
|
|
processReportResult.reportResults.length > 0
|
|
processReportResult.reportResults.length > 0
|
|
|
) {
|
|
) {
|
|
|
processReportResult.reportResults.forEach(function (item, index) {
|
|
processReportResult.reportResults.forEach(function (item, index) {
|
|
|
- item.previewIndex = 1;
|
|
|
|
|
|
|
+ if (item.reportDefinitionType!=='ExcelReport') {
|
|
|
|
|
+ item.previewIndex=1;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ item.previewIndex=2;
|
|
|
|
|
+ }
|
|
|
if (index == 0) {
|
|
if (index == 0) {
|
|
|
item['showPreview'] = true;
|
|
item['showPreview'] = true;
|
|
|
} else {
|
|
} else {
|