huangbin 4 gadi atpakaļ
vecāks
revīzija
454df3bf74
23 mainītis faili ar 873 papildinājumiem un 14 dzēšanām
  1. 34 0
      src/common/setup/iframe/index.ts
  2. 8 0
      src/common/setup/iframe/interface.ts
  3. 199 0
      src/router/index.ts
  4. 2 2
      src/views/market/spot_trade/spot_trade_order_transaction/components/buy-sell-market/index.vue
  5. 33 0
      src/views/platinum/platinum_asset_management_signing/platinum_asset_management_signing_finish/index.vue
  6. 35 0
      src/views/platinum/platinum_asset_management_signing/platinum_asset_management_signing_normal/index.vue
  7. 34 0
      src/views/platinum/platinum_asset_management_signing/platinum_asset_management_signing_pending_review/index.vue
  8. 36 0
      src/views/platinum/platinum_asset_management_signing/platinum_asset_management_signing_unsubmitted/index.vue
  9. 9 12
      src/views/platinum/platinum_capital_flow/platinum_capital_flow_tab/index.vue
  10. 34 0
      src/views/platinum/platinum_financial_payment/platinum_financial_payment_all_tab/index.vue
  11. 34 0
      src/views/platinum/platinum_financial_payment/platinum_financial_payment_in_waiting_payment_tab/index.vue
  12. 33 0
      src/views/platinum/platinum_financial_payment/platinum_financial_payment_payment_tab/index.vue
  13. 34 0
      src/views/platinum/platinum_financial_payment/platinum_financial_payment_waiting_payment_cash_tab/index.vue
  14. 34 0
      src/views/platinum/platinum_financial_payment/platinum_financial_payment_waiting_payment_tab/index.vue
  15. 36 0
      src/views/platinum/platinum_precious_metal_signing/platinum_precious_metal_signing_all/index.vue
  16. 38 0
      src/views/platinum/platinum_precious_metal_signing/platinum_precious_metal_signing_normal/index.vue
  17. 34 0
      src/views/platinum/platinum_precious_metal_signing/platinum_precious_metal_signing_pending_review/index.vue
  18. 33 0
      src/views/platinum/platinum_precious_metal_signing/platinum_precious_metal_signing_refunded/index.vue
  19. 34 0
      src/views/platinum/platinum_precious_metal_signing/platinum_precious_metal_signing_repurchase_pending_review/index.vue
  20. 30 0
      src/views/platinum/platinum_precious_metal_signing/platinum_precious_metal_signing_success/index.vue
  21. 36 0
      src/views/platinum/platinum_precious_metal_signing/platinum_precious_metal_signing_unsubmitted/index.vue
  22. 36 0
      src/views/platinum/platinum_signing_settings/index.vue
  23. 37 0
      src/views/platinum/platinum_team_settings/index.vue

+ 34 - 0
src/common/setup/iframe/index.ts

@@ -0,0 +1,34 @@
+import { initData } from "@/common/methods";
+import { getThirdMenuData } from '@/common/setup/table/button';
+import { getToken } from "@/services/bus/token";
+import { serviceURL } from "@/services/request";
+import { ref } from "vue";
+import { IfameRouteParam } from "./interface";
+
+
+
+export function handleIfameRouter({ code, btnCodeList, tabIndex }: IfameRouteParam) {
+    const token = getToken();
+    const url = ref<string>('');
+    // 获取当前tab页数据
+    const list = getThirdMenuData();
+    initData(() => {
+        let resourcePCMenu = 'resourcePCMenu=';
+        const children = list[0].children;
+        const tabData = children.find((e) => e.code === code);
+        if (tabData) {
+            const fn = (code: string) => tabData.children.find((e) => e.code === code);
+            //  权限按钮
+            btnCodeList.forEach(el => {
+                const { btnCode, urlCode } = el
+                if (btnCode === 'info') {
+                    resourcePCMenu += `:${urlCode}`;
+                } else if (fn(btnCode)) {
+                    resourcePCMenu += `:${urlCode}`;
+                }
+            });
+        }
+        url.value = `${serviceURL.pcMangerUrl}${list[0].url}?token=${token}&tabindex=${tabIndex}&${resourcePCMenu}`;
+    });
+    return { url };
+}

