huangbin 4 gadi atpakaļ
vecāks
revīzija
146d1579ce

+ 4 - 3
src/common/setup/iframe/index.ts

@@ -13,9 +13,10 @@ export function handleIfameRouter({ code, btnCodeList, tabIndex }: IfameRoutePar
     // 获取当前tab页数据
     const list = getThirdMenuData();
     initData(() => {
-        let resourcePCMenu = 'resourcePCMenu=';
-        const children = list[0].children;
-        const tabData = children.find((e) => e.code === code);
+        let resourcePCMenu = 'resourcepcmenu=';
+        // const children = list[0].children;
+        // console.log('获取当前tab页数据', children)
+        const tabData = list.find((e) => e.code === code);
         if (tabData) {
             const fn = (code: string) => tabData.children.find((e) => e.code === code);
             //  权限按钮

+ 1 - 1
src/views/platinum/platinum_broker_management/normal/index.vue

@@ -22,7 +22,7 @@ export default defineComponent({
 
         initData(() => {
             if (list.length) {
-                const resourcePCMenu = 'resourcePCMenu=info';
+                const resourcePCMenu = 'resourcepcmenu=info';
                 url.value = `${serviceURL.pcMangerUrl}${list[0].url}?token=${token}&tabindex=1&${resourcePCMenu}`;
             }
         });

+ 1 - 1
src/views/platinum/platinum_broker_management/refuse/index.vue

@@ -22,7 +22,7 @@ export default defineComponent({
 
         initData(() => {
             if (list.length) {
-                let resourcePCMenu = 'resourcePCMenu=info';
+                let resourcePCMenu = 'resourcepcmenu=info';
                 const children = list[0].children;
                 const fn = (code: string) => children.find((e) => e.code === code);
                 if (fn('platinum_broker_management_resume')) {

+ 1 - 1
src/views/platinum/platinum_broker_management/waiting/index.vue

@@ -22,7 +22,7 @@ export default defineComponent({
 
         initData(() => {
             if (list.length) {
-                let resourcePCMenu = 'resourcePCMenu=info';
+                let resourcePCMenu = 'resourcepcmenu=info';
                 const children = list[0].children;
                 const fn = (code: string) => children.find((e) => e.code === code);
                 if (fn('platinum_broker_management_check')) {

+ 1 - 1
src/views/platinum/platinum_signing_settings/index.vue

@@ -21,7 +21,7 @@ export default defineComponent({
                 // 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_revise', urlCode: 'edit' },
                 { btnCode: 'platinum_signing_settings_associated_spot', urlCode: 'setting' },
             ],
             tabIndex: 1,