|
@@ -240,7 +240,10 @@ const userRules = {
|
|
const pwdRules = {
|
|
const pwdRules = {
|
|
passwd: [
|
|
passwd: [
|
|
{ required: true, message: "请填写登录密码" },
|
|
{ required: true, message: "请填写登录密码" },
|
|
- { pattern: /^[a-zA-Z0-9]{6,18}$/, message: "密码只能由数字、字母组成,长度6-18个字符" },
|
|
|
|
|
|
+ {
|
|
|
|
+ pattern: /^[a-zA-Z0-9]{6,18}$/,
|
|
|
|
+ message: "密码只能由数字、字母组成,长度6-18个字符",
|
|
|
|
+ },
|
|
],
|
|
],
|
|
};
|
|
};
|
|
|
|
|
|
@@ -266,7 +269,7 @@ const columns: TableColumnType[] = [
|
|
{ title: "姓名", dataIndex: "name" },
|
|
{ title: "姓名", dataIndex: "name" },
|
|
{ title: "登录名", dataIndex: "loginName" },
|
|
{ title: "登录名", dataIndex: "loginName" },
|
|
{ title: "学校", dataIndex: "schoolName", align: "center" },
|
|
{ title: "学校", dataIndex: "schoolName", align: "center" },
|
|
- { title: "角色", dataIndex: "roleId" },
|
|
|
|
|
|
+ { title: "角色", dataIndex: "roleName" },
|
|
{ title: "更新时间", dataIndex: "updateTime" },
|
|
{ title: "更新时间", dataIndex: "updateTime" },
|
|
{ title: "状态", dataIndex: "enable" },
|
|
{ title: "状态", dataIndex: "enable" },
|
|
{ title: "操作", dataIndex: "operation" },
|
|
{ title: "操作", dataIndex: "operation" },
|