+ 8 - 0
src/common/setup/iframe/interface.ts

@@ -0,0 +1,8 @@
+export interface IfameRouteParam {
+    code: string; // 当前页面对应的code
+    btnCodeList: {
+        btnCode: string, // 按钮code
+        urlCode: string  // 管理端 权限对应的code
+    }[],
+    tabIndex: number; // 当前tab的索引,例如 1, 2, 3
+}

+ 199 - 0
src/router/index.ts

@@ -899,6 +899,205 @@ const routes: Array<RouteRecordRaw> = [
                 ]
             },
             {
+                path: '/platinum_signing_settings',
+                name: 'platinum_signing_settings',
+                component: Main,
+                meta: {
+                    requireAuth: true,
+                },
+                redirect: { name: 'platinum_signing_settings_tab' },
+                children: [
+                    {
+                        path: '/platinum_signing_settings/platinum_signing_settings_tab',
+                        name: 'platinum_signing_settings_tab',
+                        component: () => import('@/views/platinum/platinum_signing_settings/index.vue'),
+                        meta: {
+                            requireAuth: true,
+                        },
+                    },
+                ]
+            },
+            {
+                path: '/platinum_team_settings',
+                name: 'platinum_team_settings',
+                component: Main,
+                meta: {
+                    requireAuth: true,
+                },
+                redirect: { name: 'platinum_team_settings_tab' },
+                children: [
+                    {
+                        path: '/platinum_team_settings/platinum_team_settings_tab',
+                        name: 'platinum_team_settings_tab',
+                        component: () => import('@/views/platinum/platinum_team_settings/index.vue'),
+                        meta: {
+                            requireAuth: true,
+                        },
+                    },
+                ]
+            },
+            {
+                path: '/platinum_financial_payment',
+                name: 'platinum_financial_payment',
+                component: Main,
+                meta: {
+                    requireAuth: true,
+                },
+                redirect: { name: 'platinum_financial_payment_waiting_payment_tab' },
+                children: [
+                    {
+                        path: '/platinum_financial_payment/platinum_financial_payment_waiting_payment_tab',
+                        name: 'platinum_financial_payment_waiting_payment_tab',
+                        component: () => import('@/views/platinum/platinum_financial_payment/platinum_financial_payment_waiting_payment_tab/index.vue'),
+                        meta: {
+                            requireAuth: true,
+                        },
+                    },
+                    {
+                        path: '/platinum_financial_payment/platinum_financial_payment_in_waiting_payment_tab',
+                        name: 'platinum_financial_payment_in_waiting_payment_tab',
+                        component: () => import('@/views/platinum/platinum_financial_payment/platinum_financial_payment_in_waiting_payment_tab/index.vue'),
+                        meta: {
+                            requireAuth: true,
+                        },
+                    },
+                    {
+                        path: '/platinum_financial_payment/platinum_financial_payment_waiting_payment_cash_tab',
+                        name: 'platinum_financial_payment_waiting_payment_cash_tab',
+                        component: () => import('@/views/platinum/platinum_financial_payment/platinum_financial_payment_waiting_payment_cash_tab/index.vue'),
+                        meta: {
+                            requireAuth: true,
+                        },
+                    },
+                    {
+                        path: '/platinum_financial_payment/platinum_financial_payment_payment_tab',
+                        name: 'platinum_financial_payment_payment_tab',
+                        component: () => import('@/views/platinum/platinum_financial_payment/platinum_financial_payment_payment_tab/index.vue'),
+                        meta: {
+                            requireAuth: true,
+                        },
+                    },
+                    {
+                        path: '/platinum_financial_payment/platinum_financial_payment_all_tab',
+                        name: 'platinum_financial_payment_all_tab',
+                        component: () => import('@/views/platinum/platinum_financial_payment/platinum_financial_payment_all_tab/index.vue'),
+                        meta: {
+                            requireAuth: true,
+                        },
+                    },
+                ]
+            },
+            {
+                path: '/platinum_precious_metal_signing',
+                name: 'platinum_precious_metal_signing',
+                component: Main,
+                meta: {
+                    requireAuth: true,
+                },
+                redirect: { name: 'platinum_precious_metal_signing_unsubmitted' },
+                children: [
+                    {
+                        path: '/platinum_precious_metal_signing/platinum_precious_metal_signing_unsubmitted',
+                        name: 'platinum_precious_metal_signing_unsubmitted',
+                        component: () => import('@/views/platinum/platinum_precious_metal_signing/platinum_precious_metal_signing_unsubmitted/index.vue'),
+                        meta: {
+                            requireAuth: true,
+                        },
+                    },
+                    {
+                        path: '/platinum_precious_metal_signing/platinum_precious_metal_signing_pending_review',
+                        name: 'platinum_precious_metal_signing_pending_review',
+                        component: () => import('@/views/platinum/platinum_precious_metal_signing/platinum_precious_metal_signing_pending_review/index.vue'),
+                        meta: {
+                            requireAuth: true,
+                        },
+                    },
+                    {
+                        path: '/platinum_precious_metal_signing/platinum_precious_metal_signing_repurchase_pending_review',
+                        name: 'platinum_precious_metal_signing_repurchase_pending_review',
+                        component: () => import('@/views/platinum/platinum_precious_metal_signing/platinum_precious_metal_signing_repurchase_pending_review/index.vue'),
+                        meta: {
+                            requireAuth: true,
+                        },
+                    },
+                    {
+                        path: '/platinum_precious_metal_signing/platinum_precious_metal_signing_normal',
+                        name: 'platinum_precious_metal_signing_normal',
+                        component: () => import('@/views/platinum/platinum_precious_metal_signing/platinum_precious_metal_signing_normal/index.vue'),
+                        meta: {
+                            requireAuth: true,
+                        },
+                    },
+                    {
+                        path: '/platinum_precious_metal_signing/platinum_precious_metal_signing_success',
+                        name: 'platinum_precious_metal_signing_success',
+                        component: () => import('@/views/platinum/platinum_precious_metal_signing/platinum_precious_metal_signing_success/index.vue'),
+                        meta: {
+                            requireAuth: true,
+                        },
+                    },
+                    {
+                        path: '/platinum_precious_metal_signing/platinum_precious_metal_signing_refunded',
+                        name: 'platinum_precious_metal_signing_refunded',
+                        component: () => import('@/views/platinum/platinum_precious_metal_signing/platinum_precious_metal_signing_refunded/index.vue'),
+                        meta: {
+                            requireAuth: true,
+                        },
+                    },
+                    {
+                        path: '/platinum_precious_metal_signing/platinum_precious_metal_signing_all',
+                        name: 'platinum_precious_metal_signing_all',
+                        component: () => import('@/views/platinum/platinum_precious_metal_signing/platinum_precious_metal_signing_all/index.vue'),
+                        meta: {
+                            requireAuth: true,
+                        },
+                    },
+                ]
+            },
+            {
+                path: '/platinum_asset_management_signing',
+                name: 'platinum_asset_management_signing',
+                component: Main,
+                meta: {
+                    requireAuth: true,
+                },
+                redirect: { name: 'platinum_asset_management_signing_unsubmitted' },
+                children: [
+                    {
+                        path: '/platinum_asset_management_signing/platinum_asset_management_signing_unsubmitted',
+                        name: 'platinum_asset_management_signing_unsubmitted',
+                        component: () => import('@/views/platinum/platinum_asset_management_signing/platinum_asset_management_signing_unsubmitted/index.vue'),
+                        meta: {
+                            requireAuth: true,
+                        },
+                    },
+                    {
+                        path: '/platinum_asset_management_signing/platinum_asset_management_signing_pending_review',
+                        name: 'platinum_asset_management_signing_pending_review',
+                        component: () => import('@/views/platinum/platinum_asset_management_signing/platinum_asset_management_signing_pending_review/index.vue'),
+                        meta: {
+                            requireAuth: true,
+                        },
+                    },
+                    {
+                        path: '/platinum_asset_management_signing/platinum_asset_management_signing_finish',
+                        name: 'platinum_asset_management_signing_finish',
+                        component: () => import('@/views/platinum/platinum_asset_management_signing/platinum_asset_management_signing_finish/index.vue'),
+                        meta: {
+                            requireAuth: true,
+                        },
+                    },
+                    {
+                        path: '/platinum_asset_management_signing/platinum_asset_management_signing_normal',
+                        name: 'platinum_asset_management_signing_normal',
+                        component: () => import('@/views/platinum/platinum_asset_management_signing/platinum_asset_management_signing_normal/index.vue'),
+                        meta: {
+                            requireAuth: true,
+                        },
+                    },
+                ]
+            },
+            {
                 path: '/platinum_broker_management',
                 name: 'platinum_broker_management',
                 component: Main,

+ 2 - 2
src/views/market/spot_trade/spot_trade_order_transaction/components/buy-sell-market/index.vue

@@ -60,7 +60,7 @@ import { LeftOutlined } from '@ant-design/icons-vue';
 import Buy from '../buy-market/index.vue';
 import Sell from '../sell-market/index.vue';
 import { handleModalComponent } from '@/common/setup/asyncComponent';
-import { onMounted, PropType, ref } from 'vue';
+import { onBeforeUnmount, onMounted, PropType, ref } from 'vue';
 
 import Bus from '@/utils/eventBus/index';
 import TimerUtils from '@/utils/timer/timerUtil';
@@ -94,7 +94,7 @@ export default defineComponent({
             { lable: '详情', code: 'Detail', className: 'btnDeafault' },
         ];
 
-        onMounted(() => {
+        onBeforeUnmount(() => {
             TimerUtils.clearInterval('buyAndSellMartet');
             TimerUtils.clearTimeout('debounce');
         });

+ 33 - 0
src/views/platinum/platinum_asset_management_signing/platinum_asset_management_signing_finish/index.vue

@@ -0,0 +1,33 @@
+<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_asset_management_signing_finish',
+    components: {},
+    setup() {
+        const param: IfameRouteParam = {
+            code: 'platinum_asset_management_signing_finish',
+            btnCodeList: [
+                //  权限按钮 info(查看详情)
+                { btnCode: 'info', urlCode: 'info' },
+            ],
+            tabIndex: 4,
+        };
+        return { ...handleIfameRouter(param) };
+    },
+});
+</script>
+
+<style lang="less">
+</style
+>;

+ 35 - 0
src/views/platinum/platinum_asset_management_signing/platinum_asset_management_signing_normal/index.vue

@@ -0,0 +1,35 @@
+<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_asset_management_signing_normal',
+    components: {},
+    setup() {
+        const param: IfameRouteParam = {
+            code: 'platinum_asset_management_signing_normal',
+            btnCodeList: [
+                //  权限按钮 reset(未到期续签 )、lock(到期续签)、info(查看详情)
+                { btnCode: 'platinum_asset_management_signing_normal_unexpired_renewal', urlCode: 'reset' },
+                { btnCode: 'platinum_asset_management_signing_normal_expiry_renewal', urlCode: 'lock' },
+                { btnCode: 'info', urlCode: 'info' },
+            ],
+            tabIndex: 3,
+        };
+        return { ...handleIfameRouter(param) };
+    },
+});
+</script>
+
+<style lang="less">
+</style
+>;

