Commit 0bc5a1fc authored by wuhao's avatar wuhao 🎯

laosd

parent a31a3320
...@@ -109,11 +109,18 @@ export default [ ...@@ -109,11 +109,18 @@ export default [
path: "/work/dobustrain/:id", path: "/work/dobustrain/:id",
component: "./dobustrain", component: "./dobustrain",
}, },
{
name: "成绩管理",
path: "/work/rebustrain/:id",
component: "./rebustrain",
},
{ {
name: "我的实训", name: "我的实训",
path: "/work/mybustrain", path: "/work/mybustrain",
component: "./mybustrain", component: "./mybustrain",
}, },
], ],
}, },
{ {
......
This diff is collapsed.
...@@ -102,14 +102,14 @@ const AutoTable = (props) => { ...@@ -102,14 +102,14 @@ const AutoTable = (props) => {
fieldProps: { fieldProps: {
...it?.fieldProps, ...it?.fieldProps,
options: [...it.options], options: [...it.options],
dropdownMatchSelectWidth: 200, popupMatchSelectWidth: 200,
}, },
}; };
} else if (it.options) { } else if (it.options) {
options = { options = {
fieldProps: { fieldProps: {
...it?.fieldProps, ...it?.fieldProps,
dropdownMatchSelectWidth: 200, popupMatchSelectWidth: 200,
showSearch: true, showSearch: true,
}, },
params: paramconfig[curkey], params: paramconfig[curkey],
......
...@@ -74,6 +74,7 @@ export default function DraggableDialog({ ...@@ -74,6 +74,7 @@ export default function DraggableDialog({
loading={loading} loading={loading}
loadingPosition="start" loadingPosition="start"
startIcon={<SendOutlined />} startIcon={<SendOutlined />}
disabled={dialogprops?.disabled}
onClick={() => { onClick={() => {
formRef?.current?.submit(); formRef?.current?.submit();
}} }}
......
...@@ -117,7 +117,7 @@ const EditTable = (props) => { ...@@ -117,7 +117,7 @@ const EditTable = (props) => {
recordCreatorProps={false} recordCreatorProps={false}
size={size} size={size}
onSubmit={(params) => { onSubmit={(params) => {
console.log(params, 'onSubmit'); // console.log(params, 'onSubmit');
}} }}
onSizeChange={(size) => { onSizeChange={(size) => {
localStorage.setItem('size', size); //设置全局表格规格缓存 localStorage.setItem('size', size); //设置全局表格规格缓存
......
...@@ -456,7 +456,7 @@ function NolinkSelect({ item, colProps }) { ...@@ -456,7 +456,7 @@ function NolinkSelect({ item, colProps }) {
return ( return (
<> <>
<ProFormSelect <ProFormSelect
fieldProps={{ ...item.fieldProps, dropdownMatchSelectWidth: 200 }} fieldProps={{ ...item.fieldProps, popupMatchSelectWidth: 200 }}
formItemProps={item.formItemProps} formItemProps={item.formItemProps}
name={item.key ?? item.dataIndex} name={item.key ?? item.dataIndex}
colProps={item.colProps ?? colProps} colProps={item.colProps ?? colProps}
...@@ -1333,12 +1333,9 @@ function TableSelect({ item, value, onChange, params = {} }) { ...@@ -1333,12 +1333,9 @@ function TableSelect({ item, value, onChange, params = {} }) {
const [activetab, setactivetab] = useState(1); const [activetab, setactivetab] = useState(1);
const actionRef = useRef(); const actionRef = useRef();
const menu = (selectedRows) => ( const items =
<Menu value?.length > 0
style={{ width: 160 }} ? value?.map?.((it) => ({
items={
selectedRows.length > 0
? selectedRows.map((it) => ({
key: it[rowKey], key: it[rowKey],
label: ( label: (
<div <div
...@@ -1361,16 +1358,16 @@ function TableSelect({ item, value, onChange, params = {} }) { ...@@ -1361,16 +1358,16 @@ function TableSelect({ item, value, onChange, params = {} }) {
> >
<span <span
style={{ style={{
color: chooses.includes(it[rowKey]) color: chooses.includes(it[rowKey]) ? "#1890ff" : "#333333",
? "#1890ff"
: "#333333",
transition: "all 0.4s", transition: "all 0.4s",
userSelect: "none", userSelect: "none",
paddingRight:12
}} }}
> >
{it[item.rowName]} {it[item.rowName??"name"]}
</span> </span>
<CloseOutlined <CloseOutlined
style={{color:"red"}}
onClick={(e) => { onClick={(e) => {
e.stopPropagation(); e.stopPropagation();
let newvalue = value.filter( let newvalue = value.filter(
...@@ -1394,10 +1391,7 @@ function TableSelect({ item, value, onChange, params = {} }) { ...@@ -1394,10 +1391,7 @@ function TableSelect({ item, value, onChange, params = {} }) {
key: -1, key: -1,
label: "请先选择", label: "请先选择",
}, },
] ];
}
/>
);
useDidUpdateEffect(() => { useDidUpdateEffect(() => {
onChange(null); onChange(null);
...@@ -1508,7 +1502,11 @@ function TableSelect({ item, value, onChange, params = {} }) { ...@@ -1508,7 +1502,11 @@ function TableSelect({ item, value, onChange, params = {} }) {
<Tabs <Tabs
tabBarExtraContent={ tabBarExtraContent={
<div className="center"> <div className="center">
<Dropdown menu={menu(value ?? [])}> <Dropdown
menu={{
items,
}}
>
<a> <a>
已选择{value?.length ?? 0}<DownOutlined /> 已选择{value?.length ?? 0}<DownOutlined />
</a> </a>
......
...@@ -86,7 +86,7 @@ let FormRender = memo(({ fields = [], colProps, proformRef }) => { ...@@ -86,7 +86,7 @@ let FormRender = memo(({ fields = [], colProps, proformRef }) => {
function InitForm({ function InitForm({
formRef, formRef,
onFinish = (vals, extra) => { onFinish = (vals, extra) => {
console.log(vals, extra); //console.log(vals, extra);
}, },
formKey, formKey,
params = {}, params = {},
...@@ -97,8 +97,9 @@ function InitForm({ ...@@ -97,8 +97,9 @@ function InitForm({
fields, fields,
colProps = { xs: 24, sm: 24, md: 12, lg: 12, xl: 12, xxl: 12 }, colProps = { xs: 24, sm: 24, md: 12, lg: 12, xl: 12, xxl: 12 },
onValuesChange = (changedValues, allValues) => { onValuesChange = (changedValues, allValues) => {
console.log(changedValues, allValues); //console.log(changedValues, allValues);
}, },
disabled
}) { }) {
let proformRef = useRef(); let proformRef = useRef();
proformRef = formRef ?? proformRef; proformRef = formRef ?? proformRef;
...@@ -115,11 +116,11 @@ function InitForm({ ...@@ -115,11 +116,11 @@ function InitForm({
? submitter ? submitter
: { : {
render: (props, doms) => { render: (props, doms) => {
console.log("submitterProps", props);
return [ return [
<Button <Button
type="reset" type="reset"
key="rest" key="rest"
disabled={disabled}
onClick={() => props.form?.resetFields()} onClick={() => props.form?.resetFields()}
> >
重置 重置
...@@ -128,6 +129,7 @@ function InitForm({ ...@@ -128,6 +129,7 @@ function InitForm({
type="submit" type="submit"
key="submit" key="submit"
variant="contained" variant="contained"
disabled={disabled}
onClick={(e) => { onClick={(e) => {
e.preventDefault(); e.preventDefault();
return props.form?.submit?.(); return props.form?.submit?.();
......
...@@ -49,7 +49,7 @@ export default function ShopProductCard({ ...@@ -49,7 +49,7 @@ export default function ShopProductCard({
copy, copy,
publish, publish,
authorized, authorized,
tauthorized tauthorized,
}) { }) {
const { const {
trainName, trainName,
...@@ -174,9 +174,7 @@ export default function ShopProductCard({ ...@@ -174,9 +174,7 @@ export default function ShopProductCard({
<Tooltip placement="bottom-start" title={"协作教师"}> <Tooltip placement="bottom-start" title={"协作教师"}>
<IconButton <IconButton
onClick={() => { onClick={() => {
if (ifs) { tauthorized(product, ifs);
tauthorized(product);
}
}} }}
> >
<GroupIcon <GroupIcon
...@@ -191,7 +189,7 @@ export default function ShopProductCard({ ...@@ -191,7 +189,7 @@ export default function ShopProductCard({
<Tooltip placement="bottom-start" title={"成绩管理"}> <Tooltip placement="bottom-start" title={"成绩管理"}>
<IconButton <IconButton
onClick={() => { onClick={() => {
publish(product, { type: 3 }); history.push("/work/rebustrain/" + product.id);
}} }}
> >
<IconFont <IconFont
...@@ -318,9 +316,7 @@ export default function ShopProductCard({ ...@@ -318,9 +316,7 @@ export default function ShopProductCard({
alignItems={"center"} alignItems={"center"}
sx={{ cursor: "pointer" }} sx={{ cursor: "pointer" }}
onClick={() => { onClick={() => {
if (ifs) { authorized(product, ifs);
authorized(product);
}
}} }}
> >
<IconFont <IconFont
......
...@@ -51,6 +51,7 @@ function TreeRender({ ...@@ -51,6 +51,7 @@ function TreeRender({
maxWidth, maxWidth,
style, style,
submitKey, submitKey,
disabled,
}) { }) {
const [search, setsearch] = useState(""); const [search, setsearch] = useState("");
const [savetitle, setsavetitle] = useState(null); const [savetitle, setsavetitle] = useState(null);
...@@ -178,9 +179,11 @@ function TreeRender({ ...@@ -178,9 +179,11 @@ function TreeRender({
<span style={{ marginRight: 6 }}>{title}</span> <span style={{ marginRight: 6 }}>{title}</span>
<div className="center" style={{ gap: 8 }}> <div className="center" style={{ gap: 8 }}>
{item.key && item.key != "00000000" && ( {item.key && item.key != "00000000" && (
<Tooltip <Tooltip title="编辑">
title="编辑" <div
className="bgs"
onClick={(e) => { onClick={(e) => {
if (disabled) return;
e.stopPropagation(); e.stopPropagation();
setsavetitle(null); setsavetitle(null);
if (true) { if (true) {
...@@ -196,17 +199,21 @@ function TreeRender({ ...@@ -196,17 +199,21 @@ function TreeRender({
} }
}} }}
> >
<div className="bgs"> <BorderColorIcon
<BorderColorIcon style={{ color: "#1890ff", fontSize: 14 }} /> style={{
color: disabled ? "grey" : "#1890ff",
fontSize: 14,
}}
/>
</div> </div>
</Tooltip> </Tooltip>
)} )}
{item.key && item.key != "00000000" && item.children && ( {item.key && item.key != "00000000" && item.children && (
<Tooltip title="新增"> <Tooltip title="新增">
<div className="bgs"> <div
<AddIcon className="bgs"
disabled={false}
onClick={(e) => { onClick={(e) => {
if (disabled) return;
e.stopPropagation(); e.stopPropagation();
setsavetitle(null); setsavetitle(null);
if (true) { if (true) {
...@@ -221,8 +228,11 @@ function TreeRender({ ...@@ -221,8 +228,11 @@ function TreeRender({
}); });
} }
}} }}
>
<AddIcon
disabled={false}
style={{ style={{
color: `${true ? "green" : ""}`, color: disabled ? "grey" : "green",
fontSize: 20, fontSize: 20,
}} }}
/> />
...@@ -236,7 +246,8 @@ function TreeRender({ ...@@ -236,7 +246,8 @@ function TreeRender({
title="是否删除该节点?" title="是否删除该节点?"
okText="删除" okText="删除"
cancelText="取消" cancelText="取消"
onConfirm={() => { disabled={disabled}
onConfirm={(e) => {
doFetch({ url: deleteurl, params: { id: item.key } }).then( doFetch({ url: deleteurl, params: { id: item.key } }).then(
(res) => { (res) => {
if (res.code == "0000") { if (res.code == "0000") {
...@@ -250,7 +261,7 @@ function TreeRender({ ...@@ -250,7 +261,7 @@ function TreeRender({
<Tooltip title="删除" placement="bottom"> <Tooltip title="删除" placement="bottom">
<div className="bgs"> <div className="bgs">
<HorizontalRuleIcon <HorizontalRuleIcon
style={{ color: "red", fontSize: 16 }} style={{ color: disabled ? "grey" : "red", fontSize: 16 }}
/> />
</div> </div>
</Tooltip> </Tooltip>
...@@ -334,11 +345,17 @@ function TreeRender({ ...@@ -334,11 +345,17 @@ function TreeRender({
> >
<Typography variant="h6">课程目录</Typography> <Typography variant="h6">课程目录</Typography>
<IconButton <IconButton
disabled={disabled}
onClick={() => { onClick={() => {
setDrawer({ open: true }); setDrawer({ open: true });
}} }}
> >
<AddIcon style={{ fontSize: 20, color: colors.blue[600] }}></AddIcon> <AddIcon
style={{
fontSize: 20,
color: disabled ? colors.grey[600] : colors.blue[600],
}}
></AddIcon>
</IconButton> </IconButton>
<Modal <Modal
...@@ -502,7 +519,6 @@ function TreeRender({ ...@@ -502,7 +519,6 @@ function TreeRender({
showIcon showIcon
showLine showLine
onSelect={(selectedKeys, e) => { onSelect={(selectedKeys, e) => {
// //console.log(selectedKeys);
onselected?.(selectedKeys, e, alldata); onselected?.(selectedKeys, e, alldata);
}} }}
autoExpandParent={autoExpandParent} autoExpandParent={autoExpandParent}
......
...@@ -631,3 +631,21 @@ h4 { ...@@ -631,3 +631,21 @@ h4 {
} }
} }
} }
.lightblue {
> td:first-child {
position: relative;
&::before {
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 3px;
height: 48%;
margin: auto;
background-color: #ff4800;
border-radius: 0 3px 3px 0;
content: '';
}
}
}
...@@ -119,7 +119,6 @@ export default function AccountPopover() { ...@@ -119,7 +119,6 @@ export default function AccountPopover() {
setOpen(null); setOpen(null);
if (path === "/user/login") { if (path === "/user/login") {
doFetch({ url: "/system/logout", params: {} }).then((res) => { doFetch({ url: "/system/logout", params: {} }).then((res) => {
console.log(res);
if (res?.code === "0000") { if (res?.code === "0000") {
path && navigate(path); path && navigate(path);
} }
......
...@@ -91,6 +91,7 @@ export default function Searchbar() { ...@@ -91,6 +91,7 @@ export default function Searchbar() {
let { data, loading } = useRequest( let { data, loading } = useRequest(
async () => { async () => {
if(!open) return;
let res = await doFetch({ let res = await doFetch({
url: "/system/searchAll", url: "/system/searchAll",
params: { ...search }, params: { ...search },
......
...@@ -13,9 +13,6 @@ export default function UserPage() { ...@@ -13,9 +13,6 @@ export default function UserPage() {
setValue(newValue); setValue(newValue);
}; };
const location = useLocation(); const location = useLocation();
console.log("====================================");
console.log(location.pathname);
console.log("====================================");
const data = React.useMemo(() => { const data = React.useMemo(() => {
const currouteconfig = navConfig?.filter((it, i) => { const currouteconfig = navConfig?.filter((it, i) => {
......
...@@ -3,7 +3,8 @@ import MuiAlert from "@mui/material/Alert"; ...@@ -3,7 +3,8 @@ import MuiAlert from "@mui/material/Alert";
import CssBaseline from "@mui/material/CssBaseline"; import CssBaseline from "@mui/material/CssBaseline";
import Slide from "@mui/material/Slide"; import Slide from "@mui/material/Slide";
import Snackbar from "@mui/material/Snackbar"; import Snackbar from "@mui/material/Snackbar";
import { Outlet,useModel } from "@umijs/max"; import * as Sentry from "@sentry/react";
import { Outlet, useModel } from "@umijs/max";
import React from "react"; import React from "react";
import ThemeProvider from "./theme"; import ThemeProvider from "./theme";
...@@ -33,6 +34,24 @@ import ThemeProvider from "./theme"; ...@@ -33,6 +34,24 @@ import ThemeProvider from "./theme";
</div> */ </div> */
} }
Sentry.init({
dsn: "http://38a2decfe9214e639164d2ca6ef92a67@iot-dev.nangaoyun.com:9000/9",
integrations: [new Sentry.BrowserTracing(), new Sentry.Replay()],
enabled: process.env.NODE_ENV !== "development",
// Set tracesSampleRate to 1.0 to capture 100%
// of transactions for performance monitoring.
// We recommend adjusting this value in production
tracesSampleRate: 1.0,
// Capture Replay for 10% of all sessions,
// plus for 100% of sessions with an error
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1.0,
});
Sentry.configureScope(function (scope) {
scope.setLevel("error");
});
const Alert = React.forwardRef(function Alert(props, ref) { const Alert = React.forwardRef(function Alert(props, ref) {
return <MuiAlert elevation={6} ref={ref} variant="filled" {...props} />; return <MuiAlert elevation={6} ref={ref} variant="filled" {...props} />;
}); });
...@@ -66,7 +85,7 @@ function App() { ...@@ -66,7 +85,7 @@ function App() {
severity={message?.type} severity={message?.type}
onClose={handleClose} onClose={handleClose}
{...message.alert} {...message.alert}
sx={{color:"#f9f9f9"}} sx={{ color: "#f9f9f9" }}
> >
{message?.title ? <AlertTitle>{message?.title}</AlertTitle> : null} {message?.title ? <AlertTitle>{message?.title}</AlertTitle> : null}
{message?.content} {message?.content}
......
...@@ -62,7 +62,7 @@ function Lessons() { ...@@ -62,7 +62,7 @@ function Lessons() {
}); });
}; };
const authorized = (row) => { const authorized = (row, ifs) => {
doFetch({ doFetch({
url: "/trainStudent/queryRelationStudent", url: "/trainStudent/queryRelationStudent",
params: { trainId: row?.id }, params: { trainId: row?.id },
...@@ -74,12 +74,13 @@ function Lessons() { ...@@ -74,12 +74,13 @@ function Lessons() {
defaultFormValue: { ...row }, defaultFormValue: { ...row },
studentIdList: res?.data?.dataList, studentIdList: res?.data?.dataList,
title: "授权", title: "授权",
disabled: !ifs,
}); });
} }
}); });
}; };
const tauthorized = (row) => { const tauthorized = (row, ifs) => {
doFetch({ doFetch({
url: "/busTrainTeacher/queryRelationTeacher", url: "/busTrainTeacher/queryRelationTeacher",
params: { trainId: row?.id }, params: { trainId: row?.id },
...@@ -91,6 +92,7 @@ function Lessons() { ...@@ -91,6 +92,7 @@ function Lessons() {
defaultFormValue: { ...row }, defaultFormValue: { ...row },
teacherIdList: res?.data?.dataList, teacherIdList: res?.data?.dataList,
title: "协作教师", title: "协作教师",
disabled: !ifs,
}); });
} }
}); });
...@@ -163,7 +165,6 @@ function Lessons() { ...@@ -163,7 +165,6 @@ function Lessons() {
fields={columns} fields={columns}
defaultFormValue={dialogprops?.defaultFormValue} defaultFormValue={dialogprops?.defaultFormValue}
onValuesChange={async (changedValues, allValues, formRef) => { onValuesChange={async (changedValues, allValues, formRef) => {
console.log(changedValues);
if (Object.keys(changedValues)[0] === "courseId") { if (Object.keys(changedValues)[0] === "courseId") {
let id = Object.values(changedValues)?.[0] ?? null; let id = Object.values(changedValues)?.[0] ?? null;
let res = await doFetch({ let res = await doFetch({
...@@ -171,15 +172,8 @@ function Lessons() { ...@@ -171,15 +172,8 @@ function Lessons() {
params: { id }, params: { id },
}); });
let pic = res?.data?.data?.pic ?? []; let pic = res?.data?.data?.pic ?? [];
console.log(pic);
formRef?.current?.setFieldsValue({ formRef?.current?.setFieldsValue({
pic: [ pic,
{
uid: "1655501390426017792",
url: "https://ng-website.oss-cn-hangzhou.aliyuncs.com/2023/05/08/1655501389482299392Bl6w2X.jpg",
name: "a1.jpg",
},
],
}); });
} }
}} }}
...@@ -210,7 +204,7 @@ function Lessons() { ...@@ -210,7 +204,7 @@ function Lessons() {
fields={[ fields={[
{ {
rowKey: "id", rowKey: "id",
rowName: "id", rowName: "name",
valueType: "FormSelectList", valueType: "FormSelectList",
dataIndex: "teacherIdList", dataIndex: "teacherIdList",
colProps: { colProps: {
...@@ -269,7 +263,7 @@ function Lessons() { ...@@ -269,7 +263,7 @@ function Lessons() {
fields={[ fields={[
{ {
rowKey: "id", rowKey: "id",
rowName: "id", rowName: "name",
valueType: "FormSelectList", valueType: "FormSelectList",
dataIndex: "studentIdList", dataIndex: "studentIdList",
colProps: { colProps: {
...@@ -372,7 +366,6 @@ function Lessons() { ...@@ -372,7 +366,6 @@ function Lessons() {
} else { } else {
news = [...news, val]; news = [...news, val];
} }
console.log(news);
return { return {
...s, ...s,
typeList: news, typeList: news,
......
...@@ -50,6 +50,11 @@ function Dolessons() { ...@@ -50,6 +50,11 @@ function Dolessons() {
); );
}, []); }, []);
const ifs = useMemo(() => {
let { type } = lessonDetail ?? {};
return !(type === 1 || type === 3);
}, [lessonDetail]);
const checkCourse = (val) => { const checkCourse = (val) => {
if (val.length) { if (val.length) {
doFetch({ doFetch({
...@@ -70,6 +75,7 @@ function Dolessons() { ...@@ -70,6 +75,7 @@ function Dolessons() {
<PremButton <PremButton
btn={{ btn={{
size: "small", size: "small",
disabled: ifs,
variant: "text", variant: "text",
onClick: () => { onClick: () => {
setDrawer((v) => ({ setDrawer((v) => ({
...@@ -89,6 +95,7 @@ function Dolessons() { ...@@ -89,6 +95,7 @@ function Dolessons() {
return ( return (
<PremButton <PremButton
pop={{ pop={{
disabled: ifs,
title: "是否删除该实验?", title: "是否删除该实验?",
okText: "确认", okText: "确认",
cancelText: "取消", cancelText: "取消",
...@@ -100,6 +107,7 @@ function Dolessons() { ...@@ -100,6 +107,7 @@ function Dolessons() {
}, },
}} }}
btn={{ btn={{
disabled: ifs,
size: "small", size: "small",
color: "error", color: "error",
}} }}
...@@ -112,6 +120,7 @@ function Dolessons() { ...@@ -112,6 +120,7 @@ function Dolessons() {
return ( return (
<PremButton <PremButton
pop={{ pop={{
disabled: ifs,
title: "是否删除该实验?", title: "是否删除该实验?",
okText: "确认", okText: "确认",
cancelText: "取消", cancelText: "取消",
...@@ -125,6 +134,7 @@ function Dolessons() { ...@@ -125,6 +134,7 @@ function Dolessons() {
btn={{ btn={{
size: "small", size: "small",
color: "error", color: "error",
disabled: ifs,
}} }}
> >
删除 删除
...@@ -233,6 +243,7 @@ function Dolessons() { ...@@ -233,6 +243,7 @@ function Dolessons() {
saveurl="/busTrainCatalogue/saveOrUpdateCatalogue" saveurl="/busTrainCatalogue/saveOrUpdateCatalogue"
deleteurl="/busTrainCatalogue/deleteCatalogue" deleteurl="/busTrainCatalogue/deleteCatalogue"
submitKey="catalogue" submitKey="catalogue"
disabled={ifs}
params={{ params={{
trainId: params?.id, trainId: params?.id,
}} }}
...@@ -270,6 +281,7 @@ function Dolessons() { ...@@ -270,6 +281,7 @@ function Dolessons() {
} }
}); });
}} }}
disabled={ifs}
/> />
</Box> </Box>
</Grid> </Grid>
...@@ -534,6 +546,7 @@ function Dolessons() { ...@@ -534,6 +546,7 @@ function Dolessons() {
</PremButton> </PremButton>
<PremButton <PremButton
btn={{ btn={{
disabled:ifs,
variant: "contained", variant: "contained",
onClick: addHandel, onClick: addHandel,
}} }}
......
...@@ -178,7 +178,7 @@ function Lessons() { ...@@ -178,7 +178,7 @@ function Lessons() {
fields={[ fields={[
{ {
rowKey: "id", rowKey: "id",
rowName: "id", rowName: "name",
valueType: "FormSelectList", valueType: "FormSelectList",
dataIndex: "teacherIdList", dataIndex: "teacherIdList",
colProps: { colProps: {
......
...@@ -196,7 +196,7 @@ function Lessons() { ...@@ -196,7 +196,7 @@ function Lessons() {
fields={[ fields={[
{ {
rowKey: "id", rowKey: "id",
rowName: "id", rowName: "name",
valueType: "FormSelectList", valueType: "FormSelectList",
dataIndex: "studentIdList", dataIndex: "studentIdList",
colProps: { colProps: {
......
This diff is collapsed.
.white {
.ant-pro-card {
background-color: #f6f6f6 !important;
}
.ant-table-tbody,td {
background-color: #f9f9f9 !important;
}
}
This source diff could not be displayed because it is too large. You can view the blob instead.
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