@@ -36,7 +36,8 @@ export default {
"电子卡",
"礼品卡",
"优惠券"
- ]
+ ],
+ type:"",
}
},
components: {
@@ -45,6 +46,11 @@ export default {
giftBlock,
newCertificate
},
+ created() {
+ if (this.$route.query.type) {
+ this.type = this.$route.query.type
+ }
+ },
methods: {
// goDetail(id){
// if(id == 1){
diff --git a/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue b/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue
index 290e623f3..73e629a39 100644
--- a/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue
+++ b/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue
@@ -543,6 +543,7 @@ import {
export default {
name: 'index',
dicts: ['CardCoupon_type', 'putType_type', 'oilNumber_type'],
+ props:['type'],
data(){
return{
ruleForm: {
@@ -695,8 +696,14 @@ import {
vipname:[]
}
},
- mounted() {
+ created() {
this.getlist()
+ if (this.type){
+ this.dialog = true
+ }
+ },
+ mounted() {
+
},
methods:{
addCrule(){
diff --git a/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue b/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue
index 1d3ba274c..4434cac3d 100644
--- a/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue
+++ b/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue
@@ -1,664 +1,5 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
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- this.getInfo()
+ // this.getInfo()
this.getCardCoupon()
this.getUserLabelList()
},
@@ -1263,16 +604,27 @@ export default {
if (this.ruleForm.paymentType) this.ruleForm.paymentType = this.ruleForm.paymentType.toString()
// 活动奖品
if (this.ruleForm.activeGift) this.ruleForm.activeGift = this.ruleForm.activeGift.toString()
+ if (this.pointList) {
+ this.ruleForm.pointList = this.pointList
+ }
+ if (this.growthValueList) {
+ this.ruleForm.growthValueList = this.growthValueList
+ }
+ if (this.couponList) {
+ this.ruleForm.couponList = this.couponList
+ }
if (this.ruleForm.id) {
editActivity(this.ruleForm).then(response => {
this.$modal.msgSuccess("修改成功");
- this.getInfo();
+ // this.getInfo();
+ this.$router.push({path:"/EventMarketing/center/index",query:{id:'5'}})
});
} else {
addActivity(this.ruleForm).then(response => {
this.$modal.msgSuccess("新增成功");
- this.getInfo();
+ // this.getInfo();
+ this.$router.push({path:"/EventMarketing/center/index",query:{id:'5'}})
});
}
}
@@ -1280,7 +632,8 @@ export default {
},
resetForm(formName) {
this.$refs[formName].resetFields();
- this.getInfo()
+ // this.getInfo()
+ this.$router.push({path:"/EventMarketing/center/index"})
},
indexMethod(index) {
return index * 2;
diff --git a/fuintAdmin/src/views/EventMarketing/activeNewlyweds/index.vue b/fuintAdmin/src/views/EventMarketing/activeNewlyweds/index.vue
index 9f34cf849..a47051d59 100644
--- a/fuintAdmin/src/views/EventMarketing/activeNewlyweds/index.vue
+++ b/fuintAdmin/src/views/EventMarketing/activeNewlyweds/index.vue
@@ -1,546 +1,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -597,18 +58,18 @@
-
+
+
成长值
@@ -738,7 +199,10 @@ export default {
activeNewlywedsChildList: [],
},
- ruleForm: {},
+ ruleForm: {
+ activeTimeType:0,
+ courtesyReward:[]
+ },
ifWrite: true,
tindex1: 0,
activityTimeTypeList: [
@@ -768,8 +232,7 @@ export default {
};
},
created() {
- // this.getList()
- this.getInfo()
+ // this.getInfo()
this.getCardCoupon()
},
methods: {
@@ -823,12 +286,18 @@ export default {
if (this.ruleForm.id) {
editActiveNewlyweds1(this.ruleForm).then(response => {
this.$modal.msgSuccess("修改成功");
- this.getInfo()
+ // this.getInfo()
+ this.$router.push({path:"/EventMarketing/center/index",query:{id:'6'}})
});
}else {
insertActiveNewlyweds(this.ruleForm).then(response => {
- this.$modal.msgSuccess("新增成功");
- this.getInfo()
+ if (response.data==1){
+ this.$modal.msgSuccess("新增成功");
+ // this.getInfo()
+ this.$router.push({path:"/EventMarketing/center/index",query:{id:'6'}})
+ }else {
+ this.$modal.msgError("新增失败");
+ }
});
}
}
@@ -837,7 +306,8 @@ export default {
resetForm(formName) {
this.$refs[formName].resetFields();
this.ifWrite = true
- this.getInfo()
+ // this.getInfo()
+ this.$router.push({path:"/EventMarketing/center/index"})
},
/** 查询新人有礼活动列表 */
getList() {
diff --git a/fuintAdmin/src/views/EventMarketing/center/index.vue b/fuintAdmin/src/views/EventMarketing/center/index.vue
index 45c55f69b..90d897c16 100644
--- a/fuintAdmin/src/views/EventMarketing/center/index.vue
+++ b/fuintAdmin/src/views/EventMarketing/center/index.vue
@@ -1,437 +1,377 @@
-
+
-
- {{item}}
+
+ {{ item }}
-
-
-
-
-
-
-

-
-
-
-
-
-
-
-

-
-
充值有礼
-
充值后赠送金额、积分、经验、 优惠券等
-
-
-
-
-
-
-

-
-
消费有礼
-
支付后赠送积分、成长值、优惠券
-
-
-
-
-
-
-

-
-
-
-
-
-
-

-
-
-
-
-
-
-
-

-
-
推荐会员充值有礼
-
会员充值后,推荐人获得积分、 成长值、优惠券
-
-
-
-
-
-
-

-
-
推荐会员消费有礼
-
会员消费后,推荐人获得积分、 成长值、优惠券
-
-
-
-
-
-
-

-
-
-
-
-
-
-
-
-
-
-

-
-
分时优惠
-
不同会员不同时间,指定油品享受 限时优惠
-
-
-
-
-
-
-

-
-
限时特价
-
充值后赠送金额、积分、成长值、 优惠券、锁价优惠
-
-
-
-
-
-
-
-

-
-
-
-
-
-
-

-
-
折扣营销
-
会员折扣营销,限时订单折扣, 引爆店铺流量
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
+
+
+
+

+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 修改
- 删除
- 停用
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 修改
- 删除
- 停用
-
+
+
+

+
+
充值有礼
+
充值后赠送金额、积分、经验、 优惠券等
+
+
+
+
+
+
+

+
+
消费有礼
+
支付后赠送积分、成长值、优惠券
+
+
+
+
+
+
+

+
+
+
+
+
+
+

+
+
+
+
-
-
-
+
+
+

+
+
推荐会员充值有礼
+
会员充值后,推荐人获得积分、 成长值、优惠券
+
+
+
+
+
+
+

+
+
推荐会员消费有礼
+
会员消费后,推荐人获得积分、 成长值、优惠券
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+

+
+
分时优惠
+
不同会员不同时间,指定油品享受 限时优惠
+
+
+
+
+
+
+

+
+
限时特价
+
充值后赠送金额、积分、成长值、 优惠券、锁价优惠
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+

+
+
折扣营销
+
会员折扣营销,限时订单折扣, 引爆店铺流量
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+ 不限时间
+ {{ scope.row.activeStartTime }} ~ {{ scope.row.activeEndTime }}
+
+
+
+
+ {{ scope.row.adaptUserType || "--" }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+
+ 删除
+
+ 停用
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+ 不限时间
+ {{ scope.row.activeStartTime }} ~ {{ scope.row.activeEndTime }}
+
+
+
+
+ {{ scope.row.adaptUserType || "--" }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+
+ 删除
+
+ 停用
+
+
+
+
+
+
+
+