|
|
|
@ -15,15 +15,15 @@ |
|
|
|
clearable |
|
|
|
collapse-tags></el-cascader> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="通知标题" |
|
|
|
<el-form-item label="标题" |
|
|
|
prop="noticeTitle"> |
|
|
|
<el-input v-model="dataForm.noticeTitle" |
|
|
|
maxlength="50" |
|
|
|
show-word-limit |
|
|
|
placeholder="通知标题"></el-input> |
|
|
|
placeholder="标题"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item prop="noticeContent" |
|
|
|
label="通知内容"> |
|
|
|
label="内容"> |
|
|
|
<el-row style="height: 550px;"> |
|
|
|
<!-- 富文本编辑器, 容器 --> |
|
|
|
<div id="J_quillEditor" |
|
|
|
@ -220,10 +220,10 @@ export default { |
|
|
|
if ((this.dataForm.noticeContent).length > 10000) { |
|
|
|
return this.$message.error('您输入的的内容已超过字数不能提交') |
|
|
|
} else if (this.dataForm.noticeContent.length === 0) { |
|
|
|
return this.$message.error('通知内容不能空') |
|
|
|
return this.$message.error('内容不能空') |
|
|
|
} |
|
|
|
} else { |
|
|
|
return this.$message.error('通知内容不能为空') |
|
|
|
return this.$message.error('内容不能为空') |
|
|
|
} |
|
|
|
this.$refs['dataForm'].validate((valid) => { |
|
|
|
if (!valid) { |
|
|
|
|