This commit is contained in:
Teo
2025-08-30 01:16:47 +08:00
7 changed files with 559 additions and 52 deletions

View File

@ -37,7 +37,15 @@
</el-table-column>
<el-table-column label="操作" align="center">
<template #default="scope">
<el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['design:extract:query']">审核</el-button>
<el-button
link
type="primary"
v-if="scope.row.status == 'draft'"
icon="Edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['design:extract:query']"
>审核</el-button
>
<el-button
link
type="primary"

View File

@ -159,7 +159,7 @@ const histroyList = ref([]);
const getList = async () => {
loading.value = true;
try {
const res = await joinList({ type: catalogueId.value, ...queryParams.value });
const res = await joinList({ type: catalogueId.value, ...queryParams.value, auditStatus: 'finish' });
volumeCatalogList.value = res.rows;
total.value = res.total;
} finally {