Ver código fonte

交易策略纪要

huangbin 4 anos atrás
pai
commit
ae08fca48b

+ 1 - 1
public/config/app.config.json

@@ -1,3 +1,3 @@
 {
-    "apiUrl":"http://218.17.158.45:21001/cfg?key=test_136"
+    "apiUrl":"http://192.168.31.139:8080/cfg?key=test_139"
 }

+ 19 - 0
src/router/index.ts

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

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