From 40bf9781b1b2f42dbf2895f779d110276fe626bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com>
Date: Fri, 4 Jun 2021 17:35:59 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E4=BA=9B=E5=8F=91?=
=?UTF-8?q?=E7=8E=B0=E7=9A=84=E9=97=AE=E9=A2=98=EF=BC=8C=E6=96=B0=E5=A2=9E?=
=?UTF-8?q?=E7=A7=92=E6=9D=80=E6=B4=BB=E5=8A=A8=E8=AE=BE=E7=BD=AE=EF=BC=8C?=
=?UTF-8?q?=E4=BC=98=E6=83=A0=E5=88=B8=E5=8A=A8=E6=80=81=E6=97=B6=E9=97=B4?=
=?UTF-8?q?=20=E4=BB=A5=E5=8F=8A=20=E7=B2=BE=E5=87=86=E5=8F=91=E5=9C=88?=
=?UTF-8?q?=E7=94=A8=E6=88=B7=E5=92=8C=E5=B0=8F=E7=A8=8B=E5=BA=8F=E7=9B=B4?=
=?UTF-8?q?=E6=92=AD=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
manager/package.json | 3 +-
manager/src/api/promotion.js | 6 +
manager/src/config/index.js | 12 +-
manager/src/router/router.js | 6 +
manager/src/views/home/home.vue | 6 +-
.../lili-floor-renovation/floorList copy.vue | 254 -------
.../lili-floor-renovation/wap/advertising.vue | 21 +-
.../wap/alertAdvertising.vue | 13 +-
.../views/lili-floor-renovation/wap/btn.js | 21 -
.../views/lili-floor-renovation/wap/btn.vue | 147 ----
.../views/lili-floor-renovation/wap/index.js | 4 +-
.../lili-floor-renovation/wap/navbar.vue | 6 +-
manager/src/views/member/list/index.vue | 43 +-
manager/src/views/promotion/coupon/coupon.vue | 137 ++--
.../views/promotion/coupon/couponPublish.vue | 103 ++-
.../views/promotion/coupon/couponSpecify.vue | 172 +++++
.../src/views/promotion/seckill/seckill.vue | 160 ++---
.../views/promotion/seckill/setupSeckill.vue | 151 ++++
.../src/views/seller/shop/shopOperation.vue | 1 -
manager/src/views/sys/message/sms.vue | 10 +-
.../_downloadjs@1.4.7@downloadjs/LICENSE.md | 21 -
.../_downloadjs@1.4.7@downloadjs/README.md | 123 ----
.../_downloadjs@1.4.7@downloadjs/download.js | 167 -----
.../download.min.js | 2 -
.../_downloadjs@1.4.7@downloadjs/package.json | 42 --
.../JsonExcel.vue | 360 ----------
.../LICENSE | 21 -
.../README.md | 321 ---------
.../dist/vue-json-excel.cjs.js | 654 -----------------
.../dist/vue-json-excel.esm.js | 652 -----------------
.../dist/vue-json-excel.umd.js | 660 ------------------
.../example-multi-line.png | Bin 12028 -> 0 bytes
.../node_modules/downloadjs | 1 -
.../package.json | 47 --
.../rollup.config.js | 27 -
node_modules/downloadjs | 1 -
node_modules/vue-json-excel | 1 -
package.json | 5 -
seller/src/config/index.js | 10 +-
seller/src/views/promotion/live/liveGoods.vue | 14 +-
seller/src/views/statistics/traffic.vue | 8 +-
41 files changed, 598 insertions(+), 3815 deletions(-)
delete mode 100644 manager/src/views/lili-floor-renovation/floorList copy.vue
delete mode 100644 manager/src/views/lili-floor-renovation/wap/btn.js
delete mode 100644 manager/src/views/lili-floor-renovation/wap/btn.vue
create mode 100644 manager/src/views/promotion/coupon/couponSpecify.vue
create mode 100644 manager/src/views/promotion/seckill/setupSeckill.vue
delete mode 100644 node_modules/_downloadjs@1.4.7@downloadjs/LICENSE.md
delete mode 100644 node_modules/_downloadjs@1.4.7@downloadjs/README.md
delete mode 100644 node_modules/_downloadjs@1.4.7@downloadjs/download.js
delete mode 100644 node_modules/_downloadjs@1.4.7@downloadjs/download.min.js
delete mode 100644 node_modules/_downloadjs@1.4.7@downloadjs/package.json
delete mode 100755 node_modules/_vue-json-excel@0.3.0@vue-json-excel/JsonExcel.vue
delete mode 100755 node_modules/_vue-json-excel@0.3.0@vue-json-excel/LICENSE
delete mode 100755 node_modules/_vue-json-excel@0.3.0@vue-json-excel/README.md
delete mode 100755 node_modules/_vue-json-excel@0.3.0@vue-json-excel/dist/vue-json-excel.cjs.js
delete mode 100755 node_modules/_vue-json-excel@0.3.0@vue-json-excel/dist/vue-json-excel.esm.js
delete mode 100755 node_modules/_vue-json-excel@0.3.0@vue-json-excel/dist/vue-json-excel.umd.js
delete mode 100755 node_modules/_vue-json-excel@0.3.0@vue-json-excel/example-multi-line.png
delete mode 120000 node_modules/_vue-json-excel@0.3.0@vue-json-excel/node_modules/downloadjs
delete mode 100644 node_modules/_vue-json-excel@0.3.0@vue-json-excel/package.json
delete mode 100755 node_modules/_vue-json-excel@0.3.0@vue-json-excel/rollup.config.js
delete mode 120000 node_modules/downloadjs
delete mode 120000 node_modules/vue-json-excel
delete mode 100644 package.json
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 @@
-
-