diff --git a/src/api/modules/datacenter.js b/src/api/modules/datacenter.js
new file mode 100644
index 0000000..d9c4f5d
--- /dev/null
+++ b/src/api/modules/datacenter.js
@@ -0,0 +1,32 @@
+import $http from "@/utils/httpRequest.js";
+//
+export const dataCenter = {
+ customerAnalysis: (data) => {
+ return $http.request({
+ url: `/merchant-api/pc/data/analyse/customer/analyse`,
+ method: "get",
+ params: data,
+ });
+ },
+ customerTrend: (data) => {
+ return $http.request({
+ url: `/merchant-api/pc/data/analyse/customer/trend`,
+ method: "get",
+ params: data,
+ });
+ },
+ updatePreSaleProducts: (data) => {
+ return $http.request({
+ url: `/merchant-api/product/save/advance/sell`,
+ method: "post",
+ data,
+ });
+ },
+ closePreSaleProducts: (data) => {
+ return $http.request({
+ url: `/merchant-api/product/update/advance/sell/status`,
+ method: "post",
+ data,
+ });
+ },
+};
diff --git a/src/api/modules/marketing.js b/src/api/modules/marketing.js
index a28e6f5..0a1c6d7 100644
--- a/src/api/modules/marketing.js
+++ b/src/api/modules/marketing.js
@@ -15,4 +15,12 @@ export const marketing = {
params: data,
});
},
+ //积分列表
+ integralList: (data) => {
+ return $http.request({
+ url: `/merchant-api/memberUnitMemberTask/list`,
+ method: "post",
+ data,
+ });
+ },
};
diff --git a/src/api/modules/pre-sale.js b/src/api/modules/pre-sale.js
index 2e86144..3dd4ac2 100644
--- a/src/api/modules/pre-sale.js
+++ b/src/api/modules/pre-sale.js
@@ -23,4 +23,12 @@ export const preSale = {
data,
});
},
+ closePreSaleProducts: (data) => {
+ return $http.request({
+ url: `/merchant-api/product/update/advance/sell/status`,
+ method: "post",
+ data,
+ });
+ },
};
+
diff --git a/src/router/full-routers.js b/src/router/full-routers.js
index 6e48791..8f93b31 100644
--- a/src/router/full-routers.js
+++ b/src/router/full-routers.js
@@ -305,6 +305,111 @@ export default {
},
],
},
+ {
+ menuId: getUUID(),
+ parentId: 0,
+ parentName: null,
+ name: "代理商",
+ url: "",
+ perms: "",
+ type: 0,
+ elIcon: "el-icon-tickets",
+ orderNum: 0,
+ open: null,
+ list: [
+ {
+ menuId: getUUID(),
+ parentId: 0,
+ parentName: null,
+ name: "数据面板",
+ url: "agent/data-panel/index",
+ perms: "",
+ type: 1,
+ elIcon: "el-icon-user",
+ orderNum: 0,
+ open: null,
+ list: [],
+ },
+ {
+ menuId: getUUID(),
+ parentId: 0,
+ parentName: null,
+ name: "品牌管理",
+ url: "agent/brand/index",
+ perms: "",
+ type: 1,
+ elIcon: "el-icon-data-analysis",
+ orderNum: 0,
+ open: null,
+ list: [],
+ },
+ {
+ menuId: getUUID(),
+ parentId: 0,
+ parentName: null,
+ name: "报表",
+ url: "agent/report-form/index",
+ perms: "",
+ type: 1,
+ elIcon: "el-icon-shopping-cart-full",
+ orderNum: 0,
+ open: null,
+ list: [],
+ },
+ {
+ menuId: getUUID(),
+ parentId: 0,
+ parentName: null,
+ name: "市场列表",
+ url: "agent/market-list/index",
+ perms: "",
+ type: 1,
+ elIcon: "el-icon-shopping-cart-full",
+ orderNum: 0,
+ open: null,
+ list: [],
+ },
+ {
+ menuId: getUUID(),
+ parentId: 0,
+ parentName: null,
+ name: "店铺列表",
+ url: "agent/shop-list/index",
+ perms: "",
+ type: 1,
+ elIcon: "el-icon-shopping-cart-full",
+ orderNum: 0,
+ open: null,
+ list: [],
+ },
+ {
+ menuId: getUUID(),
+ parentId: 0,
+ parentName: null,
+ name: "分销商列表",
+ url: "agent/distributor/index",
+ perms: "",
+ type: 1,
+ elIcon: "el-icon-shopping-cart-full",
+ orderNum: 0,
+ open: null,
+ list: [],
+ },
+ {
+ menuId: getUUID(),
+ parentId: 0,
+ parentName: null,
+ name: "权限管理",
+ url: "agent/jurisdiction/index",
+ perms: "",
+ type: 1,
+ elIcon: "el-icon-shopping-cart-full",
+ orderNum: 0,
+ open: null,
+ list: [],
+ },
+ ],
+ },
],
code: 0,
permissions: [],
diff --git a/src/views/modules/agent/brand/index.vue b/src/views/modules/agent/brand/index.vue
new file mode 100644
index 0000000..ae73936
--- /dev/null
+++ b/src/views/modules/agent/brand/index.vue
@@ -0,0 +1,15 @@
+
+