| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <template>
- <page-list
- :list="list"
- :columns="columns" />
- </template>
- <script>
- import {
- getCopyWithContentTableColumn,
- } from '@/utils/common/tableColumn'
- import WindowsMixin from '@/mixins/windows'
- export default {
- name: 'PolicyassignmentsList',
- mixins: [WindowsMixin],
- props: {
- resId: String,
- data: {
- type: Object,
- required: true,
- },
- },
- data () {
- return {
- list: this.$list.createList(this, {
- resource: 'policy_assignments',
- getParams: {
- policydefinition: this.resId,
- details: true,
- },
- filterOptions: {},
- }),
- columns: [
- getCopyWithContentTableColumn({ field: 'project_domain', title: this.$t('cloudenv.text_95') }),
- ],
- }
- },
- created () {
- this.list.fetchData()
- },
- }
- </script>
|