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"; ...@@ -6,7 +6,7 @@ import PremButton from "@/components/PremButton";
import SplitDesc from "@/components/SplitDesc"; import SplitDesc from "@/components/SplitDesc";
import { doFetch } from "@/utils/doFetch"; import { doFetch } from "@/utils/doFetch";
import { ProDescriptions } from "@ant-design/pro-components"; 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 { useRequest } from "ahooks";
import { Divider, Drawer, message, Table, Tabs, Tag, Tooltip } from "antd"; import { Divider, Drawer, message, Table, Tabs, Tag, Tooltip } from "antd";
import { useMemo, useRef, useState } from "react"; import { useMemo, useRef, useState } from "react";
...@@ -475,11 +475,31 @@ function Checkhomework() { ...@@ -475,11 +475,31 @@ function Checkhomework() {
<div style={{ position: "relative", minHeight: 360 }}> <div style={{ position: "relative", minHeight: 360 }}>
<Drawer <Drawer
{...drawer} {...drawer}
width={"100%"} //fixer width={"100vh"} //fixer
title={false} title={false}
closable={false} closable={false}
destroyOnClose 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 <PointViewer
position={drawer?.position} position={drawer?.position}
CurGongjianData={dialogprops?.tabdata?.CurGongjianData} CurGongjianData={dialogprops?.tabdata?.CurGongjianData}
...@@ -583,6 +603,7 @@ function Checkhomework() { ...@@ -583,6 +603,7 @@ function Checkhomework() {
})); }));
}} }}
style={{ cursor: "pointer" }} style={{ cursor: "pointer" }}
color="#13c2c2"
> >
{its.Name} {its.Name}
</Tag> </Tag>
...@@ -624,6 +645,7 @@ function Checkhomework() { ...@@ -624,6 +645,7 @@ function Checkhomework() {
})); }));
}} }}
style={{ cursor: "pointer" }} style={{ cursor: "pointer" }}
color="#13c2c2"
> >
{its.Name} {its.Name}
</Tag> </Tag>
...@@ -659,7 +681,7 @@ function Checkhomework() { ...@@ -659,7 +681,7 @@ function Checkhomework() {
dataIndex: "testTime", dataIndex: "testTime",
key: "testTime", key: "testTime",
render: (text, record) => { render: (text, record) => {
return record.testTime + '分'; return record.testTime + "分";
}, },
}, },
{ {
......
...@@ -266,11 +266,31 @@ function Record() { ...@@ -266,11 +266,31 @@ function Record() {
<div style={{ position: "relative", minHeight: 360 }}> <div style={{ position: "relative", minHeight: 360 }}>
<Drawer <Drawer
{...drawer} {...drawer}
width={"100%"} //fixer width={"100vh"} //fixer
title={false} title={false}
closable={false} closable={false}
destroyOnClose 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 <PointViewer
position={drawer?.position} position={drawer?.position}
CurGongjianData={dialogprops?.tabdata?.CurGongjianData} CurGongjianData={dialogprops?.tabdata?.CurGongjianData}
...@@ -372,6 +392,7 @@ function Record() { ...@@ -372,6 +392,7 @@ function Record() {
})); }));
}} }}
style={{ cursor: "pointer" }} style={{ cursor: "pointer" }}
color="#13c2c2"
> >
{its.Name} {its.Name}
</Tag> </Tag>
...@@ -413,6 +434,7 @@ function Record() { ...@@ -413,6 +434,7 @@ function Record() {
})); }));
}} }}
style={{ cursor: "pointer" }} style={{ cursor: "pointer" }}
color="#13c2c2"
> >
{its.Name} {its.Name}
</Tag> </Tag>
......
...@@ -51,7 +51,7 @@ function Dolessons() { ...@@ -51,7 +51,7 @@ function Dolessons() {
{ {
refreshDeps: [active], refreshDeps: [active],
onSuccess: (data, params) => { onSuccess: (data, params) => {
if(data?.code !== "0000"){ if (data?.code !== "0000") {
return; return;
} }
setdatas((s) => ({ setdatas((s) => ({
...@@ -435,11 +435,31 @@ function Dolessons() { ...@@ -435,11 +435,31 @@ function Dolessons() {
<div style={{ position: "relative", minHeight: 360 }}> <div style={{ position: "relative", minHeight: 360 }}>
<Drawer <Drawer
{...drawer} {...drawer}
width={"100%"} //fixer width={"100vh"} //fixer
title={false} title={false}
closable={false} closable={false}
destroyOnClose 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 <PointViewer
position={drawer?.position} position={drawer?.position}
CurGongjianData={dialogprops?.tabdata?.CurGongjianData} CurGongjianData={dialogprops?.tabdata?.CurGongjianData}
...@@ -543,6 +563,7 @@ function Dolessons() { ...@@ -543,6 +563,7 @@ function Dolessons() {
})); }));
}} }}
style={{ cursor: "pointer" }} style={{ cursor: "pointer" }}
color="#13c2c2"
> >
{its.Name} {its.Name}
</Tag> </Tag>
...@@ -584,6 +605,7 @@ function Dolessons() { ...@@ -584,6 +605,7 @@ function Dolessons() {
})); }));
}} }}
style={{ cursor: "pointer" }} style={{ cursor: "pointer" }}
color="#13c2c2"
> >
{its.Name} {its.Name}
</Tag> </Tag>
...@@ -619,8 +641,7 @@ function Dolessons() { ...@@ -619,8 +641,7 @@ function Dolessons() {
dataIndex: "testTime", dataIndex: "testTime",
key: "testTime", key: "testTime",
render: (text, record) => { 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