diff --git a/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue b/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue index 919fc2aae..242afc6bb 100644 --- a/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue +++ b/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue @@ -95,8 +95,8 @@ @@ -156,14 +156,11 @@ 折扣券 - + - {{city}} - - @@ -195,7 +192,7 @@ - + + @@ -411,6 +415,7 @@ export default { id:'', pageNum: 1, pageSize: 10, + total:0 }, // 表单参数 form: {availablePeriod:[]}, @@ -449,19 +454,19 @@ export default { specialDiscount: [ { required: true, message: '不能为空', trigger: 'change' } ], - discountOffset: [ - { required: true, message: '不能为空', trigger: 'change' } - ], - validity: [ - { required: true, message: '不能为空', trigger: 'change' } - ], - effectiveDate: [ - { required: true, message: '不能为空', trigger: 'change' } - ], effectiveTime: [ { required: true, message: '不能为空', trigger: 'change' } ], - availablePeriod: [ + checkTime: [ + { required: true, message: '不能为空', trigger: 'change' } + ], + exclusiveFunction: [ + { required: true, message: '不能为空', trigger: 'change' } + ], + claimRule: [ + { required: true, message: '不能为空', trigger: 'change' } + ], + count: [ { required: true, message: '不能为空', trigger: 'change' } ], status: [ @@ -479,8 +484,8 @@ export default { methods: { gettongji(){ let data = { - pageNum: 1, - pageSize: 10, + pageNum:this.tongji.pageNum, + pageSize:this.tongji.pageSize, status:this.tongji.status, mobile:this.tongji.mobile, id:this.tongji.id @@ -488,6 +493,7 @@ export default { getcountList(data).then(res=>{ if(res.code == 200){ this.gridData = res.data.records + this.tongji.total = res.data.total } }) @@ -597,9 +603,14 @@ export default { getcount(row.id).then(res =>{ this.fourdata = res.data }) - - getcountList(row.id).then(res=>{ + let data = { + pageNum:this.tongji.pageNum, + pageSize:this.tongji.pageSize, + id:row.id + } + getcountList(data).then(res=>{ this.gridData = res.data.records + this.tongji.total = res.data.total }) },