Commit 99f009dd authored by 邓超's avatar 邓超

fix: 整理service文件夹

parent 0b437a73
...@@ -6,7 +6,7 @@ import { ...@@ -6,7 +6,7 @@ import {
exetent2AmapPoint, exetent2AmapPoint,
lngLat2WebMercator, lngLat2WebMercator,
} from '@/utils/transformUtil'; } from '@/utils/transformUtil';
import { GetAllConfig, GetMetaData } from '@/services/platform/gis'; import { GetAllConfig, GetMetaData } from '@/services/gis/gis';
const { Search } = Input; const { Search } = Input;
import styles from './index.less'; import styles from './index.less';
const MapScope = props => { const MapScope = props => {
......
import React, { useEffect, useState, useRef } from 'react' import React, { useEffect, useState, useRef } from 'react'
import { Input, Button, Modal, message } from 'antd' import { Input, Button, Modal, message } from 'antd'
import { gcj_decrypt, exetent2AmapPoint, lngLat2WebMercator } from '@/utils/transformUtil' import { gcj_decrypt, exetent2AmapPoint, lngLat2WebMercator } from '@/utils/transformUtil'
import { GetAllConfig, GetMetaData } from '@/services/platform/gis' import { GetAllConfig, GetMetaData } from '@/services/gis/gis'
import { import {
PdRender, PdRender,
Cesium, Cesium,
......
...@@ -31,20 +31,11 @@ export default function configureStore(initialState = {}, history) { ...@@ -31,20 +31,11 @@ export default function configureStore(initialState = {}, history) {
const sagaMiddleware = createSagaMiddleware(reduxSagaMonitorOptions); const sagaMiddleware = createSagaMiddleware(reduxSagaMonitorOptions);
const middlewares = [ const middlewares = [sagaMiddleware, routerMiddleware(history), logger, thunk];
sagaMiddleware,
routerMiddleware(history),
logger,
thunk,
];
const enhancers = [applyMiddleware(...middlewares)]; const enhancers = [applyMiddleware(...middlewares)];
const store = createStore( const store = createStore(createReducer(), initialState, composeEnhancers(...enhancers));
createReducer(),
initialState,
composeEnhancers(...enhancers),
);
// Extensions // Extensions
store.runSaga = sagaMiddleware.run; store.runSaga = sagaMiddleware.run;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
import React, { useState, useEffect } from 'react'; import React, { useState, useEffect } from 'react';
import { Form, Input, Select, Tooltip, Button, notification, Drawer, Space } from 'antd'; import { Form, Input, Select, Tooltip, Button, notification, Drawer, Space } from 'antd';
import { PlusOutlined, InfoCircleOutlined } from '@ant-design/icons'; import { PlusOutlined, InfoCircleOutlined } from '@ant-design/icons';
import { LoadEventFields } from '@/services/platform/bs'; import { LoadEventFields } from '@/services/tablemanager/tablemanager';
import { import {
GetCM_Ledger_LoadLedgerTable, GetCM_Ledger_LoadLedgerTable,
GetCMLedger_QueryLedgers, GetCMLedger_QueryLedgers,
......
...@@ -3,7 +3,7 @@ import { Form, Modal, Input, Select, Checkbox, Divider, notification, Row } from ...@@ -3,7 +3,7 @@ import { Form, Modal, Input, Select, Checkbox, Divider, notification, Row } from
import { import {
createTable, loadTableFields, addFields createTable, loadTableFields, addFields
} from '@/services/platform/bs' } from '@/services/tablemanager/tablemanager'
import styles from './index.less' import styles from './index.less'
const { Option } = Select; const { Option } = Select;
......
import React, { useState, useEffect } from 'react'; import React, { useState, useEffect } from 'react';
import { Form, Modal, Input, Select, Checkbox, notification, Card } from 'antd'; import { Form, Modal, Input, Select, Checkbox, notification, Card } from 'antd';
import { loadTableFields, addTables, addFields } from '@/services/platform/bs'; import { loadTableFields, addTables, addFields } from '@/services/tablemanager/tablemanager';
import styles from './index.less'; import styles from './index.less';
const CheckboxGroup = Checkbox.Group; const CheckboxGroup = Checkbox.Group;
import qs from 'qs'; import qs from 'qs';
......
import React, { useState, useEffect } from 'react'; import React, { useState, useEffect } from 'react';
import { Form, Modal, Input, Radio, notification } from 'antd'; import { Form, Modal, Input, Radio, notification } from 'antd';
import { getTableInfo, updateTable } from '@/services/platform/bs'; import { getTableInfo, updateTable } from '@/services/tablemanager/tablemanager';
const AddModal = props => { const AddModal = props => {
const { callBackSubmit = () => {}, type, formObj, visible } = props; const { callBackSubmit = () => {}, type, formObj, visible } = props;
......
import React, { useState, useEffect, useRef } from 'react'; import React, { useState, useEffect, useRef } from 'react';
import { Modal, Spin, Table, Button, Divider, Input, notification } from 'antd'; import { Modal, Spin, Table, Button, Divider, Input, notification } from 'antd';
import classnames from 'classnames' import classnames from 'classnames'
import { LoadFieldsByGroup, LoadGroup } from '@/services/platform/bs' import { LoadFieldsByGroup, LoadGroup } from '@/services/tablemanager/tablemanager'
import { PlusOutlined, DeleteOutlined } from '@ant-design/icons'; import { PlusOutlined, DeleteOutlined } from '@ant-design/icons';
import Sortable from 'sortablejs'; import Sortable from 'sortablejs';
import styles from './index.less' import styles from './index.less'
import { import {
ChangeOrder ChangeOrder
} from '@/services/platform/bs' } from '@/services/tablemanager/tablemanager'
import { DataRegion } from 'bizcharts/lib/components/Annotation'; import { DataRegion } from 'bizcharts/lib/components/Annotation';
import { Number } from 'core-js'; import { Number } from 'core-js';
let list = {} let list = {}
......
...@@ -7,7 +7,7 @@ import { ...@@ -7,7 +7,7 @@ import {
LoadFieldsByGroup, LoadFieldsByGroup,
LoadGroup, LoadGroup,
ChangeOrder, ChangeOrder,
} from '@/services/platform/bs'; } from '@/services/tablemanager/tablemanager';
import DraggableBodyRow from './DraggableBodyRow'; import DraggableBodyRow from './DraggableBodyRow';
import styles from './index.less'; import styles from './index.less';
const LoadGroupNew = props => { const LoadGroupNew = props => {
......
...@@ -2,7 +2,7 @@ import React, { useState, useEffect, useCallback, useRef } from 'react'; ...@@ -2,7 +2,7 @@ import React, { useState, useEffect, useCallback, useRef } from 'react';
import { Form, Modal, Space, Divider, Radio, Checkbox } from 'antd'; import { Form, Modal, Space, Divider, Radio, Checkbox } from 'antd';
import { import {
} from '@/services/platform/bs' } from '@/services/tablemanager/tablemanager'
import styles from './index.less' import styles from './index.less'
import Sortable from 'sortablejs'; import Sortable from 'sortablejs';
const CheckboxGroup = Checkbox.Group; const CheckboxGroup = Checkbox.Group;
......
...@@ -19,7 +19,7 @@ import { ...@@ -19,7 +19,7 @@ import {
LoadEventFields, LoadEventFields,
LoadEventType, LoadEventType,
UpdateFields, UpdateFields,
} from '@/services/platform/bs'; } from '@/services/tablemanager/tablemanager';
import styles from './index.less'; import styles from './index.less';
import ChangeAdd from './changeAdd'; import ChangeAdd from './changeAdd';
import VerifyModal from './VerifyModal'; import VerifyModal from './VerifyModal';
......
...@@ -7,7 +7,7 @@ import { ...@@ -7,7 +7,7 @@ import {
PlusSquareOutlined, PlusSquareOutlined,
RollbackOutlined, RollbackOutlined,
} from '@ant-design/icons'; } from '@ant-design/icons';
import { reloadTableFields, removeFields, loadUnattachedTables } from '@/services/platform/bs'; import { reloadTableFields, removeFields, loadUnattachedTables } from '@/services/tablemanager/tablemanager';
import { useHistory } from 'react-router-dom'; import { useHistory } from 'react-router-dom';
import FieldEditor from './fieldEditor'; import FieldEditor from './fieldEditor';
import styles from './index.less'; import styles from './index.less';
......
...@@ -28,7 +28,7 @@ import { ...@@ -28,7 +28,7 @@ import {
CM_Table_LoadTable, CM_Table_LoadTable,
removeTable, removeTable,
loadUnattachedTables, loadUnattachedTables,
} from '@/services/platform/bs'; } from '@/services/tablemanager/tablemanager';
import styles from './index.less'; import styles from './index.less';
import Editor from './components/Field/editor'; import Editor from './components/Field/editor';
import AddTablelList from './components/Field/addTable'; import AddTablelList from './components/Field/addTable';
......
...@@ -52,7 +52,7 @@ import ChangeImage from './ChangeImage'; ...@@ -52,7 +52,7 @@ import ChangeImage from './ChangeImage';
import ModalDrag from '../../maintenance/ModalDrag'; import ModalDrag from '../../maintenance/ModalDrag';
import { PlusOutlined, DownOutlined, InfoCircleOutlined } from '@ant-design/icons'; import { PlusOutlined, DownOutlined, InfoCircleOutlined } from '@ant-design/icons';
import { set } from 'immutable'; import { set } from 'immutable';
import { getRoleGroup } from '@/services/userCenter/roleManage/api'; import { getRoleGroup } from '@/services/RoleManage/api';
const { Option } = Select; const { Option } = Select;
const AddModal = props => { const AddModal = props => {
......
import React, { useEffect, useState } from 'react'; import React, { useEffect, useState } from 'react';
import { useHistory } from 'react-router-dom'; import { useHistory } from 'react-router-dom';
import { reloadFlows, removeFlowExtend } from '@/services/platform/flow'; import { reloadFlows, removeFlowExtend } from '@/services/flow/flow';
import { Card, Space, Table, Popconfirm, Spin, Tooltip, notification, message, Button } from 'antd'; import { Card, Space, Table, Popconfirm, Spin, Tooltip, notification, message, Button } from 'antd';
import { import {
RightOutlined, RightOutlined,
......
import React, { useState, useEffect } from 'react'; import React, { useState, useEffect } from 'react';
import { flowReOrder } from '@/services/platform/flow'; import { flowReOrder } from '@/services/flow/flow';
import { Modal, notification } from 'antd'; import { Modal, notification } from 'antd';
import DragTable from '@/components/DragTable/DragTable'; import DragTable from '@/components/DragTable/DragTable';
const Order = props => { const Order = props => {
......
import React, { useEffect } from 'react'; import React, { useEffect } from 'react';
import { CMFlowGet, CMFlowPost } from '@/services/platform/flow'; import { CMFlowGet, CMFlowPost } from '@/services/flow/flow';
import { Form, Modal, Input, Radio, Select, notification } from 'antd'; import { Form, Modal, Input, Radio, Select, notification } from 'antd';
const { Option } = Select; const { Option } = Select;
const { TextArea } = Input; const { TextArea } = Input;
......
import React, { useEffect, useState } from 'react'; import React, { useEffect, useState } from 'react';
import { reloadFlowTimers, removeFlowTimer } from '@/services/platform/flow'; import { reloadFlowTimers, removeFlowTimer } from '@/services/flow/flow';
import { import {
Table, Table,
Modal, Modal,
......
...@@ -3,7 +3,7 @@ import { ...@@ -3,7 +3,7 @@ import {
flowReloadFlowNodes, flowReloadFlowNodes,
reloadTimeLimitadFlowNodes, reloadTimeLimitadFlowNodes,
operateFlowTimer, operateFlowTimer,
} from '@/services/platform/flow'; } from '@/services/flow/flow';
import { Form, Modal, Input, notification, Select } from 'antd'; import { Form, Modal, Input, notification, Select } from 'antd';
const { Option } = Select; const { Option } = Select;
......
import React, { useEffect, useState } from 'react'; import React, { useEffect, useState } from 'react';
import { useHistory } from 'react-router-dom'; import { useHistory } from 'react-router-dom';
import { reloadFlowNodes, removeFlowNodeExtend } from '@/services/platform/flow'; import { reloadFlowNodes, removeFlowNodeExtend } from '@/services/flow/flow';
import { Space, Table, Popconfirm, Tooltip, notification, message, Button, Spin } from 'antd'; import { Space, Table, Popconfirm, Tooltip, notification, message, Button, Spin } from 'antd';
import { RollbackOutlined, EditTwoTone, ControlOutlined, DeleteOutlined } from '@ant-design/icons'; import { RollbackOutlined, EditTwoTone, ControlOutlined, DeleteOutlined } from '@ant-design/icons';
import PageContainer from '@/components/BasePageContainer'; import PageContainer from '@/components/BasePageContainer';
......
import React, { useEffect, useState } from 'react'; import React, { useEffect, useState } from 'react';
import { reloadFlowNodeExtendPages, removeFlowNodeExtendPage } from '@/services/platform/flow'; import { reloadFlowNodeExtendPages, removeFlowNodeExtendPage } from '@/services/flow/flow';
import { import {
Table, Table,
Modal, Modal,
......
...@@ -6,7 +6,7 @@ import { ...@@ -6,7 +6,7 @@ import {
loadEventFields, loadEventFields,
loadFeedbackType, loadFeedbackType,
editFlowNodeExtend, editFlowNodeExtend,
} from '@/services/platform/flow'; } from '@/services/flow/flow';
import { import {
Form, Form,
......
import React, { useEffect } from 'react'; import React, { useEffect } from 'react';
import { getFlowNodeExtendPage, operateFlowNodeExtendPage } from '@/services/platform/flow'; import { getFlowNodeExtendPage, operateFlowNodeExtendPage } from '@/services/flow/flow';
import { Form, Modal, Input, notification } from 'antd'; import { Form, Modal, Input, notification } from 'antd';
const ProcessConfig = props => { const ProcessConfig = props => {
......
import React, { useEffect, useState } from 'react'; import React, { useEffect, useState } from 'react';
import { WFGetAllFlow, GetFlowNode, DeleteFlow } from '@/services/platform/workflow'; import { WFGetAllFlow, GetFlowNode, DeleteFlow } from '@/services/workflow/workflow';
import { Card, Spin, Tooltip, notification, Empty, Modal } from 'antd'; import { Card, Spin, Tooltip, notification, Empty, Modal } from 'antd';
import { import {
......
import React, { useState, useEffect } from 'react'; import React, { useState, useEffect } from 'react';
import { Button, Modal, notification, Spin } from 'antd'; import { Button, Modal, notification, Spin } from 'antd';
import { SaveNodeChange, GetFlowNode } from '@/services/platform/workflow'; import { SaveNodeChange, GetFlowNode } from '@/services/workflow/workflow';
import { ExclamationCircleOutlined } from '@ant-design/icons'; import { ExclamationCircleOutlined } from '@ant-design/icons';
import { Prompt } from 'react-router-dom'; import { Prompt } from 'react-router-dom';
......
import React, { useEffect } from 'react'; import React, { useEffect } from 'react';
import { UpdateFlowGroup } from '@/services/platform/workflow'; import { UpdateFlowGroup } from '@/services/workflow/workflow';
import { Form, Modal, Input, notification } from 'antd'; import { Form, Modal, Input, notification } from 'antd';
const FlowGroupModal = props => { const FlowGroupModal = props => {
......
import React, { useEffect } from 'react'; import React, { useEffect } from 'react';
import { CreateFlow } from '@/services/platform/workflow'; import { CreateFlow } from '@/services/workflow/workflow';
import { Form, Modal, Input, notification, Select } from 'antd'; import { Form, Modal, Input, notification, Select } from 'antd';
const { Option } = Select; const { Option } = Select;
......
import React, { useEffect, useState } from 'react'; import React, { useEffect, useState } from 'react';
import { GetRoleUser } from '@/services/platform/workflow'; import { GetRoleUser } from '@/services/workflow/workflow';
import { import {
Form, Form,
Modal, Modal,
......
...@@ -42,7 +42,7 @@ import styles from './WebDic.less'; ...@@ -42,7 +42,7 @@ import styles from './WebDic.less';
import { useHistory, Link } from 'react-router-dom'; import { useHistory, Link } from 'react-router-dom';
import map from '@/pages/user/login/components/Login/map'; import map from '@/pages/user/login/components/Login/map';
import { GetMetaData } from '@/services/platform/gis'; import { GetMetaData } from '@/services/gis/gis';
import DragTable from '@/components/DragTable/DragTable'; import DragTable from '@/components/DragTable/DragTable';
const WebDic = () => { const WebDic = () => {
......
...@@ -2,7 +2,7 @@ import React, { useEffect, useState, useRef } from 'react' ...@@ -2,7 +2,7 @@ import React, { useEffect, useState, useRef } from 'react'
import SiteModal from '@/components/Modal/SiteModa'; import SiteModal from '@/components/Modal/SiteModa';
import { Input, Cascader, Button, message, Spin } from 'antd' import { Input, Cascader, Button, message, Spin } from 'antd'
import { gcj_decrypt, exetent2AmapPoint, lngLat2WebMercator, plan2AMapbound, webMercator2LngLat } from '@/utils/transformUtil' import { gcj_decrypt, exetent2AmapPoint, lngLat2WebMercator, plan2AMapbound, webMercator2LngLat } from '@/utils/transformUtil'
import { GetAllConfig, GetMetaData } from '@/services/platform/gis' import { GetAllConfig, GetMetaData } from '@/services/gis/gis'
import ReactJson from 'react-json-view' import ReactJson from 'react-json-view'
import { tr } from 'voca'; import { tr } from 'voca';
const { Search } = Input; const { Search } = Input;
......
...@@ -2,7 +2,7 @@ import React, { useEffect, useState, useRef } from 'react' ...@@ -2,7 +2,7 @@ import React, { useEffect, useState, useRef } from 'react'
import SiteModal from '@/components/Modal/SiteModa'; import SiteModal from '@/components/Modal/SiteModa';
import { Input, Cascader, Button, message, Spin } from 'antd' import { Input, Cascader, Button, message, Spin } from 'antd'
import { gcj_decrypt, exetent2AmapPoint, lngLat2WebMercator, plan2AMapbound, webMercator2LngLat } from '@/utils/transformUtil' import { gcj_decrypt, exetent2AmapPoint, lngLat2WebMercator, plan2AMapbound, webMercator2LngLat } from '@/utils/transformUtil'
import { GetAllConfig, GetMetaData } from '@/services/platform/gis' import { GetAllConfig, GetMetaData } from '@/services/gis/gis'
import ReactJson from 'react-json-view' import ReactJson from 'react-json-view'
import { tr } from 'voca'; import { tr } from 'voca';
const { Search } = Input; const { Search } = Input;
......
...@@ -11,7 +11,7 @@ import { ...@@ -11,7 +11,7 @@ import {
GetTCPConfigInfo, GetTCPConfigInfo,
PingIOTPlatform, PingIOTPlatform,
SaveTcpAddress, SaveTcpAddress,
} from '@/services/platform/hostmanager'; } from '@/services/hostmanager/hostmanager';
const layout = { const layout = {
labelCol: { span: 4 }, labelCol: { span: 4 },
wrapperCol: { span: 20 }, wrapperCol: { span: 20 },
......
...@@ -6,7 +6,7 @@ import { ...@@ -6,7 +6,7 @@ import {
GetTCPConfigInfo, GetTCPConfigInfo,
GetDataBaseConfig, GetDataBaseConfig,
GetBasicInfo, GetBasicInfo,
} from '@/services/platform/hostmanager'; } from '@/services/hostmanager/hostmanager';
import { VerticalAlignBottomOutlined } from '@ant-design/icons'; import { VerticalAlignBottomOutlined } from '@ant-design/icons';
import servie from '../../../../assets/images/icons/服务器管理.svg'; import servie from '../../../../assets/images/icons/服务器管理.svg';
import configuration from '../../../../assets/images/icons/站点配置.svg'; import configuration from '../../../../assets/images/icons/站点配置.svg';
......
import React, { useEffect, useState } from 'react'; import React, { useEffect, useState } from 'react';
import { Card, Form, Switch, message, Divider, Row, Col, Spin } from 'antd'; import { Card, Form, Switch, message, Divider, Row, Col, Spin } from 'antd';
import styles from './gateWay.less'; import styles from './gateWay.less';
import { GetGateWay, UpdateGeteWay } from '@/services/platform/hostmanager'; import { GetGateWay, UpdateGeteWay } from '@/services/hostmanager/hostmanager';
import configuration from '../../../../assets/images/icons/消息.svg'; import configuration from '../../../../assets/images/icons/消息.svg';
const GateConfig = () => { const GateConfig = () => {
......
...@@ -7,7 +7,7 @@ import { ...@@ -7,7 +7,7 @@ import {
ConnectMessPlatform, ConnectMessPlatform,
GetBasicInfo, GetBasicInfo,
GetDataBaseConfig, GetDataBaseConfig,
} from '@/services/platform/hostmanager'; } from '@/services/hostmanager/hostmanager';
import message11 from '../../../../assets/images/icons/消息.svg'; import message11 from '../../../../assets/images/icons/消息.svg';
import Yes from '../../../../assets/images/icons/正确.svg'; import Yes from '../../../../assets/images/icons/正确.svg';
import { CloseCircleFilled } from '@ant-design/icons'; import { CloseCircleFilled } from '@ant-design/icons';
......
...@@ -9,7 +9,7 @@ import { ...@@ -9,7 +9,7 @@ import {
ReloadNginx, ReloadNginx,
NginxCache, NginxCache,
NginxLog, NginxLog,
} from '@/services/platform/hostmanager'; } from '@/services/hostmanager/hostmanager';
import { ReloadOutlined } from '@ant-design/icons'; import { ReloadOutlined } from '@ant-design/icons';
import configuration from '../../../../assets/images/icons/消息.svg'; import configuration from '../../../../assets/images/icons/消息.svg';
......
...@@ -33,7 +33,7 @@ import { ...@@ -33,7 +33,7 @@ import {
DeleteMessageConfig, DeleteMessageConfig,
GetMsgTypeList, GetMsgTypeList,
DeleteIISAgentConfig, DeleteIISAgentConfig,
} from '@/services/platform/messagemanage'; } from '@/services/messagemanage/messagemanage';
import styles from './ProjectManage.less'; import styles from './ProjectManage.less';
const { Search } = Input; const { Search } = Input;
const { Option } = Select; const { Option } = Select;
......
...@@ -8,9 +8,9 @@ import styles from './EditModal.less'; ...@@ -8,9 +8,9 @@ import styles from './EditModal.less';
import v from 'voca'; import v from 'voca';
import VisibleRoleModal from './RolseSelect/VisibleRoleModal' import VisibleRoleModal from './RolseSelect/VisibleRoleModal'
import VisibleIISAgentConfig from './IISAgentConfig/VisibleIISAgentConfig' import VisibleIISAgentConfig from './IISAgentConfig/VisibleIISAgentConfig'
import { GetMessageTemplate } from '@/services/platform/messagemanage' import { GetMessageTemplate } from '@/services/messagemanage/messagemanage'
import moment from 'moment' import moment from 'moment'
import { UpdateMessageConfig, InsertMessageConfig, AddIISAgentConfig } from '@/services/platform/messagemanage' import { UpdateMessageConfig, InsertMessageConfig, AddIISAgentConfig } from '@/services/messagemanage/messagemanage'
const { Item } = Form; const { Item } = Form;
......
import React, { useState, useEffect, useCallback } from 'react'; import React, { useState, useEffect, useCallback } from 'react';
import { Modal, Input, Button, message, Spin, Pagination } from 'antd'; import { Modal, Input, Button, message, Spin, Pagination } from 'antd';
import { GetGroupUserTree, TestPush } from '@/services/platform/messagemanage'; import { GetGroupUserTree, TestPush } from '@/services/messagemanage/messagemanage';
import styles from './PushTest.less'; import styles from './PushTest.less';
import DragTable from '@/components/DragTable/DragTable'; import DragTable from '@/components/DragTable/DragTable';
import CardCheck from './CardCheck'; import CardCheck from './CardCheck';
......
import React, { useEffect, useState } from 'react'; import React, { useEffect, useState } from 'react';
import { Modal, Checkbox } from 'antd'; import { Modal, Checkbox } from 'antd';
import { RoleGroupList } from '@/services/platform/messagemanage'; import { RoleGroupList } from '@/services/messagemanage/messagemanage';
import styles from './RoleModal.less'; import styles from './RoleModal.less';
const CheckboxGroup = Checkbox.Group; const CheckboxGroup = Checkbox.Group;
......
...@@ -6,7 +6,7 @@ import { Checkbox, Input, Button, Modal } from 'antd'; ...@@ -6,7 +6,7 @@ import { Checkbox, Input, Button, Modal } from 'antd';
import _ from 'lodash'; import _ from 'lodash';
import classnames from 'classnames'; import classnames from 'classnames';
import { ManOutlined } from '@ant-design/icons'; import { ManOutlined } from '@ant-design/icons';
import { RoleGroupList } from '@/services/platform/messagemanage'; import { RoleGroupList } from '@/services/messagemanage/messagemanage';
import { useTheme } from 'bizcharts'; import { useTheme } from 'bizcharts';
import styles from './VisibleRoleModal.less'; import styles from './VisibleRoleModal.less';
......
...@@ -30,7 +30,7 @@ import { ...@@ -30,7 +30,7 @@ import {
InsertMessageConfig, InsertMessageConfig,
AddIISAgentConfig, AddIISAgentConfig,
// eslint-disable-next-line import/no-duplicates // eslint-disable-next-line import/no-duplicates
} from '@/services/platform/messagemanage'; } from '@/services/messagemanage/messagemanage';
import styles from './schemeDetail.less'; import styles from './schemeDetail.less';
const { Item } = Form; const { Item } = Form;
......
...@@ -29,7 +29,7 @@ import { ...@@ -29,7 +29,7 @@ import {
DeleteMessageTemplate, DeleteMessageTemplate,
InsertMessageTemplate, InsertMessageTemplate,
GetThirdpartyTemplates, GetThirdpartyTemplates,
} from '@/services/platform/messagemanage'; } from '@/services/messagemanage/messagemanage';
import styles from './TemplateManage.less'; import styles from './TemplateManage.less';
const TemplateManage = () => { const TemplateManage = () => {
......
import React, { useEffect, useState } from 'react'; import React, { useEffect, useState } from 'react';
import { Form, Modal, Row, Col, Input, Select, notification } from 'antd'; import { Form, Modal, Row, Col, Input, Select, notification } from 'antd';
import { addInsertVideoConfig, editInsertVideoConfig } from '@/services/platform/videoManger'; import { addInsertVideoConfig, editInsertVideoConfig } from '@/services/videoManger/videoManger';
const AddModal = props => { const AddModal = props => {
const { callBackSubmit = () => { }, visible, onCancel, type, type1, kind, obj } = props; const { callBackSubmit = () => { }, visible, onCancel, type, type1, kind, obj } = props;
......
...@@ -31,7 +31,7 @@ import styles from './index.less'; ...@@ -31,7 +31,7 @@ import styles from './index.less';
import { import {
GetVideoConfigList, GetVideoConfigList,
deleteInsertVideoConfig, deleteInsertVideoConfig,
} from '@/services/platform/videoManger'; } from '@/services/videoManger/videoManger';
import AddModal from './AddModal'; import AddModal from './AddModal';
import CheckModal from './CheckModal'; import CheckModal from './CheckModal';
import VideoModal from './VideoModal'; import VideoModal from './VideoModal';
......
...@@ -5,7 +5,7 @@ import { ...@@ -5,7 +5,7 @@ import {
addRole, addRole,
GetRoleGroup, GetRoleGroup,
getWebConfigTypes, getWebConfigTypes,
} from '@/services/userCenter/roleManage/api'; } from '@/services/RoleManage/api';
const { Item } = Form; const { Item } = Form;
const { Option } = Select; const { Option } = Select;
const AddModal = props => { const AddModal = props => {
......
import React, { useState } from 'react'; import React, { useState } from 'react';
import { notification } from 'antd'; import { notification } from 'antd';
import SiteModal from '@/components/Modal/SiteModa'; import SiteModal from '@/components/Modal/SiteModa';
import { deleteRole } from '@/services/userCenter/roleManage/api'; import { deleteRole } from '@/services/RoleManage/api';
const DelModal = props => { const DelModal = props => {
const { confirmModal, itemObj } = props; const { confirmModal, itemObj } = props;
const [loading, setLoading] = useState(false); const [loading, setLoading] = useState(false);
......
import React, { useState, useEffect } from 'react'; import React, { useState, useEffect } from 'react';
import { notification, Form, Input } from 'antd'; import { notification, Form, Input } from 'antd';
import SiteModal from '@/components/Modal/SiteModa'; import SiteModal from '@/components/Modal/SiteModa';
import { updateGroupName } from '@/services/userCenter/roleManage/api'; import { updateGroupName } from '@/services/RoleManage/api';
const { Item } = Form; const { Item } = Form;
const EditGroup = props => { const EditGroup = props => {
const { confirmModal, itemObj } = props; const { confirmModal, itemObj } = props;
......
import React, { useState, useEffect } from 'react'; import React, { useState, useEffect } from 'react';
import { Form, Input, notification, Select } from 'antd'; import { Form, Input, notification, Select } from 'antd';
import SiteModal from '@/components/Modal/SiteModa'; import SiteModal from '@/components/Modal/SiteModa';
import { editRole, GetRoleGroup } from '@/services/userCenter/roleManage/api'; import { editRole, GetRoleGroup } from '@/services/RoleManage/api';
const { Item } = Form; const { Item } = Form;
const { Option } = Select; const { Option } = Select;
const AddModal = props => { const AddModal = props => {
......
...@@ -22,7 +22,7 @@ import { ...@@ -22,7 +22,7 @@ import {
getMenuByRoleWithLevel, getMenuByRoleWithLevel,
DragGroup, DragGroup,
getWebConfigTypes, getWebConfigTypes,
} from '@/services/userCenter/roleManage/api'; } from '@/services/RoleManage/api';
import ListCard, { checkChildrenByCondition, getId } from '@/components/CheckGroup'; import ListCard, { checkChildrenByCondition, getId } from '@/components/CheckGroup';
// import ListCard from '@/pages/orgnazation/ListCard'; // import ListCard from '@/pages/orgnazation/ListCard';
import qs from 'qs'; import qs from 'qs';
......
import React, { useState, useEffect, useCallback, useRef } from 'react'; import React, { useState, useEffect, useCallback, useRef } from 'react';
import { Modal, Input, Button, message, Spin, Pagination, Table, Tooltip, Space } from 'antd'; import { Modal, Input, Button, message, Spin, Pagination, Table, Tooltip, Space } from 'antd';
import { GetGroupUserTree } from '@/services/platform/messagemanage'; import { GetGroupUserTree } from '@/services/messagemanage/messagemanage';
import { getStationUsers, chooseUserToStation } from '@/services/userCenter/siteManage/api'; import { getStationUsers, chooseUserToStation } from '@/services/siteManage/api';
import { DeleteOutlined } from '@ant-design/icons'; import { DeleteOutlined } from '@ant-design/icons';
import styles from './SelectUser.less'; import styles from './SelectUser.less';
import CardCheck from './CardCheck'; import CardCheck from './CardCheck';
......
...@@ -15,7 +15,7 @@ import { ...@@ -15,7 +15,7 @@ import {
addChildSiteNode, addChildSiteNode,
getSiteTree, getSiteTree,
getStationUsers, getStationUsers,
} from '@/services/userCenter/siteManage/api'; } from '@/services/siteManage/api';
import { UserOutlined } from '@ant-design/icons'; import { UserOutlined } from '@ant-design/icons';
import qs from 'qs'; import qs from 'qs';
const { Search } = Input; const { Search } = Input;
......
import React, { useState } from 'react'; import React, { useState } from 'react';
import { Form, Input, notification } from 'antd'; import { Form, Input, notification } from 'antd';
import SiteModal from '@/components/Modal/SiteModa'; import SiteModal from '@/components/Modal/SiteModa';
import { addStation, addChildSiteNode } from '@/services/userCenter/siteManage/api'; import { addStation, addChildSiteNode } from '@/services/siteManage/api';
const { Item } = Form; const { Item } = Form;
const AddChildModal = props => { const AddChildModal = props => {
const [form] = Form.useForm(); const [form] = Form.useForm();
......
import React, { useState } from 'react'; import React, { useState } from 'react';
import { Form, Input, notification } from 'antd'; import { Form, Input, notification } from 'antd';
import SiteModal from '@/components/Modal/SiteModa'; import SiteModal from '@/components/Modal/SiteModa';
import { addStation } from '@/services/userCenter/siteManage/api'; import { addStation } from '@/services/siteManage/api';
const { Item } = Form; const { Item } = Form;
const AddModal = props => { const AddModal = props => {
const [form] = Form.useForm(); const [form] = Form.useForm();
......
import React, { useState } from 'react'; import React, { useState } from 'react';
import { notification } from 'antd'; import { notification } from 'antd';
import SiteModal from '@/components/Modal/SiteModa'; import SiteModal from '@/components/Modal/SiteModa';
import { deleteStation } from '@/services/userCenter/siteManage/api'; import { deleteStation } from '@/services/siteManage/api';
const DelModal = props => { const DelModal = props => {
const { confirmModal, stationId } = props; const { confirmModal, stationId } = props;
const [loading, setLoading] = useState(false); const [loading, setLoading] = useState(false);
......
import React, { useState, useEffect, useRef } from 'react'; import React, { useState, useEffect, useRef } from 'react';
import { Form, Input, notification } from 'antd'; import { Form, Input, notification } from 'antd';
import SiteModal from '@/components/Modal/SiteModa'; import SiteModal from '@/components/Modal/SiteModa';
import { editStation } from '@/services/userCenter/siteManage/api'; import { editStation } from '@/services/siteManage/api';
const { Item } = Form; const { Item } = Form;
const EditModal = props => { const EditModal = props => {
const [form] = Form.useForm(); const [form] = Form.useForm();
......
...@@ -56,7 +56,7 @@ import { ...@@ -56,7 +56,7 @@ import {
getSiteTree, getSiteTree,
getStationUsers, getStationUsers,
DragGroup, DragGroup,
} from '@/services/userCenter/siteManage/api'; } from '@/services/siteManage/api';
import AddModal from './AddModal'; import AddModal from './AddModal';
import DelModal from './DelModal'; import DelModal from './DelModal';
import EditModal from './EditModal'; import EditModal from './EditModal';
......
import React, { useEffect } from 'react'; import React, { useEffect } from 'react';
import { Modal, Form, Input, notification, message } from 'antd'; import { Modal, Form, Input, notification, message } from 'antd';
import { addOrg } from '@/services/userCenter/userManage/api'; import { addOrg } from '@/services/userManage/api';
const AddUserModal = props => { const AddUserModal = props => {
const { title, visible, orgID, onCancel, updateTrees, onSelect } = props; const { title, visible, orgID, onCancel, updateTrees, onSelect } = props;
......
import React, { useEffect } from 'react'; import React, { useEffect } from 'react';
import { Modal, Form, Input, notification, message } from 'antd'; import { Modal, Form, Input, notification, message } from 'antd';
import { addUser } from '@/services/userCenter/userManage/api'; import { addUser } from '@/services/userManage/api';
import { ok } from '../../../assets/images/icons/ok.svg'; import { ok } from '../../../assets/images/icons/ok.svg';
const AddUserModal = props => { const AddUserModal = props => {
......
import React, { useEffect } from 'react'; import React, { useEffect } from 'react';
import { Modal, Form, Input, notification, message } from 'antd'; import { Modal, Form, Input, notification, message } from 'antd';
import { updateUserPassword } from '@/services/userCenter/userManage/api'; import { updateUserPassword } from '@/services/userManage/api';
const ChangePasswordModal = props => { const ChangePasswordModal = props => {
const { const {
......
import React from 'react'; import React from 'react';
import { Modal, notification, message } from 'antd'; import { Modal, notification, message } from 'antd';
import { deleteOrg } from '@/services/userCenter/userManage/api'; import { deleteOrg } from '@/services/userManage/api';
import { Margin } from 'gojs'; import { Margin } from 'gojs';
const DeleteOrgModal = props => { const DeleteOrgModal = props => {
......
import React, { useEffect } from 'react'; import React, { useEffect } from 'react';
import { Modal, Form, Input, notification, message } from 'antd'; import { Modal, Form, Input, notification, message } from 'antd';
import { editOrgInfo } from '@/services/userCenter/userManage/api'; import { editOrgInfo } from '@/services/userManage/api';
const EditOrgModal = props => { const EditOrgModal = props => {
const { const {
......
import React, { useEffect } from 'react'; import React, { useEffect } from 'react';
import { Modal, Form, Input, notification, message } from 'antd'; import { Modal, Form, Input, notification, message } from 'antd';
import voca from 'voca'; import voca from 'voca';
import { editUser } from '@/services/userCenter/userManage/api'; import { editUser } from '@/services/userManage/api';
const EditUserModal = props => { const EditUserModal = props => {
const { const {
......
...@@ -4,7 +4,7 @@ import { ...@@ -4,7 +4,7 @@ import {
SetUserRelationList, SetUserRelationList,
setUserRelation, setUserRelation,
setUserRelations, setUserRelations,
} from '@/services/userCenter/userManage/api'; } from '@/services/userManage/api';
import ListCardItem from './components/listCardItem'; import ListCardItem from './components/listCardItem';
const CheckboxGroup = Checkbox.Group; const CheckboxGroup = Checkbox.Group;
......
...@@ -63,7 +63,7 @@ import { ...@@ -63,7 +63,7 @@ import {
DeleteUserNew, DeleteUserNew,
loadAllUserRole, loadAllUserRole,
DragGroup, DragGroup,
} from '@/services/userCenter/userManage/api'; } from '@/services/userManage/api';
import { AddUserAuthSetting, GetUserAuthSet } from '@/services/database/api'; import { AddUserAuthSetting, GetUserAuthSet } from '@/services/database/api';
import Tree from '@/components/ExpendableTree'; import Tree from '@/components/ExpendableTree';
import classnames from 'classnames'; import classnames from 'classnames';
......
...@@ -38,7 +38,7 @@ export const addRole = params => get(`${PUBLISH_SERVICE}/UserCenter/AddRole`, pa ...@@ -38,7 +38,7 @@ export const addRole = params => get(`${PUBLISH_SERVICE}/UserCenter/AddRole`, pa
// 获取分组列表 // 获取分组列表
export const getRoleGroup = params => get(`${CITY_SERVICE}/OMS.svc/P_GetRoleGroup`, params); export const getRoleGroup = params => get(`${CITY_SERVICE}/OMS.svc/P_GetRoleGroup`, params);
//获取角色备注 // 获取角色备注
export const GetRoleGroup = params => get(`${PUBLISH_SERVICE}/UserCenter/GetRoleGroup`, params); export const GetRoleGroup = params => get(`${PUBLISH_SERVICE}/UserCenter/GetRoleGroup`, params);
// 编辑角色 // 编辑角色
export const editRole = params => get(`${PUBLISH_SERVICE}/UserCenter/EditRole`, params); export const editRole = params => get(`${PUBLISH_SERVICE}/UserCenter/EditRole`, params);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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