fix: 知识库文件夹审批状态

This commit is contained in:
JiangSheng
2026-01-23 09:17:48 +08:00
parent 404467f04d
commit 5737763e00

View File

@@ -118,19 +118,17 @@
<PoolTaskSelect :modelValue="row.poolInfos" :editable="false" />
</template>
<template #approvalStatus="{ row, column }">
<template v-if="row.dataType === 2">
<el-button
type="primary"
link
@click="openProcessFun(row)"
v-if="row[column.field] === 'pending'"
>
{{ KNOWLEDGE_APPROVE_STATUS.O[row[column.field]] }}
</el-button>
<el-button type="primary" link @click="openProcessFun(row)" v-else>
{{ $t('知识库.审批完成') }}
</el-button>
</template>
<el-button
type="primary"
link
@click="openProcessFun(row)"
v-if="row[column.field] === 'pending'"
>
{{ KNOWLEDGE_APPROVE_STATUS.O[row[column.field]] }}
</el-button>
<el-button type="primary" link @click="openProcessFun(row)" v-else>
{{ $t('知识库.审批完成') }}
</el-button>
</template>
<template #approveType="{ row, column }">
<el-button