人员信息 是否接收短信
This commit is contained in:
parent
c0c4d471d4
commit
b413404fe1
@ -1,6 +1,6 @@
|
||||
import React from 'react'
|
||||
import { connect } from 'dva'
|
||||
import { Button, Row, Col, Form, Input, Select, Transfer, message, Upload, Icon, Modal, DatePicker, Checkbox } from 'antd'
|
||||
import { Button, Row, Switch, Col, Form, Input, Select, Transfer, message, Upload, Icon, Modal, DatePicker, Checkbox } from 'antd'
|
||||
import {
|
||||
extend,
|
||||
extendRule,
|
||||
@ -833,6 +833,16 @@ class UserEditPage extends React.Component {
|
||||
})(<Input placeholder={'请输入顺序'} />)}
|
||||
</Form.Item>
|
||||
</Col>
|
||||
<Col span={8}>
|
||||
<Form.Item label={'是否接收短信'} {...formItemLayout} >
|
||||
{getFieldDecorator('ISGETMSG', {
|
||||
initialValue: this.state.data.ISGETMSG, rules: [],
|
||||
})(
|
||||
<Switch checkedChildren='是' unCheckedChildren='否' checked={this.state.data.ISGETMSG}
|
||||
onChange={(e) => { this.state.data.ISGETMSG = e }} />
|
||||
)}
|
||||
</Form.Item>
|
||||
</Col>
|
||||
<Col span={12}>
|
||||
<Form.Item
|
||||
label={'备注'}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user