+ 34 - 0
src/views/platinum/platinum_asset_management_signing/platinum_asset_management_signing_pending_review/index.vue

@@ -0,0 +1,34 @@
+<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_asset_management_signing_pending_review',
+    components: {},
+    setup() {
+        const param: IfameRouteParam = {
+            code: 'platinum_asset_management_signing_pending_review',
+            btnCodeList: [
+                //  check(审核 )、info(查看详情)
+                { btnCode: 'platinum_asset_management_signing_pending_review_check', urlCode: 'check' },
+                { btnCode: 'info', urlCode: 'info' },
+            ],
+            tabIndex: 2,
+        };
+        return { ...handleIfameRouter(param) };
+    },
+});
+</script>
+
+<style lang="less">
+</style
+>;

+ 36 - 0
src/views/platinum/platinum_asset_management_signing/platinum_asset_management_signing_unsubmitted/index.vue

@@ -0,0 +1,36 @@
+<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_asset_management_signing_unsubmitted',
+    components: {},
+    setup() {
+        const param: IfameRouteParam = {
+            code: 'platinum_asset_management_signing_unsubmitted',
+            btnCodeList: [
+                //  权限按钮 add(新增)、active(提交)、edit(修改)、info(查看详情)
+                { btnCode: 'platinum_asset_management_signing_add', urlCode: 'add' },
+                { btnCode: 'platinum_asset_management_signing_submit', urlCode: 'active' },
+                { btnCode: 'platinum_asset_management_signing_revise', urlCode: 'edit' },
+                { btnCode: 'info', urlCode: 'info' },
+            ],
+            tabIndex: 1,
+        };
+        return { ...handleIfameRouter(param) };
+    },
+});
+</script>
+
+<style lang="less">
+</style
+>;

+ 9 - 12
src/views/platinum/platinum_capital_flow/platinum_capital_flow_tab/index.vue

@@ -6,24 +6,21 @@
 </template>
 
 <script lang="ts">
-import { defineComponent, ref } from 'vue';
-import { initData } from '@/common/methods';
-import { getToken } from '@/services/bus/token';
-import { serviceURL } from '@/services/request/serviceURL';
-import { getThirdMenuData } from '@/common/setup/table/button';
+import { defineComponent } from 'vue';
+import { handleIfameRouter } from '@/common/setup/iframe';
+import { IfameRouteParam } from '@/common/setup/iframe/interface';
 
 export default defineComponent({
     name: 'platinum_capital_flow_tab',
     components: {},
     setup() {
-        const token = getToken();
-        const url = ref<string>('');
-        const list = getThirdMenuData();
-        initData(() => {
-            url.value = `${serviceURL.pcMangerUrl}${list[0].url}?token=${token}&tabindex=1&resourcePCMenu=`;
-        });
+        const param: IfameRouteParam = {
+            code: 'platinum_capital_flow_tab',
+            btnCodeList: [],
+            tabIndex: 1,
+        };
 
-        return { url };
+        return { ...handleIfameRouter(param) };
     },
 });
 </script>

+ 34 - 0
src/views/platinum/platinum_financial_payment/platinum_financial_payment_all_tab/index.vue

