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;