From 5cec398879f9c519f3503331d4502ebe21019926 Mon Sep 17 00:00:00 2001
From: houzhongjian <houzhongyi@126.com>
Date: 星期五, 30 五月 2025 13:20:18 +0800
Subject: [PATCH] ai工业大模型代码生成

---
 src/views/model/sche/snapshotConf/index.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/views/model/sche/snapshotConf/index.vue b/src/views/model/sche/snapshotConf/index.vue
index 572d2b1..3bbb0b4 100644
--- a/src/views/model/sche/snapshotConf/index.vue
+++ b/src/views/model/sche/snapshotConf/index.vue
@@ -37,6 +37,7 @@
           type="primary"
           plain
           @click="openForm('create')"
+          v-hasPermi="['suggest:snapshot:create']"
         >
           <Icon icon="ep:plus" class="mr-5px" />
           新增
@@ -63,6 +64,7 @@
               link
               type="primary"
               @click="openForm('update', scope.row.id)"
+              v-hasPermi="['suggest:snapshot:update']"
             >
               编辑
             </el-button>
@@ -73,7 +75,7 @@
             >
               参数
             </el-button>
-            <el-button link type="danger" @click="handleDelete(scope.row.id)">
+            <el-button link type="danger" @click="handleDelete(scope.row.id)" v-hasPermi="['suggest:snapshot:delete']">
               删除
             </el-button>
           </div>

--
Gitblit v1.9.3