From eca5924030894adc81661f0784b87a95fe702d2f Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 22 六月 2026 16:19:38 +0800
Subject: [PATCH] 新疆马铃薯 1.删除按钮添加操作权限
---
src/views/projectManagement/Management/components/formDia.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/views/projectManagement/Management/components/formDia.vue b/src/views/projectManagement/Management/components/formDia.vue
index 0db3efe..2609166 100644
--- a/src/views/projectManagement/Management/components/formDia.vue
+++ b/src/views/projectManagement/Management/components/formDia.vue
@@ -174,7 +174,7 @@
</div>
<div class="section-actions" @click.stop>
<el-button v-if="!isView" type="primary" @click="openProductForm('add')">娣诲姞</el-button>
- <el-button v-if="!isView" plain type="danger" @click="deleteProduct">鍒犻櫎</el-button>
+ <el-button v-if="!isView" plain type="danger" @click="deleteProduct" v-hasPermi="['projectManagement:Management:remove']">鍒犻櫎</el-button>
<el-icon class="toggle-icon" @click="toggleSection('product')">
<ArrowDown v-if="sectionCollapsed.product" />
<ArrowUp v-else />
@@ -272,7 +272,7 @@
<el-input v-model="row.remark" placeholder="璇疯緭鍏�" clearable :disabled="isView" />
</template>
<template #teamAction="{ row, index }">
- <el-button v-if="!isView" link type="danger" :icon="Delete" @click="removeTeamRow(index)">鍒犻櫎</el-button>
+ <el-button v-if="!isView" link type="danger" :icon="Delete" @click="removeTeamRow(index)" v-hasPermi="['projectManagement:Management:remove']">鍒犻櫎</el-button>
<span v-else>鈥�</span>
</template>
</PIMTable>
@@ -414,7 +414,7 @@
<el-input v-model="row.address" placeholder="璇疯緭鍏�" clearable :disabled="isView" />
</template>
<template #addressAction="{ row, index }">
- <el-button v-if="!isView" link type="danger" :icon="Delete" @click="removeAddressRow(index)">鍒犻櫎</el-button>
+ <el-button v-if="!isView" link type="danger" :icon="Delete" @click="removeAddressRow(index)" v-hasPermi="['projectManagement:Management:remove']">鍒犻櫎</el-button>
<span v-else>鈥�</span>
</template>
</PIMTable>
--
Gitblit v1.9.3