Detail.vue 818 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <template>
  2. <detail
  3. :data="data"
  4. :onManager="onManager"
  5. :base-info="baseInfo"
  6. status-module="samluser"
  7. :is-edit-name="false" />
  8. </template>
  9. <script>
  10. import { getBrandTableColumn, getCopyWithContentTableColumn, getAccountTableColumn } from '@/utils/common/tableColumn'
  11. export default {
  12. name: 'SamluserDetail',
  13. props: {
  14. onManager: {
  15. type: Function,
  16. required: true,
  17. },
  18. data: {
  19. type: Object,
  20. required: true,
  21. },
  22. },
  23. data () {
  24. return {
  25. baseInfo: [
  26. getBrandTableColumn(),
  27. getCopyWithContentTableColumn({
  28. field: 'owner_name',
  29. title: this.$t('cloudenv.clouduser_list_t4'),
  30. }),
  31. getAccountTableColumn({ field: 'cloudaccount', title: this.$t('common.text00108') }),
  32. ],
  33. }
  34. },
  35. }
  36. </script>