注释// const history = useHistory();

This commit is contained in:
jlzhangyx5
2025-07-18 16:20:25 +08:00
parent 67fb8c270e
commit c5204dcd06
12 changed files with 12 additions and 12 deletions

View File

@ -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) => {

View File

@ -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) => {

View File

@ -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) => {

View File

@ -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) => {

View File

@ -21,7 +21,7 @@ const ReservedItems: React.FC<{}> = () => {
pageNo: 1,
pageSize: 10
});
const history = useHistory();
// const history = useHistory();
const viewModalRef = useRef(null);
//查看详情

View File

@ -20,7 +20,7 @@ const PostSupervision: React.FC<{}> = () => {
pageNo: 1,
pageSize: 10
});
const history = useHistory();
// const history = useHistory();
const viewModalRef = useRef(null);
//查看详情

View File

@ -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>[] = [
{

View File

@ -37,7 +37,7 @@ const ProjectDocumentation: React.FC = () => {
//获取字典
const getDict: any = getDicData();
const dictData = JSON.parse(getDict);
const history = useHistory();
// const history = useHistory();
/**
* proList信息
*/

View File

@ -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: '序号',

View File

@ -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>[] = [
{

View File

@ -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>[] = [

View File

@ -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(() => {