|
|
@ -23,7 +23,7 @@ const InForTable = (props) => { |
|
|
|
const [overrunRateUpper, setOverrunRateUpper] = useState()//超限率上限
|
|
|
|
const [overrunRateFloor, setOverrunRateFloor] = useState()//超限率下限
|
|
|
|
const [testTime, setTestTime] = useState()//超限率下限
|
|
|
|
const [datajuji , setdatajuji] = useState() //数据聚集弹窗
|
|
|
|
const [datajuji, setdatajuji] = useState() //数据聚集弹窗
|
|
|
|
const ref = useRef() |
|
|
|
useEffect(() => { ref.current.reload() }, [monitor, delet]) |
|
|
|
//打开弹窗
|
|
|
@ -383,12 +383,12 @@ const InForTable = (props) => { |
|
|
|
新增 |
|
|
|
</Button> |
|
|
|
|
|
|
|
<Button |
|
|
|
{/* <Button |
|
|
|
type='primary' |
|
|
|
onClick={() => { setdatajuji(true)}} style={{ marginLeft: 15 }} |
|
|
|
> |
|
|
|
数据汇集 |
|
|
|
</Button> |
|
|
|
</Button> */} |
|
|
|
{/* <Button |
|
|
|
type="primary" |
|
|
|
style={{ width: "100px", marginLeft: 20 }} |
|
|
@ -485,16 +485,16 @@ const InForTable = (props) => { |
|
|
|
// sitename={sitename}
|
|
|
|
setRecortd={setRecortd} |
|
|
|
/> : ''} |
|
|
|
{datajuji ? <Datajuji |
|
|
|
visible={datajuji} |
|
|
|
onCancel={() => { setdatajuji(false) }} |
|
|
|
// handleSaveScore={handleSaveScore}
|
|
|
|
// searchCompany={searchCompany}
|
|
|
|
// companys={companys}
|
|
|
|
// editData={modalRecord}
|
|
|
|
// readOnly={readOnly}
|
|
|
|
// applyState={applyState}
|
|
|
|
></Datajuji> : ''} |
|
|
|
{datajuji ? <Datajuji |
|
|
|
visible={datajuji} |
|
|
|
onCancel={() => { setdatajuji(false) }} |
|
|
|
// handleSaveScore={handleSaveScore}
|
|
|
|
// searchCompany={searchCompany}
|
|
|
|
// companys={companys}
|
|
|
|
// editData={modalRecord}
|
|
|
|
// readOnly={readOnly}
|
|
|
|
// applyState={applyState}
|
|
|
|
></Datajuji> : ''} |
|
|
|
</Spin > |
|
|
|
) |
|
|
|
} |
|
|
@ -518,7 +518,7 @@ const data = { |
|
|
|
"fine": "罚款", |
|
|
|
"remarks": "备注" |
|
|
|
} |
|
|
|
function mapStateToProps(state) { |
|
|
|
function mapStateToProps (state) { |
|
|
|
const { auth, depMessage } = state; |
|
|
|
const pakData = (dep) => { |
|
|
|
return dep.map((d) => { |
|
|
|