huangbin 4 years ago
parent
commit
d8e6f1e15d

+ 3 - 1
src/services/go/commonService/interface.ts

@@ -41,7 +41,9 @@ export interface OperationTabMenu {
     rulekey: string; //对应权限主键,对应FUNCMENULIST表RESOURCECODE
     sort: number; //排序
     title: string; //标题
-    type: number; //类型,1:菜单 2:按钮
+    type: number; //类型,1:菜单 2:按钮   5:管理端页面地址
+    url: string;
+    remark: string;
     children: OperationTabMenu[];
 }
 

+ 7 - 4
src/views/platinum/platinum_broker_management/platinum_broker_management_tab/index.vue

@@ -1,24 +1,27 @@
 <template>
   <!-- 经纪人管理: 经纪人管理-->
   <div class="platinum_broker_management_tab">
-    经纪人管理
     <iframe :src="url"></iframe>
   </div>
 </template>
 
 <script lang="ts">
-import { defineComponent } from 'vue';
+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';
 
 export default defineComponent({
     name: 'platinum_broker_management_tab',
     components: {},
     setup() {
         const token = getToken();
-        const url = 'http://192.168.31.171:5035/pcmanage/';
-        initData(() => {});
+        const url = ref<string>('');
+        const list = getThirdMenuData();
+        initData(() => {
+            url.value = `${serviceURL.pcMangerUrl}${list[0].url}?token=${token}&tabindex=1&resourcePCMenu=`;
+        });
         return { url };
     },
 });

+ 4 - 1
src/views/platinum/platinum_capital_flow/platinum_capital_flow_tab/index.vue

@@ -10,6 +10,7 @@ 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';
 
 export default defineComponent({
     name: 'platinum_capital_flow_tab',
@@ -17,9 +18,11 @@ export default defineComponent({
     setup() {
         const token = getToken();
         const url = ref<string>('');
+        const list = getThirdMenuData();
         initData(() => {
-            url.value = `${serviceURL.pcMangerUrl}?token=${token}`;
+            url.value = `${serviceURL.pcMangerUrl}${list[0].url}?token=${token}&tabindex=1&resourcePCMenu=`;
         });
+
         return { url };
     },
 });

+ 3 - 1
src/views/platinum/platinum_promotion_report/platinum_promotion_report_tab/index.vue

@@ -10,6 +10,7 @@ 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';
 
 export default defineComponent({
     name: 'platinum_promotion_report_tab',
@@ -17,8 +18,9 @@ export default defineComponent({
     setup() {
         const token = getToken();
         const url = ref<string>('');
+        const list = getThirdMenuData();
         initData(() => {
-            url.value = `${serviceURL.pcMangerUrl}?token=${token}`;
+            url.value = `${serviceURL.pcMangerUrl}${list[0].url}?token=${token}&tabindex=1&resourcePCMenu=`;
         });
         return { url };
     },