fix:界面优化,任务执行
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
</el-upload>
|
||||
<div class="select-file-list">
|
||||
<div class="select-file-item" v-for="item in row?.defaultValue" :key="item">
|
||||
<div class="file-name">{{ getFileNameFun(item) }}</div>
|
||||
<div class="file-name"> <el-icon><Document /></el-icon> {{ getFileNameFun(item) }}</div>
|
||||
<div v-if="!readonly" class="file-operate" @click="deleteOnlineFileFun(item)">
|
||||
<el-icon><Close /></el-icon>
|
||||
</div>
|
||||
@@ -33,7 +33,7 @@
|
||||
<el-button type="primary" :disabled="readonly" @click="selectOnlineFileFun">选择 </el-button>
|
||||
<div class="select-file-list">
|
||||
<div class="select-file-item" v-for="item in row?.defaultValue" :key="item">
|
||||
<div class="file-name">{{ getFileNameFun(item) }}</div>
|
||||
<div class="file-name"> <el-icon><Document /></el-icon> {{ getFileNameFun(item) }}</div>
|
||||
<div v-if="!readonly" class="file-operate" @click="deleteOnlineFileFun(item)">
|
||||
<el-icon><Close /></el-icon>
|
||||
</div>
|
||||
|
||||
@@ -218,7 +218,6 @@ import {
|
||||
} from '@/api/project/run';
|
||||
import runVersionTreeDiv from './operateComponent/runVersionTreeDiv.vue';
|
||||
import taskRunPerformance from './operateComponent/taskRunPerformance.vue';
|
||||
import createRunReport from './operateComponent/createRunReport.vue';
|
||||
import ReportInputDialog from '@/components/common/report/reportInputDialog.vue';
|
||||
import { ElMessage, ElMessageBox } from 'element-plus';
|
||||
import { attentionTaskApi } from '@/api/project/task';
|
||||
|
||||
@@ -312,7 +312,9 @@ const systemApproveQueryApproveFlowTempalteFun = async () => {
|
||||
const res: any = await systemApproveQueryApproveFlowTempalteApi({});
|
||||
|
||||
if (res && res.code === 200) {
|
||||
templateList.value = res.data;
|
||||
templateList.value = res.data.filter((item: any) => {
|
||||
return item.templateName.includes('交付物');
|
||||
});
|
||||
} else {
|
||||
templateList.value = [];
|
||||
}
|
||||
@@ -334,8 +336,8 @@ onMounted(async () => {
|
||||
top: 3px;
|
||||
}
|
||||
|
||||
:deep(.el-tabs__header){
|
||||
width: calc(100% - 130px) ;
|
||||
:deep(.el-tabs__header) {
|
||||
width: calc(100% - 130px);
|
||||
}
|
||||
}
|
||||
.el-tabs {
|
||||
|
||||
Reference in New Issue
Block a user