Selaa lähdekoodia

新增业务页面

huangbin 4 vuotta sitten
vanhempi
commit
ffc89194be

+ 32 - 0
src/router/index.ts

@@ -126,6 +126,38 @@ const routes: Array<RouteRecordRaw> = [
                     requireAuth: true
                 },
             },
+            {
+                path: '/exposure',
+                name: 'exposure',
+                component: () => import('@/views/business/exposure/index.vue'),
+                meta: {
+                    requireAuth: true
+                },
+            },
+            {
+                path: '/plan',
+                name: 'plan',
+                component: () => import('@/views/business/plan/index.vue'),
+                meta: {
+                    requireAuth: true
+                },
+            },
+            {
+                path: '/purchase',
+                name: 'purchase',
+                component: () => import('@/views/business/purchase/index.vue'),
+                meta: {
+                    requireAuth: true
+                },
+            },
+            {
+                path: '/sell',
+                name: 'sell',
+                component: () => import('@/views/business/sell/index.vue'),
+                meta: {
+                    requireAuth: true
+                },
+            },
         ],
     },
     {

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

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

+ 23 - 0
src/views/business/plan/index.vue

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

+ 23 - 0
src/views/business/purchase/index.vue

@@ -0,0 +1,23 @@
+<template>
+  <!-- 采购 -->
+  <div class="purchase">
+    采购
+  </div>
+</template>
+
+<script lang="ts">
+import { defineComponent } from 'vue';
+
+export default defineComponent({
+    name: 'purchase',
+    components: {},
+    setup() {
+        return {};
+    },
+});
+</script>
+
+<style lang="less">
+.spurchase {
+}
+</style>;

+ 23 - 0
src/views/business/sell/index.vue

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