增加类型

This commit is contained in:
aoli.qu 2021-09-13 11:38:43 +08:00
parent 1b177f15f9
commit 10c77ddb1d
1 changed files with 12 additions and 0 deletions

View File

@ -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