Commit 6ec2a648 authored by Smile's avatar Smile Committed by wux

bug184: (生产)【(APP/h5)】首页弹窗,无法文显示

parent 37145d50
......@@ -98,6 +98,9 @@
<el-form-item label="标题(英文)" prop="titleEn">
<el-input v-model="form.titleEn" :placeholder="$t('请输入英文标题')" />
</el-form-item>
<el-form-item label="标题(法文)" prop="titleFr">
<el-input v-model="form.titleFr" :placeholder="$t('请输入英文标题')" />
</el-form-item>
<el-form-item :label="$t('有效期')" prop="validateStart">
<el-date-picker type="datetime" :placeholder="$t('请选择日期')" value-format="yyyy-MM-dd HH:mm:ss" v-model="form.validateStart" @change="startChange">
</el-date-picker>
......@@ -113,12 +116,18 @@
<el-form-item :label="$t('网页英文')" prop="htmlWebEn">
<editor v-model="form.htmlWebEn" :min-height="150"/>
</el-form-item>
<el-form-item :label="$t('网页法文')" prop="htmlWebFr">
<editor v-model="form.htmlWebFr" :min-height="150"/>
</el-form-item>
<el-form-item label="APP中文" prop="htmlAppZh">
<editor v-model="form.htmlAppZh" :min-height="150"/>
</el-form-item>
<el-form-item label="APP英文" prop="htmlAppEn">
<editor v-model="form.htmlAppEn" :min-height="150"/>
</el-form-item>
<el-form-item label="APP法文" prop="htmlAppFr">
<editor v-model="form.htmlAppFr" :min-height="150"/>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm">{{ $t('确 定') }}</el-button>
......@@ -164,11 +173,15 @@ export default {
rows: 10,
titleZh: null,
titleEn: null,
titleFr: null,
validateStart: null,
validateEnd: null,
htmlWebZh: null,
htmlWebEn: null,
htmlWebFr: null,
htmlAppZh: null,
htmlAppEn: null,
htmlAppFr: null,
status: null,
},
// 表单参数
......@@ -177,6 +190,7 @@ export default {
rules: {
titleZh: [{ required: true, message: this.$t("中文标题不能为空"), trigger: "blur" }],
titleEn: [{ required: true, message: this.$t("英文标题不能为空"), trigger: "blur" }],
titleFr: [{ required: true, message: this.$t("法文标题不能为空"), trigger: "blur" }],
validateStart: [{ required: true, message: this.$t("有效期开始时间不能为空"), trigger: "blur" }]
},
CommonStatusEnum: CommonStatusEnum,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment