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 {
access_log /var/log/nginx/host.access.log main;
location /idtAppServiceV6 {
proxy_pass http://124.93.101.8:9988/idtAppServiceV6;
proxy_pass https://dgoa.demo.idtzw.com.cn/idtAppServiceV6;
}
location /department {
proxy_pass http://app.idt.thinker.vc/department;
......
......@@ -44,7 +44,7 @@
},
"proxy": {
"/idtAppServiceV6": {
"target": "http://124.93.101.8:9988",
"target": "https://dgoa.demo.idtzw.com.cn",
"changeOrigin": true
},
"/department": {
......
......@@ -6,7 +6,7 @@ import axios from "axios";
const RadioItem = Radio.RadioItem;
const Send = (props) => {
const {visible, onClose, onSelect} = props;
const {visible, onClose, onSelect, text, peopleData} = props;
const [data, setData] = useState([]);
useEffect(() => {
......@@ -45,10 +45,14 @@ const Send = (props) => {
</Accordion>
);
useEffect(() => {
visible && setChecked(peopleData)
}, [visible])
return (
<div>
<Modal
title="选择审核人员"
title={text}
className="date-modal"
visible={visible}
transparent
......
......@@ -49,6 +49,7 @@ const Send = (props) => {
<Document title="请假申请">
<WingBlank>
<PeopleInfo
text={sType === 'toUid' ? '选择审核人员' : '选择发送人'}
visible={personVisible}
onClose={setPersonVisible}
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