forked from nsjcy/frontEnd/nsjcy

liuwh
2020-05-27 57cd6df84e4fb388b159d201f585520c40ba0b26
Merge branch 'master' of http://120.79.193.119:9090/r/nsjcy/frontEnd/nsjcy
1 files modified
31 ■■■■■ changed files
SunshineIns/src/page/CriminalExecution.jsx 31 ●●●●● 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 })
@@ -203,7 +205,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} />
@@ -250,16 +252,19 @@
                            录入指纹
                        </Col>
                    </Row>} />
                    <Divider style={{ margin: '2px 0' }} />
                    <iframe
                        style={{ width: '100%', height: '550px', display: display }}
                        onLoad={() => { }}
                        ref="iframe"
                        src='./fingerprint/指纹登记.html'
                        width="100%"
                        scrolling="no"
                        frameBorder="0"
                    />
                    <div style={{ display: display }}>
                        <Divider style={{ margin: '2px 0' }} />
                        <iframe
                            key={iframeKey}
                            style={{ width: '100%', height: '550px' }}
                            onLoad={() => { }}
                            ref="iframe"
                            src='./fingerprint/指纹登记.html'
                            width="100%"
                            scrolling="no"
                            frameBorder="0"
                        />
                    </div>
                </Modal>
                {/* </div> */}