From a1aa5a9a05c211e8d78780a318fac71c9d3313f9 Mon Sep 17 00:00:00 2001
From: lzhe <181968431@qq.com>
Date: 星期日, 10 八月 2025 12:03:19 +0800
Subject: [PATCH] 1
---
src/views/wel/index.vue | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/views/wel/index.vue b/src/views/wel/index.vue
index 357c73f..a493d52 100644
--- a/src/views/wel/index.vue
+++ b/src/views/wel/index.vue
@@ -45,7 +45,7 @@
<!-- 宸ユ帶缃戞墠鏈� -->
<!-- <el-button :size="size" text v-if="row.nodeType == 70 && !isSM" icon="el-icon-position" type="primary" @click="downsend(row)" placeholder="涓嬪彂" title="涓嬪彂"></el-button> -->
<!-- 鏇挎崲 -->
- <el-button :size="size" text v-if="row.nodeType == 60 && isSM" icon="el-icon-switch" type="primary" @click="replacement(row)" placeholder="鏇挎崲" title="鏇挎崲"></el-button>
+ <el-button :size="size" text v-if="row.nodeType == 60 && isSM && row.parentIds.indexOf('0,1,')>-1" icon="el-icon-switch" type="primary" @click="replacement(row)" placeholder="鏇挎崲" title="鏇挎崲"></el-button>
<!-- <el-icon><Switch /></el-icon> -->
</template>
</avue-crud>
--
Gitblit v1.9.3