|
@@ -159,11 +159,8 @@ const columns: ColumnProps<SysUserPersonnel.SysUserPerInfo>[] = [ |
|
|
label: "手机号" |
|
|
label: "手机号" |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
prop: "personSets", |
|
|
|
|
|
|
|
|
prop: "personSetName", |
|
|
label: "所属班级", |
|
|
label: "所属班级", |
|
|
render: scope => { |
|
|
|
|
|
return scope.row.personSets.length > 0 ? scope.row.personSets[0].personSetName : '' |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ prop: "operation", label: "操作", width: 250, fixed: "right" } |
|
|
{ prop: "operation", label: "操作", width: 250, fixed: "right" } |
|
|
]; |
|
|
]; |
|
@@ -267,7 +264,7 @@ function handleCommand(command: Command) { |
|
|
case cmdEnum.UnderpantsUnBinding: |
|
|
case cmdEnum.UnderpantsUnBinding: |
|
|
userManagePersonnelApi.personUnBindDfie({ |
|
|
userManagePersonnelApi.personUnBindDfie({ |
|
|
personId:command.row.personId, |
|
|
personId:command.row.personId, |
|
|
personSetId: command.row.personSets[0].personSetId |
|
|
|
|
|
|
|
|
personSetId: command.row.personSetId |
|
|
}).then(res=>{ |
|
|
}).then(res=>{ |
|
|
ElMessage.success('底库解绑成功'); |
|
|
ElMessage.success('底库解绑成功'); |
|
|
RefreshTable() |
|
|
RefreshTable() |
|
|