diff --git a/src/assets/imgs/home_tool_ic_sscj.png b/src/assets/imgs/home_tool_ic_sscj.png new file mode 100644 index 0000000000000000000000000000000000000000..437816487b3b7dc35b4bfaf62462c306f80c5515 Binary files /dev/null and b/src/assets/imgs/home_tool_ic_sscj.png differ diff --git a/src/components/general/upload_file.vue b/src/components/general/upload_file.vue index 4cc80c2ac2bb56589cf8a0eba42ca767f917e7d4..a30354a7773a08e449c80afbc6f99dc2c469568d 100644 --- a/src/components/general/upload_file.vue +++ b/src/components/general/upload_file.vue @@ -114,6 +114,19 @@ export default { }, watch: { list(value) { + this.getFileArray(value); + }, + }, + created() { + if (!this.unique) { + this.anotherData.uniqueCode = this.unique; + } + }, + mounted() { + this.getFileArray(this.list); + }, + methods: { + getFileArray(value) { var getListImg = []; if (value && value.length != 0) { for (var i = 0; i < value.length; i++) { @@ -126,13 +139,6 @@ export default { this.fileArray = [...getListImg]; this.hideUpload = this.fileArray.length >= this.max; }, - }, - created() { - if (!this.unique) { - this.anotherData.uniqueCode = this.unique; - } - }, - methods: { beforeAvatarUpload(file) { if (this.type == "mp3") { const isMP3 = file.type === "audio/mp3"; diff --git a/src/components/wangE.vue b/src/components/wangE.vue index a20bcd75ddd96057b8982962779b17e06c0f7100..c63198e9220930b2e67bb688bb2556e79d165b3c 100644 --- a/src/components/wangE.vue +++ b/src/components/wangE.vue @@ -105,6 +105,10 @@ export default { this.info_ = html; // 绑定当前逐渐地值 this.$emit("change", this.info_); // 将内容同步到父组件中 }; + this.editor.config.onchange = html => { + this.info_ = html; // 绑定当前逐渐地值 + this.$emit("change", this.info_); // 将内容同步到父组件中 + }; // 创建富文本编辑器 this.editor.create(); } diff --git a/src/components/wangEBd.vue b/src/components/wangEBd.vue index d8a0d9d89746dd4015b8ff1699ca5e650b15e25f..437efce2944959b3f2436ece123937daefca211d 100644 --- a/src/components/wangEBd.vue +++ b/src/components/wangEBd.vue @@ -81,7 +81,7 @@ export default { this.editor.config.uploadImgMaxLength = 6; // 限制一次最多上传 3 张图片 this.editor.config.uploadImgTimeout = 3 * 60 * 1000; // 设置超时时间 this.editor.config.uploadImgParams = { directory: "image" }; - + console.log(this.editor); this.editor.config.uploadImgHooks = { fail: (xhr, editor, result) => { // 插入图片失败回调 @@ -117,6 +117,10 @@ export default { this.info_ = html; // 绑定当前逐渐地值 this.$emit("change", this.info_); // 将内容同步到父组件中 }; + this.editor.config.onchange = html => { + this.info_ = html; // 绑定当前逐渐地值 + this.$emit("change", this.info_); // 将内容同步到父组件中 + }; // 创建富文本编辑器 this.editor.create(); } diff --git a/src/pages/technical-support/answer-center/detail.vue b/src/pages/technical-support/answer-center/detail.vue index 7dfe065ee5ed0d2cd56fb729d5f4afccfbd1f102..c314a247d9c80ad90cff6a1b147fe99f8b3d0140 100644 --- a/src/pages/technical-support/answer-center/detail.vue +++ b/src/pages/technical-support/answer-center/detail.vue @@ -400,7 +400,7 @@ export default { padding: 16px; } .ans_self{ - width: 100%; + width: 856px; padding: 24px; height: 354px; background-color: #ffffff; diff --git a/src/pages/technical-support/answer-center/edit.vue b/src/pages/technical-support/answer-center/edit.vue index 0d0e1857e4ef3ddc7d9a86fd6cda7f2e4d7849ec..71d93fa3dd02609282043390da12bb4a041a8681 100644 --- a/src/pages/technical-support/answer-center/edit.vue +++ b/src/pages/technical-support/answer-center/edit.vue @@ -104,7 +104,7 @@ export default { padding: 12px 0 11px; } .detail_content { - width: 100%; + width: 1200px; } .detail_title{ diff --git a/src/pages/workbench/fwzc_fwcs.vue b/src/pages/workbench/fwzc_fwcs.vue index 7dc225a3964f67c607f705a51eec43fc8c59d61c..f37d98bee662e7e7ac1be1081d64a7f36dcf52df 100644 --- a/src/pages/workbench/fwzc_fwcs.vue +++ b/src/pages/workbench/fwzc_fwcs.vue @@ -1,12 +1,12 @@