From b11e8d3ba94daa3eb3ece1561b07418dee6fedab Mon Sep 17 00:00:00 2001 From: guoxing <1369478551@qq.com> Date: Thu, 11 Jan 2024 14:33:23 +0800 Subject: [PATCH] 11111111 --- src/layout/components/Sidebar/index.vue | 76 ++++++++++--------------- src/router/index.js | 10 +++- src/views/print/enterpriseCrad.vue | 56 ++++++++++++++++++ 3 files changed, 94 insertions(+), 48 deletions(-) create mode 100644 src/views/print/enterpriseCrad.vue 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