Browse Source

分类树图表操作fix

jwyu 8 months ago
parent
commit
060949ce48
1 changed files with 3 additions and 5 deletions
  1. 3 5
      src/views/intervalAnalysis/list.vue

+ 3 - 5
src/views/intervalAnalysis/list.vue

@@ -123,7 +123,7 @@
                   style="width: 14px; height: 14px; margin-right: 8px"
                   @click.stop="addNode(node, data)"
                   v-if="
-                    data.Button.AddButton &&
+                    !data.ChartInfoId &&
                     isEdbBtnShow('editCatalog') &&
                     node.level < 6
                   "
@@ -135,8 +135,7 @@
                   style="width: 15px; height: 14px; margin-right: 8px"
                   @click.stop="editNode(node, data)"
                   v-if="
-                    !data.EdbCode &&
-                    data.Button.OpButton &&
+                    !data.ChartInfoId &&
                     isEdbBtnShow('editCatalog')
                   "
                 />
@@ -148,8 +147,7 @@
                   style="width: 14px; height: 14px"
                   @click.stop="removeNode(node, data)"
                   v-if="
-                    !data.EdbCode &&
-                    data.Button.DeleteButton &&
+                    !data.ChartInfoId &&
                     isEdbBtnShow('deleteCatalog')
                   "
                 />