From c4d70da69a3c86f8c07ccdb0f09b755dd99b2155 Mon Sep 17 00:00:00 2001 From: Maksim Zakharov Date: Tue, 24 May 2022 10:04:19 +0300 Subject: Add global popovers. Add pages: pci, adapters, raid, drivers, virtual drivers. Fix: analytical pannel, bmc-settings popovers. fix global styles --- .../Specification/PowerStaticPage.vue | 22 ++-- .../PowerSupplies/Specification/PowerSwitch.vue | 112 --------------------- 2 files changed, 12 insertions(+), 122 deletions(-) delete mode 100644 src/views/PowerSupplies/Specification/PowerSwitch.vue (limited to 'src/views/PowerSupplies/Specification') diff --git a/src/views/PowerSupplies/Specification/PowerStaticPage.vue b/src/views/PowerSupplies/Specification/PowerStaticPage.vue index 463e9ea2..8ff1aa1b 100644 --- a/src/views/PowerSupplies/Specification/PowerStaticPage.vue +++ b/src/views/PowerSupplies/Specification/PowerStaticPage.vue @@ -8,10 +8,12 @@ {{ $t('pageInventory.powerSources') }} - import PageTitle from '@/components/Global/PageTitle'; import PageSection from '@/components/Global/PageSection'; -import PowerSwitch from './PowerSwitch'; +import DataTabs from '@/components/Global/SilaComponents/DataTabs'; export default { - components: { PageTitle, PageSection, PowerSwitch }, + components: { PageTitle, PageSection, DataTabs }, data() { return { - currentMemorySlot: 1, - memorySlots: [ + currentSourceSlot: 1, + sourceSlots: [ { id: 1, name: 'Источник 1' }, { id: 2, name: 'Источник 2' }, { id: 3, name: 'Источник 3' }, @@ -127,8 +129,8 @@ export default { }; }, methods: { - switchMemorySlot(period) { - this.currentMemorySlot = period; + switchSourceSlot(period) { + this.currentSourceSlot = period; }, }, }; diff --git a/src/views/PowerSupplies/Specification/PowerSwitch.vue b/src/views/PowerSupplies/Specification/PowerSwitch.vue deleted file mode 100644 index 824c2549..00000000 --- a/src/views/PowerSupplies/Specification/PowerSwitch.vue +++ /dev/null @@ -1,112 +0,0 @@ - - - - -- cgit v1.2.3