@@ -342,41 +335,72 @@
-
-
-
-
-
-
-
-
-
-
-
-
- 到
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 到
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ 元
+
+
+
+
+ 到
+
+
+
+
+ 元
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ L
+
+
+
+
+ 到
+
+
+
+
+ L
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -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
})
},