@@ -0,0 +1,34 @@
+<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_financial_payment_all_tab',
+    components: {},
+    setup() {
+        const param: IfameRouteParam = {
+            code: 'platinum_financial_payment_all_tab',
+            btnCodeList: [
+                //  权限按钮 exportdata(导出) 、info(查看详情)
+                { btnCode: 'platinum_financial_payment_all_tab_export', urlCode: 'exportdata' },
+                { btnCode: 'info', urlCode: 'info' },
+            ],
+            tabIndex: 5,
+        };
+        return { ...handleIfameRouter(param) };
+    },
+});
+</script>
+
+<style lang="less">
+</style
+>;

+ 34 - 0
src/views/platinum/platinum_financial_payment/platinum_financial_payment_in_waiting_payment_tab/index.vue

@@ -0,0 +1,34 @@
+<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_financial_payment_in_waiting_payment_tab',
+    components: {},
+    setup() {
+        const param: IfameRouteParam = {
+            code: 'platinum_financial_payment_in_waiting_payment_tab',
+            btnCodeList: [
+                //  reset(内部转账 )、info(查看详情)
+                { btnCode: 'platinum_financial_payment_in_waiting_payment_tab_pay', urlCode: 'reset' },
+                { btnCode: 'info', urlCode: 'info' },
+            ],
+            tabIndex: 2,
+        };
+        return { ...handleIfameRouter(param) };
+    },
+});
+</script>
+
+<style lang="less">
+</style
+>;

