|
|
@@ -16,18 +16,10 @@ |
|
|
|
<el-radio :label="2" border>政策法规</el-radio> |
|
|
|
</el-radio-group> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="状态" prop="type" :rules="{ |
|
|
|
required: true, message: '状态不能为空', trigger: 'blur' |
|
|
|
}"> |
|
|
|
<el-radio-group v-model="data.status" size="medium"> |
|
|
|
<el-radio :label="1" border>发布</el-radio> |
|
|
|
<el-radio :label="2" border>待发布</el-radio> |
|
|
|
</el-radio-group> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="主题" prop="title" :rules="{ |
|
|
|
required: true, message: '主题不能为空', trigger: 'blur' |
|
|
|
}"> |
|
|
|
<el-input clearable v-model="data.title"></el-input> |
|
|
|
<el-input maxlength="40" clearable v-model="data.title"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="正文" prop="content"> |
|
|
|
<vue-editor useCustomImageHandler @image-added="handleImageAdded" v-model="data.content"></vue-editor> |