|
@@ -18,11 +18,11 @@
|
|
<a-input v-model="model.titleEnglish" placeholder="请输入新闻标题英语" ></a-input>
|
|
<a-input v-model="model.titleEnglish" placeholder="请输入新闻标题英语" ></a-input>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
- <a-col :span="24">
|
|
|
|
|
|
+<!-- <a-col :span="24">
|
|
<a-form-model-item label="新闻标题德语" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="titleGerman">
|
|
<a-form-model-item label="新闻标题德语" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="titleGerman">
|
|
<a-input v-model="model.titleGerman" placeholder="请输入新闻标题德语" ></a-input>
|
|
<a-input v-model="model.titleGerman" placeholder="请输入新闻标题德语" ></a-input>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
- </a-col>
|
|
|
|
|
|
+ </a-col>-->
|
|
<a-col :span="24">
|
|
<a-col :span="24">
|
|
<a-form-model-item label="新闻内容" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="content">
|
|
<a-form-model-item label="新闻内容" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="content">
|
|
<j-editor v-model="model.content" />
|
|
<j-editor v-model="model.content" />
|
|
@@ -33,11 +33,11 @@
|
|
<j-editor v-model="model.contentEnglish" />
|
|
<j-editor v-model="model.contentEnglish" />
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
- <a-col :span="24">
|
|
|
|
|
|
+<!-- <a-col :span="24">
|
|
<a-form-model-item label="新闻内容德语" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="contentGerman">
|
|
<a-form-model-item label="新闻内容德语" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="contentGerman">
|
|
<j-editor v-model="model.contentGerman" />
|
|
<j-editor v-model="model.contentGerman" />
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
- </a-col>
|
|
|
|
|
|
+ </a-col>-->
|
|
<a-col :span="24">
|
|
<a-col :span="24">
|
|
<a-form-model-item label="权重" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="weight">
|
|
<a-form-model-item label="权重" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="weight">
|
|
<a-input-number v-model="model.weight" placeholder="请输入权重" style="width: 100%" />
|
|
<a-input-number v-model="model.weight" placeholder="请输入权重" style="width: 100%" />
|
|
@@ -101,18 +101,18 @@
|
|
titleEnglish: [
|
|
titleEnglish: [
|
|
{ required: true, message: '请输入新闻标题英语!'},
|
|
{ required: true, message: '请输入新闻标题英语!'},
|
|
],
|
|
],
|
|
- titleGerman: [
|
|
|
|
|
|
+/* titleGerman: [
|
|
{ required: true, message: '请输入新闻标题德语!'},
|
|
{ required: true, message: '请输入新闻标题德语!'},
|
|
- ],
|
|
|
|
|
|
+ ], */
|
|
content: [
|
|
content: [
|
|
{ required: true, message: '请输入新闻内容!'},
|
|
{ required: true, message: '请输入新闻内容!'},
|
|
],
|
|
],
|
|
contentEnglish: [
|
|
contentEnglish: [
|
|
{ required: true, message: '请输入新闻内容英语!'},
|
|
{ required: true, message: '请输入新闻内容英语!'},
|
|
],
|
|
],
|
|
- contentGerman: [
|
|
|
|
|
|
+/* contentGerman: [
|
|
{ required: true, message: '请输入新闻内容德语!'},
|
|
{ required: true, message: '请输入新闻内容德语!'},
|
|
- ],
|
|
|
|
|
|
+ ], */
|
|
typeId: [
|
|
typeId: [
|
|
{ required: true, message: '请输入分类!'},
|
|
{ required: true, message: '请输入分类!'},
|
|
],
|
|
],
|
|
@@ -167,7 +167,7 @@
|
|
that.confirmLoading = false;
|
|
that.confirmLoading = false;
|
|
})
|
|
})
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
})
|
|
})
|
|
},
|
|
},
|
|
}
|
|
}
|