From ae29f8fc19d6a2c7fd3c5bef20625fd8e9c85ae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=8B=E4=BA=8E=E5=88=9D=E8=A7=81?= <752204717@qq.com> Date: Tue, 12 Nov 2024 09:25:46 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81Manuscirpt=E5=A4=A7=E5=86=99=202?= =?UTF-8?q?=E3=80=81=E4=BF=AE=E5=9B=9E=E9=98=B6=E6=AE=B5=E5=8F=AA=E5=85=81?= =?UTF-8?q?=E8=AE=B8=E4=BD=9C=E8=80=85=E4=B8=8A=E4=BC=A0pdf=E6=96=87?= =?UTF-8?q?=E4=BB=B6=EF=BC=88=E5=8E=9F=E6=98=AFdocx=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/page/articleProcessRevision.vue | 15 ++++++++++++--- src/components/page/per_text.vue | 18 +++++++++--------- 2 files changed, 21 insertions(+), 12 deletions(-) diff --git a/src/components/page/articleProcessRevision.vue b/src/components/page/articleProcessRevision.vue index 0ef295c..a43906e 100644 --- a/src/components/page/articleProcessRevision.vue +++ b/src/components/page/articleProcessRevision.vue @@ -204,7 +204,7 @@

*Response to reviewers :

- @@ -212,7 +212,7 @@ Click Upload

Only word files can be uploaded - (.docx)
+ (.pdf)


@@ -728,7 +728,16 @@ return false; } }, - beforeupload_response(file) {}, + beforeupload_response(file) { + + let flieArr = file.name.split(".") + let fileSuffix = flieArr[flieArr.length - 1]; + if (fileSuffix != 'pdf') { + this.$message.error('Only word and compressed files can be uploaded(.pdf)'); + return false; + } + + }, uperr_coverLetter(err) { this.$message.error('upload error!'); }, diff --git a/src/components/page/per_text.vue b/src/components/page/per_text.vue index 1dcdf75..6d7ab49 100644 --- a/src/components/page/per_text.vue +++ b/src/components/page/per_text.vue @@ -39,7 +39,7 @@
{{ item.type_name }} + >Manuscirpt {{ item.ctime }}
@@ -48,7 +48,7 @@
Figures And Tables + >Figures and Tables {{ item.ctime }}
@@ -277,14 +277,14 @@
Major revision
- +
Reject in current form, but may be resubmitted
Reject
- -
+ +
Reject
@@ -369,7 +369,7 @@ export default { txt_mess: {}, fileList: [], picList: [], - SMList: [],//补充材料 + SMList: [], //补充材料 mediaUrl: this.Common.mediaUrl, add_edit: { article_id: this.$route.query.Art_id, @@ -412,7 +412,7 @@ export default { add_apply: 0, btn_submit: 0, pdfUrl: '', - journal_id:null, + journal_id: null, rules: { qu6: [ { @@ -499,8 +499,8 @@ export default { res.ctime = Y + M + D; this.txt_mess = res; - this.journal_id = res.journal_id - console.log('journal_id', this.journal_id) + this.journal_id = res.journal_id; + console.log('journal_id', this.journal_id); // 文章状态 if (res.astate == 2) {