This commit is contained in:
xulu
2022-02-23 16:34:07 +08:00
parent ec5e69418b
commit 4f5e6e1f78
62 changed files with 28419 additions and 8571 deletions

View File

@@ -17,7 +17,10 @@
<div class="tet_list" :model="txt_mess">
<h4>{{txt_mess.article_title}}</h4>
<h5>{{txt_mess.title}}<span style="margin: 0 10px;"> >> </span> Manuscript ID: {{txt_mess.accept_sn}}</h5>
<div class="file_sty" v-for="item in fileList">
<p><b>Type :</b> {{txt_mess.atype}}</p>
<p><b>Submitted time :</b> {{txt_mess.ctime}}</p>
<p><b>Abstract :</b> <br>{{txt_mess.abstrart}}</p>
<div class="file_sty" v-for="item in fileList" style="margin-top: 15px;">
<img src="../../assets/img/icon_0.png" alt="" class="icon_img">
<a :href='mediaUrl+item.file_url' target="_blank" class="txt_pdf">{{item.type_name}} <span style="margin-left: 50px;color: #888;font-size: 13px;">{{item.ctime}}</span>
<i class="el-icon-download" style="margin-left: 20px;color: #66b1ff;font-weight: bold;"></i>
@@ -26,35 +29,31 @@
<div class="file_sty" v-for="item in picList">
<img src="../../assets/img/icon_0.png" alt="" class="icon_img">
<a :href='mediaUrl+item.file_url' target="_blank" class="txt_pdf">{{item.type_name}} <span style="margin-left: 50px;color: #888;font-size: 13px;">{{item.ctime}}</span>
<a :href='mediaUrl+item.file_url' target="_blank" class="txt_pdf">Figures And Tables <span style="margin-left: 50px;color: #888;font-size: 13px;">{{item.ctime}}</span>
<i class="el-icon-download" style="margin-left: 20px;color: #66b1ff;font-weight: bold;"></i>
</a><br>
</div>
<p style="margin-top: 5px;color: #999;font-size: 14px;">If the file download fails, change the browser.</p>
<p style="margin-top: 5px;color: #999;font-size: 14px;">
<b style="color: #e41411;">Download failed</b>
<br>If you have upgraded the Google Chrome browser to version 86, released on October 6, 2020, you may have
noticed that some file downloads don't work anymore in the browser. You click on the download link and nothing
happens. 
<br>1. Right now, the easiest option available is to
<b style="color: #e41411;">right-click on the download link and select "save link as".</b>
The download is executed when you do that.
<br>2. Please try to use a different browser for downloads. For now, a browser like Firefox, Internet Explorer,
Brave, Vivaldi, the new Edge, or Opera all allow the download.
</p>
</div>
</el-card>
<!-- <div class="ques_tion" style="line-height: 24px;">
</div>
-->
<el-card class="box-card">
Note: you can see multiple downloads, which represent the historical version of the manuscript and the general last
date.
<br>After reviewing the manuscript, you can decide to review or reject it.
<el-button type="success" @click="saveAdd()" style="margin-left: 20px;">Agree</el-button>
<el-button type="danger" @click="saveAdd()" style="margin-left: 20px;">Refuse</el-button>
</el-card>
<el-card class="box-card">
If you are intereted in reviewing this manuscript, please click the "Review the Manuscript" button, we will offer a
reviewer-comment-form for you. <br>(After that, this manuscript will be listed in your "reviewing” list, then,
after
the reviewing form be finished, you can only find this manuscript in “history list”. If you have any questions,
please don't hesitate to contact us: tmr@tmrjournals.com)
<el-button type="warning" @click="saveAdd()" style="margin-left: 20px;">Apply</el-button>
<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 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">
@@ -114,13 +113,20 @@
<el-col :span="12">
<el-collapse>
<el-form-item label="6.Does the title represent manuscript's contents?">
<el-switch v-model="questionform.qu9" active-text="yes" inactive-text="no"></el-switch>
<el-collapse-item name="1">
<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 :span="8">
<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="12">
<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-col>
@@ -129,45 +135,73 @@
<el-collapse>
<el-form-item label="7.Is the Abstract accurate and concise?">
<el-switch v-model="questionform.qu10" active-text="yes" inactive-text="no"></el-switch>
<el-collapse-item name="2">
<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 :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-switch v-model="questionform.qu11" active-text="yes" inactive-text="no"></el-switch>
<el-collapse-item name="3">
<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 :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-switch v-model="questionform.qu12" active-text="yes" inactive-text="no"></el-switch>
<el-collapse-item name="4">
<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 :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-switch v-model="questionform.qu13" active-text="yes" inactive-text="no"></el-switch>
<el-collapse-item name="5">
<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 :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">
(Poor-------------------------------------------------------------Excellent)
(Poor------------------------Excellent)
<br />
<el-radio-group v-model="questionform.rated" size="small">
<el-radio-button label="1"></el-radio-button>
@@ -181,11 +215,10 @@
<el-radio-button label="9"></el-radio-button>
<el-radio-button label="10"></el-radio-button>
</el-radio-group>
<br />
<span>Your score:{{questionform.rated}}</span>
<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">
<el-radio-group v-model="questionform.recommend" style="line-height: 24px;">
<el-radio :label="1">Accept with minor changes</el-radio>
<br />
<el-radio :label="2">Accept subject to revisions, as noted in comments</el-radio>
@@ -196,7 +229,7 @@
</el-radio-group>
</el-form-item>
<el-form-item label="OTHER SPECIFIC CRITICISMS">
<el-radio-group v-model="questionform.other">
<el-radio-group v-model="questionform.other" style="line-height: 24px;">
<el-radio :label="1">Imperfect style</el-radio>
<br />
<el-radio :label="2">Too long</el-radio>
@@ -209,16 +242,31 @@
<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="Comments for the Authors">
<el-form-item label="Comments for the Authors" prop="comment">
<el-input type="textarea" placeholder="please input content" v-model="questionform.comment" :rows="8"></el-input>
<p style="color: #e6a23c;font-size: 13px;" v-if="this.txt_mess.atype!='Comment'||this.txt_mess.atype!='News'">
Dear reviewer, we recommend the available comment should be more than 40 words.
</p>
</el-form-item>
<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: 24px;">
<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 thank you in published
pdf. , we will also thank you as anonymous reviewer if you reject.
<br />e.g. {{txt_mess.title}} thanks AAAAAAAA, BBBBBBBB and other anonymous reviewers for
their contribution to the peer review 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>
</div>
</div>
@@ -252,45 +300,71 @@
qu6: '',
qu7: '',
qu8: '',
qu9: 'false',
qu9: '',
qu9contents: '',
qu10: 'false',
qu10: '',
qu10contents: '',
qu11: 'false',
qu11: '',
qu11contents: '',
qu12: 'false',
qu12: '',
qu12contents: '',
qu13: 'false',
qu13: '',
qu13contents: '',
qu14: 'false',
qu14: '',
qu14contents: '',
qu15: 'false',
qu15: '',
qu15contents: '',
rated: '',
recommend: '',
other: '',
confident: '',
comment: ''
comment: '',
is_anonymous: ''
},
add_apply: 1,
rules: {}
add_apply: 0,
btn_submit: 0,
rules: {
comment: [{
required: true,
message: "please input content",
trigger: "blur"
}, {
validator: function(rule, value, callback) {
if (new RegExp("[\\u4E00-\\u9FFF]+", "g").test(value)) {
//中文
let blankCount = 0;
for (let i in value.match(/ /g)) {
blankCount++
}
let wenziCount = 0;
for (let j = 0; j < value.length; j++) {
if ((value.charCodeAt(j) < 0) || (value.charCodeAt(j) > 255)) {
wenziCount++
}
}
if (blankCount + wenziCount <= 60) {
callback(new Error(
"Dear reviewer, we recommend the available comment should be more than 60 Chinese words."));
}
} else {
//英文
let blankCount = 0;
for (let i in value.match(/ /g)) {
blankCount++
}
if (blankCount <= 40) {
callback(new Error("Dear reviewer, we recommend the available comment should be more than 40 words."));
}
}
},
trigger: "blur"
}],
}
}
},
created() {
if (this.Direct_log == null) {
this.$api
.post('api/Reviewer/checkUserForReviewer', this.add_edit)
.then(res => {
this.getData();
if (res.code == 0) {
this.add_apply = 0;
} else {
this.add_apply = 1;
}
})
.catch(err => {
this.$message.error(err);
});
this.getData();
} else {
this.$api
.post('api/Chief/autoLoginForChief', {
@@ -302,7 +376,23 @@
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.getData();
this.$api
.post('api/Reviewer/agreeReviewerArticle', {
art_rev_id: this.Art_id
})
.then(res => {
if (res.code == 0) {
this.getData();
} else {
this.$message.error(res.msg);
}
})
.catch(err => {
this.$message.error(err);
});
} else {
this.$message.error(res.msg);
}
@@ -321,7 +411,24 @@
'human': 'reviewer'
})
.then(res => {
this.txt_mess = res
if (res.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;
// 文章状态
if (res.astate == 2) {
this.add_apply = 0
} else {
this.add_apply = 1
}
})
.catch(err => {
this.$message.error(err);
@@ -378,7 +485,7 @@
this.questionform.qu6 = res.data.qu6;
this.questionform.qu7 = res.data.qu7;
this.questionform.qu8 = res.data.qu8;
this.questionform.qu9 = res.data.qu9;
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;
@@ -397,46 +504,36 @@
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
}
});
},
questionSubmit() {
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();
} else {
this.loading = false;
this.$message.error('question submit error');
}
});
} else {
this.$message.error('please select a recommend option');
}
});
},
saveAdd() {
this.$api
.post('api/Reviewer/addArticleReviewer', {
articleId: this.Art_id,
uid: localStorage.getItem('U_id')
})
.then(res => {
this.add_apply = 0;
this.$message.success('Successful application!');
this.getData();
})
.catch(err => {
this.$message.error(err);
if (this.questionform.is_anonymous == "" && this.questionform.is_anonymous != "0") {
this.$message.error('Please choose disclose your name or remain anonymous.');
} else {
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();
// } else {
// this.loading = false;
// this.$message.error('question submit error');
// }
// });
} else {
this.loading = false
this.$message.error('Please complete the information!');
}
});
}
}
},
},
mounted() {
@@ -461,14 +558,15 @@
}
.tet_list h5 {
font-size: 16px;
margin: 20px 0 10px 0;
font-size: 15px;
margin: 20px 0 5px 0;
font-weight: normal;
}
.tet_list p {
font-family: Calibri;
line-height: 22px;
font-size: 16px;
}
.file_sty {
@@ -504,4 +602,14 @@
margin-right: 10px;
vertical-align: middle;
}
.trah_c .icon_img {
width: 24px;
height: 24px;
margin: 0 20px;
}
.el-divider {
background-color: #006699;
}
</style>