增加类型
This commit is contained in:
parent
1b177f15f9
commit
10c77ddb1d
|
@ -56,6 +56,17 @@
|
|||
</a-tree-select>
|
||||
</a-form-item>
|
||||
|
||||
<a-form-item
|
||||
:labelCol="labelCol"
|
||||
:wrapperCol="wrapperCol"
|
||||
label="类型"
|
||||
>
|
||||
<a-radio-group v-decorator="['type',{rules: [{ required: true, message: '请选择类型!' }]}]" >
|
||||
<a-radio :value="1" checked>单位</a-radio>
|
||||
<a-radio :value="2">部门</a-radio>
|
||||
</a-radio-group>
|
||||
</a-form-item>
|
||||
|
||||
<a-form-item
|
||||
:labelCol="labelCol"
|
||||
:wrapperCol="wrapperCol"
|
||||
|
@ -127,6 +138,7 @@
|
|||
id: record.id,
|
||||
name: record.name,
|
||||
code: record.code,
|
||||
type: record.type,
|
||||
sort: record.sort,
|
||||
pid: record.pid,
|
||||
remark: record.remark
|
||||
|
|
Loading…
Reference in New Issue