<template>
  <!-- 团队设置 -->
  <div class="iframe-container">
    <iframe :src="url"
            style="border: 0;"></iframe>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue';
import { IfameRouteParam } from '@/common/setup/iframe/interface';
import { handleIfameRouter } from '@/common/setup/iframe';

export default defineComponent({
    name: 'platinum_team_settings_tab',
    components: {},
    setup() {
        const param: IfameRouteParam = {
            code: 'platinum_team_settings_tab',
            btnCodeList: [
                //  权限按钮 add（新增）、active（提交）、edit（修改）、info（查看详情）
                { btnCode: 'platinum_team_settings_add', urlCode: 'add' },
                { btnCode: 'platinum_team_settings_delete', urlCode: 'del' },
                { btnCode: 'platinum_team_settings_revise', urlCode: 'edit' },
                { btnCode: 'platinum_team_settings_monthly_goal', urlCode: 'setting' },
                { btnCode: 'info', urlCode: 'info' },
            ],
            tabIndex: 1,
        };
        return { ...handleIfameRouter(param) };
    },
});
</script>

<style lang="less">
</style
>;
