Browse Source

现货执行管理

huangbin 4 năm trước cách đây
mục cha
commit
f219745d16

+ 35 - 0
src/router/index.ts

@@ -994,6 +994,41 @@ const routes: Array<RouteRecordRaw> = [
                 ]
             },
             {
+                path: '/spot_execution_management',
+                name: 'spot_execution_management',
+                component: Main,
+                meta: {
+                    requireAuth: true,
+                },
+                redirect: { name: 'spot_execution_management_all' },
+                children: [
+                    {
+                        path: '/spot_execution_management/spot_execution_management_all',
+                        name: 'spot_execution_management_all',
+                        component: () => import('@/views/ping_an/spot_execution_management/spot_execution_management_all/index.vue'),
+                        meta: {
+                            requireAuth: true,
+                        },
+                    },
+                    {
+                        path: '/spot_execution_management/spot_execution_management_pending',
+                        name: 'spot_execution_management_pending',
+                        component: () => import('@/views/ping_an/spot_execution_management/spot_execution_management_pending/index.vue'),
+                        meta: {
+                            requireAuth: true,
+                        },
+                    },
+                    {
+                        path: '/spot_execution_management/spot_execution_management_today',
+                        name: 'spot_execution_management_today',
+                        component: () => import('@/views/ping_an/spot_execution_management/spot_execution_management_today/index.vue'),
+                        meta: {
+                            requireAuth: true,
+                        },
+                    },
+                ]
+            },
+            {
                 path: '/transaction_main_body',
                 name: 'transaction_main_body',
                 component: Main,

+ 34 - 0
src/views/ping_an/spot_execution_management/spot_execution_management_all/index.vue

@@ -0,0 +1,34 @@
+<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: 'spot_execution_management_all',
+    components: {},
+    setup() {
+        const param: IfameRouteParam = {
+            code: 'spot_execution_management_all',
+            btnCodeList: [
+                //  权限按钮 info(详情):add(新增):edit(修改):del(停用启用)
+                { btnCode: 'spot_execution_management_all_in', urlCode: 'active' },
+                { btnCode: 'spot_execution_management_all_out', urlCode: 'reset' },
+            ],
+            tabIndex: 3,
+        };
+        return { ...handleIfameRouter(param) };
+    },
+});
+</script>
+
+<style lang="less">
+</style
+>;

+ 34 - 0
src/views/ping_an/spot_execution_management/spot_execution_management_pending/index.vue

@@ -0,0 +1,34 @@
+<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: 'spot_execution_management_pending',
+    components: {},
+    setup() {
+        const param: IfameRouteParam = {
+            code: 'spot_execution_management_pending',
+            btnCodeList: [
+                //  权限按钮 info(详情):add(新增):edit(修改):del(停用启用)
+                { btnCode: 'spot_execution_management_pending_in', urlCode: 'active' },
+                { btnCode: 'spot_execution_management_pending_out', urlCode: 'reset' },
+            ],
+            tabIndex: 1,
+        };
+        return { ...handleIfameRouter(param) };
+    },
+});
+</script>
+
+<style lang="less">
+</style
+>;

+ 34 - 0
src/views/ping_an/spot_execution_management/spot_execution_management_today/index.vue

@@ -0,0 +1,34 @@
+<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: 'spot_execution_management_today',
+    components: {},
+    setup() {
+        const param: IfameRouteParam = {
+            code: 'spot_execution_management_today',
+            btnCodeList: [
+                //  权限按钮 info(详情):add(新增):edit(修改):del(停用启用)
+                { btnCode: 'spot_execution_management_today_in', urlCode: 'info' },
+                { btnCode: 'spot_execution_management_today_out', urlCode: 'user' },
+            ],
+            tabIndex: 2,
+        };
+        return { ...handleIfameRouter(param) };
+    },
+});
+</script>
+
+<style lang="less">
+</style
+>;