zhoux 2 lat temu
rodzic
commit
39ac5c055f

+ 22 - 0
src/router/routers.js

@@ -196,6 +196,28 @@ let menu = [
             },
           },
           {
+            path: '/core/customer/add',
+            name: '客户资料-新建',
+            component: () => import('@/view/core/customer/add.vue'),
+            meta: {
+              title: '新建客户资料',
+              hideInMenu: true,
+              notCache: false,
+              flgRight:false,
+            },
+          },
+          {
+            path: '/core/customer/edit',
+            name: '客户资料-编辑',
+            component: () => import('@/view/core/customer/edit.vue'),
+            meta: {
+              title: '编辑客户资料',
+              hideInMenu: true,
+              notCache: false,
+              flgRight:false,
+            },
+          },
+          {
             path: '/core/customerFollow/index',
             name: '客户跟进',
             component: () => import('@/view/core/customer-follow/index.vue'),

+ 18 - 0
src/view/core/customer/add.vue

@@ -0,0 +1,18 @@
+<template>
+  <CommonForm type="add"></CommonForm>
+</template>
+
+<script>
+import CommonForm from "./form";
+
+export default {
+  name: "customer-add",
+  components: {
+    CommonForm
+  },
+}
+</script>
+
+<style scoped>
+
+</style>

+ 18 - 0
src/view/core/customer/edit.vue

@@ -0,0 +1,18 @@
+<template>
+  <CommonForm type="edit"></CommonForm>
+</template>
+
+<script>
+import CommonForm from "./form";
+
+export default {
+  name: "customer-edit",
+  components: {
+    CommonForm
+  },
+}
+</script>
+
+<style scoped>
+
+</style>

+ 13 - 0
src/view/core/customer/form.vue

@@ -0,0 +1,13 @@
+<template>
+
+</template>
+
+<script>
+export default {
+  name: "form"
+}
+</script>
+
+<style scoped>
+
+</style>