<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_account_manager_tab',
    components: {},
    setup() {
        const param: IfameRouteParam = {
            code: 'platinum_account_manager_tab',
            btnCodeList: [
                //  权限按钮 info（详情）:add（新增）:edit（修改）:del（停用启用）
                { btnCode: 'platinum_account_manager_tab_add', urlCode: 'add' },
                { btnCode: 'platinum_account_manager_tab_disable_enable', urlCode: 'del' },
                { btnCode: 'platinum_account_manager_tab_modify', urlCode: 'edit' },
                { btnCode: 'info', urlCode: 'info' },
            ],
            tabIndex: 1,
        };
        return { ...handleIfameRouter(param) };
    },
});
</script>

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