Commit 0186e72c authored by 邓超's avatar 邓超

fix: 添加规则

parent 12991d93
Pipeline #64627 passed with stages
...@@ -4,7 +4,10 @@ import { Modal, Input, Form, message, Dropdown, Menu } from 'antd'; ...@@ -4,7 +4,10 @@ import { Modal, Input, Form, message, Dropdown, Menu } from 'antd';
import styles from './index.less'; import styles from './index.less';
import Tree from '@/components/ExpendableTree'; import Tree from '@/components/ExpendableTree';
const { TextArea } = Input; const { TextArea } = Input;
const fnList = [{ label: '是否为工作日', value: '$fn.isWorkTime()' }]; const fnList = [
{ label: '是否为工作日', value: '$fn.isWorkDay()' },
{ label: '是否为工作时间', value: '$fn.isWorkTime()' },
];
const RuleConfig = props => { const RuleConfig = props => {
const { visible, handleCancel, fieldList, onSubumit, RuleContent, flag } = props; const { visible, handleCancel, fieldList, onSubumit, RuleContent, flag } = props;
const [rule, setRule] = useState([]); const [rule, setRule] = useState([]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment