From edd677bae7f9d241384a49df52c7ff3c62ba4334 Mon Sep 17 00:00:00 2001 From: cun-nan <19819293608@163.com> Date: Sun, 15 Sep 2024 18:31:33 +0800 Subject: [PATCH 1/2] 9.15 --- .../openCardGift/TimeLimited.vue | 113 +++++++++++------ .../EventMarketing/openCardGift/separate.vue | 120 +++++++++++------- 2 files changed, 145 insertions(+), 88 deletions(-) diff --git a/fuintAdmin/src/views/EventMarketing/openCardGift/TimeLimited.vue b/fuintAdmin/src/views/EventMarketing/openCardGift/TimeLimited.vue index 9bcda3f98..fecbf1b82 100644 --- a/fuintAdmin/src/views/EventMarketing/openCardGift/TimeLimited.vue +++ b/fuintAdmin/src/views/EventMarketing/openCardGift/TimeLimited.vue @@ -95,13 +95,6 @@ -
@@ -314,7 +307,7 @@
- + - + - - - - - - - -
-
- - - - - -
- - - - - - - -
-
- - - - - + +
+ + + + + + + + + + + + + + +
+
+ + + + + + + +
+
+ + + + + + + + + + + + + + +
+
+ + + + + + + +
+ + + + + + + + + + + + + + + @@ -383,7 +413,7 @@
- + { + getRequestList({pageNo: 1, pageSize: 10000,activeType:2}).then(res => { this.timeShareList = res.data.records }) }, diff --git a/fuintAdmin/src/views/EventMarketing/openCardGift/separate.vue b/fuintAdmin/src/views/EventMarketing/openCardGift/separate.vue index 96c8e3b0f..0da4423a5 100644 --- a/fuintAdmin/src/views/EventMarketing/openCardGift/separate.vue +++ b/fuintAdmin/src/views/EventMarketing/openCardGift/separate.vue @@ -95,13 +95,6 @@ -
@@ -342,41 +335,72 @@ - - - - - - - - - - - - -
-
- - - - - -
- - - - - - - -
-
- - - - - +
+ + + + + + + + + + + + + + +
+
+ + + + + + + +
+
+ + + + + + + + + + + + + + +
+
+ + + + + + + +
+ + + + + + + + + + + + + + + @@ -502,7 +526,7 @@ export default { // 分时 queryParams: { pageNo: 1, - pageSize: 5, + pageSize: 10000, activeType: 1 }, total: 0, @@ -579,6 +603,7 @@ export default { ruleForm1: { activeType: 1, timeType: 0, + consumeType:'', paymentType: [] } } @@ -589,9 +614,10 @@ export default { }, methods: { // 重置活动规则 - resetRule(){ + resetRule() { this.ruleForm1 = { activeType: 1, + consumeType:'', timeType: 0, paymentType: [] } @@ -600,7 +626,7 @@ export default { this.monthDay = [] }, // 删除活动规则 - deleteRule(data){ + deleteRule(data) { deletePriceRule(data.id).then(res => { this.$message.success("删除成功") this.getRuleList() @@ -616,12 +642,12 @@ export default { this.getUserLabelList() this.showDialogVisible = true - if (res.data){ + if (res.data) { this.ruleForm1 = res.data if (res.data.paymentType) this.ruleForm1.paymentType = res.data.paymentType.split(",") if (res.data.babelIds) this.ruleForm1.babelIds = res.data.babelIds.split(",") - if (res.data.timeSlots){ + if (res.data.timeSlots) { if (res.data.timeType == "0") { this.weekDay = this.ruleForm1.timeSlots.split(",") } else if (this.ruleForm1.timeType == "1") { @@ -669,7 +695,7 @@ export default { }, // 查询分时优惠列表信息 getTimeShareList() { - getRequestList({pageNo: 1, pageSize: 10000}).then(res => { + getRequestList({pageNo: 1, pageSize: 10000,activeType:1}).then(res => { this.timeShareList = res.data.records }) }, From 66ace526b8683d7ff9c0daf2d3a7c59e8ff32537 Mon Sep 17 00:00:00 2001 From: cun-nan <19819293608@163.com> Date: Sun, 15 Sep 2024 20:26:35 +0800 Subject: [PATCH 2/2] 9.15 --- .../EventMarketing/activeConsumption/index.vue | 2 +- .../views/EventMarketing/activeNewlyweds/index.vue | 2 +- .../src/views/EventMarketing/center/index.vue | 3 +++ .../views/EventMarketing/liJianMarketing/index.vue | 2 +- .../EventMarketing/openCardGift/TimeLimited.vue | 6 +++--- .../views/EventMarketing/openCardGift/birthday.vue | 2 +- .../views/EventMarketing/openCardGift/invite.vue | 2 +- .../views/EventMarketing/openCardGift/popUp.vue | 2 +- .../EventMarketing/openCardGift/userConsume.vue | 2 +- .../EventMarketing/openCardGift/userRecharge.vue | 2 +- fuintAdmin/src/views/power/page/mode.vue | 14 +++++++------- 11 files changed, 21 insertions(+), 18 deletions(-) diff --git a/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue b/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue index 9495791ae..e24347795 100644 --- a/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue +++ b/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue @@ -650,7 +650,7 @@ export default { resetForm(formName) { this.$refs[formName].resetFields(); // this.getInfo() - this.$router.push({path: "/EventMarketing/center/index"}) + this.$router.push({path: "/EventMarketing/center/index",query: {activeId:this.activeId}}) }, indexMethod(index) { return index * 2; diff --git a/fuintAdmin/src/views/EventMarketing/activeNewlyweds/index.vue b/fuintAdmin/src/views/EventMarketing/activeNewlyweds/index.vue index 70134075a..1babe130d 100644 --- a/fuintAdmin/src/views/EventMarketing/activeNewlyweds/index.vue +++ b/fuintAdmin/src/views/EventMarketing/activeNewlyweds/index.vue @@ -328,7 +328,7 @@ export default { this.$refs[formName].resetFields(); this.ifWrite = true // this.getInfo() - this.$router.push({path: "/EventMarketing/center/index"}) + this.$router.push({path: "/EventMarketing/center/index",query: {activeId:this.activeId}}) }, /** 查询新人有礼活动列表 */ getList() { diff --git a/fuintAdmin/src/views/EventMarketing/center/index.vue b/fuintAdmin/src/views/EventMarketing/center/index.vue index 742a6b7a9..9b50caad6 100644 --- a/fuintAdmin/src/views/EventMarketing/center/index.vue +++ b/fuintAdmin/src/views/EventMarketing/center/index.vue @@ -473,6 +473,9 @@ export default { } else { this.getList(); } + if (this.$route.query.activeId){ + this.tabindex = 1 + } this.getOldList() }, diff --git a/fuintAdmin/src/views/EventMarketing/liJianMarketing/index.vue b/fuintAdmin/src/views/EventMarketing/liJianMarketing/index.vue index c0757166a..2fec69919 100644 --- a/fuintAdmin/src/views/EventMarketing/liJianMarketing/index.vue +++ b/fuintAdmin/src/views/EventMarketing/liJianMarketing/index.vue @@ -608,7 +608,7 @@ export default { resetForm(formName) { this.$refs[formName].resetFields(); // this.getInfo() - this.$router.push({path:"/EventMarketing/center/index"}) + this.$router.push({path:"/EventMarketing/center/index",query: {activeId:this.activeId}}) }, } } diff --git a/fuintAdmin/src/views/EventMarketing/openCardGift/TimeLimited.vue b/fuintAdmin/src/views/EventMarketing/openCardGift/TimeLimited.vue index fecbf1b82..fb05d1ce1 100644 --- a/fuintAdmin/src/views/EventMarketing/openCardGift/TimeLimited.vue +++ b/fuintAdmin/src/views/EventMarketing/openCardGift/TimeLimited.vue @@ -446,13 +446,13 @@
+ :class="{ 'acvtive' : index === tindex3 }" @click="Typeindex3(index)" style="margin-bottom: 20px"> {{ item }} + style="margin-left: 20px;">
- + - + - + @@ -122,7 +122,7 @@ + :maxlength="200" show-word-limit >
{油罐名称} {商品名称} @@ -134,7 +134,7 @@ - + @@ -148,20 +148,20 @@
- - + - +