|
@@ -268,11 +268,12 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-form-item label="公告内容" prop="content">
|
|
|
- <div
|
|
|
- v-if="this.operateType == 'view'"
|
|
|
- v-html="noticeForm.content"
|
|
|
- class="ckeditor-readOnly"
|
|
|
- ></div>
|
|
|
+ <div v-if="this.operateType == 'view'">
|
|
|
+ <div
|
|
|
+ v-html="noticeForm.content"
|
|
|
+ class="ckeditor-readOnly"
|
|
|
+ ></div>
|
|
|
+ </div>
|
|
|
<div v-else>
|
|
|
<ckeditor
|
|
|
:readOnly="this.operateType == 'view'"
|
|
@@ -905,8 +906,9 @@ export default {
|
|
|
this.editNoticeDialogVisible = false;
|
|
|
},
|
|
|
() => {
|
|
|
- this.searchForm();
|
|
|
- this.editNoticeDialogVisible = false;
|
|
|
+ this.editNoticeDialogVisible = true;
|
|
|
+ // this.searchForm();
|
|
|
+ // this.editNoticeDialogVisible = false;
|
|
|
}
|
|
|
);
|
|
|
}
|
|
@@ -921,8 +923,9 @@ export default {
|
|
|
this.searchForm();
|
|
|
},
|
|
|
() => {
|
|
|
- this.editNoticeDialogVisible = false;
|
|
|
- return this.searchForm();
|
|
|
+ this.editNoticeDialogVisible = true;
|
|
|
+ // this.editNoticeDialogVisible = false;
|
|
|
+ // return this.searchForm();
|
|
|
}
|
|
|
);
|
|
|
}
|
|
@@ -1047,5 +1050,13 @@ export default {
|
|
|
border-color: rgb(211, 213, 218);
|
|
|
padding: 5px;
|
|
|
margin-bottom: 10px;
|
|
|
+ word-wrap: break-word;
|
|
|
+ word-break: break-all;
|
|
|
+}
|
|
|
+.div-ckeditor-readOnly {
|
|
|
+ width: 655px;
|
|
|
+ height: 275px;
|
|
|
+ overflow-x: auto;
|
|
|
+ overflow-y: auto;
|
|
|
}
|
|
|
</style>
|