| | |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="是否为叶子节点" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="leafFlag"> |
| | | <a-radio-group v-model="model.leafFlag" placeholder="请选择是否叶子节点" @change="leafFlagChange"> |
| | | <a-radio :value="'1'">是</a-radio> |
| | | <a-radio :value="'2'">否</a-radio> |
| | | <a-form-model-item label="是否有下级分类" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="leafFlag"> |
| | | <a-radio-group v-model="model.leafFlag" placeholder="请选择是否有下级分类" @change="leafFlagChange"> |
| | | <a-radio :value="'1'">否</a-radio> |
| | | <a-radio :value="'2'">是</a-radio> |
| | | </a-radio-group> |
| | | </a-form-model-item> |
| | | </a-col> |
| | |
| | | { required: true, message: '请输入工具分类名称!'}, |
| | | ], |
| | | leafFlag: [ |
| | | { required: true, message: '请选择是否为叶子节点!'}, |
| | | { required: true, message: '请选择是否有下级分类!'}, |
| | | ], |
| | | seq: [ |
| | | { min: 0, message: '展示序号不能小于0!'}, |