diff --git a/src/App.vue b/src/App.vue index 2e2170d..a9fb2d3 100644 --- a/src/App.vue +++ b/src/App.vue @@ -139,5 +139,6 @@ export default { display: flex; align-items: center; justify-content: center; + font-size: 18px; } diff --git a/src/api/inviteFirend.js b/src/api/inviteFirend.js new file mode 100644 index 0000000..a70c324 --- /dev/null +++ b/src/api/inviteFirend.js @@ -0,0 +1,44 @@ +import request from "@/utils/request"; + +/** + * 获取店铺设置 + * @returns + */ +export function byShopId() { + let shopId = localStorage.getItem("shopId"); + return request({ + url: `/tbShopShare/byShopId`, + method: "get", + params: { + shopId: shopId + } + }); +} + +/** + * 分享-新增/编辑 + * @returns + */ +export function tbShopShare(data) { + return request({ + url: "/tbShopShare", + method: data.id ? "put" : "post", + data + }); +} + +/** + * 邀请记录 + * @returns + */ +export function byShare(data) { + let shopId = localStorage.getItem("shopId"); + return request({ + url: `/tbShopShare/byShare`, + method: "post", + data: { + shopId: shopId, + ...data + } + }); +} diff --git a/src/api/invoicing.js b/src/api/invoicing.js index e144ba4..10d1c9c 100644 --- a/src/api/invoicing.js +++ b/src/api/invoicing.js @@ -178,7 +178,7 @@ export function unittbConsInfo(params) { return request({ url: `/api/tbConsInfo`, method: "put", - data:params + data: params }); } /** @@ -411,3 +411,15 @@ export function tbConsInfoinputStock(file) { } }); } + +/** + * 供应商出入库记录 + * @returns + */ +export function tbProductStockOperatepage(data) { + return request({ + url: `/api/tbProductStockOperate/page`, + method: "post", + data + }); +} \ No newline at end of file diff --git a/src/views/application/bwc.vue b/src/views/application/bwc.vue index ce7c17d..0aeaced 100644 --- a/src/views/application/bwc.vue +++ b/src/views/application/bwc.vue @@ -31,7 +31,7 @@ --> - + + --> diff --git a/src/views/application/components/invite_friend/addCoupon.vue b/src/views/application/components/invite_friend/addCoupon.vue new file mode 100644 index 0000000..5c4d1c2 --- /dev/null +++ b/src/views/application/components/invite_friend/addCoupon.vue @@ -0,0 +1,97 @@ + + + + \ No newline at end of file diff --git a/src/views/application/components/invite_friend/record.vue b/src/views/application/components/invite_friend/record.vue new file mode 100644 index 0000000..36bf7bb --- /dev/null +++ b/src/views/application/components/invite_friend/record.vue @@ -0,0 +1,263 @@ + + + + + \ No newline at end of file diff --git a/src/views/application/components/invite_friend/setting.vue b/src/views/application/components/invite_friend/setting.vue new file mode 100644 index 0000000..1c06421 --- /dev/null +++ b/src/views/application/components/invite_friend/setting.vue @@ -0,0 +1,374 @@ + + + + + \ No newline at end of file diff --git a/src/views/application/components/member_points/record.vue b/src/views/application/components/member_points/record.vue index 5a71d90..3f37a0b 100644 --- a/src/views/application/components/member_points/record.vue +++ b/src/views/application/components/member_points/record.vue @@ -14,8 +14,8 @@ - - + @@ -54,27 +54,38 @@
- - + + - + + + + - - + --> - + @@ -172,12 +174,44 @@ + + +
+ + + + + + + + + + + + + +
+
+ +
+
diff --git a/src/views/login.vue b/src/views/login.vue index 08a7449..6acb8bc 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -184,10 +184,8 @@ export default { merchantName: this.loginForm.merchantName, username: this.loginForm.username, })) - - - // this.$router.push({ path: this.redirect || '/' }) - window.location.href = './' + this.$router.push({ path: this.redirect || '/' }) + // window.location.replace = './' }).catch(() => { this.loading = false this.getCode() diff --git a/src/views/shop/components/shopInfo.vue b/src/views/shop/components/shopInfo.vue index 2cbec62..f55a2bd 100644 --- a/src/views/shop/components/shopInfo.vue +++ b/src/views/shop/components/shopInfo.vue @@ -1,7 +1,7 @@