Quellcode durchsuchen

报错问题处理

master
suyanyan vor 4 Monaten
Ursprung
Commit
4ed5ca8400
2 geänderte Dateien mit 3 neuen und 9 gelöschten Zeilen
  1. +1
    -4
      SafeCampus.WEB/src/views/userManage/keyPersonnel/index.vue
  2. +2
    -5
      SafeCampus.WEB/src/views/userManage/personnel/index.vue

+ 1
- 4
SafeCampus.WEB/src/views/userManage/keyPersonnel/index.vue Datei anzeigen

@@ -104,11 +104,8 @@ const columns: ColumnProps<SysUserPersonnel.SysUserPerInfo>[] = [
label: "年龄"
},
{
prop: "personSets",
prop: "personSetName",
label: "所属班级",
render: scope => {
return scope.row.personSets.length > 0 ? scope.row.personSets[0].personSetName : ''
}
},
{ prop: "operation", label: "操作", width: 250, fixed: "right" }
];


+ 2
- 5
SafeCampus.WEB/src/views/userManage/personnel/index.vue Datei anzeigen

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


Laden…
Abbrechen
Speichern