<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_precious_metal_signing_normal',
    components: {},
    setup() {
        const param: IfameRouteParam = {
            code: 'platinum_precious_metal_signing_normal',
            btnCodeList: [
                //  权限按钮 close（付款确）、reset（到期回购）、lock（续签合同）、unauth（到期未回购）、cancel（退单）、info（查看详情）
                { btnCode: 'platinum_precious_metal_signing_normal_payment_confirmation', urlCode: 'close' },
                { btnCode: 'platinum_precious_metal_signing_normal_repurchase_maturity', urlCode: 'reset' },
                { btnCode: 'platinum_precious_metal_signing_normal_renew_contract', urlCode: 'lock' },
                { btnCode: 'platinum_precious_metal_signing_normal_not_repurchased_after_maturity', urlCode: 'unauth' },
                { btnCode: 'platinum_precious_metal_signing_normal_chargeback', urlCode: 'cancel' },
                { btnCode: 'info', urlCode: 'info' },
            ],
            tabIndex: 4,
        };
        return { ...handleIfameRouter(param) };
    },
});
</script>

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