This commit is contained in:
2025-08-15 18:27:31 +08:00
parent 000689d29d
commit 6bfb3364db
3 changed files with 23 additions and 16 deletions

View File

@ -8,7 +8,7 @@
<el-input v-model="queryParams.fileName" placeholder="请输入文件名称" clearable @keyup.enter="handleQuery" />
</el-form-item>
<el-form-item>
<el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button>
<el-button type="primary" icon="Search" @click="handleQuery" v-hasPermi="['design:prelimScheme:list']">搜索</el-button>
<el-button icon="Refresh" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
@ -20,7 +20,7 @@
<template #header>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button type="primary" plain icon="Plus" @click="handleAdd" v-hasPermi="['design:scheme:add']">新增</el-button>
<el-button type="primary" plain icon="Plus" @click="handleAdd" v-hasPermi="['design:prelimScheme:add']">新增</el-button>
</el-col>
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
@ -48,7 +48,7 @@
v-if="scope.row.status !== 'draft'"
icon="Edit"
@click="handleView(scope.row)"
v-hasPermi="['design:PrelimScheme:edit']"
v-hasPermi="['design:PrelimScheme:query']"
>查看流程</el-button
>
<el-button
@ -60,7 +60,7 @@
v-hasPermi="['design:PrelimScheme:edit']"
>修改</el-button
>
<el-button
<!-- <el-button
link
type="primary"
v-if="scope.row.status === 'draft'"
@ -68,7 +68,7 @@
@click="handleDelete(scope.row)"
v-hasPermi="['design:PrelimScheme:remove']"
>删除</el-button
>
> -->
</template>
</el-table-column>
</el-table>