fix(): 年度位移统计表修复导出

qzc-dev-demo
李神峰 2025-04-10 17:59:34 +08:00
parent 646aa39239
commit 5f0d0cfcc5
2 changed files with 3 additions and 3 deletions

View File

@ -125,7 +125,7 @@ const Page = () => {
const exportExcel = () => { const exportExcel = () => {
let params = { let params = {
...searchVal, ...searchVal,
stationCodes: trData.map(s => s.stationCode), stationCodes: [trData.find(s => s.stationCode == wyObj.wy)?.stationCode],
type:2, type:2,
id:1 id:1
} }

View File

@ -244,7 +244,7 @@ const ModalForm = ({ mode, record, onEdit, onSave, onSimilarSave }) => {
} }
<Row gutter={[16]}> <Row gutter={[16]}>
{ {
imgloading ? <span>文件正在上传中请等待</span> : // imgloading ? <span>文件正在上传中,请等待</span> :
imgfileList.length > 0 && imgfileList.map(file => { imgfileList.length > 0 && imgfileList.map(file => {
return ( return (
<Col span={12}> <Col span={12}>
@ -295,7 +295,7 @@ const ModalForm = ({ mode, record, onEdit, onSave, onSimilarSave }) => {
} }
<Row gutter={[16]}> <Row gutter={[16]}>
{ {
videoLoading ? <span>文件正在上传中请等待</span> : // videoLoading ? <span>文件正在上传中,请等待</span> :
videoFileList.length > 0 && videoFileList.map(file => { videoFileList.length > 0 && videoFileList.map(file => {
return ( return (
<Col span={12}> <Col span={12}>