Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cs_vsofpm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wuhao
cs_vsofpm
Commits
8c751344
Commit
8c751344
authored
Jun 05, 2023
by
wuhao
🎯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asder
parent
39c70a78
Pipeline
#3587
passed with stages
in 2 minutes and 39 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
15 deletions
+4
-15
index.jsx
src/pages/dobustrain/index.jsx
+3
-2
index.jsx
src/pages/domybustrain/index.jsx
+1
-13
No files found.
src/pages/dobustrain/index.jsx
View file @
8c751344
...
...
@@ -9,7 +9,7 @@ import editorIsNull from "@/utils/editorIsNull";
import
{
Box
,
Container
,
Grid
,
Link
,
Stack
,
Typography
}
from
"@mui/material"
;
import
{
useParams
}
from
"@umijs/max"
;
import
{
useRequest
}
from
"ahooks"
;
import
{
Badge
,
message
,
Tabs
}
from
"antd"
;
import
{
message
,
Tabs
}
from
"antd"
;
import
{
useEffect
,
useMemo
,
useRef
,
useState
}
from
"react"
;
import
{
history
}
from
"umi"
;
...
...
@@ -292,7 +292,7 @@ function Dolessons() {
},
{
key
:
"2"
,
label
:
'查看实验'
,
label
:
"查看实验"
,
children
:
(
<
Box
boxShadow=
{
"0 0 18px #f0f0f0"
}
borderRadius=
{
2
}
>
<
AutoTable
...
...
@@ -459,6 +459,7 @@ function Dolessons() {
...
val
,
id
:
drawer
?.
defaultFormValue
?.
id
,
trainId
:
params
?.
id
,
type
:
"edit"
,
};
default
:
break
;
...
...
src/pages/domybustrain/index.jsx
View file @
8c751344
...
...
@@ -241,18 +241,7 @@ function Dolessons() {
<
AutoTable
rerendered=
{
false
}
actionRef=
{
cksyactionRef
}
columns=
{
[
...
experimentColumns
,
{
title
:
"操作"
,
valueType
:
"option"
,
width
:
180
,
render
:
(
text
,
row
,
_
,
action
)
=>
[
edit
(
text
,
row
,
_
,
action
),
remove
(
text
,
row
,
_
,
action
),
],
},
]
}
columns=
{
[...
experimentColumns
]
}
path=
"/studentTrain/experimentPage"
extraparams=
{
{
id
:
params
?.
id
,
...
...
@@ -285,7 +274,6 @@ function Dolessons() {
},
];
const
handleClose
=
()
=>
{
setDrawer
((
s
)
=>
({
...
s
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment