tijiao
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
<el-breadcrumb separator="/">
|
||||
<el-breadcrumb-item>
|
||||
<i class="el-icon-collection"></i>
|
||||
<router-link :to="{ path: '/peerewer' }">
|
||||
<span class="top_dao"> Final Decision Article</span>
|
||||
<router-link :to="{ path: '/editPeerewer' }">
|
||||
<span class="top_dao"> Final Review Article</span>
|
||||
</router-link>
|
||||
>> Final Decision Article Detail
|
||||
>> Final Review Article Detail
|
||||
</el-breadcrumb-item>
|
||||
</el-breadcrumb>
|
||||
</div>
|
||||
@@ -33,7 +33,8 @@
|
||||
Manuscript ID: {{ txt_mess.accept_sn }}
|
||||
</h5>
|
||||
<p style="display: inline-block; margin: 0 35px"><b>Type :</b> {{ txt_mess.atype }}</p>
|
||||
<p style="display: inline-block"><b>Submitted time :</b> {{ txt_mess.ctime }}</p>
|
||||
<p style="display: inline-block"><b>Submitted time :</b> {{ txt_mess.ctime?txt_mess.ctime.split(' ')[0]:'' }}</p>
|
||||
|
||||
<div>
|
||||
<p><b>Abstract :</b> <br />{{ txt_mess.abstrart }}</p>
|
||||
<div class="file_sty" v-for="item in fileList" style="margin-top: 15px">
|
||||
@@ -82,6 +83,69 @@ If you're still having trouble with Chrome, you could use other browsers to comp
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<el-collapse v-model="activeNames" accordion v-if="conmentList.length > 0" style="margin-top: 10px;">
|
||||
|
||||
<el-collapse-item name="1">
|
||||
<template slot="title">
|
||||
<div class="review_title">
|
||||
|
||||
<b>Peer-review Archive</b>
|
||||
|
||||
</div>
|
||||
|
||||
</template>
|
||||
<div v-for="(item, index) in conmentList" class="comment_item">
|
||||
<p style="margin-top: 4px;margin-bottom: 4px;font-weight: bold;"><span style="color:#006699;font-size: 16px !important;">Comment {{ index+1 }}</span>
|
||||
|
||||
|
||||
|
||||
</p>
|
||||
<p><span class="comment_item_recommend_title">Reviewer : </span>
|
||||
|
||||
<b v-if="item.reviewer_id == User_Id">{{ item.realname }}</b>
|
||||
<b v-if="item.reviewer_id != User_Id">XXXXXXXXXX</b>
|
||||
|
||||
|
||||
</p>
|
||||
<p>
|
||||
|
||||
<span class="comment_item_recommend_title"
|
||||
>Recommendation : </span>
|
||||
|
||||
<span class="comment_item_recommend"><b v-if="item.question.recommend == 1">Minor revision</b>
|
||||
<b v-if="item.question.recommend == 2">Major revision</b>
|
||||
<b v-if="item.question.recommend == 3">Reject in current form, but may be resubmitted</b>
|
||||
<b v-if="item.question.recommend == 4">Reject</b></span>
|
||||
</p>
|
||||
<p>
|
||||
|
||||
<span class="comment_item_recommend_title"
|
||||
>Score : </span>
|
||||
|
||||
<span>{{item.question.score}}</span>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<span class="comment_item_recommend_title">Reviewed Time : </span>
|
||||
<span class="">{{ item.ctime?item.ctime.split(' ')[0]:'' }}</span>
|
||||
|
||||
<el-button type="primary" v-if="item.question&&item.question.art_rev_id" size="mini" @click="ques_visible(item.question)"
|
||||
|
||||
style="padding: 4px 10px;margin-left: 20px;">Referee's Assessment</el-button>
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</el-collapse-item>
|
||||
|
||||
</el-collapse>
|
||||
<!-- <p class="morSou" v-if="!morShow" @click="morShow=true">
|
||||
<i class="el-icon-bottom"></i>
|
||||
More article information
|
||||
@@ -95,272 +159,37 @@ If you're still having trouble with Chrome, you could use other browsers to comp
|
||||
|
||||
<el-card class="box-card" v-if="this.add_apply == 1">
|
||||
Thank you for your time and consideration on the manuscript. We are sorry that this manuscript has went through peer
|
||||
review and the final decision has been obtained according to the timetable. Accordingly, your review process has
|
||||
review and the final review has been obtained according to the timetable. Accordingly, your review process has
|
||||
been discontinued. Your comments do not need to be submitted now. We would like to express our sincere gratitude for
|
||||
your contributions as well.
|
||||
</el-card>
|
||||
|
||||
<el-card class="box-card" v-if="this.add_apply == 0">
|
||||
|
||||
<el-card class="box-card" v-if="this.add_apply == 0&&questionform.article_id">
|
||||
|
||||
|
||||
|
||||
<!-- 审稿人表单修改 -->
|
||||
<!-- Accept(录用)、Revision(退修)、Reject(退稿) -->
|
||||
<common-editor-article @refresh="getData" type="questionform" :form="questionform" :txt_mess="txt_mess" :btn_submit="btn_submit" :articleId="articleId" :journal_id="journal_id"></common-editor-article>
|
||||
<!-- <el-form :model="questionform" :rules="rules" ref="question" label-width="300px" label-position="top">
|
||||
<el-divider content-position="center">REFEREE'S ASSESSMENT</el-divider>
|
||||
<el-row :gutter="24">
|
||||
<el-col :span="24">
|
||||
<el-form-item prop="qu6">
|
||||
<span slot="label">
|
||||
1.Does the manuscript fall within the aim and scope of the journal?
|
||||
<a :href="txt_mess.aim_web" target="_blank" class="jouLink">( Aims & Scope ) </a>
|
||||
</span>
|
||||
<el-radio-group v-model="questionform.qu6">
|
||||
<el-radio :label="1">Excellent</el-radio>
|
||||
<el-radio :label="2">Good</el-radio>
|
||||
<el-radio :label="3">Fair</el-radio>
|
||||
<el-radio :label="4">Poor</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="2.Originality of the topic">
|
||||
<el-radio-group v-model="questionform.qu1">
|
||||
<el-radio :label="1">Excellent</el-radio>
|
||||
<el-radio :label="2">Good</el-radio>
|
||||
<el-radio :label="3">Fair</el-radio>
|
||||
<el-radio :label="4">Poor</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="3.Importance in its Field">
|
||||
<el-radio-group v-model="questionform.qu3">
|
||||
<el-radio :label="1">Excellent</el-radio>
|
||||
<el-radio :label="2">Good</el-radio>
|
||||
<el-radio :label="3">Fair</el-radio>
|
||||
<el-radio :label="4">Poor</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="4.English language">
|
||||
<el-radio-group v-model="questionform.qu8">
|
||||
<el-radio :label="1">Excellent</el-radio>
|
||||
<el-radio :label="2">Good</el-radio>
|
||||
<el-radio :label="3">Fair</el-radio>
|
||||
<el-radio :label="4">Poor</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="5.Readily Understandable">
|
||||
<el-radio-group v-model="questionform.qu5">
|
||||
<el-radio :label="1">Excellent</el-radio>
|
||||
<el-radio :label="2">Good</el-radio>
|
||||
<el-radio :label="3">Fair</el-radio>
|
||||
<el-radio :label="4">Poor</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<el-collapse>
|
||||
<el-form-item label="6.Does the title represent manuscript's contents?">
|
||||
<el-col :span="4">
|
||||
<el-radio-group v-model="questionform.qu9">
|
||||
<el-radio :label="true">Yes</el-radio>
|
||||
<el-radio :label="false">No</el-radio>
|
||||
</el-radio-group>
|
||||
</el-col>
|
||||
<el-col :span="20">
|
||||
<el-collapse-item name="1" style="margin-top: -10px">
|
||||
<template slot="title"> <i class="el-icon-edit"></i>Comments/ Suggestions </template>
|
||||
<el-input
|
||||
type="textarea"
|
||||
placeholder="please input content"
|
||||
v-model="questionform.qu9contents"
|
||||
:rows="4"
|
||||
></el-input>
|
||||
</el-collapse-item>
|
||||
</el-col>
|
||||
</el-form-item>
|
||||
</el-collapse>
|
||||
|
||||
<el-collapse>
|
||||
<el-form-item label="7.Is the Abstract accurate and concise?">
|
||||
<el-col :span="4">
|
||||
<el-radio-group v-model="questionform.qu10">
|
||||
<el-radio :label="true">Yes</el-radio>
|
||||
<el-radio :label="false">No</el-radio>
|
||||
</el-radio-group>
|
||||
</el-col>
|
||||
<el-col :span="20">
|
||||
<el-collapse-item name="2" style="margin-top: -10px">
|
||||
<template slot="title"> <i class="el-icon-edit"></i>Comments/ Suggestions </template>
|
||||
<el-input
|
||||
type="textarea"
|
||||
placeholder="please input content"
|
||||
v-model="questionform.qu10contents"
|
||||
:rows="4"
|
||||
></el-input>
|
||||
</el-collapse-item>
|
||||
</el-col>
|
||||
</el-form-item>
|
||||
<el-form-item label="8.Are the approach/ methods properly described?">
|
||||
<el-col :span="4">
|
||||
<el-radio-group v-model="questionform.qu11">
|
||||
<el-radio :label="true">Yes</el-radio>
|
||||
<el-radio :label="false">No</el-radio>
|
||||
</el-radio-group>
|
||||
</el-col>
|
||||
<el-col :span="20">
|
||||
<el-collapse-item name="3" style="margin-top: -10px">
|
||||
<template slot="title"> <i class="el-icon-edit"></i>Comments/ Suggestions </template>
|
||||
<el-input
|
||||
type="textarea"
|
||||
placeholder="please input content"
|
||||
v-model="questionform.qu11contents"
|
||||
:rows="4"
|
||||
></el-input>
|
||||
</el-collapse-item>
|
||||
</el-col>
|
||||
</el-form-item>
|
||||
<el-form-item label="9.Are the conclusions and interpretations sound?">
|
||||
<el-col :span="4">
|
||||
<el-radio-group v-model="questionform.qu12">
|
||||
<el-radio :label="true">Yes</el-radio>
|
||||
<el-radio :label="false">No</el-radio>
|
||||
</el-radio-group>
|
||||
</el-col>
|
||||
<el-col :span="20">
|
||||
<el-collapse-item name="4" style="margin-top: -10px">
|
||||
<template slot="title"> <i class="el-icon-edit"></i>Comments/ Suggestions </template>
|
||||
<el-input
|
||||
type="textarea"
|
||||
placeholder="please input content"
|
||||
v-model="questionform.qu12contents"
|
||||
:rows="4"
|
||||
></el-input>
|
||||
</el-collapse-item>
|
||||
</el-col>
|
||||
</el-form-item>
|
||||
<el-form-item label="10.Are the references properly cited?">
|
||||
<el-col :span="4">
|
||||
<el-radio-group v-model="questionform.qu13">
|
||||
<el-radio :label="true">Yes</el-radio>
|
||||
<el-radio :label="false">No</el-radio>
|
||||
</el-radio-group>
|
||||
</el-col>
|
||||
<el-col :span="20">
|
||||
<el-collapse-item name="5" style="margin-top: -10px">
|
||||
<template slot="title"> <i class="el-icon-edit"></i>Comments/ Suggestions </template>
|
||||
<el-input
|
||||
type="textarea"
|
||||
placeholder="please input content"
|
||||
v-model="questionform.qu13contents"
|
||||
:rows="4"
|
||||
></el-input>
|
||||
</el-collapse-item>
|
||||
</el-col>
|
||||
</el-form-item>
|
||||
|
||||
<el-divider content-position="center">REFEREE'S RECOMMENDATIONS</el-divider>
|
||||
<el-form-item label="Overall the Paper is Rated" prop="rated">
|
||||
( <span style="color: #e41411">←←←←← Bad ←←← Poor</span>
|
||||
<span style="width: 10px; display: inline-block"></span>
|
||||
<span style="color: #369916">Accept → Superior → Excellent</span>)
|
||||
<br />
|
||||
<el-radio-group v-model="questionform.rated" size="small">
|
||||
<el-radio-button label="1"></el-radio-button>
|
||||
<el-radio-button label="2"></el-radio-button>
|
||||
<el-radio-button label="3"></el-radio-button>
|
||||
<el-radio-button label="4"></el-radio-button>
|
||||
<el-radio-button label="5"></el-radio-button>
|
||||
<el-radio-button label="6"></el-radio-button>
|
||||
<el-radio-button label="7"></el-radio-button>
|
||||
<el-radio-button label="8"></el-radio-button>
|
||||
<el-radio-button label="9"></el-radio-button>
|
||||
<el-radio-button label="10"></el-radio-button>
|
||||
</el-radio-group>
|
||||
<span style="margin-left: 20px">Your score : {{ questionform.rated }}</span>
|
||||
</el-form-item>
|
||||
<el-form-item label="REFEREE'S RECOMMENDATIONS" prop="recommend">
|
||||
<el-radio-group v-model="questionform.recommend" style="line-height: 30px">
|
||||
<el-radio :label="1">Minor revision</el-radio>
|
||||
<br />
|
||||
<el-radio :label="2">Major revision</el-radio>
|
||||
<br />
|
||||
|
||||
<div v-if="journal_id == 1 || journal_id == 23 || journal_id == 10">
|
||||
<el-radio :label="3">Reject in current form, but may be resubmitted</el-radio>
|
||||
<br />
|
||||
<el-radio :label="4">Reject</el-radio>
|
||||
</div>
|
||||
|
||||
<div v-else>
|
||||
<el-radio :label="4">Reject</el-radio>
|
||||
</div>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item
|
||||
label="Comments for the Authors"
|
||||
v-if="this.txt_mess.atype == 'Comment' || this.txt_mess.atype == 'News'"
|
||||
>
|
||||
<el-input
|
||||
type="textarea"
|
||||
placeholder="please input content"
|
||||
v-model="questionform.comment"
|
||||
:rows="8"
|
||||
></el-input>
|
||||
</el-form-item> <el-form-item label="" v-if="articleId">
|
||||
<common-word-html :articleId="articleId" style="box-sizing: border-box"
|
||||
></common-word-html>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
label="Comments for the Authors"
|
||||
prop="comment"
|
||||
v-if="this.txt_mess.atype != 'Comment' && this.txt_mess.atype != 'News'"
|
||||
>
|
||||
<el-input
|
||||
type="textarea"
|
||||
placeholder="please input content"
|
||||
v-model="questionform.comment"
|
||||
:rows="8"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="Confidential Comments to the Editor">
|
||||
<el-input
|
||||
type="textarea"
|
||||
placeholder="please input content"
|
||||
v-model="questionform.confident"
|
||||
:rows="8"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="Please choose disclose your name or remain anonymous">
|
||||
<el-radio-group v-model="questionform.is_anonymous" style="line-height: 30px">
|
||||
<el-radio :label="0">Disclose name</el-radio>
|
||||
<br />
|
||||
<el-radio :label="1">Remain anonymous</el-radio>
|
||||
</el-radio-group>
|
||||
<p style="line-height: 20px; color: #aaa; font-size: 13px; margin: 12px 0 0 0">
|
||||
If you agree to disclose your name, we will acknowledge you by name in the published PDF. However,
|
||||
if you prefer to remain anonymous, we will still express our gratitude by thanking you as an
|
||||
anonymous reviewer.
|
||||
<br />For example, {{ txt_mess.title }} would like to thank AAAAAAAA, BBBBBBBB, and other anonymous
|
||||
reviewers for their invaluable contributions to the peer review process of this paper.
|
||||
</p>
|
||||
</el-form-item>
|
||||
<el-form-item v-if="this.btn_submit == 0">
|
||||
<el-button type="primary" @click="questionSubmit">submit</el-button>
|
||||
</el-form-item>
|
||||
</el-collapse>
|
||||
</el-form> -->
|
||||
</el-card>
|
||||
</el-card>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
<!-- 证书弹出框 -->
|
||||
<el-dialog :visible.sync="questionVisible" width="1000px">
|
||||
<!-- 审稿人表单修改 -->
|
||||
<!-- 不显示给编辑的话 -->
|
||||
<common-review-article
|
||||
:form="questionform1"
|
||||
type="questionform"
|
||||
:txt_mess="txt_mess"
|
||||
:confident="false"
|
||||
:btn_submit="1"
|
||||
:articleId="articleId"
|
||||
:journal_id="journal_id"
|
||||
></common-review-article>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -369,6 +198,10 @@ import pdf from 'vue-pdf';
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
activeNames:['1'],
|
||||
questionVisible: false,
|
||||
User_Id: localStorage.getItem('U_id'),
|
||||
|
||||
loading: false,
|
||||
articleId: null,
|
||||
Direct_log: this.$route.query.act,
|
||||
@@ -376,6 +209,7 @@ export default {
|
||||
// morShow: false,
|
||||
txt_mess: {},
|
||||
fileList: [],
|
||||
conmentList: [],
|
||||
picList: [],
|
||||
SMList: [], //补充材料
|
||||
mediaUrl: this.Common.mediaUrl,
|
||||
@@ -385,42 +219,14 @@ export default {
|
||||
content: ''
|
||||
},
|
||||
head_line: '',
|
||||
questionform1:{},
|
||||
questionform: {
|
||||
rev_qu_id: '',
|
||||
article_id: '',
|
||||
reviewer_id: '',
|
||||
|
||||
art_rev_id: this.$route.query.Art_id,
|
||||
qu1: '',
|
||||
qu2: '',
|
||||
qu3: '',
|
||||
qu4: '',
|
||||
qu5: '',
|
||||
qu5contents: '',
|
||||
qu6: '',
|
||||
qu6contents: '',
|
||||
qu7: '',
|
||||
qu7contents: '',
|
||||
qu8: '',
|
||||
qu8contents: '',
|
||||
qu9: '',
|
||||
qu9contents: '',
|
||||
qu10: '',
|
||||
qu10contents: '',
|
||||
qu11: '',
|
||||
qu11contents: '',
|
||||
qu12: '',
|
||||
qu12contents: '',
|
||||
qu13: '',
|
||||
qu13contents: '',
|
||||
qu14: '',
|
||||
qu14contents: '',
|
||||
qu15: '',
|
||||
qu15contents: '',
|
||||
rated: '',
|
||||
recommend: '',
|
||||
other: '',
|
||||
confident: '',
|
||||
comment: '',
|
||||
is_anonymous: '',
|
||||
type: '',
|
||||
record_id: this.$route.query.Art_id,
|
||||
|
||||
},
|
||||
add_apply: 0,
|
||||
btn_submit: 0,
|
||||
@@ -459,65 +265,72 @@ export default {
|
||||
};
|
||||
},
|
||||
created() {
|
||||
if (this.Direct_log == null) {
|
||||
|
||||
this.getData();
|
||||
} else {
|
||||
this.$api
|
||||
.post('api/Chief/autoLoginForChief', {
|
||||
code: this.Direct_log
|
||||
})
|
||||
.then((res) => {
|
||||
if (res.code == 0) {
|
||||
localStorage.setItem('U_role', res.data.roles);
|
||||
localStorage.setItem('U_name', res.data.user.account);
|
||||
localStorage.setItem('U_id', res.data.user.user_id);
|
||||
localStorage.setItem('U_relname', res.data.user.realname);
|
||||
|
||||
this.$api
|
||||
.post('api/Reviewer/agreeReviewerArticle', {
|
||||
art_rev_id: this.Art_id
|
||||
})
|
||||
.then((res) => {
|
||||
this.getData();
|
||||
})
|
||||
.catch((err) => {
|
||||
this.$message.error(err);
|
||||
});
|
||||
} else {
|
||||
this.$message.error(res.msg);
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
this.$message.error(err);
|
||||
});
|
||||
}
|
||||
|
||||
},
|
||||
methods: {
|
||||
//初始化问卷
|
||||
ques_visible(e) {
|
||||
this.questionVisible = true;
|
||||
this.questionform1.rev_qu_id = e.rev_qu_id;
|
||||
this.questionform1.art_rev_id = e.art_rev_id;
|
||||
this.questionform1.qu1 = e.qu1;
|
||||
this.questionform1.qu2 = e.qu2;
|
||||
this.questionform1.qu3 = e.qu3;
|
||||
this.questionform1.qu4 = e.qu4;
|
||||
this.questionform1.qu5 = e.qu5;
|
||||
this.questionform1.qu6 = e.qu6;
|
||||
this.questionform1.qu7 = e.qu7;
|
||||
this.questionform1.qu8 = e.qu8;
|
||||
this.questionform1.qu9 = e.qu9 == 0 ? false : true;
|
||||
this.questionform1.qu9contents = e.qu9_contents;
|
||||
this.questionform1.qu10 = e.qu10 == 0 ? false : true;
|
||||
this.questionform1.qu10contents = e.qu10_contents;
|
||||
this.questionform1.qu11 = e.qu11 == 0 ? false : true;
|
||||
this.questionform1.qu11contents = e.qu11_contents;
|
||||
this.questionform1.qu12 = e.qu12 == 0 ? false : true;
|
||||
this.questionform1.qu12contents = e.qu12_contents;
|
||||
this.questionform1.qu13 = e.qu13 == 0 ? false : true;
|
||||
this.questionform1.qu13contents = e.qu13_contents;
|
||||
this.questionform1.qu14 = e.qu14 == 0 ? false : true;
|
||||
this.questionform1.qu14contents = e.qu14_contents;
|
||||
this.questionform1.qu15 = e.qu15 == 0 ? false : true;
|
||||
this.questionform1.qu15contents = e.qu15_contents;
|
||||
this.questionform1.rated = e.rated;
|
||||
this.questionform1.recommend = e.recommend;
|
||||
this.questionform1.other = e.other;
|
||||
this.questionform1.confident = e.confidential;
|
||||
this.questionform1.comment = e.comments;
|
||||
this.questionform1.is_anonymous = e.is_anonymous;
|
||||
this.questionform1.type = e.type;
|
||||
this.questionform1.score = e.score;
|
||||
},
|
||||
getData() {
|
||||
// 获取文章信息
|
||||
this.$api
|
||||
.post('api/Reviewer/getartrevdate', {
|
||||
revid: this.Art_id,
|
||||
human: 'reviewer'
|
||||
.post('api/Finalreview/view', {
|
||||
record_id: this.Art_id,
|
||||
|
||||
'reviewer_id': localStorage.getItem('U_id'),
|
||||
})
|
||||
.then((res) => {
|
||||
this.articleId=res.article_id
|
||||
if (res.state != 0) {
|
||||
this.articleId=res.data.article.article_id
|
||||
|
||||
this.questionform ={...this.questionform,...res.data.article_final}
|
||||
console.log('this.questionform at line 224:', this.questionform)
|
||||
if (res.data.article_final.state != 0) {
|
||||
this.btn_submit = 1;
|
||||
}
|
||||
|
||||
let date = new Date(parseInt(res.ctime) * 1000);
|
||||
let Y = date.getFullYear() + '-';
|
||||
let M = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) + '-' : date.getMonth() + 1 + '-';
|
||||
let D = date.getDate() < 10 ? '0' + date.getDate() : date.getDate();
|
||||
res.ctime = Y + M + D;
|
||||
|
||||
this.txt_mess = res;
|
||||
this.txt_mess = res.data.article;
|
||||
this.journal_id = res.journal_id;
|
||||
console.log('journal_id', this.journal_id);
|
||||
this.conmentList = res.data.article_review;
|
||||
|
||||
// console.log('journal_id', this.journal_id);
|
||||
|
||||
// 文章状态
|
||||
if (res.astate == 2) {
|
||||
if (res.data.article_final.state == 0) {
|
||||
this.add_apply = 0;
|
||||
} else {
|
||||
this.add_apply = 1;
|
||||
@@ -528,8 +341,8 @@ export default {
|
||||
});
|
||||
|
||||
this.$api
|
||||
.post('api/Reviewer/getAFilelistByID ', {
|
||||
revid: this.Art_id
|
||||
.post('api/Finalreview/getArticleFile ', {
|
||||
record_id: this.Art_id
|
||||
})
|
||||
.then((res) => {
|
||||
for (var i = 0; i < res.data.length; i++) {
|
||||
@@ -539,7 +352,9 @@ export default {
|
||||
let D = date.getDate() < 10 ? '0' + date.getDate() : date.getDate();
|
||||
res.data[i].ctime = Y + M + D;
|
||||
}
|
||||
this.fileList = res.data;
|
||||
this.fileList = [res.data.manuscirpt];
|
||||
this.picList = res.data.picturesAndTables;
|
||||
this.SMList = res.data.supplementary;
|
||||
|
||||
// 获取格式
|
||||
let pdfOut = this.fileList[this.fileList.length - 1].file_url;
|
||||
@@ -558,179 +373,13 @@ export default {
|
||||
this.$message.error(err);
|
||||
});
|
||||
|
||||
this.$api
|
||||
.post('api/Reviewer/getBFilelistByID', {
|
||||
revid: this.Art_id
|
||||
})
|
||||
.then((res) => {
|
||||
for (var i = 0; i < res.data.length; i++) {
|
||||
let date = new Date(parseInt(res.data[i].ctime) * 1000);
|
||||
let Y = date.getFullYear() + '-';
|
||||
let M = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) + '-' : date.getMonth() + 1 + '-';
|
||||
let D = date.getDate() < 10 ? '0' + date.getDate() : date.getDate();
|
||||
res.data[i].ctime = Y + M + D;
|
||||
}
|
||||
this.picList = res.data;
|
||||
})
|
||||
.catch((err) => {
|
||||
this.$message.error(err);
|
||||
});
|
||||
this.$api
|
||||
.post('api/Reviewer/getCFilelistByID', {
|
||||
revid: this.Art_id
|
||||
})
|
||||
.then((res) => {
|
||||
for (var i = 0; i < res.data.length; i++) {
|
||||
let date = new Date(parseInt(res.data[i].ctime) * 1000);
|
||||
let Y = date.getFullYear() + '-';
|
||||
let M = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) + '-' : date.getMonth() + 1 + '-';
|
||||
let D = date.getDate() < 10 ? '0' + date.getDate() : date.getDate();
|
||||
res.data[i].ctime = Y + M + D;
|
||||
}
|
||||
this.SMList = res.data;
|
||||
})
|
||||
.catch((err) => {
|
||||
this.$message.error(err);
|
||||
});
|
||||
|
||||
|
||||
|
||||
//初始化问卷
|
||||
this.$api
|
||||
.post('api/Reviewer/getQuestion', {
|
||||
artrevid: this.Art_id
|
||||
})
|
||||
.then((res) => {
|
||||
if (res.code == 0) {
|
||||
|
||||
|
||||
this.questionform.rev_qu_id = res.data.rev_qu_id;
|
||||
this.questionform.qu1 = res.data.qu1;
|
||||
this.questionform.qu2 = res.data.qu2;
|
||||
this.questionform.qu3 = res.data.qu3;
|
||||
this.questionform.qu4 = res.data.qu4;
|
||||
this.questionform.qu5 = res.data.qu5;
|
||||
this.questionform.qu6 = res.data.qu6;
|
||||
this.questionform.qu7 = res.data.qu7;
|
||||
this.questionform.qu8 = res.data.qu8;
|
||||
this.questionform.qu9 = res.data.qu9 == 0 ? false : true;
|
||||
this.questionform.qu9contents = res.data.qu9_contents;
|
||||
this.questionform.qu10 = res.data.qu10 == 0 ? false : true;
|
||||
this.questionform.qu10contents = res.data.qu10_contents;
|
||||
this.questionform.qu11 = res.data.qu11 == 0 ? false : true;
|
||||
this.questionform.qu11contents = res.data.qu11_contents;
|
||||
this.questionform.qu12 = res.data.qu12 == 0 ? false : true;
|
||||
this.questionform.qu12contents = res.data.qu12_contents;
|
||||
this.questionform.qu13 = res.data.qu13 == 0 ? false : true;
|
||||
this.questionform.qu13contents = res.data.qu13_contents;
|
||||
this.questionform.qu14 = res.data.qu14 == 0 ? false : true;
|
||||
this.questionform.qu14contents = res.data.qu14_contents;
|
||||
this.questionform.qu15 = res.data.qu15 == 0 ? false : true;
|
||||
this.questionform.qu15contents = res.data.qu15_contents;
|
||||
this.questionform.rated = res.data.rated;
|
||||
this.questionform.recommend = res.data.recommend;
|
||||
this.questionform.other = res.data.other;
|
||||
this.questionform.confident = res.data.confidential;
|
||||
this.questionform.comment = res.data.comments;
|
||||
this.questionform.is_anonymous = res.data.is_anonymous;
|
||||
this.questionform.type= res.data.type;this.questionform.score = res.data.score;
|
||||
}
|
||||
});
|
||||
|
||||
},
|
||||
|
||||
questionSubmit() {
|
||||
if (this.questionform.is_anonymous == '' && this.questionform.is_anonymous != '0') {
|
||||
this.$message.error('Please choose disclose your name or remain anonymous.');
|
||||
|
||||
return false;
|
||||
}
|
||||
const regex = /[\u4E00-\u9FA5\uF900-\uFA2D]{1,}/;
|
||||
if (this.questionform.comment && this.questionform.comment != '') {
|
||||
if (regex.test(this.questionform.comment)) {
|
||||
// 如果输入的是中文,则清空输入框
|
||||
this.$message.error('Comments for the Authors cannot use Chinese.');
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (this.questionform.confident && this.questionform.confident != '') {
|
||||
if (regex.test(this.questionform.confident)) {
|
||||
// 如果输入的是中文,则清空输入框
|
||||
this.$message.error('Confidential Comments to the Editor cannot be in Chinese.');
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// 验证相加的字数
|
||||
let Char_Cter =
|
||||
this.questionform.qu9contents +
|
||||
' ' +
|
||||
this.questionform.qu10contents +
|
||||
' ' +
|
||||
this.questionform.qu11contents +
|
||||
' ' +
|
||||
this.questionform.qu12contents +
|
||||
' ' +
|
||||
this.questionform.qu13contents +
|
||||
' ' +
|
||||
this.questionform.comment;
|
||||
if (new RegExp('[\\u4E00-\\u9FFF]+', 'g').test(Char_Cter)) {
|
||||
//中文
|
||||
let blankCount = 0;
|
||||
for (let i in Char_Cter.match(/ /g)) {
|
||||
blankCount++;
|
||||
}
|
||||
let wenziCount = 0;
|
||||
for (let j = 0; j < Char_Cter.length; j++) {
|
||||
if (Char_Cter.charCodeAt(j) < 0 || Char_Cter.charCodeAt(j) > 255) {
|
||||
wenziCount++;
|
||||
}
|
||||
}
|
||||
|
||||
if (blankCount + wenziCount <= 60) {
|
||||
this.$message.error('We encourage you to enrich your comment further to help improve the peer paper.');
|
||||
this.$message({
|
||||
offset: '380',
|
||||
type: 'error',
|
||||
message: 'We encourage you to enrich your comment further to help improve the peer paper.'
|
||||
});
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
//英文
|
||||
let blankCount = 0;
|
||||
for (let i in Char_Cter.match(/ /g)) {
|
||||
blankCount++;
|
||||
}
|
||||
if (blankCount <= 50) {
|
||||
this.$message.error('We encourage you to enrich your comment further to help improve the peer paper.');
|
||||
this.$message({
|
||||
offset: '380',
|
||||
type: 'error',
|
||||
message: 'We encourage you to enrich your comment further to help improve the peer paper.'
|
||||
});
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// 提交接口
|
||||
this.loading = true;
|
||||
this.$refs.question.validate((valid) => {
|
||||
if (valid) {
|
||||
this.$api.post('api/Reviewer/questionSubmit', this.questionform).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.loading = false;
|
||||
this.$message.success('Success!!');
|
||||
this.getData();
|
||||
this.$router.push('/per_text_success');
|
||||
} else {
|
||||
this.loading = false;
|
||||
// this.$message.error('Question submit error!');
|
||||
this.$message.error(res.msg);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
this.loading = false;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
},
|
||||
mounted() {}
|
||||
};
|
||||
@@ -866,4 +515,45 @@ export default {
|
||||
.css-138 {
|
||||
display: none;
|
||||
} */
|
||||
::v-deep .el-descriptions__title{
|
||||
font-size: 12px !important;
|
||||
color: #606266 !important;
|
||||
|
||||
}
|
||||
::v-deep .el-descriptions__header{
|
||||
|
||||
margin-bottom: 4px !important;
|
||||
}
|
||||
::v-deep .el-collapse-item__wrap{
|
||||
|
||||
border-bottom: none !important;
|
||||
}
|
||||
::v-deep .el-collapse-item__header{
|
||||
|
||||
border-bottom: none !important;
|
||||
|
||||
/* */
|
||||
}
|
||||
.comment_item{
|
||||
border-top: 1px solid #EBEEF5;
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
|
||||
|
||||
|
||||
}
|
||||
.review_title{
|
||||
|
||||
}
|
||||
.comment_item_recommend_title{
|
||||
color: #888;
|
||||
margin: 0 5px 0 0;
|
||||
font-weight: 600;
|
||||
|
||||
|
||||
}
|
||||
.comment_item_recommend b{
|
||||
font-weight: 600 !important;
|
||||
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user