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 @@
+
+
+
+
+
+ 添加品牌
+
+
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+