From fc9837fc0136271d0e4bf75652764788181b074d Mon Sep 17 00:00:00 2001
From: xiao-fajia <1665375861@qq.com>
Date: Mon, 19 Aug 2024 14:30:06 +0800
Subject: [PATCH] =?UTF-8?q?=E6=95=91=E6=8F=B4=E8=8F=9C=E5=8D=95=E9=85=8D?=
=?UTF-8?q?=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/rescue/Locations.vue | 19 ++++++-------
src/views/rescue/api/Locations.js | 4 +--
src/views/rescue/driverIndex.vue | 46 +++++++++++++++----------------
src/views/rescue/rescueRoad.vue | 14 +++++-----
4 files changed, 41 insertions(+), 42 deletions(-)
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 @@
-
+
- {{scope.row.dictLabel}}
- {{scope.row.dictLabel}}
+ {{scope.row.label}}
+ {{scope.row.label}}
@@ -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 @@
-
+
- {{scope.row.dictLabel}}
- {{scope.row.dictLabel}}
+ {{scope.row.label}}
+ {{scope.row.label}}
@@ -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("删除成功");