diff --git a/src/views/rescue/Locations.vue b/src/views/rescue/Locations.vue index 6333b25..1f76ae8 100644 --- a/src/views/rescue/Locations.vue +++ b/src/views/rescue/Locations.vue @@ -4,7 +4,7 @@ @@ -30,12 +30,12 @@ - + @@ -62,7 +62,6 @@ - @@ -304,13 +304,13 @@
*
- - {{dict.label}} - + + + + + + +
@@ -318,13 +318,13 @@
*
- - {{dict.label}} - + + + + + + +
diff --git a/src/views/rescue/rescueRoad.vue b/src/views/rescue/rescueRoad.vue index c709636..024b394 100644 --- a/src/views/rescue/rescueRoad.vue +++ b/src/views/rescue/rescueRoad.vue @@ -30,12 +30,12 @@ - + @@ -198,7 +198,7 @@ export default { handleAdd() { this.reset(); this.open = true; - this.title = "添加扣车地址"; + this.title = "添加救援路段"; this.form.dictType = this.queryParams.dictType; }, // 多选框选中数据 @@ -231,9 +231,9 @@ export default { }, /** 删除按钮操作 */ handleDelete(row) { - const dictCodes = row.dictCode || this.ids; - this.$modal.confirm('是否确认删除字典编码为"' + dictCodes + '"的数据项?').then(function() { - return delRescueRoad(dictCodes); + const ids = row.id || this.ids; + this.$modal.confirm('是否确认删除字典编码为"' + ids + '"的数据项?').then(function() { + return delRescueRoad(ids); }).then(() => { this.getList(); this.$modal.msgSuccess("删除成功");