diff --git a/src/components/BelongPeople/BelongPeople.tsx b/src/components/BelongPeople/BelongPeople.tsx index d1aa2e0..d29d4cc 100644 --- a/src/components/BelongPeople/BelongPeople.tsx +++ b/src/components/BelongPeople/BelongPeople.tsx @@ -113,7 +113,7 @@ export default function BelongPeople(props: propsInfo) { // 所属者表格选择触发 const belongRowSelection = { // selectedRowKeys: React.Key[] - onChange: (selectedRowKeys: React.Key[], selectedRows: BelongDataType[]) => { + onChange: (_selectedRowKeys: React.Key[], selectedRows: BelongDataType[]) => { // console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows); setauthorName(selectedRows[0].name) setauthorIdCardType(selectedRows[0].idCardType) diff --git a/src/components/ContactPeople/ContactPeople.tsx b/src/components/ContactPeople/ContactPeople.tsx index 6cec0be..5de305a 100644 --- a/src/components/ContactPeople/ContactPeople.tsx +++ b/src/components/ContactPeople/ContactPeople.tsx @@ -261,7 +261,7 @@ export default function ContactPeople(props: any) { {/* */} ( + render={(_text, record: any) => ( { // alert(record.projOwnerId); @@ -328,7 +328,7 @@ export default function ContactPeople(props: any) { {/* */} ( + render={(_text, record: any) => ( { // alert(record.projOwnerId); diff --git a/src/components/card/CardProj.tsx b/src/components/card/CardProj.tsx index f40a72c..69a988c 100644 --- a/src/components/card/CardProj.tsx +++ b/src/components/card/CardProj.tsx @@ -3,21 +3,19 @@ import './card-proj.css'; import { CheckOutlined, ClockCircleOutlined, - CloseCircleOutlined, DeleteOutlined, - DownloadOutlined, DownOutlined, + CloseCircleOutlined, + DownloadOutlined, EditOutlined, EyeOutlined, LoadingOutlined, SearchOutlined, WarningOutlined, - FolderOutlined } from '@ant-design/icons'; -import { Button, Dropdown, Tag, Modal, Carousel } from 'antd'; +import { Button, Tag, Modal, Carousel } from 'antd'; import { GenerateStatus, ProjChargeType } from "../../interfaces/proj/IProj.ts"; import { useNavigate } from "react-router-dom"; -import { Axios, post, downloadUrl, get } from "../../util/AjaxUtils.ts"; -import { useContext, useEffect, useState } from "react"; -import { IndexListContext } from "../../context/IndexListContext.ts"; +import { Axios, post, downloadUrl } from "../../util/AjaxUtils.ts"; +import {useEffect, useState } from "react"; import useMessage from "antd/es/message/useMessage"; import setImg from '../../static/right/set.png' import orderImg from '../../static/right/order.png' diff --git a/src/route/proj/edit/ProjEditStep2.tsx b/src/route/proj/edit/ProjEditStep2.tsx index 2ebff86..87f621a 100644 --- a/src/route/proj/edit/ProjEditStep2.tsx +++ b/src/route/proj/edit/ProjEditStep2.tsx @@ -755,7 +755,7 @@ export default function ProjEditStep2(props: any) { {/* */} ( + render={(_text, record: any) => ( { @@ -903,7 +903,7 @@ export default function ProjEditStep2(props: any) { {/* */} ( + render={(_text, record: any) => ( { // alert(record.projOwnerId); diff --git a/src/route/proj/edit/ProjEditStep2Show.tsx b/src/route/proj/edit/ProjEditStep2Show.tsx index 8b952d1..819cde1 100644 --- a/src/route/proj/edit/ProjEditStep2Show.tsx +++ b/src/route/proj/edit/ProjEditStep2Show.tsx @@ -118,7 +118,7 @@ export default function ProjEditStep2() { // 所属者表格选择触发 const belongRowSelection = { // selectedRowKeys: React.Key[] - onChange: (selectedRowKeys: React.Key[], selectedRows: BelongDataType[]) => { + onChange: (_selectedRowKeys: React.Key[], selectedRows: BelongDataType[]) => { // console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows); setauthorName(selectedRows[0].name) setauthorIdCardType(selectedRows[0].idCardType) @@ -138,7 +138,7 @@ export default function ProjEditStep2() { // 联系人表格选择触发 const ContantRowSelection = { // selectedRowKeys: React.Key[] - onChange: (selectedRowKeys: React.Key[], selectedRows: ContactDataType[]) => { + onChange: (_selectedRowKeys: React.Key[], selectedRows: ContactDataType[]) => { // console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows); setApplyConcatId(selectedRows[0].projContactId) setapplyContactCsaNo(selectedRows[0].csaNo)