From 29f7d2bb11cca904154f387a6400027c13023849 Mon Sep 17 00:00:00 2001
From: 20300 <643145201@qq.com>
Date: Thu, 7 Mar 2024 15:32:51 +0800
Subject: [PATCH] =?UTF-8?q?Oss=E5=AF=B9=E8=B1=A1=E5=AD=98=E5=82=A8,?=
=?UTF-8?q?=E4=BB=A5=E5=8F=8A=E5=93=81=E7=89=8C=E5=A2=9E=E5=88=A0=E6=94=B9?=
=?UTF-8?q?=E6=9F=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/product/brand.js | 24 ++++
src/views/product/brand/index.vue | 172 +++++++++++++++++++++++++
src/views/product/upload/uploadPic.vue | 100 ++++++++++++++
3 files changed, 296 insertions(+)
create mode 100644 src/api/product/brand.js
create mode 100644 src/views/product/brand/index.vue
create mode 100644 src/views/product/upload/uploadPic.vue
diff --git a/src/api/product/brand.js b/src/api/product/brand.js
new file mode 100644
index 0000000..2c9799d
--- /dev/null
+++ b/src/api/product/brand.js
@@ -0,0 +1,24 @@
+import request from '@/utils/request'
+
+export function insertBrand(brandInfo) {
+ return request({
+ url: '/product/brandInfo/insertBrand',
+ method: 'post',
+ data: brandInfo
+ })
+}
+
+export function getBrandList(likeName) {
+ return request({
+ url: '/product/brandInfo/getBrandList?likeName='+likeName,
+ method: 'get'
+ })
+}
+
+export function deleteBrandInfo(brandId) {
+ return request({
+ url: '/product/brandInfo/deleteBrandInfo',
+ method: 'get',
+ brandId
+ })
+}
diff --git a/src/views/product/brand/index.vue b/src/views/product/brand/index.vue
new file mode 100644
index 0000000..6fc527a
--- /dev/null
+++ b/src/views/product/brand/index.vue
@@ -0,0 +1,172 @@
+
+
+
+
+
+
+ {{ scope.row.name }}
+
+
+
+
+
+
+
+
+
+ {{ scope.row.introduction }}
+
+
+
+
+ {{ scope.row.createBy }}
+
+
+
+
+
+ {{ scope.row.createTime }}
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
添加品牌
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/product/upload/uploadPic.vue b/src/views/product/upload/uploadPic.vue
new file mode 100644
index 0000000..a451e51
--- /dev/null
+++ b/src/views/product/upload/uploadPic.vue
@@ -0,0 +1,100 @@
+
+
+
+
+
+
+
+
+
+
+
+