|
@@ -84,7 +84,7 @@ const changeTreeFilter = (val: string) => {
|
|
|
// 表格配置项
|
|
|
const columns = reactive<ColumnProps<User.ResUserList>[]>([
|
|
|
{ type: "index", label: "#", width: 80 },
|
|
|
- { prop: "username", label: "用户姓名", width: 120, search: { el: "input" } },
|
|
|
+ { prop: "username", label: "用户姓名", width: 120, search: { el: "input" }, align: "left" },
|
|
|
{
|
|
|
prop: "gender",
|
|
|
label: "性别",
|
|
@@ -92,11 +92,12 @@ const columns = reactive<ColumnProps<User.ResUserList>[]>([
|
|
|
sortable: true,
|
|
|
enum: getUserGender,
|
|
|
search: { el: "select" },
|
|
|
- fieldNames: { label: "genderLabel", value: "genderValue" }
|
|
|
+ fieldNames: { label: "genderLabel", value: "genderValue" },
|
|
|
+ align: "left"
|
|
|
},
|
|
|
- { prop: "idCard", label: "身份证号" },
|
|
|
- { prop: "email", label: "邮箱" },
|
|
|
- { prop: "address", label: "居住地址" },
|
|
|
+ { prop: "idCard", label: "身份证号", align: "left" },
|
|
|
+ { prop: "email", label: "邮箱", align: "left" },
|
|
|
+ { prop: "address", label: "居住地址", align: "left" },
|
|
|
{
|
|
|
prop: "status",
|
|
|
label: "用户状态",
|
|
@@ -105,9 +106,10 @@ const columns = reactive<ColumnProps<User.ResUserList>[]>([
|
|
|
tag: true,
|
|
|
enum: getUserStatus,
|
|
|
search: { el: "select" },
|
|
|
- fieldNames: { label: "userLabel", value: "userStatus" }
|
|
|
+ fieldNames: { label: "userLabel", value: "userStatus" },
|
|
|
+ align: "left"
|
|
|
},
|
|
|
- { prop: "createTime", label: "创建时间", width: 180 },
|
|
|
+ { prop: "createTime", label: "创建时间", width: 180, align: "left" },
|
|
|
{ prop: "operation", label: "操作", width: 330, fixed: "right" }
|
|
|
]);
|
|
|
|