| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <template>
- <detail
- :on-manager="onManager"
- :data="data"
- :base-info="baseInfo"
- :showDesc="false"
- :showName="false"
- :hiddenKeys="['status']" />
- </template>
- <script>
- import {
- getDevTypeColumn,
- getModelColumn,
- getVendorIdColumn,
- getDeviceIdColumn,
- getHotPluggableColumn,
- } from '../utils/columns'
- import WindowsMixin from '@/mixins/windows'
- export default {
- name: 'PciDetail',
- mixins: [WindowsMixin],
- props: {
- data: {
- type: Object,
- required: true,
- },
- onManager: {
- type: Function,
- required: true,
- },
- },
- data () {
- return {
- baseInfo: [
- getDevTypeColumn({ vm: this }),
- getModelColumn(),
- getVendorIdColumn(),
- getDeviceIdColumn(),
- getHotPluggableColumn(),
- ],
- }
- },
- }
- </script>
|