一键生成调整
This commit is contained in:
parent
4121dde0d2
commit
630e2c7d01
@ -16,7 +16,13 @@
|
||||
<q-item-section>一键关联</q-item-section>
|
||||
</q-item>
|
||||
<q-item clickable v-close-popup @click="oneClickGeneration">
|
||||
<q-item-section>一键生成</q-item-section>
|
||||
<q-item-section>一键生成车次窗</q-item-section>
|
||||
</q-item>
|
||||
<q-item clickable v-close-popup @click="oneClickSeparator">
|
||||
<q-item-section>一键生成分隔符</q-item-section>
|
||||
</q-item>
|
||||
<q-item clickable v-close-popup @click="oneClickAxleCounting">
|
||||
<q-item-section>一键生成计轴</q-item-section>
|
||||
</q-item>
|
||||
</q-list>
|
||||
</q-menu>
|
||||
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user