diff --git a/.env.development b/.env.development index 8fa72ce..2ccc7eb 100644 --- a/.env.development +++ b/.env.development @@ -1,4 +1,4 @@ -VITE_API_BASE='https://hwjb.homilychart.com/dev/admin' +# VITE_API_BASE='https://hwjb.homilychart.com/dev/admin' # 测试环境 # VITE_API_BASE='http://54.255.212.181:10704/' # 正式环境 @@ -13,7 +13,7 @@ VITE_UPLOAD_URL=http://39.101.133.168:8828/hljw/api/aws/upload # 本地 # VITE_API_BASE='http://localhost:8081/' # 孙加倍 -# VITE_API_BASE='http://192.168.40.12:8081' +VITE_API_BASE='http://192.168.40.12:8081' # Lijianlin # VITE_API_BASE='http://192.168.9.41:8081/' diff --git a/src/router/index.js b/src/router/index.js index 4221c65..fac3b91 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -376,6 +376,12 @@ const routes = [ }, ] }, + { + path: 'activityManage', + name: "activityManage", + component: () => import("../views/activityManage/activity.vue"), + meta: { permissionId: 119 } + }, // 没有权限 { path: '/noPermission', diff --git a/src/utils/menuUtils.js b/src/utils/menuUtils.js index 10a20c0..0bd4c77 100644 --- a/src/utils/menuUtils.js +++ b/src/utils/menuUtils.js @@ -47,6 +47,7 @@ export const getRoutePath = (menu) => { '金币管理': '/goldManage', '现金管理': '/moneyManage', + '活动管理': '/activityManage', '金币审核': '/audit', '金豆审核': '/beanAudit', diff --git a/src/views/activityManage/activity.vue b/src/views/activityManage/activity.vue new file mode 100644 index 0000000..87fc55c --- /dev/null +++ b/src/views/activityManage/activity.vue @@ -0,0 +1,434 @@ + + + + + 活动名称: + + + + 业绩归属: + + + + + + + + 开始时间: + + + + 结束时间: + + + 查询 + 重置 + + + + 新增活动 + + + + + + {{ scope.$index + 1 + (pagination.pageNum - 1) * pagination.pageSize }} + + + + + + + + {{ moment(scope.row.startTime).format('YYYY-MM-DD HH:mm:ss') }} + + + + + {{ + moment(scope.row.endTime).format('YYYY-MM-DD HH:mm:ss') + }} + + + + + {{ scope.row.status === '0' ? '未开始' : + scope.row.status === '1' ? '进行中' : + scope.row.status === '2' ? '已结束' : scope.row.status + }} + + + + + + 编辑 + 删除 + + + + + + + + 活动名称: + + + + 业绩归属: + + 客户归属地 + 活动归属地 + + + + 所属地区: + + + + 开始时间: + + + + 结束时间: + + + + 取消 + 确定 + + + + + + 活动名称: + + + + + 业绩归属: + + 客户归属地 + 活动归属地 + + + + 所属地区: + + + + 开始时间: + + + + 结束时间: + + + + 取消 + 确定 + + + + + + + \ No newline at end of file