-
+
+

+

+
绘制边界
+
停止绘制
+
+
+
连接线
diff --git a/business-css/frontend/src/components/antvx6/viewx6.vue b/business-css/frontend/src/components/antvx6/viewx6.vue
index 3462cbe..d1d8c50 100644
--- a/business-css/frontend/src/components/antvx6/viewx6.vue
+++ b/business-css/frontend/src/components/antvx6/viewx6.vue
@@ -137,7 +137,7 @@ function addAttrText(item:any,index:any){
}
},
})
-
+debugger
graph.addNode({
shape: 'image-node',
x: item.position.x + 135 ,
diff --git a/business-css/frontend/src/views/component/scenario/condition.vue b/business-css/frontend/src/views/component/scenario/condition.vue
index e78e4b6..6c3bb6a 100644
--- a/business-css/frontend/src/views/component/scenario/condition.vue
+++ b/business-css/frontend/src/views/component/scenario/condition.vue
@@ -133,21 +133,7 @@ function menuClick(index:any){ // 点击菜单切换
getTimelineList()
}
function addMenu(){ //添加导菜单
- // menuList.value.unshift({
- // label: '条件' + (menuList.value.length + 1),
- // target:{
- // entityType: '',
- // entityId: '',
- // property: '',
- // },
- // unit: 'cm',
- // segments: [{
- // segmentId: '分段-1',
- // start:null,
- // end:null,
- // timeline:[]
- // }]
- // })
+
menuList.value.push({
label: '条件' + (menuList.value.length + 1),
target:{
@@ -163,9 +149,13 @@ function addMenu(){ //添加导菜单
timeline:[]
}]
})
- // menuIndex.value = 0
+ menuClick(menuList.value.length - 1)
+}
+function delMenu(){ // 删除导菜单
+ menuList.value.splice(menuIndex.value, 1);
+ menuIndex.value = 0
+ menuClick(menuList.value.length - 1)
}
-
// 查询字典项
function DicInit() {
@@ -302,6 +292,7 @@ function handleSuccess(file: any) {
{{ item.label }}