diff options
author | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-08-18 10:24:36 +0300 |
---|---|---|
committer | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-08-18 10:24:36 +0300 |
commit | c978553bdaf95a5f5120456bbb5e56cb53120d8f (patch) | |
tree | 86e10a26c23af51b5214e278013223b6ae09f0af /src/views/_sila | |
parent | f82723a6720ebda943e882f3ef3f297e2f416a38 (diff) | |
download | webui-vue-c978553bdaf95a5f5120456bbb5e56cb53120d8f.tar.xz |
add requests for pci page
Diffstat (limited to 'src/views/_sila')
-rw-r--r-- | src/views/_sila/PciDevices/PciDevices.vue | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/src/views/_sila/PciDevices/PciDevices.vue b/src/views/_sila/PciDevices/PciDevices.vue index 76453a3a..77f40b66 100644 --- a/src/views/_sila/PciDevices/PciDevices.vue +++ b/src/views/_sila/PciDevices/PciDevices.vue @@ -51,6 +51,16 @@ export default { label: this.$t('pagePci.table.manufacturer'), formatter: this.dataFormatter, }, + { + key: 'classCode', + label: this.$t('pagePci.table.classCode'), + formatter: this.dataFormatter, + }, + { + key: 'deviceClass', + label: this.$t('pagePci.table.deviceClass'), + formatter: this.dataFormatter, + }, ], }; }, @@ -63,10 +73,15 @@ export default { created() { this.startLoader(); - this.$store.dispatch('pci/getDevices').finally(() => { - this.endLoader(); - this.isBusy = false; - }); + this.$store + .dispatch('pci/getDevices') + .then(() => { + this.$store.dispatch('pci/getFunctionDevices'); + }) + .finally(() => { + this.endLoader(); + this.isBusy = false; + }); }, }; </script> |