注释// const history = useHistory();
This commit is contained in:
@ -15,7 +15,7 @@ const ManuPlatformModalManage: React.FC<{}> = () => {
|
||||
const [spin, spinSet] = useState<boolean>(false);
|
||||
const [visible, setVisible] = useState<boolean>(false);
|
||||
const manuPlatformInfo = useRef<any>();
|
||||
const history = useHistory();
|
||||
// const history = useHistory();
|
||||
const manuPlatformModalRef = useRef<any>(null);
|
||||
//编辑
|
||||
const editManuPlatform = (record: any) => {
|
||||
|
@ -21,7 +21,7 @@ const AreasManage: React.FC<{}> = () => {
|
||||
pageNo: 1,
|
||||
pageSize: 10
|
||||
});
|
||||
const history = useHistory();
|
||||
// const history = useHistory();
|
||||
const areasModalRef = useRef<any>(null);
|
||||
//编辑
|
||||
const editAreas = (record: any) => {
|
||||
|
@ -44,7 +44,7 @@ const PlaceManage: React.FC<{}> = () => {
|
||||
pageNo: 1,
|
||||
pageSize: 10
|
||||
});
|
||||
const history = useHistory();
|
||||
// const history = useHistory();
|
||||
const placeModalRef = useRef<any>(null);
|
||||
//编辑
|
||||
const editPlace = (record: any) => {
|
||||
|
@ -20,7 +20,7 @@ const OnlineSupervision: React.FC<{}> = () => {
|
||||
pageNo: 1,
|
||||
pageSize: 10
|
||||
});
|
||||
const history = useHistory();
|
||||
// const history = useHistory();
|
||||
const viewModalRef = useRef(null);
|
||||
//查看详情
|
||||
const viewDetails = (record: any) => {
|
||||
|
@ -21,7 +21,7 @@ const ReservedItems: React.FC<{}> = () => {
|
||||
pageNo: 1,
|
||||
pageSize: 10
|
||||
});
|
||||
const history = useHistory();
|
||||
// const history = useHistory();
|
||||
const viewModalRef = useRef(null);
|
||||
|
||||
//查看详情
|
||||
|
@ -20,7 +20,7 @@ const PostSupervision: React.FC<{}> = () => {
|
||||
pageNo: 1,
|
||||
pageSize: 10
|
||||
});
|
||||
const history = useHistory();
|
||||
// const history = useHistory();
|
||||
const viewModalRef = useRef(null);
|
||||
|
||||
//查看详情
|
||||
|
@ -35,7 +35,7 @@ const ProjectManage: React.FC<ProjectManageProps> = (props) => {
|
||||
const procurementTypeEntrust = 'procurement_type=entrust';
|
||||
//采购方式
|
||||
const procurementModeEntrust = 'procurement_mode=entrust';
|
||||
const history = useHistory();
|
||||
// const history = useHistory();
|
||||
|
||||
const columns: ProColumns<any>[] = [
|
||||
{
|
||||
|
@ -37,7 +37,7 @@ const ProjectDocumentation: React.FC = () => {
|
||||
//获取字典
|
||||
const getDict: any = getDicData();
|
||||
const dictData = JSON.parse(getDict);
|
||||
const history = useHistory();
|
||||
// const history = useHistory();
|
||||
/**
|
||||
* proList信息
|
||||
*/
|
||||
|
@ -30,7 +30,7 @@ const PurchasingManagerEnquiries: React.FC = () => {
|
||||
const procurementTypeEntrust = 'procurement_type=entrust';
|
||||
//采购方式
|
||||
const procurementModeEntrust = 'procurement_mode=entrust';
|
||||
const history = useHistory();
|
||||
// const history = useHistory();
|
||||
const columns: ProColumns<any>[] = [
|
||||
{
|
||||
title: '序号',
|
||||
|
@ -43,7 +43,7 @@ const FavoritesList: React.FC<FavoritesListProps> = (props) => {
|
||||
const [selectedRows, setSelectedRows] = useState<any[]>([]);
|
||||
|
||||
|
||||
const history = useHistory();
|
||||
// const history = useHistory();
|
||||
const ref = useRef<ActionType>();
|
||||
const columns: ProColumns<any>[] = [
|
||||
{
|
||||
|
@ -42,7 +42,7 @@ const ProjectManage: React.FC<ProjectManageProps> = (props) => {
|
||||
//选中
|
||||
const [selectedRows, setSelectedRows] = useState<any[]>([]);
|
||||
|
||||
const history = useHistory();
|
||||
// const history = useHistory();
|
||||
const ref = useRef<ActionType>();
|
||||
const columns: ProColumns<any>[] = [
|
||||
|
||||
|
@ -75,7 +75,7 @@ const IParticipateIn: React.FC<IParticipateInItem> = (props) => {
|
||||
const [sectionCheckbox, setSectionCheckbox] = useState<any[]>();
|
||||
//采购方式
|
||||
const [bidMethodDict, setBidMethodDict] = useState<string>('');
|
||||
const history = useHistory();
|
||||
// const history = useHistory();
|
||||
//联系人数据
|
||||
const [contactsItem, setContactsItem] = useState<any>(null);
|
||||
useEffect(() => {
|
||||
|
Reference in New Issue
Block a user