瀏覽代碼

新增报表页面

huangbin 4 年之前
父節點
當前提交
506979e053

+ 32 - 0
src/router/index.ts

@@ -182,6 +182,38 @@ const routes: Array<RouteRecordRaw> = [
                     requireAuth: true
                 },
             },
+            {
+                path: '/exposure_report',
+                name: 'exposure_report',
+                component: () => import('@/views/report/exposure-report/index.vue'),
+                meta: {
+                    requireAuth: true
+                },
+            },
+            {
+                path: '/finance_report',
+                name: 'finance_report',
+                component: () => import('@/views/report/finance-report/index.vue'),
+                meta: {
+                    requireAuth: true
+                },
+            },
+            {
+                path: '/inventory_report',
+                name: 'inventory_report',
+                component: () => import('@/views/report/inventory-report/index.vue'),
+                meta: {
+                    requireAuth: true
+                },
+            },
+            {
+                path: '/spot_report',
+                name: 'spot_report',
+                component: () => import('@/views/report/spot-report/index.vue'),
+                meta: {
+                    requireAuth: true
+                },
+            },
         ],
     },
     {

+ 23 - 0
src/views/report/exposure-report/index.vue

@@ -0,0 +1,23 @@
+<template>
+  <!-- 敞口报表 -->
+  <div class="exposure-report">
+    敞口报表
+  </div>
+</template>
+
+<script lang="ts">
+import { defineComponent } from 'vue';
+
+export default defineComponent({
+    name: 'exposure-report',
+    components: {},
+    setup() {
+        return {};
+    },
+});
+</script>
+
+<style lang="less">
+.exposure-report {
+}
+</style>;

+ 23 - 0
src/views/report/finance-report/index.vue

@@ -0,0 +1,23 @@
+<template>
+  <!-- 财务报表 -->
+  <div class="finance-report">
+    财务报表
+  </div>
+</template>
+
+<script lang="ts">
+import { defineComponent } from 'vue';
+
+export default defineComponent({
+    name: 'finance-report',
+    components: {},
+    setup() {
+        return {};
+    },
+});
+</script>
+
+<style lang="less">
+.finance-report {
+}
+</style>;

+ 23 - 0
src/views/report/inventory-report/index.vue

@@ -0,0 +1,23 @@
+<template>
+  <!-- 库存报表-->
+  <div class="inventory-report">
+    库存报表
+  </div>
+</template>
+
+<script lang="ts">
+import { defineComponent } from 'vue';
+
+export default defineComponent({
+    name: 'inventory-report',
+    components: {},
+    setup() {
+        return {};
+    },
+});
+</script>
+
+<style lang="less">
+.inventory-report {
+}
+</style>;

+ 23 - 0
src/views/report/spot-report/index.vue

@@ -0,0 +1,23 @@
+<template>
+  <!-- 现货报表 -->
+  <div class="spot-report">
+    现货报表
+  </div>
+</template>
+
+<script lang="ts">
+import { defineComponent } from 'vue';
+
+export default defineComponent({
+    name: 'spot-report',
+    components: {},
+    setup() {
+        return {};
+    },
+});
+</script>
+
+<style lang="less">
+.spot-report {
+}
+</style>;