From d9e4ec2640e4354f99282fb2c471dd2820bd136e Mon Sep 17 00:00:00 2001
From: wuhui_zzw <1760308791@qq.com>
Date: Thu, 14 Mar 2024 16:55:17 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=EF=BC=9A=E6=B4=BB=E5=8A=A8?=
=?UTF-8?q?=E7=9B=B8=E5=85=B3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/marketing.js | 25 +++-
src/router/modules/marketing.js | 32 +++++
.../marketing/activity/activity/cate.vue | 123 ++++++++++++++++++
.../marketing/activity/activity/index.vue | 123 ++++++++++++++++++
src/views/marketing/activity/index.vue | 3 +
5 files changed, 305 insertions(+), 1 deletion(-)
create mode 100644 src/views/marketing/activity/activity/cate.vue
create mode 100644 src/views/marketing/activity/activity/index.vue
create mode 100644 src/views/marketing/activity/index.vue
diff --git a/src/api/marketing.js b/src/api/marketing.js
index 83bf6a7..0555c44 100644
--- a/src/api/marketing.js
+++ b/src/api/marketing.js
@@ -790,7 +790,30 @@ export function commissionList(data) {
}
-
+// 活动分类 - 列表获取
+export function activityCateList(data) {
+ return request.get('marketing/activity/cate/list', data)
+}
+// 活动分类 - 编辑表单
+export function activityCateEditFrom(data) {
+ return request.post('marketing/activity/cate/editForm',data)
+}
+// 活动分类 - 删除
+export function activityCateDel(data) {
+ return request.post('marketing/activity/cate/delInfo', data)
+}
+// 活动 - 列表获取
+export function activityList(data) {
+ return request.get('marketing/activity/list', data)
+}
+// 活动 - 编辑表单
+export function activityEditFrom(data) {
+ return request.post('marketing/activity/editForm',data)
+}
+// 活动 - 删除
+export function activityDel(data) {
+ return request.post('marketing/activity/delInfo', data)
+}
diff --git a/src/router/modules/marketing.js b/src/router/modules/marketing.js
index edab940..814b377 100644
--- a/src/router/modules/marketing.js
+++ b/src/router/modules/marketing.js
@@ -545,6 +545,38 @@ const marketingRouter =
]
},
+ {
+ path: 'activity',
+ name: 'Activity',
+ meta: {
+ title: '活动中心',
+ noCache: true
+ },
+ redirect: 'noRedirect',
+ component: () => import('@/views/marketing/activity/index'),
+ children: [
+ {
+ path: 'cate',
+ name: `agentList`,
+ meta: {
+ title: '活动分类',
+ noCache: true
+ },
+ component: () => import('@/views/marketing/activity/activity/cate')
+ },
+ {
+ path: 'index',
+ name: `agentList`,
+ meta: {
+ title: '活动列表',
+ noCache: true
+ },
+ component: () => import('@/views/marketing/activity/activity/index')
+ },
+ ]
+ },
+
+
diff --git a/src/views/marketing/activity/activity/cate.vue b/src/views/marketing/activity/activity/cate.vue
new file mode 100644
index 0000000..416831d
--- /dev/null
+++ b/src/views/marketing/activity/activity/cate.vue
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 添加分类
+
+
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/marketing/activity/activity/index.vue b/src/views/marketing/activity/activity/index.vue
new file mode 100644
index 0000000..9b7f7ec
--- /dev/null
+++ b/src/views/marketing/activity/activity/index.vue
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 添加活动
+
+
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/marketing/activity/index.vue b/src/views/marketing/activity/index.vue
new file mode 100644
index 0000000..98240ae
--- /dev/null
+++ b/src/views/marketing/activity/index.vue
@@ -0,0 +1,3 @@
+
+
+