From e9ecc30ed540e4186d2f22bd7ab20be871279def Mon Sep 17 00:00:00 2001
From: xiao-fajia <1665375861@qq.com>
Date: Mon, 26 Aug 2024 16:16:12 +0800
Subject: [PATCH] =?UTF-8?q?=E6=95=91=E6=8F=B4=E6=96=B0=E5=8A=9F=E8=83=BD1/?=
=?UTF-8?q?2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/rescue/api/rescueRoad.js | 29 ++++++
src/views/rescue/rescueRoad.vue | 141 +++++++++++++++++++++++++++--
2 files changed, 162 insertions(+), 8 deletions(-)
diff --git a/src/views/rescue/api/rescueRoad.js b/src/views/rescue/api/rescueRoad.js
index cc3ceca..a59e2ca 100644
--- a/src/views/rescue/api/rescueRoad.js
+++ b/src/views/rescue/api/rescueRoad.js
@@ -28,4 +28,33 @@ export function delRescueRoad(id) {
})
}
+export function getDictStaff(ids) {
+ return request({
+ url: '/system/rescueInfo/getDictStaff/' + ids,
+ method: 'get',
+ })
+}
+
+export function getDrivers() {
+ return request({
+ url: '/system/rescueInfo/getDrivers',
+ method: 'get',
+ })
+}
+
+export function getManages() {
+ return request({
+ url: '/system/rescueInfo/getManages',
+ method: 'get',
+ })
+}
+
+export function bindDictStaff(data) {
+ return request({
+ url: '/system/rescueInfo/bindDictStaff',
+ method: 'post',
+ data
+ })
+}
+
diff --git a/src/views/rescue/rescueRoad.vue b/src/views/rescue/rescueRoad.vue
index 8dcad05..d04d61c 100644
--- a/src/views/rescue/rescueRoad.vue
+++ b/src/views/rescue/rescueRoad.vue
@@ -34,7 +34,7 @@
{{ scope.$index + 1 }}
-
+
@@ -42,6 +42,8 @@
{{scope.row.label}}
+
+
删除
+ 绑定人员
@@ -73,11 +81,56 @@
取 消
+
+
+
+
+
+ {{bindForm.dictLabel}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+