Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-client
This commit is contained in:
commit
047b06643b
@ -118,6 +118,9 @@ const SelectAllOptions: MenuItemOptions = {
|
||||
const AllOptions: MenuItemOptions = {
|
||||
name: '全部图层',
|
||||
};
|
||||
const physicalSection: MenuItemOptions = {
|
||||
name: '图层-物理区段',
|
||||
};
|
||||
const linkOptions: MenuItemOptions = {
|
||||
name: '图层-Link',
|
||||
};
|
||||
@ -147,6 +150,7 @@ const layerOptions: MenuItemOptions = {
|
||||
name: '图层菜单',
|
||||
items: [
|
||||
AllOptions,
|
||||
physicalSection,
|
||||
linkOptions,
|
||||
axleCountingSectionOptions,
|
||||
LogicSectionOptions,
|
||||
@ -293,6 +297,17 @@ export function initDrawApp(dom: HTMLElement): JlDrawApp {
|
||||
g.visible = true;
|
||||
});
|
||||
};
|
||||
physicalSection.handler = () => {
|
||||
disvisibleGraphics.forEach((g) => {
|
||||
g.visible = false;
|
||||
});
|
||||
sections.forEach((axleCountingSection) => {
|
||||
axleCountingSection.visible = true;
|
||||
});
|
||||
turnouts.forEach((axleCountingSection) => {
|
||||
axleCountingSection.visible = true;
|
||||
});
|
||||
};
|
||||
linkOptions.handler = () => {
|
||||
disvisibleGraphics.forEach((g) => {
|
||||
g.visible = false;
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
<q-toolbar-title> 北京RTSS测试系统 </q-toolbar-title>
|
||||
|
||||
<div class="q-gutter-sm row items-center no-wrap">
|
||||
<div class="q-gutter-sm no-wrap">
|
||||
<q-btn
|
||||
round
|
||||
dense
|
||||
@ -25,7 +25,7 @@
|
||||
v-if="$q.screen.gt.sm"
|
||||
>
|
||||
</q-btn>
|
||||
<q-btn-dropdown icon="person">
|
||||
<q-btn-dropdown flat stretch icon="person">
|
||||
<q-list>
|
||||
<q-item clickable v-close-popup @click="showUserInfo">
|
||||
<q-item-section>
|
||||
|
Loading…
Reference in New Issue
Block a user