2024-09-30 16:21:41 +08:00
|
|
|
import UserinfoDialog from '@/components/Table/Userinfo/UserinfoDialog.vue';
|
2024-10-06 18:59:44 +08:00
|
|
|
import { addDialog } from '@/components/BaseDialog/index';
|
2024-09-30 16:21:41 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* * 查看用户信息
|
|
|
|
* @param userId
|
|
|
|
*/
|
|
|
|
export const selectUserinfo = async (userId: string) => {
|
|
|
|
addDialog({
|
|
|
|
title: '查看用户信息',
|
|
|
|
draggable: true,
|
|
|
|
contentRenderer: (): JSX.Element => <UserinfoDialog userId={userId} />,
|
|
|
|
});
|
|
|
|
};
|