+ 33 - 0
src/views/platinum/platinum_financial_payment/platinum_financial_payment_payment_tab/index.vue

@@ -0,0 +1,33 @@
+<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_financial_payment_payment_tab',
+    components: {},
+    setup() {
+        const param: IfameRouteParam = {
+            code: 'platinum_financial_payment_payment_tab',
+            btnCodeList: [
+                //  权限按钮 info(查看详情)
+                { btnCode: 'info', urlCode: 'info' },
+            ],
+            tabIndex: 4,
+        };
+        return { ...handleIfameRouter(param) };
+    },
+});
+</script>
+
+<style lang="less">
+</style
+>;

+ 34 - 0
src/views/platinum/platinum_financial_payment/platinum_financial_payment_waiting_payment_cash_tab/index.vue

@@ -0,0 +1,34 @@
+<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_financial_payment_waiting_payment_cash_tab',
+    components: {},
+    setup() {
+        const param: IfameRouteParam = {
+            code: 'platinum_financial_payment_waiting_payment_cash_tab',
+            btnCodeList: [
+                //  权限按钮 active(付款 )、info(查看详情)
+                { btnCode: 'platinum_financial_payment_waiting_payment_cash_tab_pay', urlCode: 'active' },
+                { btnCode: 'info', urlCode: 'info' },
+            ],
+            tabIndex: 3,
+        };
+        return { ...handleIfameRouter(param) };
+    },
+});
+</script>
+
+<style lang="less">
+</style
+>;

+ 34 - 0
src/views/platinum/platinum_financial_payment/platinum_financial_payment_waiting_payment_tab/index.vue

@@ -0,0 +1,34 @@
+<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_financial_payment_waiting_payment_tab',
+    components: {},
+    setup() {
+        const param: IfameRouteParam = {
+            code: 'platinum_financial_payment_waiting_payment_tab',
+            btnCodeList: [
+                //  active(付款)、info(查看详情)
+                { btnCode: 'platinum_financial_payment_waiting_payment_tab_pay', urlCode: 'active' },
+                { btnCode: 'info', urlCode: 'info' },
+            ],
+            tabIndex: 1,
+        };
+        return { ...handleIfameRouter(param) };
+    },
+});
+</script>
+
+<style lang="less">
+</style
+>;

+ 36 - 0
src/views/platinum/platinum_precious_metal_signing/platinum_precious_metal_signing_all/index.vue

@@ -0,0 +1,36 @@
+<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_all',
+    components: {},
+    setup() {
+        const param: IfameRouteParam = {
+            code: 'platinum_precious_metal_signing_all',
+            btnCodeList: [
+                //  权限按钮 exportdata(导出)、auth(修改基本方式) 、user(修改付款方式) 、info(查看详情)
+                { btnCode: 'platinum_precious_metal_signing_all_export', urlCode: 'exportdata' },
+                { btnCode: 'platinum_precious_metal_signing_all_modify_the_basic_way', urlCode: 'auth' },
+                { btnCode: 'platinum_precious_metal_signing_all_modify_payment_method', urlCode: 'user' },
+                { btnCode: 'info', urlCode: 'info' },
+            ],
+            tabIndex: 7,
+        };
+        return { ...handleIfameRouter(param) };
+    },
+});
+</script>
+
+<style lang="less">
+</style
+>;

+ 38 - 0
src/views/platinum/platinum_precious_metal_signing/platinum_precious_metal_signing_normal/index.vue

@@ -0,0 +1,38 @@
+<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
+>;

+ 34 - 0
src/views/platinum/platinum_precious_metal_signing/platinum_precious_metal_signing_pending_review/index.vue

