From 7294da8875b4767fc8c21bd7a42bd884e8ce6cab Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期四, 27 十一月 2025 17:18:57 +0800
Subject: [PATCH] 修改

---
 src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectFileNew/index.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectFileNew/index.vue b/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectFileNew/index.vue
index 344c84e..67699f9 100644
--- a/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectFileNew/index.vue
+++ b/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectFileNew/index.vue
@@ -81,7 +81,7 @@
                   <el-button v-if="scope.row.filePath" link type="primary"  @click="openFile(scope.row.filePath)" >查看模板</el-button>
                   <el-button v-if="scope.row.filePath" link type="primary"  @click="downloadFile(scope.row)" >下载模板</el-button>
                   <el-button v-if="scope.row.isFile == 1" link type="primary" v-hasPermi="['productFileNew:add']" @click="openDataDialog('add',{},scope.row)">新增</el-button>
-                  <el-button v-if="scope.row.isFile == 1 && scope.row.projectDocuments && scope.row.projectDocuments.length>0" link type="primary" v-hasPermi="['productFileNew:add']" @click="openDataDialog('edit',scope.row,scope.row)">编辑</el-button>
+                  <el-button v-if="scope.row.isFile == 1 && scope.row.projectDocuments && scope.row.projectDocuments.length>0" link type="primary" v-hasPermi="['productFileNew:edit']" @click="openDataDialog('edit',scope.row,scope.row)">编辑</el-button>
                 </div>
                 <div v-else>--</div>
               </template>

--
Gitblit v1.9.2