| | |
| | | import React, {Component} from 'react' |
| | | import PropTypes from 'prop-types' |
| | | import { Form, Row, Col, Tooltip, Icon, Select, Radio, InputNumber } from 'antd' |
| | | import { Form, Row, Col, Tooltip, Select, Radio, InputNumber } from 'antd' |
| | | import { QuestionCircleOutlined } from '@ant-design/icons' |
| | | |
| | | // import './index.scss' |
| | | |
| | |
| | | {enable === 'true' ? <Col span={12}> |
| | | <Form.Item label={ |
| | | <Tooltip placement="topLeft" title="用于自动执行的按钮。"> |
| | | <Icon type="question-circle" style={{color: '#c49f47', marginRight: '3px'}} /> |
| | | <QuestionCircleOutlined className="mk-form-tip" /> |
| | | 按钮 |
| | | </Tooltip> |
| | | }> |
| | |
| | | {enable === 'true' ? <Col span={12}> |
| | | <Form.Item label={ |
| | | <Tooltip placement="topLeft" title="按钮执行成功,后续的处理方式。"> |
| | | <Icon type="question-circle" style={{color: '#c49f47', marginRight: '3px'}} /> |
| | | <QuestionCircleOutlined className="mk-form-tip" /> |
| | | 成功后 |
| | | </Tooltip> |
| | | }> |
| | |
| | | {enable === 'true' ? <Col span={12}> |
| | | <Form.Item label={ |
| | | <Tooltip placement="topLeft" title="按钮执行失败时,后续的处理方式。"> |
| | | <Icon type="question-circle" style={{color: '#c49f47', marginRight: '3px'}} /> |
| | | <QuestionCircleOutlined className="mk-form-tip" /> |
| | | 失败后 |
| | | </Tooltip> |
| | | }> |
| | |
| | | {enable === 'true' ? <Col span={12}> |
| | | <Form.Item label={ |
| | | <Tooltip placement="topLeft" title="相邻两条数据,执行时的间隔时间,最小为1s。"> |
| | | <Icon type="question-circle" style={{color: '#c49f47', marginRight: '3px'}} /> |
| | | <QuestionCircleOutlined className="mk-form-tip" /> |
| | | 数据间隔(s) |
| | | </Tooltip> |
| | | }> |