Commit 2c0d02c9 authored by 熊成伟's avatar 熊成伟

debug

parent 7b462c47
Pipeline #16677 passed with stages
in 1 minute and 1 second
...@@ -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 https://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;
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
}, },
"proxy": { "proxy": {
"/idtAppServiceV6": { "/idtAppServiceV6": {
"target": "http://124.93.101.8:9988", "target": "https://dgoa.demo.idtzw.com.cn",
"changeOrigin": true "changeOrigin": true
}, },
"/department": { "/department": {
......
...@@ -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
......
...@@ -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}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment