Parcourir la source

风控参数设置

huangbin il y a 4 ans
Parent
commit
2000c2fc9b
2 fichiers modifiés avec 55 ajouts et 0 suppressions
  1. 19 0
      src/router/index.ts
  2. 36 0
      src/views/ping_an/risk_parameter_settings/index.vue

+ 19 - 0
src/router/index.ts

@@ -351,6 +351,25 @@ const routes: Array<RouteRecordRaw> = [
                 ],
             },
             {
+                path: '/risk_parameter_settings_sub',
+                name: 'risk_parameter_settings_sub',
+                component: Main,
+                meta: {
+                    requireAuth: true,
+                },
+                redirect: { name: 'risk_parameter_settings' },
+                children: [
+                    {
+                        path: '/risk_parameter_settings_sub/risk_parameter_settings',
+                        name: 'risk_parameter_settings',
+                        component: () => import('@/views/ping_an/risk_parameter_settings/index.vue'),
+                        meta: {
+                            requireAuth: true,
+                        },
+                    },
+                ]
+            },
+            {
                 path: '/exposure',
                 name: 'exposure',
                 component: Main,

+ 36 - 0
src/views/ping_an/risk_parameter_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: 'risk_parameter_settings',
+    components: {},
+    setup() {
+        const param: IfameRouteParam = {
+            code: 'risk_parameter_settings',
+            btnCodeList: [
+                //  权限按钮 info(详情):add(新增):edit(修改):del(停用启用)
+                { btnCode: 'risk_parameter_settings_add', urlCode: 'add' },
+                { btnCode: 'risk_parameter_settings_del', urlCode: 'del' },
+                { btnCode: 'risk_parameter_settings_modify', urlCode: 'edit' },
+                { btnCode: 'info', urlCode: 'info' },
+            ],
+            tabIndex: 1,
+        };
+        return { ...handleIfameRouter(param) };
+    },
+});
+</script>
+
+<style lang="less">
+</style
+>;