|
@@ -648,7 +648,7 @@ export default {
|
|
|
type: "warning"
|
|
type: "warning"
|
|
|
})
|
|
})
|
|
|
.then(() => {
|
|
.then(() => {
|
|
|
- this.getUserDetail(scope.row.userid);
|
|
|
|
|
|
|
+ this.getUserDetail(scope.row.userid, scope.row);
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
|
this.editUserMsg(pid, state == 0 ? "1" : "0");
|
|
this.editUserMsg(pid, state == 0 ? "1" : "0");
|
|
|
}, 500);
|
|
}, 500);
|
|
@@ -658,7 +658,7 @@ export default {
|
|
|
// 编辑数据
|
|
// 编辑数据
|
|
|
editData(scope) {
|
|
editData(scope) {
|
|
|
this.type = "edit";
|
|
this.type = "edit";
|
|
|
- this.getUserDetail(scope.row.userid);
|
|
|
|
|
|
|
+ this.getUserDetail(scope.row.userid, scope.row);
|
|
|
this.diaform.pid = scope.row.pid;
|
|
this.diaform.pid = scope.row.pid;
|
|
|
this.showDialog = true;
|
|
this.showDialog = true;
|
|
|
},
|
|
},
|
|
@@ -1113,8 +1113,9 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
// 获取用户详细信息
|
|
// 获取用户详细信息
|
|
|
- async getUserDetail(id) {
|
|
|
|
|
- let res = await getUserDetail(id);
|
|
|
|
|
|
|
+ async getUserDetail(id, row) {
|
|
|
|
|
+ if (!row) row = {}
|
|
|
|
|
+ let res = await getUserDetail(id, row.pid);
|
|
|
if (res.ResultCode == 0) {
|
|
if (res.ResultCode == 0) {
|
|
|
this.diaform = {
|
|
this.diaform = {
|
|
|
pid: res.Data.pid,
|
|
pid: res.Data.pid,
|