fix:审批界面的指标界面报错修复,文件新增预览下载按钮展示
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
endTime: '',
|
||||
}"
|
||||
:show-checkbox="true"
|
||||
:actionList="showLeftOptions ? actionList : []"
|
||||
:actionList="actionList"
|
||||
:full-height="true"
|
||||
>
|
||||
<template v-if="showLeftOptions" #leftOptions>
|
||||
@@ -132,6 +132,9 @@ const actionList = ref([
|
||||
click: (row: any) => {
|
||||
deleteFun(row);
|
||||
},
|
||||
hide: () => {
|
||||
return !props.showLeftOptions;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
startTime: '',
|
||||
endTime: '',
|
||||
}"
|
||||
:actionList="showLeftOptions ? actionList : []"
|
||||
:actionList="actionList"
|
||||
>
|
||||
<template v-if="showLeftOptions" #leftOptions>
|
||||
<!-- <div v-if="showFilter">
|
||||
@@ -124,6 +124,9 @@ const actionList = ref([
|
||||
click: (row: any) => {
|
||||
deleteFun(row);
|
||||
},
|
||||
hide: () => {
|
||||
return !props.showLeftOptions;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
}"
|
||||
:show-checkbox="true"
|
||||
:full-height="true"
|
||||
:actionList="showLeftOptions ? actionList : []"
|
||||
:actionList="actionList"
|
||||
>
|
||||
<template v-if="showLeftOptions" #leftOptions>
|
||||
<el-upload :show-file-list="false" :accept="accept" :before-upload="beforeUploadFun">
|
||||
@@ -72,9 +72,7 @@ import { initEcharts } from '../common/echartCard/echartsOptions';
|
||||
import { FILE_TYPE } from '@/utils/enum/file';
|
||||
import BaseTable from '@/components/common/table/baseTable.vue';
|
||||
import { downloadFileById, getFileUploadAcceptFun, queryFileIdByNodeIdFun } from '@/utils/file';
|
||||
import {
|
||||
dataOverViewDeleteSimulationNodeFilesApi,
|
||||
} from '@/api/data/dataOverView';
|
||||
import { dataOverViewDeleteSimulationNodeFilesApi } from '@/api/data/dataOverView';
|
||||
import FilePreview from '@/components/common/filePreview/index.vue';
|
||||
import emitter from '@/utils/eventBus';
|
||||
|
||||
@@ -148,6 +146,9 @@ const actionList = ref([
|
||||
click: (row: any) => {
|
||||
deleteFun(row);
|
||||
},
|
||||
hide: () => {
|
||||
return !props.showLeftOptions;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
startTime: '',
|
||||
endTime: '',
|
||||
}"
|
||||
:actionList="showLeftOptions ? actionList : []"
|
||||
:actionList="actionList"
|
||||
>
|
||||
<template v-if="showLeftOptions" #leftOptions>
|
||||
<!-- <div v-if="showFilter">
|
||||
@@ -124,6 +124,9 @@ const actionList = ref([
|
||||
click: (row: any) => {
|
||||
deleteFun(row);
|
||||
},
|
||||
hide: () => {
|
||||
return !props.showLeftOptions;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
|
||||
@@ -118,7 +118,7 @@ const performanceData = ref<any>([]);
|
||||
const getTaskPerformanceDataFun = async () => {
|
||||
const res: any =
|
||||
props.paramType === 'task'
|
||||
? await getTaskPerformanceApi({ taskId: props.taskInfo?.id })
|
||||
? await getTaskPerformanceApi({ taskId: props.taskInfo?.uuid })
|
||||
: await getRunPerformanceApi({ runId: props.runInfo?.uuid });
|
||||
if (res && res.code === 200) {
|
||||
performanceData.value = res.data.map((item: any) => {
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
}"
|
||||
ref="baseTableRef"
|
||||
:showCheckbox="true"
|
||||
:actionList="showLeftOptions ? actionList : []"
|
||||
:actionList="actionList"
|
||||
>
|
||||
<template v-if="showLeftOptions" #leftOptions>
|
||||
<!-- <div v-if="showFilter">
|
||||
@@ -134,6 +134,9 @@ const actionList = ref([
|
||||
click: (row: any) => {
|
||||
deleteFun(row);
|
||||
},
|
||||
hide: () => {
|
||||
return !props.showLeftOptions;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user