diff --git a/src/pages/ManageOrgUserPage/index.js b/src/pages/ManageOrgUserPage/index.js
index 51417b3..1af130b 100644
--- a/src/pages/ManageOrgUserPage/index.js
+++ b/src/pages/ManageOrgUserPage/index.js
@@ -1,16 +1,15 @@
// material-ui
import {
DataGrid,
- GridActionsCellItem
+ //GridActionsCellItem
} from "@mui/x-data-grid";
import {
- Typography
+ Typography, Button
}from '@mui/material';
import MainCard from "../../components/MainCard";
import * as React from "react";
-import * as Icon from '../../utils/IconUtils';
import * as HttpUtils from "../../utils/HttpUtils";
import * as UrlUtils from "../../utils/ApiPathConst";
import * as DateUtils from "../../utils/DateUtils";
@@ -29,7 +28,7 @@ const ManageOrgUserPage = () => {
}, []);
- const loadData = ()=>{
+ function loadData(){
HttpUtils.get(
{
url: UrlUtils.GET_PUBLIC_ORG_USER_LIST,
@@ -38,16 +37,45 @@ const ManageOrgUserPage = () => {
}
}
);
- };
-
- const onActiveClick=()=>{
+ }
+ function onActiveClick(params){
+ HttpUtils.get({
+ url: UrlUtils.GET_USER_UNLOCK+"/"+params.row.id,
+ onSuccess:()=>{
+ loadData();
+ }
+ });
}
- const getHeader=(headerStr)=>{
+ function getHeader(headerStr){
return