mirror of
https://github.com/PlayEdu/backend
synced 2025-06-08 05:04:05 +08:00
系统配置子页面
This commit is contained in:
parent
6261c3a57c
commit
6af892c7e5
@ -60,7 +60,7 @@ const items = [
|
|||||||
"system",
|
"system",
|
||||||
<i className="iconfont icon-icon-setting" />,
|
<i className="iconfont icon-icon-setting" />,
|
||||||
[
|
[
|
||||||
getItem("系统配置", "/system/index", null, null, null),
|
getItem("系统配置", "/system/config/index", null, null, null),
|
||||||
getItem("管理人员", "/system/administrator", null, null, null),
|
getItem("管理人员", "/system/administrator", null, null, null),
|
||||||
getItem("角色配置", "/system/adminroles", null, null, null),
|
getItem("角色配置", "/system/adminroles", null, null, null),
|
||||||
],
|
],
|
||||||
|
@ -6,7 +6,7 @@ export * from "./test";
|
|||||||
export * from "./course/index";
|
export * from "./course/index";
|
||||||
export * from "./member/index";
|
export * from "./member/index";
|
||||||
export * from "./member/import";
|
export * from "./member/import";
|
||||||
export * from "./system/index";
|
export * from "./system/config/index";
|
||||||
export * from "./system/administrator/index";
|
export * from "./system/administrator/index";
|
||||||
export * from "./system/adminroles/index";
|
export * from "./system/adminroles/index";
|
||||||
export * from "./department";
|
export * from "./department";
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
import React, { useState, useEffect } from "react";
|
import React, { useState, useEffect } from "react";
|
||||||
import {
|
import {
|
||||||
Row,
|
Row,
|
||||||
Col,
|
|
||||||
Form,
|
Form,
|
||||||
Input,
|
Input,
|
||||||
Image,
|
Image,
|
||||||
@ -12,16 +11,13 @@ import {
|
|||||||
Checkbox,
|
Checkbox,
|
||||||
Slider,
|
Slider,
|
||||||
} from "antd";
|
} from "antd";
|
||||||
import styles from "./index.module.less";
|
// import styles from "./index.module.less";
|
||||||
import { appConfig } from "../../api/index";
|
import { appConfig } from "../../../api/index";
|
||||||
import { useParams, useNavigate } from "react-router-dom";
|
import { UploadImageButton } from "../../../compenents";
|
||||||
import { UploadImageButton } from "../../compenents";
|
|
||||||
import type { TabsProps } from "antd";
|
import type { TabsProps } from "antd";
|
||||||
import type { CheckboxChangeEvent } from "antd/es/checkbox";
|
import type { CheckboxChangeEvent } from "antd/es/checkbox";
|
||||||
|
|
||||||
export const SystemIndexPage: React.FC = () => {
|
export const SystemIndexPage: React.FC = () => {
|
||||||
const params = useParams();
|
|
||||||
const navigate = useNavigate();
|
|
||||||
const [form] = Form.useForm();
|
const [form] = Form.useForm();
|
||||||
const [loading, setLoading] = useState<boolean>(false);
|
const [loading, setLoading] = useState<boolean>(false);
|
||||||
const [logo, setLogo] = useState<string>("");
|
const [logo, setLogo] = useState<string>("");
|
@ -56,7 +56,7 @@ const routes: RouteObject[] = [
|
|||||||
element: <MemberImportPage />,
|
element: <MemberImportPage />,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "/system/index",
|
path: "/system/config/index",
|
||||||
element: <SystemIndexPage />,
|
element: <SystemIndexPage />,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user