From efe556929cb52236e5eb88da0f128fe46c5a3d06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A6=BA=E7=8B=A8?= <18119604035@163.com>
Date: Wed, 8 Mar 2023 15:33:57 +0800
Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E4=BA=BA=E5=91=98=E6=9B=BF?=
=?UTF-8?q?=E6=8D=A2=E4=B8=BA=E6=9D=83=E9=99=90=E6=8C=89=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/department/index.tsx | 2 +-
src/pages/system/administrator/index.tsx | 36 +++++++++++++++---------
2 files changed, 24 insertions(+), 14 deletions(-)
diff --git a/src/pages/department/index.tsx b/src/pages/department/index.tsx
index 569f3bd..54f9663 100644
--- a/src/pages/department/index.tsx
+++ b/src/pages/department/index.tsx
@@ -155,7 +155,7 @@ export const DepartmentPage: React.FC = () => {
class="mr-16"
icon={}
p="department-store"
- onClick={() => console.log("ok")}
+ onClick={() => null}
/>
diff --git a/src/pages/system/administrator/index.tsx b/src/pages/system/administrator/index.tsx
index 174d9be..a6bf9e5 100644
--- a/src/pages/system/administrator/index.tsx
+++ b/src/pages/system/administrator/index.tsx
@@ -15,6 +15,7 @@ import { PlusOutlined, ReloadOutlined } from "@ant-design/icons";
import { adminUser } from "../../../api/index";
import { dateFormat } from "../../../utils/index";
import { Link, useNavigate } from "react-router-dom";
+import { PerButton } from "../../../compenents";
interface DataType {
id: React.Key;
@@ -74,16 +75,16 @@ export const SystemAdministratorPage: React.FC = () => {
width: 160,
render: (_, record) => (
-
+ />
{
okText="确定"
cancelText="取消"
>
-
+ null}
+ />
),
@@ -123,7 +129,6 @@ export const SystemAdministratorPage: React.FC = () => {
setRefresh(!refresh);
};
-
const paginationProps = {
current: page, //当前页码
pageSize: size,
@@ -186,9 +191,14 @@ export const SystemAdministratorPage: React.FC = () => {
style={{ textDecoration: "none" }}
to={`/system/administrator/create`}
>
- } className="mr-16" type="primary">
- 新建
-
+ }
+ p="admin-user-store"
+ onClick={() => null}
+ />