UPDATE: 根据计划的状态调按钮显示还是隐藏。

This commit is contained in:
贾同学
2025-09-17 16:27:46 +08:00
parent c88128b63b
commit dea0844829
3 changed files with 24 additions and 10 deletions

View File

@@ -73,7 +73,14 @@
>
编辑
</el-button>
<el-button type="primary" v-auth.plan="'delete'" link :icon="Delete" @click="handleDelete(scope.row)">
<el-button
type="primary"
v-if="scope.row.testState === 0"
v-auth.plan="'delete'"
link
:icon="Delete"
@click="handleDelete(scope.row)"
>
删除
</el-button>
<el-button