@@ -0,0 +1,34 @@
+<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_pending_review',
+    components: {},
+    setup() {
+        const param: IfameRouteParam = {
+            code: 'platinum_precious_metal_signing_pending_review',
+            btnCodeList: [
+                //  权限按钮 check(审核 )、info(查看详情)
+                { btnCode: 'platinum_precious_metal_signing_pending_review_check', urlCode: 'check' },
+                { btnCode: 'info', urlCode: 'info' },
+            ],
+            tabIndex: 2,
+        };
+        return { ...handleIfameRouter(param) };
+    },
+});
+</script>
+
+<style lang="less">
+</style
+>;

+ 33 - 0
src/views/platinum/platinum_precious_metal_signing/platinum_precious_metal_signing_refunded/index.vue

@@ -0,0 +1,33 @@
+<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_refunded',
+    components: {},
+    setup() {
+        const param: IfameRouteParam = {
+            code: 'platinum_precious_metal_signing_refunded',
+            btnCodeList: [
+                //  info(查看详情)
+                { btnCode: 'info', urlCode: 'info' },
+            ],
+            tabIndex: 6,
+        };
+        return { ...handleIfameRouter(param) };
+    },
+});
+</script>
+
+<style lang="less">
+</style
+>;

+ 34 - 0
src/views/platinum/platinum_precious_metal_signing/platinum_precious_metal_signing_repurchase_pending_review/index.vue

@@ -0,0 +1,34 @@
+<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_repurchase_pending_review',
+    components: {},
+    setup() {
+        const param: IfameRouteParam = {
+            code: 'platinum_precious_metal_signing_repurchase_pending_review',
+            btnCodeList: [
+                //  权限按钮 open(回购审核 )、info(查看详情)
+                { btnCode: 'platinum_precious_metal_signing_repurchase_pending_review_repurchase_review', urlCode: 'open' },
+                { btnCode: 'info', urlCode: 'info' },
+            ],
+            tabIndex: 3,
+        };
+        return { ...handleIfameRouter(param) };
+    },
+});
+</script>
+
+<style lang="less">
+</style
+>;

+ 30 - 0
src/views/platinum/platinum_precious_metal_signing/platinum_precious_metal_signing_success/index.vue

@@ -0,0 +1,30 @@
+<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_success',
+    components: {},
+    setup() {
+        const param: IfameRouteParam = {
+            code: 'platinum_precious_metal_signing_success',
+            btnCodeList: [],
+            tabIndex: 5,
+        };
+        return { ...handleIfameRouter(param) };
+    },
+});
+</script>
+
+<style lang="less">
+</style
+>;

+ 36 - 0
src/views/platinum/platinum_precious_metal_signing/platinum_precious_metal_signing_unsubmitted/index.vue

@@ -0,0 +1,36 @@
+<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_unsubmitted',
+    components: {},
+    setup() {
+        const param: IfameRouteParam = {
+            code: 'platinum_precious_metal_signing_unsubmitted',
+            btnCodeList: [
+                //  权限按钮 add(新增)、active(提交)、edit(修改)、info(查看详情)
+                { btnCode: 'platinum_precious_metal_signing_unsubmitted_add', urlCode: 'add' },
+                { btnCode: 'platinum_precious_metal_signing_unsubmitted_submit', urlCode: 'active' },
+                { btnCode: 'platinum_precious_metal_signing_unsubmitted_modify', urlCode: 'edit' },
+                { btnCode: 'info', urlCode: 'info' },
+            ],
+            tabIndex: 1,
+        };
+        return { ...handleIfameRouter(param) };
+    },
+});
+</script>
+
+<style lang="less">
+</style
+>;

+ 36 - 0
src/views/platinum/platinum_signing_settings/index.vue

@@ -0,0 +1,36 @@
+<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_asset_management_signing_revise', urlCode: 'edit' },
+                { btnCode: 'platinum_signing_settings_associated_spot', urlCode: 'setting' },
+            ],
+            tabIndex: 1,
+        };
+        return { ...handleIfameRouter(param) };
+    },
+});
+</script>
+
+<style lang="less">
+</style
+>;

+ 37 - 0
src/views/platinum/platinum_team_settings/index.vue

@@ -0,0 +1,37 @@
+<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
+>;