| | |
| | | import React, {Component} from 'react' |
| | | import PropTypes from 'prop-types' |
| | | import { Form, Row, Col, Input, Select, Icon, Radio, notification, Tooltip, InputNumber } from 'antd' |
| | | import { Form, Row, Col, Input, Select, Radio, notification, Tooltip, InputNumber } from 'antd' |
| | | import { QuestionCircleOutlined } from '@ant-design/icons' |
| | | |
| | | import { btnIcons, btnClasses, formRule } from '@/utils/option.js' |
| | | // import Utils from '@/utils/utils.js' |
| | | import MkIcon from '@/components/mk-icon' |
| | | import './index.scss' |
| | | |
| | | const { TextArea } = Input |
| | |
| | | text: this.props.dict['header.form.action.update'] |
| | | }, { |
| | | value: 'insertOrUpdate', |
| | | text: this.props.dict['header.form.action.insertOrUpdate'] |
| | | text: '添加或修改' |
| | | }], |
| | | returnoptions: [{ // 返回后-不刷新、刷新页面、刷新表格 |
| | | value: 'never', |
| | |
| | | > |
| | | {item.options.map((option, index) => |
| | | <Select.Option id={`${index}`} title={option.text} key={`${index}`} value={option.value}> |
| | | {item.key === 'icon' && option.value && <Icon type={option.value} />} {option.text} |
| | | {item.key === 'icon' && option.value && <MkIcon type={option.value} />} {option.text} |
| | | </Select.Option> |
| | | )} |
| | | </Select> |