update 仿真执行 算例下的关键结果、仿真报告增加重命名

This commit is contained in:
2026-03-25 10:36:58 +08:00
parent 60a6f2c193
commit 1bb000fa6a
2 changed files with 13 additions and 5 deletions

View File

@@ -1,10 +1,10 @@
<!-- 关键结果 --> <!-- 作业相关--仿真报告 -->
<template> <template>
<div class="result-page"> <div class="result-page">
<div class="dir-content"> <div class="dir-content">
<div class="table-box"> <div class="table-box">
<BaseTable <FileTable
v-if="tableShow" v-if="tableShow"
showIndex showIndex
ref="baseTableRef" ref="baseTableRef"
@@ -17,12 +17,15 @@
}" }"
:full-height="true" :full-height="true"
:action-list="actionList" :action-list="actionList"
:defaultActions="['rename', 'refresh']"
fileNameField="name"
fileIdField="fileId"
> >
<template #leftOptions> <template #leftOptions>
<el-button @click="ArchiveRunDataFun">归档</el-button> <el-button @click="ArchiveRunDataFun">归档</el-button>
<el-button @click="openFun">上传</el-button> <el-button @click="openFun">上传</el-button>
</template> </template>
</BaseTable> </FileTable>
</div> </div>
<!-- <div class="operate-box"> <!-- <div class="operate-box">
<el-button @click="openFun">上传</el-button> <el-button @click="openFun">上传</el-button>
@@ -433,6 +436,7 @@ import {
} from '@/api/project/run'; } from '@/api/project/run';
import { ref, watch, nextTick, onMounted, reactive } from 'vue'; import { ref, watch, nextTick, onMounted, reactive } from 'vue';
import BaseTable from '@/components/common/table/baseTable.vue'; import BaseTable from '@/components/common/table/baseTable.vue';
import FileTable from '@/components/common/fileTable/index.vue';
import { ElMessage } from 'element-plus'; import { ElMessage } from 'element-plus';
import { FILE_TYPE } from '@/utils/enum/file'; import { FILE_TYPE } from '@/utils/enum/file';
import TableForm from '@/components/common/table/tableForm.vue'; import TableForm from '@/components/common/table/tableForm.vue';

View File

@@ -22,7 +22,7 @@
</div> </div>
<div class="dir-content" v-else> <div class="dir-content" v-else>
<div class="table-box"> <div class="table-box">
<BaseTable <FileTable
v-if="tableShow" v-if="tableShow"
showIndex showIndex
ref="baseTableRef" ref="baseTableRef"
@@ -32,6 +32,9 @@
:params="apiParam" :params="apiParam"
:full-height="true" :full-height="true"
:action-list="showLeftOption ? actionList : []" :action-list="showLeftOption ? actionList : []"
:default-actions="showLeftOption ? ['rename', 'refresh'] : []"
fileNameField="name"
fileIdField="fileId"
> >
<template #leftOptions v-if="showLeftOption"> <template #leftOptions v-if="showLeftOption">
<el-button @click="ArchiveRunDataFun">归档</el-button> <el-button @click="ArchiveRunDataFun">归档</el-button>
@@ -43,7 +46,7 @@
>批量删除</el-button >批量删除</el-button
> >
</template> </template>
</BaseTable> </FileTable>
</div> </div>
<!-- <div class="operate-box"> <!-- <div class="operate-box">
<el-button @click="ArchiveRunDataFun">归档</el-button> <el-button @click="ArchiveRunDataFun">归档</el-button>
@@ -487,6 +490,7 @@ import {
} from '@/api/project/run'; } from '@/api/project/run';
import { ref, watch, nextTick, onMounted, reactive } from 'vue'; import { ref, watch, nextTick, onMounted, reactive } from 'vue';
import BaseTable from '@/components/common/table/baseTable.vue'; import BaseTable from '@/components/common/table/baseTable.vue';
import FileTable from '@/components/common/fileTable/index.vue';
import { ElMessage } from 'element-plus'; import { ElMessage } from 'element-plus';
import { FILE_TYPE } from '@/utils/enum/file'; import { FILE_TYPE } from '@/utils/enum/file';
import TableForm from '@/components/common/table/tableForm.vue'; import TableForm from '@/components/common/table/tableForm.vue';