YY 2 년 전
부모
커밋
a27964f14b
3개의 변경된 파일48개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      src/layout/data/menu.js
  2. 6 0
      src/router/module/selfShop.js
  3. 36 0
      src/views/selfShop/sales/index.vue

+ 6 - 0
src/layout/data/menu.js

@@ -76,6 +76,12 @@ export const adminMenu = [
         name: '优惠券管理',
         index: '3-4',
       },
+      {
+        icon: 'icon-rencai',
+        path: '/selfShop/sales',
+        name: '售后管理',
+        index: '3-5',
+      },
     ],
   },
 ];

+ 6 - 0
src/router/module/selfShop.js

@@ -41,4 +41,10 @@ export default [
     meta: { title: '自营店铺-商品库存管理' },
     component: () => import(/* webpackChunkName: "selfShop_spec" */ '@/views/selfShop/goods/spec.vue'),
   },
+  {
+    path: '/selfShop/sales',
+    name: 'selfShop_sales',
+    meta: { title: '自营店铺-售后管理' },
+    component: () => import(/* webpackChunkName: "selfShop_sales" */ '@/views/selfShop/sales/index.vue'),
+  },
 ];

+ 36 - 0
src/views/selfShop/sales/index.vue

@@ -0,0 +1,36 @@
+<template>
+  <div id="index">
+    <el-row>
+      <el-col :span="24" class="main"> test </el-col>
+    </el-row>
+  </div>
+</template>
+
+<script>
+import { mapState, createNamespacedHelpers } from 'vuex';
+export default {
+  name: 'index',
+  props: {},
+  components: {},
+  data: function () {
+    return {};
+  },
+  created() {},
+  methods: {},
+  computed: {
+    ...mapState(['user']),
+  },
+  metaInfo() {
+    return { title: this.$route.meta.title };
+  },
+  watch: {
+    test: {
+      deep: true,
+      immediate: true,
+      handler(val) {},
+    },
+  },
+};
+</script>
+
+<style lang="less" scoped></style>