Kaynağa Gözat

hu角色

master
zhaoy 11 ay önce
ebeveyn
işleme
dd58b9d664
1 değiştirilmiş dosya ile 6 ekleme ve 18 silme
  1. +6
    -18
      src/pages/org/roles/components/CreateForm.jsx

+ 6
- 18
src/pages/org/roles/components/CreateForm.jsx Dosyayı Görüntüle

@@ -26,30 +26,18 @@ const CreateForm = (props) => {
<Form.Item name="id" hidden={true}>
<Input />
</Form.Item>
<Row>
<Col span={12}>
<Form.Item name="code" label="角色编码" rules={[{ required: true, max: 20 }]}>
<Input disabled={props.values.id ? true : false} placeholder="请输入角色编码" />
</Form.Item>
</Col>
<Col span={12}>
<Form.Item name="name" label="角色名称" rules={[{ required: true, max: 64 }]}>
<Input placeholder="请输入角色名称" />
</Form.Item>
</Col>
</Row>
<Row>
<Col span={12}>
<Form.Item name="sort" label="排序">
<InputNumber style={{width:'100%'}} min={1} decimalSeparator="0"/>
</Form.Item>
<Form.Item name="remark" label="备注" rules={[{ max: 500 }]}>
<Input.TextArea placeholder="请输入备注" />
</Form.Item>
</Col>
<Col span={12}>
<Form.Item name="sort" label="排序">
<InputNumber min={1} decimalSeparator="0"/>
</Form.Item>
</Col>
</Row>
<Form.Item>
<Button htmlType="button" style={{float:'right',left:10}} onClick={props.onCancel} >
取消


Yükleniyor…
İptal
Kaydet