From 16ee49498338aaa45d43f7c9027f8b959a2e9902 Mon Sep 17 00:00:00 2001 From: xiao-fajia <1665375861@qq.com> Date: Sat, 31 Aug 2024 09:06:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=A1=A5=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/rescue/rescueRoad.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/rescue/rescueRoad.vue b/src/views/rescue/rescueRoad.vue index d04d61c..42f48d8 100644 --- a/src/views/rescue/rescueRoad.vue +++ b/src/views/rescue/rescueRoad.vue @@ -340,7 +340,7 @@ export default { dictLabel: row.label, manageId: row.manageId, driverIds: row.driverIds ? row.driverIds.split(",").map(item => parseInt(item)) : null, - dictId: row.id + dictId: row.id, } getDictStaff(row.id).then(res => { if (res.data[0]){ @@ -366,6 +366,7 @@ export default { this.$refs["bindForm"].validate(valid => { if (valid) { this.bindForm.driverIds = this.bindForm.driverIds ? this.bindForm.driverIds.join(",") : null + this.bindForm.id = this.bindForm.id ? this.bindForm.id.id : null bindDictStaff(this.bindForm).then(response => { this.$modal.msgSuccess("绑定成功"); this.bindOpen = false;