From 3c4e059b2c47e3ba22b694805645b008c4276e25 Mon Sep 17 00:00:00 2001 From: zuozhengqing <a13193816592@163.com> Date: 星期一, 05 二月 2024 19:11:30 +0800 Subject: [PATCH] 添加修改密码,api拦截,bug修改 --- src/views/operate/allot/index.vue | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/views/operate/allot/index.vue b/src/views/operate/allot/index.vue index 01b29bf..c846757 100644 --- a/src/views/operate/allot/index.vue +++ b/src/views/operate/allot/index.vue @@ -231,7 +231,7 @@ return { ...item, from: item.location.jointName, - // to: item.toLocation.name + to: item.toLocation.name } }) this.tableList.tableInfomation = list || [] @@ -248,9 +248,23 @@ }, // 鏌ョ湅 缂栬緫 tableRowClick(row, val) { - console.log(row) + console.log(row,"鏌ョ湅") this.editConfig.visible = true this.editConfig.title = val + row.details.map((item)=>{ + item.fromLocationId=item.fromLocation.jointName + item.toLocationId=item.toLocation.jointName + }) + row.location={ + value:row.location.id||row.location.value, + label:row.location.jointName||row.location.label + } + row.toLocation={ + value:row.toLocation.id||row.toLocation.value, + label:row.toLocation.jointName||row.toLocation.label + } + row.locationID=row.location.jointName + row.locationId=row.location.value this.editConfig.infomation = { ...row } }, // 鏂板缓 -- Gitblit v1.8.0