huangbin 4 rokov pred
rodič
commit
26cc65583d

+ 5 - 5
src/router/index.ts

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

+ 2 - 2
src/views/ping_an/risk_parameter_settings/index.vue

@@ -12,11 +12,11 @@ import { IfameRouteParam } from '@/common/setup/iframe/interface';
 import { handleIfameRouter } from '@/common/setup/iframe';
 
 export default defineComponent({
-    name: 'risk_parameter_settings',
+    name: 'risk_parameter_settings_sub',
     components: {},
     setup() {
         const param: IfameRouteParam = {
-            code: 'risk_parameter_settings',
+            code: 'risk_parameter_settings_sub',
             btnCodeList: [
                 //  权限按钮 info(详情):add(新增):edit(修改):del(停用启用)
                 { btnCode: 'risk_parameter_settings_add', urlCode: 'add' },