forked from ddrilling/asb_cloud_front
Название страницы исправлено
This commit is contained in:
parent
f9271b0f46
commit
b6b7a0bc43
@ -14,7 +14,7 @@ import { dictionarySectionType, getByKeyOrReturnKey } from './dictionary'
|
|||||||
const basePageSize = 160;
|
const basePageSize = 160;
|
||||||
|
|
||||||
|
|
||||||
export const WellOpeationsModes = ({idWell}) => {
|
export const WellOpeationsParams = ({idWell}) => {
|
||||||
const [pageNumAndPageSize, setPageNumAndPageSize] = useState({current:1, pageSize:basePageSize})
|
const [pageNumAndPageSize, setPageNumAndPageSize] = useState({current:1, pageSize:basePageSize})
|
||||||
const [paginationTotal, setPaginationTotal] = useState(0)
|
const [paginationTotal, setPaginationTotal] = useState(0)
|
||||||
const [params, setParams] = useState([])
|
const [params, setParams] = useState([])
|
@ -56,7 +56,7 @@ export default function WellOperations({idWell}) {
|
|||||||
<WellOperationsEditor idWell={idWell} idType={1}/>
|
<WellOperationsEditor idWell={idWell} idType={1}/>
|
||||||
</Route>
|
</Route>
|
||||||
<Route path={`${rootPath}/modes`}>
|
<Route path={`${rootPath}/modes`}>
|
||||||
<WellOpeationsModes idWell={idWell}/>
|
<WellOpeationsParams idWell={idWell}/>
|
||||||
</Route>
|
</Route>
|
||||||
<Route path={rootPath}>
|
<Route path={rootPath}>
|
||||||
<Redirect to={`${rootPath}/plan`}/>
|
<Redirect to={`${rootPath}/plan`}/>
|
||||||
|
Loading…
Reference in New Issue
Block a user