import React, { PureComponent } from 'react';
import { Tabs } from 'antd';
import style from "styled-components";

const store = require("store");

const { TabPane } = Tabs;
export default class RemedialStaff extends PureComponent {
  constructor(props, context) {
    super(props, context);
    this.state = {
      //
    };
  }
  componentDidMount = () => {
  }
  render() {
    return (
      <Container>
        <Tabs>
          <TabPane tab="资格证补考人员" key="1" />
        </Tabs>
        {store.get("RemedialStaffURL") !== undefined ? (
          <div style={{ height: "inherit" }}>
            <iframe
              title="补考人员"
              src={store.get("RemedialStaffURL")["RemedialStaffURL"]}
              width="100%"
              height="100%"
              frameBorder="0"
              allowFullScreen={true}
              allowtransparency="true">
              您的浏览器不支持iframe，请升级
          </iframe>
          </div>
        ) : ''
        }
        {/*{store.get("RemedialStaffURL") !== undefined ? (
            <iframe title="补考人员" src={store.get("RemedialStaffURL")["RemedialStaffURL"]} width="100%" height="100%" frameBorder="0">
              您的浏览器不支持iframe，请升级
          </iframe>
          ) : ''
          }*/}
      </Container>
    );
  }
}

const Container = style.div`
  padding:10px 24px 24px;
  width:100%;
  height:100%;
`;
