AddModal.jsx 728 Bytes
Newer Older
钟是志's avatar
钟是志 committed
1 2 3 4 5
/**
 * 徐立
 * 2019年9月19日
 * 事务发起提交多次弹框
 */
钟是志's avatar
钟是志 committed
6
import React, {Component} from 'react';
钟是志's avatar
钟是志 committed
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
import { getModal } from '@/webPublic/one_stop_public/utils/utils';

const Modal = getModal();

export default class AddModal extends Component {
  constructor(props) {
    super(props);
  }


  render() {
    let {visible, handleCancel, handleOk, loading} = this.props;
    return (
      <Modal
        title="提交申请"
        visible={visible}
        onOk={handleOk}
        confirmLoading={loading}
        onCancel={handleCancel}
        width={400}
      >
        <p style={{width: '100%', textAlign: 'center', fontSize: 14, color: '#666666'}}>确定要提交申请吗?</p>
      </Modal>
    )
  }
}