fix:bug修复
This commit is contained in:
@@ -139,22 +139,24 @@
|
||||
</taskPerformance>
|
||||
</div>
|
||||
<div class="task-tab-content set-tab-content" v-if="keyResultType === 'resultImage'">
|
||||
<resultImage
|
||||
<taskResultImage
|
||||
v-if="keyResultType === 'resultImage'"
|
||||
:task-id="currentTaskInfo?.uuid"
|
||||
:taskData="currentTaskInfo"
|
||||
:task-data="currentTaskInfo"
|
||||
:show-checkbox="showCheckbox"
|
||||
:no-auth="noAuth"
|
||||
:show-left-options="showLeftOptions"
|
||||
:canUpdate="isPMemberOrEMember"
|
||||
></resultImage>
|
||||
></taskResultImage>
|
||||
</div>
|
||||
<div class="task-tab-content set-tab-content" v-if="keyResultType === 'curveView'">
|
||||
<taskCurve
|
||||
<taskResultCsv
|
||||
v-if="keyResultType === 'curveView'"
|
||||
:task-id="currentTaskInfo?.uuid"
|
||||
:taskData="currentTaskInfo"
|
||||
:task-data="currentTaskInfo"
|
||||
:show-checkbox="showCheckbox"
|
||||
:no-auth="noAuth"
|
||||
:show-left-options="showLeftOptions"
|
||||
:canUpdate="isPMemberOrEMember"
|
||||
></taskCurve>
|
||||
></taskResultCsv>
|
||||
</div>
|
||||
<div class="task-tab-content set-tab-content" v-if="keyResultType === 'video'">
|
||||
<videoFile
|
||||
@@ -319,10 +321,8 @@ import { onMounted, reactive, ref, watch, provide } from 'vue';
|
||||
import Dialog from '@/components/common/dialog/index.vue';
|
||||
import taskInfo from '@/components/taskDetail/taskInfo.vue';
|
||||
import taskPerformance from '@/components/taskDetail/taskPerformance.vue';
|
||||
import resultImage from '@/components/taskDetail/resultImage.vue';
|
||||
import taskReport from '@/components/taskDetail/taskReport.vue';
|
||||
import taskModel from '@/components/taskDetail/taskModel.vue';
|
||||
import taskCurve from '@/components/taskDetail/taskCurve.vue';
|
||||
import task3DModel from '@/components/taskDetail/task3DModel.vue';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import { deliverableApproveApi } from '@/api/project/run';
|
||||
@@ -339,6 +339,8 @@ import { enableConfigByTenant, TENANT_ENUM } from '@/tenants/tenant';
|
||||
import BaseTable from '@/components/common/table/baseTable.vue';
|
||||
import { pageApi } from '@/api/system/systemLog';
|
||||
import DemandPreview from '@/views/task/simulationTask/newDemand/components/preview.vue';
|
||||
import taskResultImage from '@/views/task/execution/components/taskDetailPage/components/taskResultImage.vue';
|
||||
import taskResultCsv from '@/views/task/execution/components/taskDetailPage/components/taskResultCsv.vue';
|
||||
|
||||
const emits = defineEmits(['closeFn', 'updateFn']);
|
||||
const props = defineProps({
|
||||
@@ -370,6 +372,14 @@ const props = defineProps({
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
noAuth: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
showCheckbox: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
});
|
||||
|
||||
watch(
|
||||
|
||||
Reference in New Issue
Block a user