From 5cb9c3624162c75893031125cb80e16429380826 Mon Sep 17 00:00:00 2001
From: wuhui_zzw <1760308791@qq.com>
Date: Sun, 4 Feb 2024 16:14:16 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=EF=BC=9A=E5=93=81=E7=89=8C?=
=?UTF-8?q?=E7=AE=A1=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/merchant.js | 15 +++++
src/router/modules/merchant.js | 11 ++-
src/views/merchant/brand/index.vue | 103 +++++++++++++++++++++++++++++
3 files changed, 128 insertions(+), 1 deletion(-)
create mode 100644 src/views/merchant/brand/index.vue
diff --git a/src/api/merchant.js b/src/api/merchant.js
index cbc2ffe..7aa718a 100644
--- a/src/api/merchant.js
+++ b/src/api/merchant.js
@@ -111,6 +111,21 @@ export function categoryDeleteApi(id) {
return request.delete(`system/merchant/category/${id}`)
}
+
+// 商户品牌 - 列表
+export function brandListApi(data) {
+ return request.get('system/merchant/brand/lst', data)
+}
+// 商户品牌 -- 编辑表单
+export function brandEditApi(data) {
+ return request.get(`system/merchant/brand/form`, data)
+}
+// 商户品牌 -- 删除
+export function brandDeleteApi(id) {
+ return request.delete(`system/merchant/brand/${id}`)
+}
+
+
/**
* @description 商户对账 -- 订单列表
*/
diff --git a/src/router/modules/merchant.js b/src/router/modules/merchant.js
index 3cf809f..3bd8deb 100644
--- a/src/router/modules/merchant.js
+++ b/src/router/modules/merchant.js
@@ -63,11 +63,20 @@ const merchantRouter =
path: 'classify',
name: 'MerchantClassify',
meta: {
- title: '商户分类',
+ title: '分类管理',
noCache: true
},
component: () => import('@/views/merchant/classify')
},
+ {
+ path: 'brand',
+ name: 'MerchantBrand',
+ meta: {
+ title: '品牌管理',
+ noCache: true
+ },
+ component: () => import('@/views/merchant/brand')
+ },
{
path: 'application',
name: 'MerchantApplication',
diff --git a/src/views/merchant/brand/index.vue b/src/views/merchant/brand/index.vue
new file mode 100644
index 0000000..fe92157
--- /dev/null
+++ b/src/views/merchant/brand/index.vue
@@ -0,0 +1,103 @@
+
+
+
+
+
+ 添加品牌
+
+
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+