Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sass-admin
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李晨
sass-admin
Commits
c91fc94f
Commit
c91fc94f
authored
Sep 03, 2025
by
end
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改投票bug
parent
7f08f57f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
src/pages/TrainingTools/Survey/Details/index.jsx
+12
-8
No files found.
src/pages/TrainingTools/Survey/Details/index.jsx
View file @
c91fc94f
...
@@ -344,17 +344,19 @@ class Details extends Component {
...
@@ -344,17 +344,19 @@ class Details extends Component {
render
:
(
text
,
record
)
=>
(
render
:
(
text
,
record
)
=>
(
<
div
style=
{
{
display
:
"inline"
}
}
>
<
div
style=
{
{
display
:
"inline"
}
}
>
{
this
.
state
.
isupdata
==
1
&&
(
{
this
.
state
.
isupdata
==
1
&&
(
<
a
onClick=
{
()
=>
this
.
handleTestView
(
record
)
}
>
编辑
</
a
>
<
div
>
<
a
onClick=
{
()
=>
this
.
handleTestView
(
record
)
}
>
编辑
</
a
>
<
Popconfirm
title=
"是否删除?"
onConfirm=
{
()
=>
this
.
onDelete
(
record
.
id
)
}
>
<
a
style=
{
{
marginLeft
:
"10px"
}
}
>
删除
</
a
>
</
Popconfirm
>
</
div
>
)
}
)
}
{
this
.
state
.
isupdata
==
2
&&
(
{
this
.
state
.
isupdata
==
2
&&
(
<
a
onClick=
{
()
=>
this
.
handleTestView1
(
record
)
}
>
查看
</
a
>
<
a
onClick=
{
()
=>
this
.
handleTestView1
(
record
)
}
>
查看
</
a
>
)
}
)
}
<
Popconfirm
title=
"是否删除?"
onConfirm=
{
()
=>
this
.
onDelete
(
record
.
id
)
}
>
<
a
style=
{
{
marginLeft
:
"10px"
}
}
>
删除
</
a
>
</
Popconfirm
>
</
div
>
</
div
>
),
),
},
},
...
@@ -363,7 +365,9 @@ class Details extends Component {
...
@@ -363,7 +365,9 @@ class Details extends Component {
<
div
>
<
div
>
{
details
.
name
&&
(
{
details
.
name
&&
(
<
div
className=
"survey-details"
>
<
div
className=
"survey-details"
>
<
Breadcrumb
title=
"修改投票"
/>
<
Breadcrumb
title=
{
this
.
state
.
isupdata
==
1
?
"修改投票"
:
"查看投票"
}
/>
<
p
className=
"survey-details-title"
>
基本信息
</
p
>
<
p
className=
"survey-details-title"
>
基本信息
</
p
>
{
this
.
state
.
isupdata
==
1
?
(
{
this
.
state
.
isupdata
==
1
?
(
<
Base
<
Base
...
...
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