From a5ba580dcafbdfc55b462df74c68ef5403b39332 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期四, 25 四月 2024 18:03:56 +0800
Subject: [PATCH] fix:修改代理
---
src/views/system/unit/index.vue | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/views/system/unit/index.vue b/src/views/system/unit/index.vue
index 1cf35f6..1ec0f28 100644
--- a/src/views/system/unit/index.vue
+++ b/src/views/system/unit/index.vue
@@ -44,6 +44,7 @@
icon="el-icon-plus"
size="mini"
@click="handleAdd"
+ v-hasPermi="['unit:add']"
>鏂板</el-button>
</el-col>
<el-col :span="1.5">
@@ -54,6 +55,7 @@
size="mini"
:disabled="single"
@click="handleUpdate"
+ v-hasPermi="['unit:edit']"
>淇敼</el-button>
</el-col>
<el-col :span="1.5">
@@ -64,6 +66,7 @@
size="mini"
:disabled="multiple"
@click="handleDelete"
+ v-hasPermi="['unit:remove']"
>鍒犻櫎</el-button>
</el-col>
<el-col :span="1.5">
@@ -73,6 +76,7 @@
icon="el-icon-download"
size="mini"
@click="handleExport"
+ v-hasPermi="['unit:export']"
>瀵煎嚭</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@@ -94,12 +98,14 @@
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
+ v-hasPermi="['unit:edit']"
>淇敼</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
+ v-hasPermi="['unit:remove']"
>鍒犻櫎</el-button>
</template>
</el-table-column>
--
Gitblit v1.8.0