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
2c0d02c9
Commit
2c0d02c9
authored
Aug 04, 2020
by
熊成伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
7b462c47
Pipeline
#16677
passed with stages
in 1 minute and 1 second
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
4 deletions
+9
-4
default.conf
default.conf
+1
-1
package.json
package.json
+1
-1
PeopleInfo.jsx
src/pages/Test/PeopleInfo.jsx
+6
-2
Send.jsx
src/pages/Test/Send.jsx
+1
-0
No files found.
default.conf
View file @
2c0d02c9
...
@@ -6,7 +6,7 @@ server {
...
@@ -6,7 +6,7 @@ server {
access_log
/
var
/
log
/
nginx
/
host
.
access
.
log
main
;
access_log
/
var
/
log
/
nginx
/
host
.
access
.
log
main
;
location
/
idtAppServiceV6
{
location
/
idtAppServiceV6
{
proxy_pass
http
://
124
.
93
.
101
.
8
:
9988
/
idtAppServiceV6
;
proxy_pass
http
s
://
dgoa
.
demo
.
idtzw
.
com
.
cn
/
idtAppServiceV6
;
}
}
location
/
department
{
location
/
department
{
proxy_pass
http
://
app
.
idt
.
thinker
.
vc
/
department
;
proxy_pass
http
://
app
.
idt
.
thinker
.
vc
/
department
;
...
...
package.json
View file @
2c0d02c9
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
},
},
"proxy"
:
{
"proxy"
:
{
"/idtAppServiceV6"
:
{
"/idtAppServiceV6"
:
{
"target"
:
"http
://124.93.101.8:9988
"
,
"target"
:
"http
s://dgoa.demo.idtzw.com.cn
"
,
"changeOrigin"
:
true
"changeOrigin"
:
true
},
},
"/department"
:
{
"/department"
:
{
...
...
src/pages/Test/PeopleInfo.jsx
View file @
2c0d02c9
...
@@ -6,7 +6,7 @@ import axios from "axios";
...
@@ -6,7 +6,7 @@ import axios from "axios";
const
RadioItem
=
Radio
.
RadioItem
;
const
RadioItem
=
Radio
.
RadioItem
;
const
Send
=
(
props
)
=>
{
const
Send
=
(
props
)
=>
{
const
{
visible
,
onClose
,
onSelect
}
=
props
;
const
{
visible
,
onClose
,
onSelect
,
text
,
peopleData
}
=
props
;
const
[
data
,
setData
]
=
useState
([]);
const
[
data
,
setData
]
=
useState
([]);
useEffect
(()
=>
{
useEffect
(()
=>
{
...
@@ -45,10 +45,14 @@ const Send = (props) => {
...
@@ -45,10 +45,14 @@ const Send = (props) => {
</
Accordion
>
</
Accordion
>
);
);
useEffect
(()
=>
{
visible
&&
setChecked
(
peopleData
)
},
[
visible
])
return
(
return
(
<
div
>
<
div
>
<
Modal
<
Modal
title=
"选择审核人员"
title=
{
text
}
className=
"date-modal"
className=
"date-modal"
visible=
{
visible
}
visible=
{
visible
}
transparent
transparent
...
...
src/pages/Test/Send.jsx
View file @
2c0d02c9
...
@@ -49,6 +49,7 @@ const Send = (props) => {
...
@@ -49,6 +49,7 @@ const Send = (props) => {
<
Document
title=
"请假申请"
>
<
Document
title=
"请假申请"
>
<
WingBlank
>
<
WingBlank
>
<
PeopleInfo
<
PeopleInfo
text=
{
sType
===
'toUid'
?
'选择审核人员'
:
'选择发送人'
}
visible=
{
personVisible
}
visible=
{
personVisible
}
onClose=
{
setPersonVisible
}
onClose=
{
setPersonVisible
}
peopleData=
{
sType
===
'toUid'
?
sP
:
sPU
}
peopleData=
{
sType
===
'toUid'
?
sP
:
sPU
}
...
...
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