diff --git a/src/pages/Well/WellOperations/ImportExportBar.jsx b/src/pages/Well/WellOperations/OperationEditor/ImportExportBar.jsx similarity index 100% rename from src/pages/Well/WellOperations/ImportExportBar.jsx rename to src/pages/Well/WellOperations/OperationEditor/ImportExportBar.jsx diff --git a/src/pages/Well/WellOperations/ImportOperations.jsx b/src/pages/Well/WellOperations/OperationEditor/ImportOperations.jsx similarity index 100% rename from src/pages/Well/WellOperations/ImportOperations.jsx rename to src/pages/Well/WellOperations/OperationEditor/ImportOperations.jsx diff --git a/src/pages/Well/WellOperations/OperationEditor/WellOperationsEditor.jsx b/src/pages/Well/WellOperations/OperationEditor/WellOperationsEditor.jsx index 87cb0b5..ac23224 100644 --- a/src/pages/Well/WellOperations/OperationEditor/WellOperationsEditor.jsx +++ b/src/pages/Well/WellOperations/OperationEditor/WellOperationsEditor.jsx @@ -15,11 +15,14 @@ import { makeNumericSorter, makeTextColumn, } from '@components/Table' +import { Flex } from '@components/Grid' import LoaderPortal from '@components/LoaderPortal' import { invokeWebApiWrapperAsync } from '@components/factory' import { arrayOrDefault } from '@utils' import { WellOperationService } from '@api' +import ImportExportBar from './ImportExportBar' + const { TextArea } = Input const basePageSize = 160 @@ -137,6 +140,9 @@ export const WellOperationsEditor = memo(({ idType, showNpt, ...other }) => { return ( + + + { - const tab = getTabname() - const navigate = useNavigate() - const location = useLocation() const root = useRootPath() const rootPath = useMemo(() => `${root}/${properties.key}`, [root]) - const onImported = useCallback(() => - navigate(`${rootPath}`, { state: { from: location.pathname }}) - , [navigate, location, rootPath]) - - const isIEBarDisabled = useMemo(() => !['plan', 'fact'].includes(tab), [tab]) - return( - - - )