forked from ddrilling/asb_cloud_front
fix report warnings
This commit is contained in:
parent
03c8f8d3fc
commit
5c7029dd97
@ -67,7 +67,7 @@ export default function Report(props) {
|
||||
title: 'Название отчета',
|
||||
dataIndex: 'reportName',
|
||||
key: 'reportName',
|
||||
render: name => <a onClick={event => getReportFile(event, name)} download={name}>{name}</a>
|
||||
render: name => <a href='#' onClick={event => getReportFile(event, name)} download={name}>{name}</a>
|
||||
},
|
||||
];
|
||||
|
||||
@ -80,7 +80,7 @@ export default function Report(props) {
|
||||
<br />
|
||||
<span> { progressData.operation } </span>
|
||||
<br />
|
||||
<a onClick={event => {getReportFile(event, progressData.reportName)}}
|
||||
<a href='#' onClick={event => {getReportFile(event, progressData.reportName)}}
|
||||
download={progressData.reportName}>
|
||||
{ progressData.reportName }
|
||||
</a>
|
||||
@ -172,7 +172,7 @@ export default function Report(props) {
|
||||
}
|
||||
|
||||
getRepostSizeAsync()
|
||||
},[rangeDate, step, format])
|
||||
},[rangeDate, step, format, wellId])
|
||||
|
||||
useEffect(()=>{
|
||||
async function getSuitableReportsAsync() {
|
||||
@ -204,7 +204,7 @@ export default function Report(props) {
|
||||
}
|
||||
|
||||
getSuitableReportsAsync()
|
||||
},[rangeDate, step, format])
|
||||
},[rangeDate, step, format, wellId])
|
||||
|
||||
useEffect(()=>{
|
||||
async function getDatesRange() {
|
||||
@ -214,7 +214,7 @@ export default function Report(props) {
|
||||
}
|
||||
|
||||
getDatesRange()
|
||||
},[])
|
||||
},[wellId])
|
||||
|
||||
return (<>
|
||||
<div className="w-100 mt-20px">
|
||||
|
Loading…
Reference in New Issue
Block a user