From 2ee9b039588ca260527f7b819359c178977a23ef Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Thu, 11 Mar 2021 14:42:50 +0800
Subject: [PATCH] security修改
---
src/views/security/security.vue | 41 +++++++++++++++--------------------------
1 files changed, 15 insertions(+), 26 deletions(-)
diff --git a/src/views/security/security.vue b/src/views/security/security.vue
index 3aec947..e292a64 100644
--- a/src/views/security/security.vue
+++ b/src/views/security/security.vue
@@ -27,34 +27,23 @@
@click="handleDelete">删 除
</el-button>
</template>
- <template slot="menuLeft">
- <el-button
- type="danger"
- size="small"
- icon="el-icon-delete"
- plain
- v-if="permission.real_delete"
- @click="handleDelete"
- >删 除
- </el-button>
- </template>
- <template slot-scope="{ row }" slot="jtype">
- <el-tag>{{
- row.jtype == "0" ? "否" : row.jtype == "1" ? "是" : "无"
- }}
- </el-tag>
- </template>
+ <template slot-scope="{ row }" slot="jtype">
+ <el-tag>{{
+ row.jtype == "0" ? "否" : row.jtype == "1" ? "是" : "无"
+ }}
+ </el-tag>
+ </template>
- <template slot-scope="{ type, size, row }" slot="menu">
- <el-button
- icon="el-icon-location-outline"
- :size="size"
- :type="type"
- @click.stop="handleMap(row)"
- >定位
- </el-button>
- </template>
+ <template slot-scope="{ type, size, row }" slot="menu">
+ <el-button
+ icon="el-icon-location-outline"
+ :size="size"
+ :type="type"
+ @click.stop="handleMap(row)"
+ >定位
+ </el-button>
+ </template>
</avue-crud>
<el-drawer
--
Gitblit v1.9.3