diff --git a/src/views/bl/massage/massagePackage.vue b/src/views/bl/massage/massagePackage.vue index 67128ce..aa64285 100644 --- a/src/views/bl/massage/massagePackage.vue +++ b/src/views/bl/massage/massagePackage.vue @@ -30,13 +30,25 @@   
- 城市: - - + 状态: + + + +    +
+
+ 等级: + + + + +   
项目名称: @@ -47,14 +59,13 @@
- 状态: - - - -    + 城市: + +
+ + + +
+ 套餐等级: + + + + +
名称: data === item.id); return dictItem ? dictItem.value : ''; }, + showLevelValue(data, datas){ + const dictItem = datas.find(item => data === item.id); + return dictItem ? dictItem.value : ''; + }, // 服务包类型 typeDictSelect() { this.$http({ @@ -1297,7 +1334,8 @@ export default { classifyId: this.classifyId, city: this.city, title: this.title, - status: this.status + status: this.status, + level: this.level, }), }).then(({data}) => { if (data.code == 0) { @@ -1327,6 +1365,7 @@ export default { this.city = ""; this.title = ""; this.status = ""; + this.level = ""; this.page = 1; this.handleSelect(); }, @@ -1587,6 +1626,7 @@ export default { this.sales = row.sales; this.labels = row.labels; this.city = row.city; + this.level = row.level; this.createTime = row.createTime; if (row.city != "" && row.city != "不限") { this.city = row.city; @@ -1646,6 +1686,15 @@ export default { }); return; } + if (this.level == "") { + this.$notify({ + title: "提示", + duration: 1800, + message: "请设置套餐等级", + type: "warning", + }); + return; + } if (this.title == "") { this.$notify({ title: "提示", @@ -1728,6 +1777,7 @@ export default { sales: this.sales, labels: this.labelsArr.toString(), city: this.city, + level: this.level, }), }).then(({data}) => { if (data.code == 0) { @@ -1788,6 +1838,7 @@ export default { this.labels= "";//标签 this.city= "";//城市 this.createTime= "";//创建时间 + this.level= ""; this.page= 1; this.limit= 10; this.dialogFormVisibleSales= false; @@ -2083,6 +2134,7 @@ export default { this.storeAddre = "请选择城市"; this.type = ""; this.jianjie = ""; + this.level = ""; this.serviceCount = 1; this.intervalDays = 0; this.dialogFormVisibleAddMassage = true; diff --git a/src/views/travelConf/add-or-update.vue b/src/views/travelConf/add-or-update.vue index edfbf0b..6270af2 100644 --- a/src/views/travelConf/add-or-update.vue +++ b/src/views/travelConf/add-or-update.vue @@ -36,7 +36,7 @@ - +