diff --git a/.env.development b/.env.development index 5af3ce8..808882d 100644 --- a/.env.development +++ b/.env.development @@ -8,6 +8,7 @@ VUE_APP_BASE_API = '/api' # VUE_APP_URL = "http://jianguan.yyundong.com/shgfapi" -VUE_APP_URL = "http://192.168.2.101:7201" +VUE_APP_URL = "http://192.168.2.103:7201" VUE_APP_REPORT_URL = "http://192.168.2.106:7202" +##VUE_APP_REPORT_URL = "https://lpk.yyundong.com" ##VUE_APP_URL = "http://8.130.39.13:8112" diff --git a/.env.production b/.env.production index aea25c6..a5f3cc9 100644 --- a/.env.production +++ b/.env.production @@ -5,6 +5,6 @@ ENV = 'production' VUE_APP_BASE_API = '/lpkapi' ## 配置 正式接口地址 -VUE_APP_URL = "https://lpk.yyundong.com" -VUE_APP_REPORT_URL = "https://lpk.yyundong.com" +VUE_APP_URL = "" +VUE_APP_REPORT_URL = "" \ No newline at end of file diff --git a/src/api/cardManage/cardManage.js b/src/api/cardManage/cardManage.js new file mode 100644 index 0000000..9fe2d48 --- /dev/null +++ b/src/api/cardManage/cardManage.js @@ -0,0 +1,17 @@ +import request from '@/utils/request' + +export default { + + // 查询提货卡分页列表 + listPage: function(params) { + return request({ + url: '/lpkgiftcard/cardStatisticsList', + method: 'post', + data: params, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + +} \ No newline at end of file diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index 2d4fccc..8a8bc08 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -112,6 +112,40 @@ // }, ] }, + { + alwaysShow: true, + component: "carManage", + meta: { + icon: "el-icon-menu", + title: "营销卡管理", + }, + name: "/cardManage", + path: "/cardManage", + children: [ + + { + alwaysShow: true, + component: "person", + meta: { + icon: "el-icon-help", + title: "提货卡统计", + }, + name: "/cardManage/person", + path: "/cardManage/person", + }, + + { + alwaysShow: true, + component: "enterprise", + meta: { + icon: "el-icon-help", + title: "企业卡统计", + }, + name: "/cardManage/enterprise", + path: "/cardManage/enterprise", + }, + ] + }, { alwaysShow: true, component: "pickupPoint", diff --git a/src/router/index.js b/src/router/index.js index ea20412..4e8abea 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -119,6 +119,30 @@ export const constantRoutes = [ // } // }, ] + },{ + path: '/cardManage', + component: Layout, + redirect: '/cardManage/person', + children: [{ + path: '/cardManage/person', + component: () => import('@/views/cardManage/person.vue'), + name: 'person', + meta: { + title: '提货卡统计', + noCache: true + } + }, + + { + path: '/cardManage/enterprise', + component: () => import('@/views/cardManage/enterprise.vue'), + name: 'enterprise', + meta: { + title: '企业卡统计', + noCache: true + } + }, + ] },{ path: '/pickupPoint', component: Layout, diff --git a/src/views/cardManage/enterprise.vue b/src/views/cardManage/enterprise.vue new file mode 100644 index 0000000..6674f62 --- /dev/null +++ b/src/views/cardManage/enterprise.vue @@ -0,0 +1,308 @@ + + + + \ No newline at end of file diff --git a/src/views/cardManage/person.vue b/src/views/cardManage/person.vue new file mode 100644 index 0000000..ae84aa3 --- /dev/null +++ b/src/views/cardManage/person.vue @@ -0,0 +1,308 @@ + + + + \ No newline at end of file diff --git a/src/views/marketingCard/pickupCardSet.vue b/src/views/marketingCard/pickupCardSet.vue index 3d560c0..57aca9d 100644 --- a/src/views/marketingCard/pickupCardSet.vue +++ b/src/views/marketingCard/pickupCardSet.vue @@ -117,7 +117,7 @@ - + @@ -256,7 +256,7 @@ - 发放网点 + 发放支行