|
|
@@ -18,7 +18,7 @@ export function useResetPassword() {
|
|
|
return function () {
|
|
|
Modal.confirm({
|
|
|
title: '重置密码',
|
|
|
- content: `你确定要重置${name}的密码吗?`,
|
|
|
+ content: `你确定要将${name}的密码重置为123456吗?`,
|
|
|
onOk() {
|
|
|
mutate(id);
|
|
|
},
|
|
|
@@ -31,8 +31,8 @@ export function useResetPassword() {
|
|
|
|
|
|
const tableColumns: ColumnsType<UserListData> = [
|
|
|
{title: '用户编号', dataIndex: 'code', key: 'code', width: NORMAL_TABLE_WIDTH},
|
|
|
- {title: '用户名称', dataIndex: 'userName', key: 'userName', width: SMALL_TABLE_WIDTH},
|
|
|
- {title: '真实名称', dataIndex: 'realName', key: 'realName', width: SMALL_TABLE_WIDTH},
|
|
|
+ {title: '工号', dataIndex: 'userName', key: 'userName', width: SMALL_TABLE_WIDTH},
|
|
|
+ {title: '真实姓名', dataIndex: 'realName', key: 'realName', width: SMALL_TABLE_WIDTH},
|
|
|
{title: '部门', dataIndex: 'department', key: 'department', width: NORMAL_TABLE_WIDTH},
|
|
|
{title: '角色名称', dataIndex: 'role', key: 'role', width: NORMAL_TABLE_WIDTH},
|
|
|
{title: '邮箱', dataIndex: 'email', key: 'email', width: NORMAL_TABLE_WIDTH},
|