Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
frontend
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
Schedules
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
h5-communicate
frontend
Commits
7b2f71fc
Commit
7b2f71fc
authored
Jul 31, 2020
by
熊成伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
e4fa0446
Pipeline
#16602
passed with stages
in 1 minute and 7 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
11 deletions
+15
-11
Receive.jsx
src/pages/Test/Receive.jsx
+13
-9
Send.jsx
src/pages/Test/Send.jsx
+2
-2
No files found.
src/pages/Test/Receive.jsx
View file @
7b2f71fc
...
...
@@ -41,25 +41,29 @@ const Receive = (props) => {
console
.
log
(
defaultV
)
return
(
<
Document
title=
"
内部邮局
"
>
<
Document
title=
"
请假审批
"
>
<
WingBlank
>
<
WhiteSpace
/>
<
form
>
<
List
>
<
InputItem
disabled=
{
true
}
extra=
{
defaultV
.
title
&&
defaultV
.
title
}
>
标题
</
InputItem
>
<
InputItem
disabled=
{
true
}
extra=
{
defaultV
.
disp
atchName
}
>
发送
人
</
InputItem
>
<
InputItem
disabled=
{
true
}
extra=
{
defaultV
.
disp
layName
}
>
请假
人
</
InputItem
>
<
InputItem
disabled=
{
true
}
extra=
{
defaultV
.
startTime
&&
moment
(
defaultV
.
startTime
).
format
(
"YYYY-MM-DD HH:mm:ss"
)
}
>
请假开始时间
</
InputItem
>
<
InputItem
disabled=
{
true
}
extra=
{
defaultV
.
entTime
&&
moment
(
defaultV
.
entTime
).
format
(
"YYYY-MM-DD HH:mm:ss"
)
}
>
请假结束时间
</
InputItem
>
{
defaultV
.
status
>
1
?
<
InputItem
disabled=
{
true
}
extra=
{
[
'审核中'
,
'审核成功'
,
'审核失败'
][
defaultV
.
status
-
1
]
}
>
办理意见
</
InputItem
>
:
(
<
Picker
data=
{
[{
label
:
'审核通过'
,
value
:
2
},
{
label
:
'审核失败'
,
value
:
3
}]
}
cols=
{
1
}
{
...
getFieldProps
('
status
')}
>
<
List
.
Item
arrow=
"horizontal"
>
办理意见
</
List
.
Item
>
</
Picker
>
)
}
{
/*<InputItem extra={'1111'}>参会人员</InputItem>*/
}
<
Picker
data=
{
[{
label
:
'审核通过'
,
value
:
2
},
{
label
:
'审核失败'
,
value
:
3
}]
}
cols=
{
1
}
{
...
getFieldProps
('
status
')}
>
<
List
.
Item
arrow=
"horizontal"
>
办理意见
</
List
.
Item
>
</
Picker
>
</
List
>
</
form
>
<
div
className=
"event-footer"
>
<
div
className=
"event-footer-button"
onClick=
{
onSubmit
}
>
提交
</
div
>
</
div
>
{
defaultV
.
status
===
1
&&
(
<
div
className=
"event-footer"
>
<
div
className=
"event-footer-button"
onClick=
{
onSubmit
}
>
提交
</
div
>
</
div
>
)
}
</
WingBlank
>
</
Document
>
);
...
...
src/pages/Test/Send.jsx
View file @
7b2f71fc
...
...
@@ -34,7 +34,7 @@ const Send = (props) => {
const
[
sP
,
setSP
]
=
useState
({});
const
[
personVisible
,
setPersonVisible
]
=
useState
(
false
);
return
(
<
Document
title=
"
内部邮局
"
>
<
Document
title=
"
请假申请
"
>
<
WingBlank
>
<
PeopleInfo
visible=
{
personVisible
}
...
...
@@ -58,7 +58,7 @@ const Send = (props) => {
<
div
className=
"meet-select-btn"
onClick=
{
()
=>
setPersonVisible
(
true
)
}
>
选择审核人员
</
div
>
<
div
>
{
sP
.
name
}
</
div
>
</
div
>
}
>
参会
人员
</
List
.
Item
>
}
>
审核
人员
</
List
.
Item
>
{
/*<InputItem {...getFieldProps('gzdh')}>工作电话</InputItem>*/
}
</
List
>
</
form
>
...
...
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