|
|
|
@ -13,14 +13,17 @@
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-form-item label="显示名称" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="请选择显示名称"
|
|
|
|
|
placeholder="请输入显示名称"
|
|
|
|
|
v-decorator="['displayName', { rules: [{ required: true, message: '请输入显示名称!' }] }]"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :md="8">
|
|
|
|
|
<a-form-item label="模板类型" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-select v-decorator="['type', { rules: [{ required: true, message: '请选择模板类型!' }] }]">
|
|
|
|
|
<a-select
|
|
|
|
|
placeholder="请选择模板类型"
|
|
|
|
|
v-decorator="['type', { rules: [{ required: true, message: '请选择模板类型!' }] }]"
|
|
|
|
|
>
|
|
|
|
|
<a-select-option value="FastReport">
|
|
|
|
|
FastReport
|
|
|
|
|
</a-select-option>
|
|
|
|
@ -33,8 +36,8 @@
|
|
|
|
|
<a-col :span="8">
|
|
|
|
|
<a-form-item label="分类" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-select
|
|
|
|
|
placeholder="请选择类型名称"
|
|
|
|
|
v-decorator="['cateCode', { rules: [{ required: true, message: '请输入类型名称!' }] }]"
|
|
|
|
|
placeholder="请选择分类"
|
|
|
|
|
v-decorator="['cateCode', { rules: [{ required: true, message: '请选择分类!' }] }]"
|
|
|
|
|
>
|
|
|
|
|
<a-select-option v-for="item in CateData" :key="item.code" :value="item.code">
|
|
|
|
|
{{ item.name }}
|
|
|
|
|