forked from nsjcy/frontEnd/nsjcy

Mr Ke
2020-05-27 942cb64adf9f3f8113549ffc9f64e6861d556064
加入iframeKey值
1 files modified
9 ■■■■■ changed files
SunshineIns/src/page/CriminalExecution.jsx 9 ●●●●● patch | view | raw | blame | history
SunshineIns/src/page/CriminalExecution.jsx
@@ -113,9 +113,11 @@
    showModal = (id) => {
        this.setState({
            visible: true,
            zIndex: 1000
            zIndex: 1000,
            iframeKey: id,
            display: 'none'
        });
        this.sendMsg()
        this.sendMsg();
        // Fetch.socialCompanyDetail(id)
        //   .then(res => {
        //     this.setState({ savedate: res })
@@ -187,7 +189,7 @@
    }
    render() {
        const { data, resetKey, visible, loading, savedate, closeKey, formData, zIndex, display, fingerCode } = this.state;
        const { data, resetKey, visible, loading, savedate, closeKey, formData, zIndex, display, fingerCode, iframeKey } = this.state;
        return (
            <div className="app-page">
                <HeadView history={this.props.history} />
@@ -235,6 +237,7 @@
                    </Row>} />
                    <Divider style={{ margin: '2px 0' }} />
                    <iframe
                        key={iframeKey}
                        style={{ width: '100%', height: '550px', display: display }}
                        onLoad={() => { }}
                        ref="iframe"