diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue
index b479efc..8f6f820 100644
--- a/src/layout/components/Sidebar/index.vue
+++ b/src/layout/components/Sidebar/index.vue
@@ -259,60 +259,42 @@
// name: "/order/index",
// path: "/order/index"
// },
+
+
{
alwaysShow: true,
component: "print",
meta: {
icon: "el-icon-menu",
- title: "打印电子卡",
+ title: "电子卡管理",
},
- name: "/print/index",
- path: "/print/index"
- }
-
- // {
- // alwaysShow: true,
- // component: "statisticalReport",
- // meta: {
- // icon: "el-icon-menu",
- // title: "统计报表",
- // },
- // name: "/statisticalReport/index",
- // path: "/statisticalReport/index",
- // children: [
+ name: "/print",
+ path: "/print",
+ children: [{
+ alwaysShow: true,
+ component: "index",
+ meta: {
+ icon: "el-icon-help",
+ title: "打印电子卡",
+ },
+ name: "/print/index",
+ path: "/print/index",
+ },
+ {
+ alwaysShow: true,
+ component: "print",
+ meta: {
+ icon: "el-icon-menu",
+ title: "打印企业卡",
+ },
+ name: "/print/enterpriseCrad",
+ path: "/print/enterpriseCrad"
+ },
+
+
+ ]
+ },
- // {
- // alwaysShow: true,
- // component: "index",
- // meta: {
- // icon: "el-icon-help",
- // title: "提货卡汇总",
- // },
- // name: "/statisticalReport/index",
- // path: "/statisticalReport/index",
- // },
- // {
- // alwaysShow: true,
- // component: "collectionSummary",
- // meta: {
- // icon: "el-icon-help",
- // title: "提货汇总",
- // },
- // name: "/statisticalReport/collectionSummary",
- // path: "/statisticalReport/collectionSummary",
- // },
- // {
- // alwaysShow: true,
- // component: "deliveryDetails",
- // meta: {
- // icon: "el-icon-help",
- // title: "客户提货明细",
- // },
- // name: "/statisticalReport/deliveryDetails",
- // path: "/statisticalReport/deliveryDetails",
- // },
- // ]
- // },
],
};
},
diff --git a/src/router/index.js b/src/router/index.js
index db2ee70..6dc0bcb 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -287,7 +287,15 @@ export const constantRoutes = [{
meta: {
title: '打印电子卡'
}
- }, ]
+ }, {
+ path: '/print/enterpriseCrad',
+ component: () =>
+ import('@/views/print/enterpriseCrad.vue'),
+ name: 'enterpriseCrad',
+ meta: {
+ title: '打印企业卡'
+ }
+ },]
},
diff --git a/src/views/print/enterpriseCrad.vue b/src/views/print/enterpriseCrad.vue
new file mode 100644
index 0000000..2c76f3a
--- /dev/null
+++ b/src/views/print/enterpriseCrad.vue
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+
\ No newline at end of file