diff --git a/manager/package.json b/manager/package.json
index feb7da85..e724ff29 100644
--- a/manager/package.json
+++ b/manager/package.json
@@ -27,7 +27,6 @@
"print-js": "^1.0.63",
"qrcodejs2": "0.0.2",
"quill": "^1.3.7",
- "vue-qr": "^2.3.0",
"sass-loader": "^8.0.2",
"sockjs-client": "^1.4.0",
"stompjs": "^2.3.3",
@@ -40,8 +39,10 @@
"vue-clipboard2": "^0.3.0",
"vue-cropper": "^0.4.9",
"vue-i18n": "^8.15.1",
+ "vue-json-excel": "^0.3.0",
"vue-json-pretty": "^1.4.1",
"vue-lazyload": "^1.3.3",
+ "vue-qr": "^2.3.0",
"vue-router": "^3.1.3",
"vuedraggable": "^2.23.2",
"vuex": "^3.4.0",
diff --git a/manager/src/api/promotion.js b/manager/src/api/promotion.js
index 517a9ed8..4e180cb3 100644
--- a/manager/src/api/promotion.js
+++ b/manager/src/api/promotion.js
@@ -17,6 +17,12 @@ export const whetherStar = params => {
return getRequest(`/broadcast/studio/id/${params.id}&recommend=${params.recommend}`);
};
+// 添加优惠券活动
+export const addCouponActivity = params => {
+ return postRequest(`/promotion/couponActivity/addCouponActivity`,params);
+};
+
+
// 获取店铺直播间列表
export const getLiveList = params => {
return getRequest("/broadcast/studio", params);
diff --git a/manager/src/config/index.js b/manager/src/config/index.js
index 9f868153..8b6b162f 100644
--- a/manager/src/config/index.js
+++ b/manager/src/config/index.js
@@ -17,10 +17,14 @@ export default {
* @description api请求基础路径
*/
api_dev: {
- common: "https://common-api.pickmall.cn",
- buyer: "https://buyer-api.pickmall.cn",
- seller: "https://store-api.pickmall.cn",
- manager: "https://admin-api.pickmall.cn"
+ // common: "https://common-api.pickmall.cn",
+ // buyer: "https://buyer-api.pickmall.cn",
+ // seller: "https://store-api.pickmall.cn",
+ // manager: "https://admin-api.pickmall.cn"
+ common: 'http://192.168.0.109:8890',
+ buyer: 'http://192.168.0.109:8888',
+ seller: 'http://192.168.0.109:8889',
+ manager: 'http://192.168.0.109:8887'
},
api_prod: {
common: "https://common-api.pickmall.cn",
diff --git a/manager/src/router/router.js b/manager/src/router/router.js
index 5f9c9e54..c08baced 100644
--- a/manager/src/router/router.js
+++ b/manager/src/router/router.js
@@ -224,6 +224,12 @@ export const otherRouter = {
name: "add-platform-coupon",
component: () => import("@/views/promotion/coupon/couponPublish.vue")
},
+ {
+ path: "promotion/add-coupon-specify",
+ title: "精准发劵",
+ name: "add-coupon-specify",
+ component: () => import("@/views/promotion/coupon/couponSpecify.vue")
+ },
{
path: "promotion/edit-platform-coupon",
title: "编辑平台优惠券",
diff --git a/manager/src/views/home/home.vue b/manager/src/views/home/home.vue
index 3f340a8c..9005f51a 100644
--- a/manager/src/views/home/home.vue
+++ b/manager/src/views/home/home.vue
@@ -211,10 +211,8 @@
import { homeStatistics, hotGoods, hotShops, getNoticePage } from "@/api/index";
import show from "./show.vue";
import * as API_Goods from "@/api/goods";
-
import { Chart } from "@antv/g2";
import * as API_Member from "@/api/member";
-import Cookies from "js-cookie";
export default {
name: "home",
components: {
@@ -502,11 +500,13 @@ export default {
let data = this.chartList;
data.forEach((item) => {
+
item.title = "历史在线人数";
+ item.date = item.date.substring(5)
+
});
this.historyMemberChart.data(data);
- console.error(data)
this.historyMemberChart.tooltip({
showCrosshairs: true,
shared: true,
diff --git a/manager/src/views/lili-floor-renovation/floorList copy.vue b/manager/src/views/lili-floor-renovation/floorList copy.vue
deleted file mode 100644
index 838f3b68..00000000
--- a/manager/src/views/lili-floor-renovation/floorList copy.vue
+++ /dev/null
@@ -1,254 +0,0 @@
-
-