From f3c73a86f00061125e1946125c2f7499064a5708 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: 星期二, 21 十月 2025 14:51:05 +0800
Subject: [PATCH] 修改新增
---
src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectCaralog/index.vue | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectCaralog/index.vue b/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectCaralog/index.vue
index a49b4cf..dd51069 100644
--- a/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectCaralog/index.vue
+++ b/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectCaralog/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add','',1)"
+ v-hasPermi="['projectCaralog:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" >
@@ -56,9 +57,9 @@
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
- <el-button link type="primary" @click="openDialog('add',scope.row,2)">新增</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row,null)">编辑</el-button>
- <el-button link type="danger" v-if="scope.row.children && scope.row.children.length == 0" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('add',scope.row,2)" v-hasPermi="['projectCaralog:add']">新增</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row,null)" v-hasPermi="['projectCaralog:edit']">编辑</el-button>
+ <el-button link type="danger" v-if="scope.row.children && scope.row.children.length == 0" @click="handleDelete(scope.row)" v-hasPermi="['projectCaralog:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
--
Gitblit v1.9.2