注释掉import { routerRedux } from 'dva/router';
This commit is contained in:
@ -3,7 +3,7 @@ import { Link, history } from '@umijs/max';
|
|||||||
import './index.less';
|
import './index.less';
|
||||||
import styles from './index.less';
|
import styles from './index.less';
|
||||||
import { connect } from "dva";
|
import { connect } from "dva";
|
||||||
import { routerRedux } from 'dva/router';
|
// import { routerRedux } from 'dva/router';
|
||||||
import React, { useState, useEffect, useReducer } from 'react';
|
import React, { useState, useEffect, useReducer } from 'react';
|
||||||
import { getSessionUserData, getRoomId, getRoomStatus, getProMethod, getSessionRoleData, getIPassDecode, getDefId, getProId, getOfflineStatusById } from '@/utils/session';
|
import { getSessionUserData, getRoomId, getRoomStatus, getProMethod, getSessionRoleData, getIPassDecode, getDefId, getProId, getOfflineStatusById } from '@/utils/session';
|
||||||
import { getURLInformation } from '@/utils/CommonUtils';
|
import { getURLInformation } from '@/utils/CommonUtils';
|
||||||
|
@ -24,7 +24,7 @@ export async function getLogout() { // 退出登录,注销
|
|||||||
}
|
}
|
||||||
|
|
||||||
export async function logout() {
|
export async function logout() {
|
||||||
return request('/api/v1/login/logout', {
|
return request('/api/sys-manager-ebtp-project/v1/login/logout', {
|
||||||
method: 'post',
|
method: 'post',
|
||||||
});
|
});
|
||||||
}
|
}
|
@ -3,7 +3,7 @@ import { Divider, Button, Form, Card, Tabs, Table, Tooltip, Input, Select, Row,
|
|||||||
import './index.less';
|
import './index.less';
|
||||||
import { connect } from "dva";
|
import { connect } from "dva";
|
||||||
import { getProId, getProMethod, getDefId, getQuotationMethodById, getSessionUserData } from '@/utils/session';
|
import { getProId, getProMethod, getDefId, getQuotationMethodById, getSessionUserData } from '@/utils/session';
|
||||||
import { routerRedux } from 'dva/router';
|
// import { routerRedux } from 'dva/router';
|
||||||
import { getURLInformation } from '@/utils/CommonUtils';
|
import { getURLInformation } from '@/utils/CommonUtils';
|
||||||
import { btnAuthority } from '@/utils/authority';
|
import { btnAuthority } from '@/utils/authority';
|
||||||
import { getMaxTurnSortSupplier } from './components/service';
|
import { getMaxTurnSortSupplier } from './components/service';
|
||||||
|
@ -2,7 +2,7 @@ import React, {PureComponent} from 'react';
|
|||||||
import {Divider,Button,Form,Card,Tabs,Table,Tooltip,Input,Select,Row,Col,message,Modal,Pagination,Spin} from 'antd';
|
import {Divider,Button,Form,Card,Tabs,Table,Tooltip,Input,Select,Row,Col,message,Modal,Pagination,Spin} from 'antd';
|
||||||
// import './index.less';
|
// import './index.less';
|
||||||
import { connect } from "dva";
|
import { connect } from "dva";
|
||||||
import { routerRedux } from 'dva/router';
|
// import { routerRedux } from 'dva/router';
|
||||||
import { getRoomId } from '@/utils/session';
|
import { getRoomId } from '@/utils/session';
|
||||||
import { getURLInformation } from '@/utils/CommonUtils';
|
import { getURLInformation } from '@/utils/CommonUtils';
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ import React, {PureComponent} from 'react';
|
|||||||
import {Divider,Button,Form,Card,Tabs,Table,Tooltip,Input,Select,Row,Col,message,Modal,Spin,Pagination} from 'antd';
|
import {Divider,Button,Form,Card,Tabs,Table,Tooltip,Input,Select,Row,Col,message,Modal,Spin,Pagination} from 'antd';
|
||||||
// import './index.less';
|
// import './index.less';
|
||||||
import { connect } from "dva";
|
import { connect } from "dva";
|
||||||
import { routerRedux } from 'dva/router';
|
// import { routerRedux } from 'dva/router';
|
||||||
import { getRoomId } from '@/utils/session';
|
import { getRoomId } from '@/utils/session';
|
||||||
import { getURLInformation } from '@/utils/CommonUtils';
|
import { getURLInformation } from '@/utils/CommonUtils';
|
||||||
import { CheckOutlined, CloseOutlined } from '@ant-design/icons';
|
import { CheckOutlined, CloseOutlined } from '@ant-design/icons';
|
||||||
|
@ -4,7 +4,7 @@ import { history } from '@umijs/max';
|
|||||||
import { connect } from 'dva';
|
import { connect } from 'dva';
|
||||||
import './index.less';
|
import './index.less';
|
||||||
import talkPng from '@/images/talk/talk.png';
|
import talkPng from '@/images/talk/talk.png';
|
||||||
import { routerRedux } from 'dva/router';
|
// import { routerRedux } from 'dva/router';
|
||||||
import { RightOutlined } from '@ant-design/icons';
|
import { RightOutlined } from '@ant-design/icons';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import { jurySaveInfo, getRA } from '@/utils/session';
|
import { jurySaveInfo, getRA } from '@/utils/session';
|
||||||
|
@ -4,7 +4,7 @@ import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic, Spin, Emp
|
|||||||
import { connect } from 'dva';
|
import { connect } from 'dva';
|
||||||
import './index.less';
|
import './index.less';
|
||||||
import talkPng from '@/images/talk/talk.png';
|
import talkPng from '@/images/talk/talk.png';
|
||||||
import { routerRedux } from 'dva/router';
|
// import { routerRedux } from 'dva/router';
|
||||||
import { RightOutlined } from '@ant-design/icons';
|
import { RightOutlined } from '@ant-design/icons';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import { auctionFollowUpAProjectManager, getRA } from '@/utils/session';
|
import { auctionFollowUpAProjectManager, getRA } from '@/utils/session';
|
||||||
|
@ -5,7 +5,7 @@ import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic, Spin, Emp
|
|||||||
import { connect } from 'dva';
|
import { connect } from 'dva';
|
||||||
import './index.less';
|
import './index.less';
|
||||||
import talkPng from '@/images/talk/talk.png';
|
import talkPng from '@/images/talk/talk.png';
|
||||||
import { routerRedux } from 'dva/router';
|
// import { routerRedux } from 'dva/router';
|
||||||
import { RightOutlined } from '@ant-design/icons';
|
import { RightOutlined } from '@ant-design/icons';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import { followUpAProjectManager, getSessionUserData } from '@/utils/session';
|
import { followUpAProjectManager, getSessionUserData } from '@/utils/session';
|
||||||
|
@ -4,7 +4,7 @@ import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic, Spin, Emp
|
|||||||
import { connect } from 'dva';
|
import { connect } from 'dva';
|
||||||
import './index.less';
|
import './index.less';
|
||||||
import talkPng from '@/images/talk/talk.png';
|
import talkPng from '@/images/talk/talk.png';
|
||||||
import { routerRedux } from 'dva/router';
|
// import { routerRedux } from 'dva/router';
|
||||||
import { RightOutlined } from '@ant-design/icons';
|
import { RightOutlined } from '@ant-design/icons';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import { getRA } from '@/utils/session';
|
import { getRA } from '@/utils/session';
|
||||||
|
@ -4,7 +4,7 @@ import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic, Spin, Emp
|
|||||||
import { connect } from 'dva';
|
import { connect } from 'dva';
|
||||||
import './index.less';
|
import './index.less';
|
||||||
import talkPng from '@/images/talk/talk.png';
|
import talkPng from '@/images/talk/talk.png';
|
||||||
import { routerRedux } from 'dva/router';
|
// import { routerRedux } from 'dva/router';
|
||||||
import { RightOutlined } from '@ant-design/icons';
|
import { RightOutlined } from '@ant-design/icons';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import { getRA } from '@/utils/session';
|
import { getRA } from '@/utils/session';
|
||||||
|
@ -4,7 +4,7 @@ import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic, Spin, Emp
|
|||||||
import { connect } from 'dva';
|
import { connect } from 'dva';
|
||||||
import './index.less';
|
import './index.less';
|
||||||
import talkPng from '@/images/talk/talk.png';
|
import talkPng from '@/images/talk/talk.png';
|
||||||
import { routerRedux } from 'dva/router';
|
// import { routerRedux } from 'dva/router';
|
||||||
import { RightOutlined } from '@ant-design/icons';
|
import { RightOutlined } from '@ant-design/icons';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import { getRA } from '@/utils/session';
|
import { getRA } from '@/utils/session';
|
||||||
|
@ -20,7 +20,7 @@ import {
|
|||||||
import { connect } from 'dva';
|
import { connect } from 'dva';
|
||||||
import './index.less';
|
import './index.less';
|
||||||
import talkPng from '@/images/talk/talk.png';
|
import talkPng from '@/images/talk/talk.png';
|
||||||
import { routerRedux } from 'dva/router';
|
// import { routerRedux } from 'dva/router';
|
||||||
import { RightOutlined } from '@ant-design/icons';
|
import { RightOutlined } from '@ant-design/icons';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import { followUpAProjectManager, getRA, getSessionUserData } from '@/utils/session';
|
import { followUpAProjectManager, getRA, getSessionUserData } from '@/utils/session';
|
||||||
|
@ -5,7 +5,7 @@ import { history } from '@umijs/max';
|
|||||||
import { connect } from 'dva';
|
import { connect } from 'dva';
|
||||||
import './index.less';
|
import './index.less';
|
||||||
import talkPng from '@/images/talk/talk.png';
|
import talkPng from '@/images/talk/talk.png';
|
||||||
import { routerRedux } from 'dva/router';
|
// import { routerRedux } from 'dva/router';
|
||||||
import { RightOutlined } from '@ant-design/icons';
|
import { RightOutlined } from '@ant-design/icons';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import { followUpAProjectSupplier, getSessionUserData, getRA } from '@/utils/session';
|
import { followUpAProjectSupplier, getSessionUserData, getRA } from '@/utils/session';
|
||||||
|
@ -2,7 +2,7 @@ import React, {PureComponent} from 'react';
|
|||||||
import {Divider,Button,Form,Card,Tabs,Table,Tooltip,Input,Select,Row,Col,message,Modal,Pagination,Spin} from 'antd';
|
import {Divider,Button,Form,Card,Tabs,Table,Tooltip,Input,Select,Row,Col,message,Modal,Pagination,Spin} from 'antd';
|
||||||
// import './index.less';
|
// import './index.less';
|
||||||
import { connect } from "dva";
|
import { connect } from "dva";
|
||||||
import { routerRedux } from 'dva/router';
|
// import { routerRedux } from 'dva/router';
|
||||||
import { getRoomId } from '@/utils/session';
|
import { getRoomId } from '@/utils/session';
|
||||||
import { getURLInformation } from '@/utils/CommonUtils';
|
import { getURLInformation } from '@/utils/CommonUtils';
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ import React, {PureComponent} from 'react';
|
|||||||
import {Divider,Button,Form,Card,Tabs,Table,Tooltip,Input,Select,Row,Col,message,Modal,Pagination,Spin} from 'antd';
|
import {Divider,Button,Form,Card,Tabs,Table,Tooltip,Input,Select,Row,Col,message,Modal,Pagination,Spin} from 'antd';
|
||||||
// import './index.less';
|
// import './index.less';
|
||||||
import { connect } from "dva";
|
import { connect } from "dva";
|
||||||
import { routerRedux } from 'dva/router';
|
// import { routerRedux } from 'dva/router';
|
||||||
import { getRoomId } from '@/utils/session';
|
import { getRoomId } from '@/utils/session';
|
||||||
import { getURLInformation } from '@/utils/CommonUtils';
|
import { getURLInformation } from '@/utils/CommonUtils';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user