From 855add5ba9cf947060013c4bc8cd78440cae2ed7 Mon Sep 17 00:00:00 2001
From: zhangdi <15053473693@163.com>
Date: Fri, 14 Feb 2025 14:56:12 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E5=88=86=E7=B1=BB=E6=96=B0?=
=?UTF-8?q?=E5=A2=9E=E6=9D=83=E9=99=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/device/deviceCategory.vue | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/views/device/deviceCategory.vue b/src/views/device/deviceCategory.vue
index 170f3d6..48870b7 100644
--- a/src/views/device/deviceCategory.vue
+++ b/src/views/device/deviceCategory.vue
@@ -8,13 +8,13 @@
@selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange"
@refresh-change="refreshChange" @on-load="onLoad" @tree-load="treeLoad">
- 删 除
+ 删 除
新增子项
+ @click.stop="handleAdd(scope.row, scope.index)" v-if="scope.row.isShowAdd&&permission.addCategory">新增子项
@@ -126,10 +126,10 @@ export default {
...mapGetters(["userInfo", "permission"]),
permissionList() {
return {
- addBtn: this.vaildData(this.permission.dept_add, false),
- viewBtn: this.vaildData(this.permission.dept_view, false),
- delBtn: this.vaildData(this.permission.dept_delete, false),
- editBtn: this.vaildData(this.permission.dept_edit, false)
+ addBtn: this.vaildData(this.permission.addCategory, false),
+ // viewBtn: this.vaildData(this.permission.dept_view, false),
+ delBtn: this.vaildData(this.permission.delCategory, false),
+ editBtn: this.vaildData(this.permission.editCategory, false)
};
},
ids() {