From df389f166dea10fe770a57d9e04bb1af59dfd493 Mon Sep 17 00:00:00 2001
From: CD配唱片 <CD配唱片>
Date: 星期日, 27 四月 2025 16:09:06 +0800
Subject: [PATCH] 权限按钮

---
 src/views/mainPlan/gasPlanning/index.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/mainPlan/gasPlanning/index.vue b/src/views/mainPlan/gasPlanning/index.vue
index f103442..6d2aa2e 100644
--- a/src/views/mainPlan/gasPlanning/index.vue
+++ b/src/views/mainPlan/gasPlanning/index.vue
@@ -156,7 +156,7 @@
                 > -->
             <template #default="{ row }">
               <template v-if="hasEditStatus(row)">
-                <el-button @click="saveRowEvent(row)">淇濆瓨</el-button>
+                <el-button @click="saveRowEvent(row)" v-hasPermi="['aps:gasPipelineCapacityPlan:add']">淇濆瓨</el-button>
                 <el-button @click="cancelRowEvent()">鍙栨秷</el-button>
               </template>
               <template v-else>
@@ -286,7 +286,7 @@
                 > -->
             <template #default="{ row }">
               <template v-if="hasEditStatus1(row)">
-                <el-button @click="saveRowEvent1(row)">淇濆瓨</el-button>
+                <el-button @click="saveRowEvent1(row)" v-hasPermi="['aps:gasPipelineCapacityPlan:add']">淇濆瓨</el-button>
                 <el-button @click="cancelRowEvent1()">鍙栨秷</el-button>
               </template>
               <template v-else>

--
Gitblit v1.9.3