Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
biz.qingxiao.com
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxuelai
biz.qingxiao.com
Commits
6bde94c1
Commit
6bde94c1
authored
Dec 11, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/bww-v1' into wxl-develop
parents
39e4164f
d5db8874
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
LeaveDetailModal.js
src/components/LeaveDetailModal.js
+3
-2
No files found.
src/components/LeaveDetailModal.js
View file @
6bde94c1
...
...
@@ -75,6 +75,7 @@ class LeaveDetailModal extends React.Component {
form
:
{
getFieldDecorator
,
getFieldValue
},
leaveSubmitLoading
,
}
=
this
.
props
;
const
{
status
}
=
this
.
state
;
return
(
<
Modal
visible
=
{
visible
}
...
...
@@ -126,8 +127,8 @@ class LeaveDetailModal extends React.Component {
)}
<
/FormItem
>
<
div
className
=
{
pageStyle
.
btnList
}
>
<
Button
htmlType
=
"submit"
loading
=
{
leaveSubmitLoading
}
onClick
=
{()
=>
this
.
handleStatus
(
4
)}
>
驳回申请
<
/Button
>
<
Button
htmlType
=
"submit"
loading
=
{
leaveSubmitLoading
}
onClick
=
{()
=>
this
.
handleStatus
(
3
)}
type
=
"primary"
style
=
{{
marginLeft
:
20
}}
>
通过申请
<
/Button
>
<
Button
htmlType
=
"submit"
loading
=
{
status
===
4
?
leaveSubmitLoading
:
''
}
onClick
=
{()
=>
this
.
handleStatus
(
4
)}
>
驳回申请
<
/Button
>
<
Button
htmlType
=
"submit"
loading
=
{
status
===
3
?
leaveSubmitLoading
:
''
}
onClick
=
{()
=>
this
.
handleStatus
(
3
)}
type
=
"primary"
style
=
{{
marginLeft
:
20
}}
>
通过申请
<
/Button
>
<
/div
>
<
/Form
>
<
/div
>
...
...
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