diff --git a/src/layouts/DrawLayout.vue b/src/layouts/DrawLayout.vue
index c850163..1e73868 100644
--- a/src/layouts/DrawLayout.vue
+++ b/src/layouts/DrawLayout.vue
@@ -16,7 +16,13 @@
一键关联
- 一键生成
+ 一键生成车次窗
+
+
+ 一键生成分隔符
+
+
+ 一键生成计轴
@@ -305,10 +311,19 @@ function buildRelations() {
}
function oneClickGeneration() {
+ // 一键生成车次窗
+ drawStore.getDrawApp().interactionPlugin(OneClickGenerate.Type).resume();
+}
+
+function oneClickSeparator() {
+ //一键生成分隔符
const separatorDraw = drawStore
.getDrawApp()
.getDrawAssistant(Separator.Type) as SeparatorDraw;
separatorDraw.oneGenerates();
+}
+function oneClickAxleCounting() {
+ //一键生成计轴
drawStore.getDrawApp().interactionPlugin(OneClickGenerate.Type).resume();
}