feat: 工况库

This commit is contained in:
JiangSheng
2025-11-11 19:43:01 +08:00
parent 2cd849e9c7
commit a40ca8e3d3
3 changed files with 17 additions and 6 deletions

View File

@@ -23,7 +23,7 @@
<template #pMemberList="{row}">
{{ disposeMemberList(row,'pMemberList') }}
</template>
<template #tableActions="{ row }">
<template #tableActions="{ row }" v-if="hasOperationColumn" >
<div class="gl-table-actions" v-if="!readonly">
<el-link type="primary" @click="editTableRowFun(row)">编辑</el-link>
<el-popconfirm
@@ -188,6 +188,7 @@ interface Props {
modalTableNameList?: string[];
leftVisible?: boolean;
leftButtonVisible?: boolean;
hasOperationColumn?: boolean;
readonly?: boolean;
rememberProjectPhaseId?: string;
projectInfo?: any;
@@ -207,6 +208,7 @@ const props = withDefaults(defineProps<Props>(), {
modalTableNameList: () => (['TASK_POOL_CATEGORY', 'TASK_POOL_TASK', 'TASK_POOL_PERFORMANCE']),
leftVisible: true,
leftButtonVisible: true,
hasOperationColumn: true,
readonly: false,
rememberProjectPhaseId: '',
projectInfo: null,

View File

@@ -84,9 +84,7 @@
<dictLabel v-model="row[column.field]" dictName="methodOptions" :editable="true" />
</template>
<template #nodeType="{ row, column }">
<TreeEditItem :data="row.nodeType" :editMode="editMode">
<dictLabel v-model="row[column.field]" :options="allNodeTypeOptions" />
</TreeEditItem>
<dictLabel v-model="row[column.field]" :options="allNodeTypeOptions" />
</template>
<template #performanceType="{ row, column }">
<TreeEditItem

View File

@@ -104,12 +104,14 @@
v-show="currentTableType==='list'"
ref="listTableRef"
border="full"
:hasOperationColumn="false"
readonly
tableName="TASK_POOL_LIST"
:data="extractTableData"
:loading="loading"
:editMode="false"
> </loadCaseTable>
>
</loadCaseTable>
<loadcase-pro-table
v-if="false"
ref="treeTableRef2"
@@ -181,7 +183,16 @@
</el-form-item>
</el-form>
</div>
<loadCaseTable :editMode="false" ref="treeTableRef" :loading="performanceLoading" readonly tableName="PERFORMANCE_POOL" :data="performanceData" > </loadCaseTable>
<loadCaseTable
:editMode="false"
ref="treeTableRef"
:loading="performanceLoading"
readonly
:loadCaseTable="false"
tableName="PERFORMANCE_POOL"
:data="performanceData"
:hasOperationColumn="false"
> </loadCaseTable>
<loadcase-pro-table
v-if="false"
ref="treeTableRef"