|
@@ -14,7 +14,7 @@ const {api,xPost,interceptors} = apiObj;
|
|
|
|
|
|
const { Step } = Steps;
|
|
|
function SysChoose({history}) {
|
|
|
- const [current, setCurrent] = useState(0);
|
|
|
+ //const [current, setCurrent] = useState(1);
|
|
|
const [sysId, setSysId] = useState(1);
|
|
|
const [orgList, setOrgList] = useState([]);
|
|
|
const [hisList, setHisList] = useState([]);
|
|
@@ -28,14 +28,9 @@ function SysChoose({history}) {
|
|
|
title: '选择组织',
|
|
|
content: 'Second-content',
|
|
|
},
|
|
|
- {
|
|
|
- title: '进入组织',
|
|
|
- content: 'Last-content',
|
|
|
- },
|
|
|
];
|
|
|
//系统单选
|
|
|
function onChange(e){
|
|
|
- setCurrent(1);
|
|
|
const id = e.target.value;
|
|
|
const checkOrg = orgList.find((it)=>it.id===id);
|
|
|
const his =checkOrg.hospitals;
|
|
@@ -79,7 +74,7 @@ function SysChoose({history}) {
|
|
|
</div>
|
|
|
</div>
|
|
|
<div className="content">
|
|
|
- <Steps current={current} className='steps-bar'>
|
|
|
+ <Steps current={1} className='steps-bar'>
|
|
|
{steps.map(item => (
|
|
|
<Step key={item.title} title={item.title} />
|
|
|
))}
|