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
hqzhdj_app
sass-admin
Commits
9ee63012
Commit
9ee63012
authored
Sep 23, 2025
by
chengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改投票
parent
a004dab0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
68 deletions
+28
-68
src/pages/SystemManagement/Information/index.jsx
+8
-8
src/pages/TrainingPrograms/ProgeamsManage/Plan/Addactivity/SurveyAddactivity.jsx
+4
-4
src/pages/TrainingPrograms/ProgeamsManage/Plan/Content.jsx
+2
-1
src/pages/TrainingPrograms/ProgeamsManage/Plan/Plan.jsx
+14
-51
src/pages/TrainingTools/Survey/Create/TestModal.jsx
+0
-4
No files found.
src/pages/SystemManagement/Information/index.jsx
View file @
9ee63012
...
@@ -308,11 +308,11 @@ class TreeItem extends React.Component {
...
@@ -308,11 +308,11 @@ class TreeItem extends React.Component {
className=
{
Styles
.
pmEditIcon
}
className=
{
Styles
.
pmEditIcon
}
onClick=
{
()
=>
this
.
showModal
(
"2"
)
}
onClick=
{
()
=>
this
.
showModal
(
"2"
)
}
/>
/>
<
Icon
{
/*
<Icon
type="delete"
type="delete"
className={Styles.pmEditIcon}
className={Styles.pmEditIcon}
onClick={() => this.onDelete()}
onClick={() => this.onDelete()}
/>
/>
*/
}
</
span
>
</
span
>
)
)
:
""
}
:
""
}
...
@@ -868,7 +868,7 @@ class Information extends React.Component {
...
@@ -868,7 +868,7 @@ class Information extends React.Component {
parentID=
{
this
.
state
.
ificationList
}
parentID=
{
this
.
state
.
ificationList
}
postAddNewsLists=
{
this
.
AddNewsList
}
postAddNewsLists=
{
this
.
AddNewsList
}
postEditNewsLists=
{
this
.
EditNewsLists
}
postEditNewsLists=
{
this
.
EditNewsLists
}
newsDelete=
{
this
.
onNewsDelete
}
//
newsDelete=
{
this
.
onNewsDelete
}
onTableList=
{
this
.
onTableList
}
onTableList=
{
this
.
onTableList
}
/>
/>
}
}
...
@@ -888,7 +888,7 @@ class Information extends React.Component {
...
@@ -888,7 +888,7 @@ class Information extends React.Component {
parentID=
{
this
.
state
.
ificationList
}
parentID=
{
this
.
state
.
ificationList
}
postAddNewsLists=
{
this
.
AddNewsList
}
postAddNewsLists=
{
this
.
AddNewsList
}
postEditNewsLists=
{
this
.
EditNewsLists
}
postEditNewsLists=
{
this
.
EditNewsLists
}
newsDelete=
{
this
.
onNewsDelete
}
//
newsDelete=
{
this
.
onNewsDelete
}
onTableList=
{
this
.
onTableList
}
onTableList=
{
this
.
onTableList
}
/>
/>
}
}
...
@@ -909,7 +909,7 @@ class Information extends React.Component {
...
@@ -909,7 +909,7 @@ class Information extends React.Component {
parentID=
{
this
.
state
.
ificationList
}
parentID=
{
this
.
state
.
ificationList
}
postAddNewsLists=
{
this
.
AddNewsList
}
postAddNewsLists=
{
this
.
AddNewsList
}
postEditNewsLists=
{
this
.
EditNewsLists
}
postEditNewsLists=
{
this
.
EditNewsLists
}
newsDelete=
{
this
.
onNewsDelete
}
//
newsDelete=
{
this
.
onNewsDelete
}
onTableList=
{
this
.
onTableList
}
onTableList=
{
this
.
onTableList
}
/>
/>
}
}
...
@@ -929,7 +929,7 @@ class Information extends React.Component {
...
@@ -929,7 +929,7 @@ class Information extends React.Component {
parentID=
{
this
.
state
.
ificationList
}
parentID=
{
this
.
state
.
ificationList
}
postAddNewsLists=
{
this
.
AddNewsList
}
postAddNewsLists=
{
this
.
AddNewsList
}
postEditNewsLists=
{
this
.
EditNewsLists
}
postEditNewsLists=
{
this
.
EditNewsLists
}
newsDelete=
{
this
.
onNewsDelete
}
//
newsDelete=
{
this
.
onNewsDelete
}
onTableList=
{
this
.
onTableList
}
onTableList=
{
this
.
onTableList
}
/>
/>
}
}
...
@@ -950,7 +950,7 @@ class Information extends React.Component {
...
@@ -950,7 +950,7 @@ class Information extends React.Component {
parentID=
{
this
.
state
.
ificationList
}
parentID=
{
this
.
state
.
ificationList
}
postAddNewsLists=
{
this
.
AddNewsList
}
postAddNewsLists=
{
this
.
AddNewsList
}
postEditNewsLists=
{
this
.
EditNewsLists
}
postEditNewsLists=
{
this
.
EditNewsLists
}
newsDelete=
{
this
.
onNewsDelete
}
//
newsDelete=
{
this
.
onNewsDelete
}
onTableList=
{
this
.
onTableList
}
onTableList=
{
this
.
onTableList
}
/>
/>
}
}
...
@@ -972,7 +972,7 @@ class Information extends React.Component {
...
@@ -972,7 +972,7 @@ class Information extends React.Component {
parentID=
{
this
.
state
.
ificationList
}
parentID=
{
this
.
state
.
ificationList
}
postAddNewsLists=
{
this
.
AddNewsList
}
postAddNewsLists=
{
this
.
AddNewsList
}
postEditNewsLists=
{
this
.
EditNewsLists
}
postEditNewsLists=
{
this
.
EditNewsLists
}
newsDelete=
{
this
.
onNewsDelete
}
//
newsDelete=
{
this
.
onNewsDelete
}
onTableList=
{
this
.
onTableList
}
onTableList=
{
this
.
onTableList
}
/>
/>
}
}
...
...
src/pages/TrainingPrograms/ProgeamsManage/Plan/Addactivity/SurveyAddactivity.jsx
View file @
9ee63012
...
@@ -62,8 +62,8 @@ class SurveyAddactivity extends React.Component {
...
@@ -62,8 +62,8 @@ class SurveyAddactivity extends React.Component {
this
.
props
.
onGetSurveyList
({
this
.
props
.
onGetSurveyList
({
pageNo
:
this
.
state
.
page
,
pageNo
:
this
.
state
.
page
,
pageSize
:
this
.
state
.
pageSize
,
pageSize
:
this
.
state
.
pageSize
,
name
:
this
.
state
.
value
,
name
:
''
,
state
:
this
.
state
.
state
,
state
:
1
,
bizType
:
2
,
bizType
:
2
,
});
});
}
}
...
@@ -141,9 +141,9 @@ class SurveyAddactivity extends React.Component {
...
@@ -141,9 +141,9 @@ class SurveyAddactivity extends React.Component {
});
});
}
}
render
()
{
render
()
{
const
{
surveylist
,
activitylist
}
=
this
.
props
;
const
{
surveylist
,
activitylist
}
=
this
.
props
;
const
{
selectedRowKeys
}
=
this
.
state
;
const
{
selectedRowKeys
}
=
this
.
state
;
console
.
log
(
activitylist
,
surveylist
,
'222222222222'
);
console
.
log
(
activitylist
,
surveylist
,
'
jiancce
222222222222'
);
const
rowSelection
=
{
const
rowSelection
=
{
selectedRowKeys
,
selectedRowKeys
,
onChange
:
this
.
onSelectChange
,
onChange
:
this
.
onSelectChange
,
...
...
src/pages/TrainingPrograms/ProgeamsManage/Plan/Content.jsx
View file @
9ee63012
...
@@ -532,7 +532,8 @@ class DragSortingTable extends React.Component {
...
@@ -532,7 +532,8 @@ class DragSortingTable extends React.Component {
];
];
console
.
log
(
console
.
log
(
"检测打印变量6666=this.state.activitylist "
,
"检测打印变量6666=this.state.activitylist "
,
this
.
state
.
activitylist
this
.
state
.
activitylist
,
this
.
props
.
plansForTablePageData
);
);
return
(
return
(
<
div
>
<
div
>
...
...
src/pages/TrainingPrograms/ProgeamsManage/Plan/Plan.jsx
View file @
9ee63012
...
@@ -195,7 +195,7 @@ class DragSortingTable extends React.Component {
...
@@ -195,7 +195,7 @@ class DragSortingTable extends React.Component {
pagePre
:
_this
.
props
.
planlist
.
slice
(
0
,
(
pageNo
-
1
)
*
pageSize
),
pagePre
:
_this
.
props
.
planlist
.
slice
(
0
,
(
pageNo
-
1
)
*
pageSize
),
pageAfter
:
_this
.
props
.
planlist
.
slice
(
pageNo
*
pageSize
),
pageAfter
:
_this
.
props
.
planlist
.
slice
(
pageNo
*
pageSize
),
});
});
console
.
log
(
_this
.
props
.
planlist
,
'_this.props.planlist'
)
console
.
log
(
_this
.
props
.
planlist
,
'_this.props.planlist'
)
}
}
);
);
}
}
...
@@ -431,7 +431,7 @@ class DragSortingTable extends React.Component {
...
@@ -431,7 +431,7 @@ class DragSortingTable extends React.Component {
this
.
setState
({
loading
:
false
});
this
.
setState
({
loading
:
false
});
return
;
return
;
}
}
console
.
log
(
this
.
state
.
plantype
,
'查看是否为关键数据'
)
console
.
log
(
this
.
state
.
plantype
,
'查看是否为关键数据'
)
if
(
this
.
state
.
plantype
===
"新增计划"
)
{
if
(
this
.
state
.
plantype
===
"新增计划"
)
{
this
.
props
.
onSavePaln
(
tpPlan
,
(
code
,
msg
)
=>
{
this
.
props
.
onSavePaln
(
tpPlan
,
(
code
,
msg
)
=>
{
if
(
code
===
"1000"
)
{
if
(
code
===
"1000"
)
{
...
@@ -688,60 +688,23 @@ class DragSortingTable extends React.Component {
...
@@ -688,60 +688,23 @@ class DragSortingTable extends React.Component {
key
:
"actions"
,
key
:
"actions"
,
render
:
(
text
,
record
,
index
)
=>
{
render
:
(
text
,
record
,
index
)
=>
{
return
(
return
(
(
this
.
props
.
title
!==
"查看项目"
&&
(
<
div
>
<
div
>
<
Popconfirm
<
a
title=
"确定要删除吗?"
style=
{
{
marginLeft
:
"10px"
,
color
:
"#00CCFF"
}
}
okText=
{
intl
.
get
(
"Delete"
)
||
"删除"
}
onClick=
{
()
=>
this
.
handleNew
(
record
)
}
cancelText=
{
intl
.
get
(
"Cancel"
).
d
(
"取消"
)
}
>
onConfirm=
{
()
=>
this
.
onDelete
(
record
)
}
{
intl
.
get
(
"Change"
)
||
"修改"
}
>
</
a
>
<
a
style=
{
{
marginLeft
:
"10px"
,
color
:
"#00CCFF"
}
}
>
<
Popconfirm
{
intl
.
get
(
"Delete"
)
||
"删除"
}
title=
"确定要删除吗?"
okText=
{
intl
.
get
(
"Delete"
)
||
"删除"
}
cancelText=
{
intl
.
get
(
"Cancel"
).
d
(
"取消"
)
}
onConfirm=
{
()
=>
this
.
onDelete
(
record
)
}
>
<
a
style=
{
{
marginLeft
:
"10px"
,
color
:
"#00CCFF"
}
}
>
{
intl
.
get
(
"Delete"
)
||
"删除"
}
</
a
>
</
Popconfirm
>
{
this
.
state
.
pageNo
==
1
&&
index
==
0
?
(
<
a
style=
{
{
marginLeft
:
"10px"
,
color
:
"#D9D9D9"
}
}
>
上移
</
a
>
)
:
(
<
a
style=
{
{
marginLeft
:
"10px"
,
color
:
"#00CCFF"
}
}
onClick=
{
()
=>
this
.
handleMove
(
record
,
"up"
)
}
>
上移
</
a
>
)
}
{
index
==
this
.
props
.
planlist
.
length
-
1
?
(
<
a
style=
{
{
marginLeft
:
"10px"
,
color
:
"#D9D9D9"
}
}
>
下移
</
a
>
)
:
(
<
a
style=
{
{
marginLeft
:
"10px"
,
color
:
"#00CCFF"
}
}
onClick=
{
()
=>
this
.
handleMove
(
record
,
"down"
)
}
>
下移
</
a
>
)
}
</
div
>
))
||
(
this
.
props
.
title
===
"查看项目"
&&
(
<
div
>
<
a
style=
{
{
marginLeft
:
"10px"
,
color
:
"#00CCFF"
}
}
onClick=
{
()
=>
this
.
handleNew
(
record
)
}
>
查看
</
a
>
</
a
>
</
div
>
</
Popconfirm
>
))
</
div
>
);
);
},
},
},
},
];
];
console
.
log
(
this
.
state
.
plansForTablePageData
,
'检测打印变量6666=this.state.plansForTablePageData '
)
return
(
return
(
<
div
>
<
div
>
{
(
this
.
state
.
addnew
===
1
&&
(
{
(
this
.
state
.
addnew
===
1
&&
(
...
...
src/pages/TrainingTools/Survey/Create/TestModal.jsx
View file @
9ee63012
...
@@ -114,10 +114,6 @@ class TestModal extends Component {
...
@@ -114,10 +114,6 @@ class TestModal extends Component {
required
:
true
,
required
:
true
,
message
:
"请输入问题内容"
,
message
:
"请输入问题内容"
,
},
},
{
max
:
200
,
message
:
"不能超过200个字符"
,
},
],
],
})(<
TextArea
rows=
{
4
}
disabled=
{
status
===
"look"
}
/>)
}
})(<
TextArea
rows=
{
4
}
disabled=
{
status
===
"look"
}
/>)
}
</
FormItem
>
</
FormItem
>
...
...
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