代码补正

This commit is contained in:
xiao-fajia 2024-08-31 09:06:55 +08:00
parent 638339cbce
commit 16ee494983

View File

@ -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;