add idWell into every child page

This commit is contained in:
Фролов 2021-08-13 10:31:42 +05:00
parent e6f2c9f517
commit 6657e0fa83

View File

@ -90,28 +90,28 @@ export default function Well() {
<WellStat idWell={idWell}/> <WellStat idWell={idWell}/>
</Route> </Route>
<Route path="/well/:id/archive"> <Route path="/well/:id/archive">
<Archive/> <Archive idWell={idWell}/>
</Route> </Route>
<Route path="/well/:id/message"> <Route path="/well/:id/message">
<Messages/> <Messages idWell={idWell}/>
</Route> </Route>
<Route path="/well/:id/report"> <Route path="/well/:id/report">
<Report/> <Report idWell={idWell}/>
</Route> </Route>
<Route path="/well/:id/analysis"> <Route path="/well/:id/analysis">
<Analysis idWell={idWell}/> <Analysis idWell={idWell}/>
</Route> </Route>
<Route path="/well/:id/wellAnalysis"> <Route path="/well/:id/wellAnalysis">
<WellAnalysis/> <WellAnalysis idWell={idWell}/>
</Route> </Route>
<Route path="/well/:id/telemetry"> <Route path="/well/:id/telemetry">
<TelemetryView idWell={idWell}/> <TelemetryView idWell={idWell}/>
</Route> </Route>
<Route path="/well/:id/documents"> <Route path="/well/:id/documents">
<MenuDocuments/> <MenuDocuments idWell={idWell}/>
</Route> </Route>
<Route path="/well/:id/smbo"> <Route path="/well/:id/smbo">
<Smbo/> <Smbo idWell={idWell}/>
</Route> </Route>
<Route path="/"> <Route path="/">
<Redirect to={{pathname: `${rootPath}/telemetry`}}/> <Redirect to={{pathname: `${rootPath}/telemetry`}}/>