Commit 3e1836eb authored by wuhao's avatar wuhao 🎯

change srtykl

parent ff30c509
Pipeline #7651 passed with stages
in 21 minutes and 17 seconds
......@@ -6,7 +6,7 @@ import PremButton from "@/components/PremButton";
import SplitDesc from "@/components/SplitDesc";
import { doFetch } from "@/utils/doFetch";
import { ProDescriptions } from "@ant-design/pro-components";
import { Box, Container, Stack, Typography } from "@mui/material";
import { Box, Button, Container, Stack, Typography } from "@mui/material";
import { useRequest } from "ahooks";
import { Divider, Drawer, message, Table, Tabs, Tag, Tooltip } from "antd";
import { useMemo, useRef, useState } from "react";
......@@ -475,11 +475,31 @@ function Checkhomework() {
<div style={{ position: "relative", minHeight: 360 }}>
<Drawer
{...drawer}
width={"100%"} //fixer
width={"100vh"} //fixer
title={false}
closable={false}
destroyOnClose
>
<Button
variant="contained"
style={{
position: "absolute",
right: 18,
top: 18,
zIndex: 9999,
}}
color="error"
onClick={() => {
setDrawer((s) => {
return {
...s,
open: false,
};
});
}}
>
ESC
</Button>
<PointViewer
position={drawer?.position}
CurGongjianData={dialogprops?.tabdata?.CurGongjianData}
......@@ -583,6 +603,7 @@ function Checkhomework() {
}));
}}
style={{ cursor: "pointer" }}
color="#13c2c2"
>
{its.Name}
</Tag>
......@@ -624,6 +645,7 @@ function Checkhomework() {
}));
}}
style={{ cursor: "pointer" }}
color="#13c2c2"
>
{its.Name}
</Tag>
......@@ -659,7 +681,7 @@ function Checkhomework() {
dataIndex: "testTime",
key: "testTime",
render: (text, record) => {
return record.testTime + '分';
return record.testTime + "分";
},
},
{
......
......@@ -266,11 +266,31 @@ function Record() {
<div style={{ position: "relative", minHeight: 360 }}>
<Drawer
{...drawer}
width={"100%"} //fixer
width={"100vh"} //fixer
title={false}
closable={false}
destroyOnClose
>
<Button
variant="contained"
style={{
position: "absolute",
right: 18,
top: 18,
zIndex: 9999,
}}
color="error"
onClick={() => {
setDrawer((s) => {
return {
...s,
open: false,
};
});
}}
>
ESC
</Button>
<PointViewer
position={drawer?.position}
CurGongjianData={dialogprops?.tabdata?.CurGongjianData}
......@@ -372,6 +392,7 @@ function Record() {
}));
}}
style={{ cursor: "pointer" }}
color="#13c2c2"
>
{its.Name}
</Tag>
......@@ -413,6 +434,7 @@ function Record() {
}));
}}
style={{ cursor: "pointer" }}
color="#13c2c2"
>
{its.Name}
</Tag>
......
......@@ -51,7 +51,7 @@ function Dolessons() {
{
refreshDeps: [active],
onSuccess: (data, params) => {
if(data?.code !== "0000"){
if (data?.code !== "0000") {
return;
}
setdatas((s) => ({
......@@ -435,11 +435,31 @@ function Dolessons() {
<div style={{ position: "relative", minHeight: 360 }}>
<Drawer
{...drawer}
width={"100%"} //fixer
width={"100vh"} //fixer
title={false}
closable={false}
destroyOnClose
>
<Button
variant="contained"
style={{
position: "absolute",
right: 18,
top: 18,
zIndex: 9999,
}}
color="error"
onClick={() => {
setDrawer((s) => {
return {
...s,
open: false,
};
});
}}
>
ESC
</Button>
<PointViewer
position={drawer?.position}
CurGongjianData={dialogprops?.tabdata?.CurGongjianData}
......@@ -543,6 +563,7 @@ function Dolessons() {
}));
}}
style={{ cursor: "pointer" }}
color="#13c2c2"
>
{its.Name}
</Tag>
......@@ -584,6 +605,7 @@ function Dolessons() {
}));
}}
style={{ cursor: "pointer" }}
color="#13c2c2"
>
{its.Name}
</Tag>
......@@ -619,8 +641,7 @@ function Dolessons() {
dataIndex: "testTime",
key: "testTime",
render: (text, record) => {
return record.testTime + '分';
return record.testTime + "分";
},
},
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment