Browse Source

列表字段优化

master
suyanyan 1 month ago
parent
commit
e32e1fcf03
1 changed files with 20 additions and 4 deletions
  1. +20
    -4
      SafeCampus.WEB/src/views/violation/portrait/index.vue

+ 20
- 4
SafeCampus.WEB/src/views/violation/portrait/index.vue View File

@@ -67,16 +67,32 @@ const columns: ColumnProps[] = [
label: "姓名"
},
{
prop: "personId",
label: "人员ID"
prop: "personSetName",
label: "所属班级",
},
{
prop: "gender",
label: "性别",
enum: [
{
label: "男",
value: "GENDER_MALE"
},
{
label: "女",
value: "GENDER_FEMALE"
}],
},
{
prop: "phone",
label: "手机号"
},
{
prop: "personSetName",
label: "所属班级",
prop: "age",
label: "年龄",
render: scope => {
return scope.row.age ? scope.row.age : '--';
}
},
{ prop: "operation", label: "操作", width: 250, fixed: "right" }
];


Loading…
Cancel
Save