<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_signing_settings_tab',
    components: {},
    setup() {
        const param: IfameRouteParam = {
            code: 'platinum_signing_settings_tab',
            btnCodeList: [
                // add（详情）:edit（修改）:del（删除）:setting（关联现货）
                { btnCode: 'platinum_signing_settings_add', urlCode: 'add' },
                { btnCode: 'platinum_signing_settings_delete', urlCode: 'del' },
                { btnCode: 'platinum_signing_settings_revise', urlCode: 'edit' },
                { btnCode: 'platinum_signing_settings_associated_spot', urlCode: 'setting' },
            ],
            tabIndex: 1,
        };
        return { ...handleIfameRouter(param) };
    },
});
</script>

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