瀏覽代碼

列表字段优化

master
suyanyan 1 月之前
父節點
當前提交
e32e1fcf03
共有 1 個檔案被更改,包括 20 行新增4 行删除
  1. +20
    -4
      SafeCampus.WEB/src/views/violation/portrait/index.vue

+ 20
- 4
SafeCampus.WEB/src/views/violation/portrait/index.vue 查看文件

@@ -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…
取消
儲存