From ff301a24bffb7ba801dc07717bf00aad14c3a7a8 Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Mon, 31 Jul 2023 15:58:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/page/ReferenceEditor.vue | 5 +-- src/components/page/articleListEditor.vue | 4 +- src/components/page/articleListEditor_E.vue | 43 ++++++++++++++++----- src/components/page/editorBorder.vue | 10 +++-- src/components/page/reviewerList.vue | 7 ++-- 5 files changed, 47 insertions(+), 22 deletions(-) diff --git a/src/components/page/ReferenceEditor.vue b/src/components/page/ReferenceEditor.vue index 233ad51..2594ec3 100644 --- a/src/components/page/ReferenceEditor.vue +++ b/src/components/page/ReferenceEditor.vue @@ -98,9 +98,8 @@
- - + @@ -228,20 +228,20 @@
-
+
Use last manuscirpt version Use new file upload @@ -268,8 +268,8 @@
-
-
+
+

@@ -395,7 +395,8 @@ import { watch } from 'vue'; form:{ manuscirpt: '', }, - fileData:'' // 上传后返回的文件url + fileData:'', // 上传后返回的文件url + mains:[] // html 数据 }; }, created() { @@ -678,6 +679,7 @@ import { watch } from 'vue'; }); } }, + // 关闭相关文章 RelatCancle() { @@ -811,6 +813,25 @@ import { watch } from 'vue'; }); }, + // 点击HTML查询数据 + getMainsInfo(e){ + this.$api + .post('api/Publish/getArticleMains', { + 'article_id': e.article_id + }) + .then(res => { + if (res.code == 0) { + // console.log(res,'res') + this.mains = res.data.mains + } else { + this.$message.error(res.msg); + } + }) + .catch(err => { + this.$message.error(err); + }); + }, + // 文章html弹出层 htmlContet(e) { this.articleId = e.article_id @@ -822,7 +843,9 @@ import { watch } from 'vue'; this.UpHtpFIle.title = e.title this.UpHtpFIle.mains = e.mains this.UpLoadFile.article_id = e.article_id + this.getMainsInfo(e) this.HtmlVisible = true + }, // 生成html // CreateHtml(){ diff --git a/src/components/page/editorBorder.vue b/src/components/page/editorBorder.vue index 766988f..8f763a2 100644 --- a/src/components/page/editorBorder.vue +++ b/src/components/page/editorBorder.vue @@ -214,7 +214,7 @@ - + {{addForm.email}} @@ -223,9 +223,9 @@ - + - * + Picture Cancel + OK @@ -409,6 +410,7 @@ editVisible: false, addForm: { email: '', + board_icon:'', board_group_id: -1 }, editForm: { @@ -962,7 +964,7 @@ // 添加关闭 addVisCancle() { - this.$refs.add_Form.resetFields(); + this.$refs['add_Form'].resetFields(); this.addForm.email = '' this.dis_able = false }, diff --git a/src/components/page/reviewerList.vue b/src/components/page/reviewerList.vue index f260084..0a1aed3 100644 --- a/src/components/page/reviewerList.vue +++ b/src/components/page/reviewerList.vue @@ -870,7 +870,7 @@ } else { // 重复 path_add = 'api/Reviewer/addReviewerBee' - } + } this.$api .post(path_add, this.addForm) .then(res => { @@ -1091,7 +1091,7 @@ }, // 搜索选择领域 - majorChange(e) { + majorChange(e,val) { if (e == 1) { this.$api .post('api/Ucenter/getMajor', { @@ -1112,7 +1112,8 @@ this.addForm.major_c = '' this.majorChange_panduan() }); - } else { + } else { + this.$set(this.addForm, this.addForm.major_c, val) this.majorChange_panduan() } },