Browse Source

知识库对接

zhangchong 2 years ago
parent
commit
dd20917daf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/knowledge/process/index.vue

+ 1 - 1
src/views/knowledge/process/index.vue

@@ -70,7 +70,7 @@
 				<el-table-column label="操作" width="150" fixed="right" align="center">
 					<template #default="{ row }">
 						<el-button text type="primary" @click="onPreview(row)" title="预览" v-if="[1, 2, 3].includes(row.status)"> 预览 </el-button>
-						<el-button text type="primary" @click="onProcess(row)" title="审核" v-if="[1].includes(row.status)"> 审核 </el-button>
+						<el-button text type="primary" @click="onProcess(row)" title="审核" v-if="[1].includes(row.status) && row.canHandle"> 审核 </el-button>
 						<el-button text type="info" @click="onRecord(row)" title="查看审核记录" v-if="[2, 3].includes(row.status)">查看审核记录 </el-button>
 					</template>
 				</el-table-column>