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
f85896b9
Commit
f85896b9
authored
May 23, 2025
by
end
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
1d16a4cb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
72 deletions
+33
-72
dist.zip
+0
-0
src/pages/TrainingPrograms/ProgeamsManage/EnrollManag.jsx
+31
-71
src/pages/TrainingPrograms/ProgeamsManage/index.jsx
+1
-1
src/pages/TrainingPrograms/ProgeamsManage/redux/acions.js
+1
-0
No files found.
dist.zip
View file @
f85896b9
No preview for this file type
src/pages/TrainingPrograms/ProgeamsManage/EnrollManag.jsx
View file @
f85896b9
...
...
@@ -51,11 +51,6 @@ class EnrollManag extends React.Component {
key
:
"name"
,
},
{
title
:
"上级部门"
,
dataIndex
:
"orgNames"
,
key
:
"orgNames"
,
},
{
title
:
"所在部门"
,
dataIndex
:
"orgName"
,
key
:
"orgName"
,
...
...
@@ -77,60 +72,36 @@ class EnrollManag extends React.Component {
},
},
// {
// title: "报名花费",
// dataIndex: "expenditure",
// key: "expenditure",
// render: text => {
// return text?text:"/";
// },
// title: intl.get("operate").d("操作"),
// dataIndex: "auditResult",
// key: "operation",
// render: (text, record) =>
// text === 1 ? (
// <div>
// <Popconfirm
// title="确定通过审核?"
// onConfirm={() => this.handlePass(record.id)}
// >
// <a href="javascript:void(0)" style={{ color: "#00CCFF" }}>
// 通过
// </a>
// </Popconfirm>
// <Popconfirm
// title="确定不通过审核?"
// onConfirm={() => this.handleUnPass(record.id)}
// >
// <a
// href="javascript:void(0)"
// style={{ marginLeft: "10px", color: "#00CCFF" }}
// >
// 不通过
// </a>
// </Popconfirm>
// </div>
// ) : (
// ""
// ),
// },
{
title
:
"审核结果"
,
dataIndex
:
"auditResult"
,
key
:
"auditResult"
,
render
:
text
=>
{
return
text
===
1
?
(
<
span
>
待审核
</
span
>
)
:
text
===
2
?
(
<
span
>
审核通过
</
span
>
)
:
text
===
3
?
(
<
span
>
审核不通过
</
span
>
)
:
(
""
);
},
},
{
title
:
intl
.
get
(
"operate"
).
d
(
"操作"
),
dataIndex
:
"auditResult"
,
key
:
"operation"
,
render
:
(
text
,
record
)
=>
text
===
1
?
(
<
div
>
<
Popconfirm
title=
"确定通过审核?"
onConfirm=
{
()
=>
this
.
handlePass
(
record
.
id
)
}
>
<
a
href=
"javascript:void(0)"
style=
{
{
color
:
"#00CCFF"
}
}
>
通过
</
a
>
</
Popconfirm
>
<
Popconfirm
title=
"确定不通过审核?"
onConfirm=
{
()
=>
this
.
handleUnPass
(
record
.
id
)
}
>
<
a
href=
"javascript:void(0)"
style=
{
{
marginLeft
:
"10px"
,
color
:
"#00CCFF"
}
}
>
不通过
</
a
>
</
Popconfirm
>
</
div
>
)
:
(
""
),
},
];
// 页数切换
this
.
handlePageChange
=
this
.
handlePageChange
.
bind
(
this
);
...
...
@@ -312,17 +283,6 @@ class EnrollManag extends React.Component {
<
Spin
spinning=
{
this
.
state
.
loading
}
>
<
div
className=
{
styles
.
comment
}
>
<
div
style=
{
{
marginBottom
:
20
,
marginLeft
:
20
}
}
>
审核状态:
<
Select
defaultValue=
""
style=
{
{
width
:
120
,
marginRight
:
40
}
}
onChange=
{
this
.
handleGetState
}
>
<
Option
value=
""
>
全部
</
Option
>
<
Option
value=
"1"
>
待审核
</
Option
>
<
Option
value=
"2"
>
审核通过
</
Option
>
<
Option
value=
"3"
>
审核不通过
</
Option
>
</
Select
>
用户关键字:
<
Input
placeholder=
"请输入用户关键字"
...
...
@@ -342,7 +302,7 @@ class EnrollManag extends React.Component {
>
查询
</
Button
>
<
Popconfirm
{
/*
<Popconfirm
title="确定导出项目明细?"
okText= {intl.get("Yes").d("确定")}
cancelText={intl.get("Cancel").d("取消")}
...
...
@@ -351,7 +311,7 @@ class EnrollManag extends React.Component {
<Button type="primary" style={{ marginLeft: 20 }}>
导出
</Button>
</
Popconfirm
>
</Popconfirm>
*/
}
</
div
>
{
/*7月1号不上*/
}
{
/*<div style={{marginBottom:20}}>*/
}
...
...
src/pages/TrainingPrograms/ProgeamsManage/index.jsx
View file @
f85896b9
...
...
@@ -3103,7 +3103,7 @@ class NewTP extends Component {
<ExportBtn urlParameter="trainingProject" scopeId={record.id} />
</div>
) : null} */
}
{
record
.
sig
n
===
1
?
(
{
record
.
enablePositio
n
===
1
?
(
<
div
>
<
Popconfirm
title=
"确认导出?"
...
...
src/pages/TrainingPrograms/ProgeamsManage/redux/acions.js
View file @
f85896b9
...
...
@@ -106,6 +106,7 @@ export function trainlist(param, cb) {
total
:
data
.
total
,
//签到(0:否,1:是)
sign
:
temp
[
i
].
enableSign
,
enablePosition
:
temp
[
i
].
enablePosition
,
//报名(0:否,1:是)
enroll
:
temp
[
i
].
enableEnroll
,
visibleRange
:
temp
[
i
].
visibleRange
,
...
...
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