diff --git a/src/api/brand/index.js b/src/api/brand/index.js
new file mode 100644
index 0000000..0c29081
--- /dev/null
+++ b/src/api/brand/index.js
@@ -0,0 +1,41 @@
+import request from "@/utils/request";
+
+// 获取商品管理列表
+export function getBrandbaseList(query) {
+ return request({
+ url: "/brand/brandbase/page",
+ method: "get",
+ params: query,
+ });
+}
+//新增品牌
+export function addBrand(data) {
+ return request({
+ url: "/brand/brandbase/save",
+ method: "post",
+ data: data,
+ });
+}
+//编辑品牌
+export function updateBrand(data) {
+ return request({
+ url: "/brand/brandbase/update",
+ method: "post",
+ data: data,
+ });
+}
+// 删除品牌
+export function deleteBrand(id) {
+ return request({
+ url: `/brand/brandbase/del/${id}`,
+ method: "delete",
+ });
+}
+
+// 获取品牌信息(id)
+export function getBrandInfo(id) {
+ return request({
+ url: `/brand/brandbase/detail/${id}`,
+ method: "get",
+ });
+}
diff --git a/src/router/index.js b/src/router/index.js
index a74a565..9e783c2 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -93,12 +93,6 @@ export const constantRoutes = [
name: 'editGoods',
meta: { title: '编辑商品', icon: '' }
},
- {
- path: 'goodsManage/seeDetails/:activeTab?',
- component: () => import('@/views/goods/goodsManage/seeDetails'),
- name: 'seeDetails',
- meta: { title: '商品详情', icon: '' }
- },
{
path: '/goods/goodsReview/auditGoods/:activeTab?',
component: () => import('@/views/goods/goodsReview/auditGoods'),
@@ -107,35 +101,7 @@ export const constantRoutes = [
}
]
},
- {
- path: '/order',
- component: Layout,
- hidden: true,
- redirect: 'noredirect',
- children: [
- {
- path: 'order/sendGoodsInfo/:activeTab?',
- component: () => import('@/views/order/sendGoodsInfo'),
- hidden: false,
- meta: {
- title: "去发货",
- icon: "star",
- },
- name: "sendGoodsInfo",
- },
- {
- path: 'order/orderDetails/:activeTab?',
- component: () => import('@/views/order/orderDetails'),
- hidden: false,
- meta: {
- title: "订单详情",
- icon: "star",
- },
- name: "orderDetails",
- },
- ]
- },
- {
+ {
path: '/user',
component: Layout,
hidden: true,
@@ -362,122 +328,63 @@ export const constantRoutes = [
name: "brand",
component: Layout,
hidden: false,
- children: [
- {
- path: 'brand/index',
- component: () => import('@/views/brand/index'),
- hidden: false,
- meta: {
- title: "公共品牌",
- icon: "star",
- noCache: false,
- link: null,
- },
- name: "index",
- },
- ],
- },
- {
- path: '/order',
- name: "order",
- component: Layout,
- hidden: false,
+ alwaysShow: true,
+ redirect: 'noredirect',
meta: {
- title: "订单列表",
- icon: "documentation",
- noCache: false,
+ icon: "money",
link: null,
+ noCache: false,
+ title: "公共品牌",
},
children: [
{
- path: 'order/obligation',
- component: () => import('@/views/order/obligation'),
+ path: 'brand/informationManagement',
+ component: () => import('@/views/brand/informationManagement/index'),
hidden: false,
meta: {
- title: "待付款",
+ title: "信息管理",
+ icon: "",
noCache: false,
link: null,
},
- name: "obligation",
+ name: "informationManagement",
},
{
- path: 'order/sendGoods',
- component: () => import('@/views/order/sendGoods'),
+ path: 'brand/applicationReview',
+ component: () => import('@/views/brand/applicationReview/index'),
hidden: false,
meta: {
- title: "待发货",
+ title: "申请审核",
+ icon: "",
noCache: false,
link: null,
},
- name: "sendGoods",
+ name: "applicationReview",
},
{
- path: 'order/shipped',
- component: () => import('@/views/order/shipped'),
+ path: 'brand/renewal',
+ component: () => import('@/views/brand/renewal/index'),
hidden: false,
meta: {
- title: "已发货",
+ title: "续期",
+ icon: "",
noCache: false,
link: null,
},
- name: "shipped",
+ name: "renewal",
},
{
- path: 'order/receivedGoods',
- component: () => import('@/views/order/receivedGoods'),
+ path: 'brand/management',
+ component: () => import('@/views/brand/management/index'),
hidden: false,
meta: {
- title: "已收货",
+ title: "管理制度上传",
+ icon: "",
noCache: false,
link: null,
},
- name: "receivedGoods",
+ name: "management",
},
- {
- path: 'order/completed',
- component: () => import('@/views/order/completed'),
- hidden: false,
- meta: {
- title: "已完成",
- noCache: false,
- link: null,
- },
- name: "completed",
- },
- {
- path: 'order/cancelled',
- component: () => import('@/views/order/cancelled'),
- hidden: false,
- meta: {
- title: "已取消",
- noCache: false,
- link: null,
- },
- name: "cancelled",
- },
- {
- path: 'order/salesService',
- component: () => import('@/views/order/salesService'),
- hidden: false,
- meta: {
- title: "退货/退款",
- noCache: false,
- link: null,
- },
- name: "salesService",
- },
- {
- path: 'order/refunded',
- component: () => import('@/views/order/refunded'),
- hidden: false,
- meta: {
- title: "已退货/退款",
- noCache: false,
- link: null,
- },
- name: "refunded",
- },
-
],
},
]
diff --git a/src/views/brand/applicationReview/index.vue b/src/views/brand/applicationReview/index.vue
new file mode 100644
index 0000000..bc61ff2
--- /dev/null
+++ b/src/views/brand/applicationReview/index.vue
@@ -0,0 +1,6 @@
+
+
+
+