| | |
| | | import React, {Component} from 'react' |
| | | import PropTypes from 'prop-types' |
| | | import { Form, Row, Col, Input, Select, Icon, Tooltip, Radio, InputNumber } from 'antd' |
| | | import { Form, Row, Col, Input, Select, Icon, Tooltip, Radio, InputNumber, notification } from 'antd' |
| | | import { formRule } from '@/utils/option.js' |
| | | import Utils from '@/utils/utils.js' |
| | | import './index.scss' |
| | |
| | | } |
| | | if (values.level === undefined) { |
| | | values.level = '' |
| | | } else if (values.supMenu && values.level === 0) { |
| | | notification.warning({ |
| | | top: 92, |
| | | message: '存在上级标签,且设置显示级别为0时,会造成子表中按钮不可用!', |
| | | duration: 5 |
| | | }) |
| | | } |
| | | |
| | | resolve(values) |