diff --git a/SafeCampus.WEB/src/components/Selectors/ClassUserselector/index.vue b/SafeCampus.WEB/src/components/Selectors/ClassUserselector/index.vue index 68366db..8c4b222 100644 --- a/SafeCampus.WEB/src/components/Selectors/ClassUserselector/index.vue +++ b/SafeCampus.WEB/src/components/Selectors/ClassUserselector/index.vue @@ -67,7 +67,7 @@ [] = [ { prop: "dormitoryName", label: "寝室" }, ]; - +const columns2: ColumnProps[] = [ + { type: "selection", fixed: "left", width: 50 }, + { prop: "operation", label: "操作", width: 80, fixed: "left" }, + { + prop: "faceUrl", + label: "人脸", + render: scope => { + return ( + 0 ? scope.row.faces[0].faceUrl : ''} onClick={() => viewHeadImage(scope)} style='width:30px;height:30px;' alt=''/> + ); + } + }, + { + prop: "personName", + label: "姓名", + render: row => { + return row.row.name; + }, + search: { el: "input", span: 2 } + }, + { prop: "personSetName", label: "班级" }, + // { prop: "dormitoryName", label: "寝室" }, + +]; /** 显示选择器 */ function showSelector(data: SysUser.SysUserInfo[] = []) { visible.value = true;