1
This commit is contained in:
@@ -277,7 +277,9 @@ a {
|
||||
}
|
||||
|
||||
|
||||
|
||||
.el-submenu__title i {
|
||||
color: #fff !important;
|
||||
}
|
||||
/* 编辑分步骤稿件流程 */
|
||||
@font-face {
|
||||
font-family: 'Helvetica Neue For Number';
|
||||
@@ -341,7 +343,7 @@ a {
|
||||
.art_revlist>h3,
|
||||
.art_reviewer>h3,
|
||||
.art_state_btn>h3 {
|
||||
font-size: 16px;
|
||||
font-size: 18px;
|
||||
margin: 5px 0 30px 0;
|
||||
letter-spacing: -0.8px;
|
||||
}
|
||||
@@ -543,7 +545,9 @@ a {
|
||||
right: -65px;
|
||||
}
|
||||
|
||||
.art_file {}
|
||||
.art_file {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -2174,7 +2174,7 @@
|
||||
}
|
||||
|
||||
.el-submenu__title i {
|
||||
color: #909399
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.el-submenu__title:focus,
|
||||
|
||||
@@ -392,6 +392,7 @@
|
||||
|
||||
.el-submenu__title i {
|
||||
color: #fff !important;
|
||||
top: 54%;
|
||||
}
|
||||
|
||||
.el-menu-item i {
|
||||
|
||||
@@ -165,7 +165,7 @@
|
||||
<i class="el-icon-tickets"></i>Feedback
|
||||
</a>
|
||||
</p>
|
||||
<p v-if="review_Data==undefined" style="color: #888;">
|
||||
<p v-if="review_Data==undefined" style="color: #888;margin-bottom: 40px;">
|
||||
No reviewer
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
<i class="el-icon-tickets"></i>Feedback
|
||||
</a>
|
||||
</p>
|
||||
<p v-if="review_Data==undefined" style="color: #888;">
|
||||
<p v-if="review_Data==undefined" style="color: #888;margin-bottom: 40px;">
|
||||
No reviewer
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -159,7 +159,7 @@
|
||||
<i class="el-icon-tickets"></i>Feedback
|
||||
</a>
|
||||
</p>
|
||||
<p v-if="review_Data==undefined" style="color: #888;">
|
||||
<p v-if="review_Data==undefined" style="color: #888;margin-bottom: 40px;">
|
||||
No reviewer
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
<i class="el-icon-tickets"></i>Feedback
|
||||
</a>
|
||||
</p>
|
||||
<p v-if="review_Data==undefined" style="color: #888;">
|
||||
<p v-if="review_Data==undefined" style="color: #888;margin-bottom: 40px;">
|
||||
No reviewer
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -48,13 +48,16 @@
|
||||
-->
|
||||
<div shadow="never" v-for="item in tableData" class="mangu_list" :style="item.state,'1' | stateChange">
|
||||
<div style="padding: 20px 20px 20px 20px;position: relative;" :style="item.state,'2' | stateChange">
|
||||
<p>
|
||||
<p class="man_title" @click="esy_mtps(item.article_id)">{{item.title}}</p>
|
||||
<p style="margin-bottom: 8px;">
|
||||
<font style="color: #666b7a;">ID : </font>
|
||||
{{item.accept_sn}}
|
||||
<font style="color: #666b7a;margin-left: 50px;">Type : </font>
|
||||
{{item.type | ellipsis}}
|
||||
</p>
|
||||
<p class="man_title" @click="esy_mtps(item.article_id)">{{item.title}}</p>
|
||||
<p class="man_con">
|
||||
<span>{{item.type | ellipsis}}</span>
|
||||
<!-- <span>{{item.type | ellipsis}}</span> -->
|
||||
<font style="color: #666b7a;">Journal : </font>
|
||||
<b style="font-weight: normal;">{{item.journalname}}</b>
|
||||
</p>
|
||||
<p>
|
||||
@@ -70,20 +73,24 @@
|
||||
</b>
|
||||
</div>
|
||||
<div class="man_btn">
|
||||
<!-- <span @click="esy_mtps(item.article_id)"><i class="el-icon-document"></i>Manuscript process</span>
|
||||
<font> | </font> -->
|
||||
<span @click="esy_deta(item.article_id)"><i class="el-icon-document-copy"></i>My Manuscript</span>
|
||||
<span @click="esy_review(item.article_id)">
|
||||
<i class="el-icon-document-copy"></i>Reviewers coment
|
||||
</span>
|
||||
<font> | </font>
|
||||
<span @click="esy_deta(item.article_id)">
|
||||
<i class="el-icon-paperclip"></i>My Manuscript
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="man_progess" v-if="item.state==4" :style="item.state,'2' | stateChange">
|
||||
<font style="color: #666b7a;">
|
||||
Latest Progress :
|
||||
Current progress :
|
||||
</font>
|
||||
<b style="margin: 0 0 0 5px;">{{item.state,'tst' | stateChange}} </b>
|
||||
<router-link :to="{path:'/articleProcessRevision',query:{id:item.article_id}}" v-if="item.state==4" style="color: #333;">
|
||||
: <span style="margin: 0 0 0 5px;">click to</span>
|
||||
<b style="margin-left: 5px;color: #006699;text-decoration: underline;">Major revision</b>
|
||||
<b>Major revision</b>
|
||||
</router-link>
|
||||
</div>
|
||||
</div>
|
||||
@@ -177,6 +184,7 @@
|
||||
<font>Uploader : </font>{{item.username}}
|
||||
<i><i class="el-icon-time"></i>{{formatDate(item.ctime)}}</i>
|
||||
</span>
|
||||
<i class="el-icon-download download"></i>
|
||||
</a>
|
||||
</p>
|
||||
<br clear="both" v-if="coverLetterFileList">
|
||||
@@ -188,6 +196,7 @@
|
||||
<font>Uploader : </font>{{item.username}}
|
||||
<i><i class="el-icon-time"></i>{{formatDate(item.ctime)}}</i>
|
||||
</span>
|
||||
<i class="el-icon-download download"></i>
|
||||
</a>
|
||||
</p>
|
||||
<br clear="both" v-if="picturesAndTablesFileList">
|
||||
@@ -199,6 +208,7 @@
|
||||
<font>Uploader : </font>{{item.username}}
|
||||
<i><i class="el-icon-time"></i>{{formatDate(item.ctime)}}</i>
|
||||
</span>
|
||||
<i class="el-icon-download download"></i>
|
||||
</a>
|
||||
</p>
|
||||
<br clear="both">
|
||||
@@ -210,13 +220,54 @@
|
||||
<font>Uploader : </font>{{item.username}}
|
||||
<i><i class="el-icon-time"></i>{{formatDate(item.ctime)}}</i>
|
||||
</span>
|
||||
<i class="el-icon-download download"></i>
|
||||
</a>
|
||||
</p>
|
||||
<br clear="both">
|
||||
</div>
|
||||
<span slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="artextVisible=false">OK</el-button>
|
||||
</span>
|
||||
</el-dialog>
|
||||
|
||||
<!-- 审稿人列表 -->
|
||||
<el-dialog title="Coment from reviewers" :visible.sync="comentVisible" width="800px">
|
||||
<el-collapse v-model="activeComment" v-if="comentDeploy!=''">
|
||||
<el-collapse-item v-for="(item,index) in comentDeploy" :name="index" class="art_author_list">
|
||||
<template slot="title">
|
||||
<b class="com_shu">{{index+1}}</b>
|
||||
Reviewer Suggest
|
||||
<font style="margin: 0 0 0 50px;color: #888;">
|
||||
<i class="el-icon-time" style="margin:0 2px 0 0;"></i>
|
||||
{{formatDate1(item.ctime)}}
|
||||
</font>
|
||||
</template>
|
||||
<div class="art_author_coment">
|
||||
<p v-if="item.qu9_contents!=''">
|
||||
<font>Does the title represent manuscript's contents?</font>
|
||||
{{item.qu9_contents}}
|
||||
</p>
|
||||
<p v-if="item.qu10_contents!=''">
|
||||
<font>Is the Abstract accurate and concise?</font>
|
||||
{{item.qu10_contents}}
|
||||
</p>
|
||||
<p v-if="item.qu11_contents!=''">
|
||||
<font>Are the approach/ methods properly described?</font>
|
||||
{{item.qu11_contents}}
|
||||
</p>
|
||||
<p v-if="item.qu12_contents!=''">
|
||||
<font>Are the conclusions and interpretations sound?</font>
|
||||
{{item.qu12_contents}}
|
||||
</p>
|
||||
<p v-if="item.qu13_contents!=''">
|
||||
<font>Are the references properly cited?</font>
|
||||
{{item.qu13_contents}}
|
||||
</p>
|
||||
<p v-if="item.comments!=''">
|
||||
<font>Comments for the Authors</font>
|
||||
{{item.comments}}
|
||||
</p>
|
||||
</div>
|
||||
</el-collapse-item>
|
||||
</el-collapse>
|
||||
<p v-if="comentDeploy==''" style="color: #888888;margin: 0 0 0 10px;">No coment</p>
|
||||
</el-dialog>
|
||||
|
||||
</div>
|
||||
@@ -248,9 +299,12 @@
|
||||
picturesAndTablesFileList: [],
|
||||
totalpageFileList: [],
|
||||
manuscirptFileList: [],
|
||||
comentDeploy: [],
|
||||
activeComment: [1],
|
||||
authorList_name: '',
|
||||
editVisible: false,
|
||||
artextVisible: false,
|
||||
comentVisible: false,
|
||||
Total: 0
|
||||
};
|
||||
},
|
||||
@@ -327,6 +381,28 @@
|
||||
}
|
||||
});
|
||||
},
|
||||
// 点击稿件审稿意见
|
||||
esy_review(e) {
|
||||
// 审稿人意见
|
||||
this.$api
|
||||
.post('api/Article/getArticleDetail', {
|
||||
articleId: e,
|
||||
human: 'author'
|
||||
})
|
||||
.then(res => {
|
||||
// 弹出框
|
||||
this.comentDeploy = res.suggest
|
||||
this.activeComment = []
|
||||
for (var i = 0; i < res.suggest.length; i++) {
|
||||
this.activeComment.push(i)
|
||||
}
|
||||
this.comentVisible = true
|
||||
})
|
||||
.catch(err => {
|
||||
console.log(err);
|
||||
});
|
||||
|
||||
},
|
||||
// 点击稿件内容文件
|
||||
esy_deta(e) {
|
||||
this.$api
|
||||
@@ -394,6 +470,13 @@
|
||||
var s = date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds();
|
||||
return Y + M + D + ' ' + h + ':' + m + ':' + s;
|
||||
},
|
||||
formatDate1(timestamp) {
|
||||
var date = new Date(timestamp * 1000); //时间戳为10位需*1000,时间戳为13位的话不需乘1000
|
||||
var Y = date.getFullYear() + '-';
|
||||
var M = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1) + '-';
|
||||
var D = date.getDate() < 10 ? '0' + date.getDate() : date.getDate();
|
||||
return Y + M + D;
|
||||
},
|
||||
},
|
||||
filters: {
|
||||
// 文章类型
|
||||
@@ -401,61 +484,61 @@
|
||||
let frag = '';
|
||||
switch (value) {
|
||||
case "A":
|
||||
frag = 'ARTICLE';
|
||||
frag = 'Article';
|
||||
break;
|
||||
case 'B':
|
||||
frag = 'REVIEW';
|
||||
frag = 'Review';
|
||||
break;
|
||||
case 'C':
|
||||
frag = 'CASE REPORT';
|
||||
frag = 'Case report';
|
||||
break;
|
||||
case 'P':
|
||||
frag = 'RESEARCH PROPOSAL';
|
||||
frag = 'Research proposal';
|
||||
break;
|
||||
case 'N':
|
||||
frag = 'NEWS';
|
||||
frag = 'News';
|
||||
break;
|
||||
case 'T':
|
||||
frag = 'COMMENT';
|
||||
frag = 'Comment';
|
||||
break;
|
||||
case 'CT':
|
||||
frag = 'CORRECTION';
|
||||
frag = 'Correction';
|
||||
break;
|
||||
case 'HT':
|
||||
frag = 'HYPOTHESIS';
|
||||
frag = 'Hypothesis';
|
||||
break;
|
||||
case 'PF':
|
||||
frag = 'PREFACE';
|
||||
frag = 'Preface';
|
||||
break;
|
||||
case 'ET':
|
||||
frag = 'EDITORIAL';
|
||||
frag = 'Editorial';
|
||||
break;
|
||||
case 'RP':
|
||||
frag = 'REPORT';
|
||||
frag = 'Report';
|
||||
break;
|
||||
case 'EF':
|
||||
frag = 'EMPIRICAL FORMULA';
|
||||
frag = 'Empirical formula';
|
||||
break;
|
||||
case 'EM':
|
||||
frag = 'EVIDENCE-BASED MEDICINE';
|
||||
frag = 'Evidence-based medicine';
|
||||
break;
|
||||
case 'EC':
|
||||
frag = 'EXPERT CONSENSUS';
|
||||
frag = 'Expert consensus';
|
||||
break;
|
||||
case 'LTE':
|
||||
frag = 'LETTER TO EDITOR';
|
||||
frag = 'Letter to editor';
|
||||
break;
|
||||
case 'QI':
|
||||
frag = 'QUESTIONNAIRE INVESTIGATION';
|
||||
frag = 'Questionnaire investigation';
|
||||
break;
|
||||
case 'PT':
|
||||
frag = 'PROTOCOL';
|
||||
frag = 'Protocol';
|
||||
break;
|
||||
case 'CS':
|
||||
frag = 'CASE SERIES';
|
||||
frag = 'Case Series';
|
||||
break;
|
||||
default:
|
||||
frag = 'OTHERS';
|
||||
frag = 'Others';
|
||||
}
|
||||
return frag;
|
||||
},
|
||||
@@ -470,71 +553,71 @@
|
||||
switch (value) {
|
||||
case 0:
|
||||
str = '#e1b0271F;';
|
||||
sfr = '#e1b0270A;';
|
||||
sfr = '#e1b02705;';
|
||||
sgr = '#e1b0274D;';
|
||||
skr = '#e1b027;';
|
||||
slr = 'Received';
|
||||
break;
|
||||
case 1:
|
||||
str = '#5a90e11F;';
|
||||
sfr = '#5a90e10A;';
|
||||
sfr = '#5a90e105;';
|
||||
sgr = '#5a90e14D;';
|
||||
skr = '#5a90e1;';
|
||||
slr = 'With editor';
|
||||
break;
|
||||
case 2:
|
||||
str = '#5a90e11F;';
|
||||
sfr = '#5a90e10A;';
|
||||
sfr = '#5a90e105;';
|
||||
sgr = '#5a90e14D;';
|
||||
skr = '#5a90e1;';
|
||||
slr = 'Under review';
|
||||
break;
|
||||
case 3:
|
||||
str = '#8888881F;';
|
||||
sfr = '#8888880A;';
|
||||
sfr = '#88888805;';
|
||||
sgr = '#8888884D;';
|
||||
skr = '#888888;';
|
||||
slr = 'Reject';
|
||||
break;
|
||||
case 4:
|
||||
str = '#5a90e11F;';
|
||||
sfr = '#5a90e10A;';
|
||||
sfr = '#5a90e105;';
|
||||
sgr = '#5a90e14D;';
|
||||
skr = '#5a90e1;';
|
||||
slr = 'Revision';
|
||||
break;
|
||||
case 5:
|
||||
str = '#5fab3b1F;';
|
||||
sfr = '#5fab3b0A;';
|
||||
sfr = '#5fab3b05;';
|
||||
sgr = '#5fab3b4D;';
|
||||
skr = '#5fab3b;';
|
||||
slr = 'Accepted';
|
||||
break;
|
||||
case 6:
|
||||
str = '#5a90e11F;';
|
||||
sfr = '#5a90e10A;';
|
||||
sfr = '#5a90e105;';
|
||||
sgr = '#5a90e14D;';
|
||||
skr = '#5a90e1;';
|
||||
slr = 'Fininal decision';
|
||||
break;
|
||||
default:
|
||||
str = '#8888881F;';
|
||||
sfr = '#8888880A;';
|
||||
sfr = '#88888805;';
|
||||
sgr = '#8888884D;';
|
||||
skr = '#888888;';
|
||||
slr = 'error!!';
|
||||
}
|
||||
if (num == '1') {
|
||||
return 'border-color:'+sgr;
|
||||
return 'border-color:' + sgr;
|
||||
}
|
||||
if (num == '2') {
|
||||
return 'background-color:'+sfr;
|
||||
return 'background-color:' + sfr;
|
||||
}
|
||||
if (num == '3') {
|
||||
return 'background-color:'+str;
|
||||
return 'background-color:' + str + ';border-color:' + sgr;
|
||||
}
|
||||
if (num == '4') {
|
||||
return 'color:'+skr;
|
||||
return 'color:' + skr;
|
||||
}
|
||||
if (num == 'tst') {
|
||||
return slr;
|
||||
@@ -612,7 +695,7 @@
|
||||
}
|
||||
|
||||
.mangu_list .man_title {
|
||||
margin: 10px 0 18px 0;
|
||||
margin: 0 80px 10px 0;
|
||||
font-weight: bolder;
|
||||
letter-spacing: -0.5px;
|
||||
font-size: 16px;
|
||||
@@ -625,22 +708,14 @@
|
||||
}
|
||||
|
||||
.mangu_list .man_con {
|
||||
margin: 0 0 12px 0;
|
||||
}
|
||||
|
||||
.mangu_list .man_con>span {
|
||||
border-radius: 5px;
|
||||
font-size: 12px;
|
||||
margin: 0 25px 0 0;
|
||||
color: #006699;
|
||||
background-color: #e0edf3;
|
||||
padding: 2px 8px;
|
||||
margin: 0 0 10px 0;
|
||||
}
|
||||
|
||||
.mangu_list .man_state {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
right: -1px;
|
||||
top: -1px;
|
||||
border: 1px solid #fff;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
padding: 6px 18px;
|
||||
@@ -659,14 +734,29 @@
|
||||
margin: 0 5px 0 0;
|
||||
}
|
||||
|
||||
.mangu_list .man_btn {
|
||||
|
||||
.mangu_list .man_progess>a>b {
|
||||
margin-left: 5px;
|
||||
color: #5a90e1;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.mangu_list .man_progess>a>b:hover {
|
||||
color: #006699;
|
||||
}
|
||||
|
||||
.mangu_list .man_btn {
|
||||
/* color: #006699; */
|
||||
position: absolute;
|
||||
bottom: 25px;
|
||||
right: 25px;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.mangu_list .man_btn>span {
|
||||
/* text-decoration: underline; */
|
||||
}
|
||||
|
||||
.mangu_list .man_btn>span:hover {
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
@@ -685,4 +775,52 @@
|
||||
.art_state_message {
|
||||
margin: 0 20px 0 0;
|
||||
}
|
||||
|
||||
.art_process_ {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.art_process_ .art_process_list:first-child {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.art_author_list {
|
||||
margin: 0 0 0 5px;
|
||||
}
|
||||
|
||||
.art_author_list .com_shu {
|
||||
background-color: #006699;
|
||||
color: #fff;
|
||||
display: inline-block;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
line-height: 18px;
|
||||
text-align: center;
|
||||
margin: 0 10px 0 0;
|
||||
}
|
||||
|
||||
.el-collapse {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
|
||||
.art_author_coment {}
|
||||
|
||||
.art_author_coment>p {
|
||||
margin: 10px 0 0 28px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.art_author_coment>p:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.art_author_coment>p>font {
|
||||
display: block;
|
||||
margin: 0 0 2px 0;
|
||||
color: #888;
|
||||
font-weight: bold;
|
||||
letter-spacing: -0.5px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -11,70 +11,122 @@
|
||||
</el-breadcrumb-item>
|
||||
</el-breadcrumb>
|
||||
</div>
|
||||
<div class="container process_new">
|
||||
<p style="font-size: 16px;font-weight: bolder;">
|
||||
<span class="art_type">{{ellType(artMes.type)}}</span>
|
||||
<div class="container_state">
|
||||
<p style="color: #888;margin: 10px 0 5px 0;">ID : {{artMes.accept_sn}}</p>
|
||||
<p style="font-size: 16px;font-weight: bolder;letter-spacing: -0.5px;">
|
||||
<!-- <span class="art_type">{{ellType(artMes.type)}}</span> -->
|
||||
{{artMes.title}}
|
||||
</p>
|
||||
<p style="color: #7f8790;margin: 10px 0 0 0;font-size: 14px;">Follow the progress of your submission.</p>
|
||||
<!-- <p style="color: #7f8790;margin: 10px 0 0 0;">Follow the progress of your submission.</p> -->
|
||||
<div class="tit_head">
|
||||
This submission is <b>{{statetostr(artMes.laststate)}}</b>
|
||||
at <b>{{artMes.journalname}}.</b>
|
||||
at <b style="letter-spacing: -0.5px;">{{artMes.journalname}}.</b>
|
||||
</div>
|
||||
<el-row :gutter="30">
|
||||
<el-col :span="15">
|
||||
<div class="process_new">
|
||||
|
||||
<p style="width: 100%;height: 1px;background-color: #eee;margin: 35px 0 30px 0;"></p>
|
||||
|
||||
<el-row :gutter="80">
|
||||
<el-col :span="24">
|
||||
<h2 style="font-size: 18px;margin: 0 0 30px 0;float: left;">Manuscript process</h2>
|
||||
<div class="radio" style="float: right;">
|
||||
<!-- <p style="width: 100%;height: 1px;background-color: #eee;margin: 35px 0 30px 0;"></p> -->
|
||||
<h2 style="font-size: 18px;margin: 0 0 10px 0;float: left;letter-spacing: -0.8px;">Manuscript process</h2>
|
||||
<!-- <div class="radio" style="float: right;">
|
||||
<el-radio-group v-model="reverse">
|
||||
<el-radio-button :label="false">Ascending</el-radio-button>
|
||||
<el-radio-button :label="true">Descending</el-radio-button>
|
||||
</el-radio-group>
|
||||
</div> -->
|
||||
<br clear="both">
|
||||
<el-timeline :reverse="reverse" class="author_tree">
|
||||
<el-timeline-item v-for="(item, index) in prossMsgs" :icon="item.icon" :color="item.color" size="large" :key="index"
|
||||
:timestamp="formatDate(item.ctime)" placement="top" v-if="item.ftype == 0">
|
||||
<el-card>
|
||||
<p>
|
||||
<font>{{ statetostr(item.state_to) }}</font>
|
||||
<!-- 提交 -->
|
||||
<font v-if="item.state_to==-1">
|
||||
: <b style="margin-left: 5px;">First submitted to {{artMes.journalname}}</b>
|
||||
</font>
|
||||
<!-- 给编辑 -->
|
||||
<font v-if="item.state_to==1">
|
||||
: <b style="margin-left: 5px;"> Submission checks complete</b>
|
||||
</font>
|
||||
<!-- 审查中 -->
|
||||
<font v-if="item.state_to==2">
|
||||
: <b style="margin-left: 5px;"> Editor assigned</b>
|
||||
</font>
|
||||
<!-- 修改 -->
|
||||
<font v-if="item.state_to==4">
|
||||
:
|
||||
<router-link :to="{path:'/articleProcessRevision',query:{id:artMes.article_id}}" v-if="item.back==1">
|
||||
<b style="margin-left: 5px;color: #006699;text-decoration: underline;">Major revision</b>
|
||||
</router-link>
|
||||
<b style="margin-left: 5px;color: #888;text-decoration: underline;" v-if="item.back==0">
|
||||
Major revision (Completed)
|
||||
</b>
|
||||
</font>
|
||||
<!-- 接收 -->
|
||||
<font v-if="item.state_to==5">
|
||||
: <b style="margin-left: 5px;"> Successfully received manuscript</b>
|
||||
</font>
|
||||
</p>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
</el-timeline>
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col :span="9">
|
||||
<!-- 审稿人列表 -->
|
||||
<!-- <div class="art_process_">
|
||||
<h2>
|
||||
Coment from reviewers
|
||||
</h2>
|
||||
<div style="max-height: 300px;overflow-y: auto;">
|
||||
<div class="art_process_list">
|
||||
<b>1</b>reviewers <span>202-50-60</span>
|
||||
<p>reviewersreviewersreviewersreviewersreviewers</p>
|
||||
</div>
|
||||
<div class="art_process_list">
|
||||
<b>1</b>reviewers <span>202-50-60</span>
|
||||
<p>reviewersreviewersreviewersreviewersreviewers</p>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<!-- 对话列表 -->
|
||||
<div class="kuang_communtion">
|
||||
<h2>
|
||||
Communication
|
||||
</h2>
|
||||
<div v-for="item in talkMsgs" class="kuang_communtion_conmt">
|
||||
<div v-if="item.username != userName" class="talk_aued">
|
||||
<p>
|
||||
Editor :
|
||||
</p>
|
||||
<el-card>
|
||||
<p>{{ item.ad_content }}</p>
|
||||
</el-card>
|
||||
<b>{{formatDate(item.ad_ctime)}}</b>
|
||||
</div>
|
||||
<div v-if="item.username == userName" class="talk_aued talk_edit">
|
||||
<p>
|
||||
Author :
|
||||
</p>
|
||||
<el-card>
|
||||
<p>{{ item.ad_content }}</p>
|
||||
</el-card>
|
||||
<b>{{formatDate(item.ad_ctime)}}</b>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="kuang_communtion_input">
|
||||
<p v-if="talkMsgs"></p>
|
||||
<el-input type="textarea" rows="3" v-model="msgform.ad_content" placeholder="Editor messages" resize="none"></el-input>
|
||||
<div class="kuang_communtion_input_text">
|
||||
Dear Author, through this window, you can have informal
|
||||
<el-button type="primary" @click="saveMsg">Send</el-button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br clear="both">
|
||||
<el-timeline :reverse="reverse" class="author_tree">
|
||||
<el-timeline-item v-for="(item, index) in prossMsgs" :icon="item.icon" :color="item.color" size="large" :key="index"
|
||||
:timestamp="formatDate(item.ctime)" placement="top" v-if="item.ftype == 0">
|
||||
<el-card>
|
||||
<p>
|
||||
<font>{{ statetostr(item.state_to) }}</font>
|
||||
<!-- 提交 -->
|
||||
<font v-if="item.state_to==-1">
|
||||
: <b style="margin-left: 5px;">First submitted to {{artMes.journalname}}</b>
|
||||
</font>
|
||||
<!-- 给编辑 -->
|
||||
<font v-if="item.state_to==1">
|
||||
: <b style="margin-left: 5px;"> Submission checks complete</b>
|
||||
</font>
|
||||
<!-- 审查中 -->
|
||||
<font v-if="item.state_to==2">
|
||||
: <b style="margin-left: 5px;"> Editor assigned</b>
|
||||
</font>
|
||||
<!-- 修改 -->
|
||||
<font v-if="item.state_to==4">
|
||||
:
|
||||
<router-link :to="{path:'/articleList',query:{art_id:artMes.article_id}}" v-if="item.back==1">
|
||||
<b style="margin-left: 5px;color: #006699;text-decoration: underline;">Major revision</b>
|
||||
</router-link>
|
||||
<b style="margin-left: 5px;color: #888;text-decoration: underline;" v-if="item.back==0">
|
||||
Major revision (Completed)
|
||||
</b>
|
||||
</font>
|
||||
<!-- 接收 -->
|
||||
<font v-if="item.state_to==5">
|
||||
: <b style="margin-left: 5px;"> Successfully received manuscript</b>
|
||||
</font>
|
||||
</p>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
</el-timeline>
|
||||
</el-col>
|
||||
<!-- <el-col :span="9">
|
||||
<h2 style="font-size: 18px;margin: 0 0 30px 0;">Talking</h2>
|
||||
<el-button type="primary" icon="el-icon-edit" round style="margin-left: 28px" @click="authormsg">Edit message</el-button>
|
||||
</el-col> -->
|
||||
</el-row>
|
||||
|
||||
</div>
|
||||
@@ -101,7 +153,7 @@
|
||||
articleId: this.$route.query.id,
|
||||
userName: localStorage.getItem('U_name'),
|
||||
loading: false,
|
||||
reverse: true,
|
||||
reverse: false,
|
||||
artMes: {
|
||||
articleId: this.$route.query.id
|
||||
},
|
||||
@@ -110,7 +162,15 @@
|
||||
article_id: this.$route.query.id,
|
||||
ad_content: ''
|
||||
},
|
||||
query_review: {
|
||||
articleId: this.$route.query.id,
|
||||
pageIndex: 1,
|
||||
pageSize: 10
|
||||
},
|
||||
prossMsgs: [],
|
||||
talkMsgs: [],
|
||||
review_Data: [],
|
||||
|
||||
editVisible: false,
|
||||
saveloading: false
|
||||
};
|
||||
@@ -123,7 +183,6 @@
|
||||
},
|
||||
methods: {
|
||||
|
||||
|
||||
//初始化文章信息
|
||||
initarticle() {
|
||||
this.$api
|
||||
@@ -142,7 +201,7 @@
|
||||
ftype: 0,
|
||||
});
|
||||
for (let i = res.msg.length - 1; i >= 0; i--) {
|
||||
if (res.msg[i].state_to == 4 && back_num == 0) {
|
||||
if (res.msg[i].state_to == 4 && res.msg[i + 1] == undefined && back_num == 0) {
|
||||
res.msg[i].back = 1;
|
||||
back_num = 1
|
||||
} else {
|
||||
@@ -176,12 +235,35 @@
|
||||
this.artMes = res.article;
|
||||
this.artMes.laststate = res.msg[res.msg.length - 1].state_to;
|
||||
this.prossMsgs = res.msg;
|
||||
console.log(this.prossMsgs)
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log(err);
|
||||
});
|
||||
|
||||
// 留言板列表
|
||||
this.$api
|
||||
.post('api/Article/getArticleDialogs', {
|
||||
article_id: this.$route.query.id
|
||||
})
|
||||
.then((res) => {
|
||||
this.talkMsgs = res.data.dialogs;
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log(err);
|
||||
});
|
||||
|
||||
// 获取编辑列表数据
|
||||
this.$api
|
||||
.post('api/Article/getReviewerList', this.query_review)
|
||||
.then((res) => {
|
||||
this.review_Data = res.data;
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log(err);
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
formatDate(timestamp) {
|
||||
var date = new Date(timestamp * 1000); //时间戳为10位需*1000,时间戳为13位的话不需乘1000
|
||||
var Y = date.getFullYear() + '-';
|
||||
@@ -197,19 +279,21 @@
|
||||
authormsg() {
|
||||
this.editVisible = true;
|
||||
},
|
||||
// 保存留言
|
||||
saveMsg() {
|
||||
if (this.msgform.content == '') {
|
||||
if (this.msgform.ad_content == '') {
|
||||
this.$message.error('Please input messages');
|
||||
return false;
|
||||
}
|
||||
this.saveloading = true;
|
||||
this.$api.post('api/Article/authorMessage', this.msgform)
|
||||
this.loading = true;
|
||||
this.$api.post('api/Article/pushArticleDialog', this.msgform)
|
||||
.then((res) => {
|
||||
this.saveloading = false;
|
||||
this.loading = false;
|
||||
this.$message.success('Sent successfully');
|
||||
this.$router.go(0);
|
||||
this.initarticle()
|
||||
});
|
||||
},
|
||||
|
||||
statetostr(mystate) {
|
||||
let str = '';
|
||||
switch (mystate) {
|
||||
@@ -247,61 +331,61 @@
|
||||
let frag = '';
|
||||
switch (e) {
|
||||
case "A":
|
||||
frag = 'ARTICLE';
|
||||
frag = 'Article';
|
||||
break;
|
||||
case 'B':
|
||||
frag = 'REVIEW';
|
||||
frag = 'Review';
|
||||
break;
|
||||
case 'C':
|
||||
frag = 'CASE REPORT';
|
||||
frag = 'Case report';
|
||||
break;
|
||||
case 'P':
|
||||
frag = 'RESEARCH PROPOSAL';
|
||||
frag = 'Research proposal';
|
||||
break;
|
||||
case 'N':
|
||||
frag = 'NEWS';
|
||||
frag = 'News';
|
||||
break;
|
||||
case 'T':
|
||||
frag = 'COMMENT';
|
||||
frag = 'Comment';
|
||||
break;
|
||||
case 'CT':
|
||||
frag = 'CORRECTION';
|
||||
frag = 'Correction';
|
||||
break;
|
||||
case 'HT':
|
||||
frag = 'HYPOTHESIS';
|
||||
frag = 'Hypothesis';
|
||||
break;
|
||||
case 'PF':
|
||||
frag = 'PREFACE';
|
||||
frag = 'Preface';
|
||||
break;
|
||||
case 'ET':
|
||||
frag = 'EDITORIAL';
|
||||
frag = 'Editorial';
|
||||
break;
|
||||
case 'RP':
|
||||
frag = 'REPORT';
|
||||
frag = 'Report';
|
||||
break;
|
||||
case 'EF':
|
||||
frag = 'EMPIRICAL FORMULA';
|
||||
frag = 'Empirical formula';
|
||||
break;
|
||||
case 'EM':
|
||||
frag = 'EVIDENCE-BASED MEDICINE';
|
||||
frag = 'Evidence-based medicine';
|
||||
break;
|
||||
case 'EC':
|
||||
frag = 'EXPERT CONSENSUS';
|
||||
frag = 'Expert consensus';
|
||||
break;
|
||||
case 'LTE':
|
||||
frag = 'LETTER TO EDITOR';
|
||||
frag = 'Letter to editor';
|
||||
break;
|
||||
case 'QI':
|
||||
frag = 'QUESTIONNAIRE INVESTIGATION';
|
||||
frag = 'Questionnaire investigation';
|
||||
break;
|
||||
case 'PT':
|
||||
frag = 'PROTOCOL';
|
||||
frag = 'Protocol';
|
||||
break;
|
||||
case 'CS':
|
||||
frag = 'CASE SERIES';
|
||||
frag = 'Case Series';
|
||||
break;
|
||||
default:
|
||||
frag = 'OTHERS';
|
||||
frag = 'Others';
|
||||
}
|
||||
return frag;
|
||||
},
|
||||
@@ -321,12 +405,15 @@
|
||||
}
|
||||
|
||||
.process_new {
|
||||
color: #333;
|
||||
border: 1px solid #dcdfe6;
|
||||
padding: 20px;
|
||||
background-color: #fff;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.art_type {
|
||||
color: #fff;
|
||||
background-color: #006699;
|
||||
/* background-color: #ddeef7; */
|
||||
color: #006699;
|
||||
padding: 2px 5px;
|
||||
border-radius: 5px;
|
||||
font-size: 12px;
|
||||
@@ -338,8 +425,9 @@
|
||||
border: 1px solid #EBEEF5;
|
||||
padding: 20px;
|
||||
font-size: 15px;
|
||||
margin: 30px 0;
|
||||
background-color: #fcfcfc;
|
||||
margin: 20px 0 30px 0;
|
||||
background-color: #fff;
|
||||
/* background-color: #fcfcfc; */
|
||||
}
|
||||
|
||||
.tit_head b:nth-child(1) {
|
||||
@@ -356,6 +444,10 @@
|
||||
margin: 40px 0 0 10px;
|
||||
}
|
||||
|
||||
.author_tree .el-timeline-item {
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
|
||||
.author_tree .el-timeline-item__node--large {
|
||||
left: 155px;
|
||||
width: 30px;
|
||||
@@ -385,4 +477,49 @@
|
||||
/* border-left: 2px solid #66a3c2; */
|
||||
left: 168px;
|
||||
}
|
||||
|
||||
.art_process_ {
|
||||
margin-bottom: 30px;
|
||||
border: 1px solid #dcdfe6;
|
||||
padding: 20px;
|
||||
background-color: #fff;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.art_process_>h2 {
|
||||
font-size: 18px;
|
||||
margin: 0 0 2px 0;
|
||||
letter-spacing: -0.8px;
|
||||
}
|
||||
|
||||
.art_process_list {
|
||||
border-bottom: 1px solid #dcdfe6;
|
||||
padding: 15px 0 25px 10px;
|
||||
}
|
||||
|
||||
.art_process_ .art_process_list:last-child {
|
||||
border-bottom: 0;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
.art_process_list b {
|
||||
background-color: #006699;
|
||||
color: #fff;
|
||||
display: inline-block;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
line-height: 18px;
|
||||
text-align: center;
|
||||
margin: 0 10px 0 0;
|
||||
|
||||
}
|
||||
|
||||
.art_process_list span {
|
||||
color: #888;
|
||||
margin: 0 0 0 15px;
|
||||
}
|
||||
|
||||
.art_process_list p {
|
||||
margin: 10px 0 0 28px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -21,33 +21,66 @@
|
||||
<i @click="man_detal()" class="det_cssep">Manuscript Detail</i>
|
||||
</b>
|
||||
</p>
|
||||
|
||||
<el-row :gutter="30">
|
||||
<el-col :span="15">
|
||||
<div class="art_author_">
|
||||
<h2>
|
||||
Coment from reviewers
|
||||
</h2>
|
||||
<div class="art_author_list">
|
||||
<b>1</b>reviewers <span>202-50-60</span>
|
||||
<p>reviewersreviewersreviewersreviewersreviewers</p>
|
||||
</div>
|
||||
<div class="art_author_list">
|
||||
<b>1</b>reviewers <span>202-50-60</span>
|
||||
<p>reviewersreviewersreviewersreviewersreviewers</p>
|
||||
</div>
|
||||
<el-collapse v-model="activeComment" v-if="comentDeploy!=''">
|
||||
<el-collapse-item v-for="(item,index) in comentDeploy" :name="index" class="art_author_list">
|
||||
<template slot="title">
|
||||
<b class="com_shu">{{index+1}}</b>
|
||||
Reviewer Suggest
|
||||
<font style="margin: 0 0 0 50px;color: #888;">
|
||||
<i class="el-icon-time" style="margin:0 2px 0 0;"></i>
|
||||
{{formatDate1(item.ctime)}}
|
||||
</font>
|
||||
</template>
|
||||
<div class="art_author_coment">
|
||||
<p v-if="item.qu9_contents!=''">
|
||||
<font>Does the title represent manuscript's contents?</font>
|
||||
{{item.qu9_contents}}
|
||||
</p>
|
||||
<p v-if="item.qu10_contents!=''">
|
||||
<font>Is the Abstract accurate and concise?</font>
|
||||
{{item.qu10_contents}}
|
||||
</p>
|
||||
<p v-if="item.qu11_contents!=''">
|
||||
<font>Are the approach/ methods properly described?</font>
|
||||
{{item.qu11_contents}}
|
||||
</p>
|
||||
<p v-if="item.qu12_contents!=''">
|
||||
<font>Are the conclusions and interpretations sound?</font>
|
||||
{{item.qu12_contents}}
|
||||
</p>
|
||||
<p v-if="item.qu13_contents!=''">
|
||||
<font>Are the references properly cited?</font>
|
||||
{{item.qu13_contents}}
|
||||
</p>
|
||||
<p v-if="item.comments!=''">
|
||||
<font>Comments for the Authors</font>
|
||||
{{item.comments}}
|
||||
</p>
|
||||
</div>
|
||||
</el-collapse-item>
|
||||
</el-collapse>
|
||||
<p v-if="comentDeploy==''" style="color: #888888;margin: 0 0 0 10px;">No coment</p>
|
||||
</div>
|
||||
<div class="art_author_">
|
||||
<h2>
|
||||
<h2 style="margin-bottom: 20px;">
|
||||
Coment from editor
|
||||
</h2>
|
||||
<div class="art_author_peng">
|
||||
<img src="../../assets/img/icon_0.png">
|
||||
files
|
||||
<span>202-50-60</span>
|
||||
<div v-if="fileEditor!=''" v-for="(item,index) in fileEditor" class="art_author_peng">
|
||||
<a :href="mediaUrl + item.proposal_file">
|
||||
<img src="../../assets/img/icon_0.png">
|
||||
files{{index+1}}
|
||||
<span>{{formatDate1(item.ap_ctime)}}</span>
|
||||
<i class="el-icon-download download"></i>
|
||||
</a>
|
||||
</div>
|
||||
<p v-if="fileEditor==''" style="color: #888888;margin: 0 0 0 10px;">No coment</p>
|
||||
</div>
|
||||
|
||||
<div class="art_caozuo_">
|
||||
<div class="art_author_btn">
|
||||
<div class="art_file_btn_text">
|
||||
@@ -101,7 +134,7 @@
|
||||
</el-upload>
|
||||
</p>
|
||||
<br clear="both">
|
||||
<el-button type="primary" @click="onSubmit" style="margin: 0 0 0 170px;">Submit</el-button>
|
||||
<el-button type="primary" @click="onSubmit" style="margin: 0 0 0 107px;">Submit</el-button>
|
||||
</div>
|
||||
</div>
|
||||
</el-col>
|
||||
@@ -112,25 +145,20 @@
|
||||
</h2>
|
||||
<div v-for="item in talkMsgs" class="kuang_communtion_conmt">
|
||||
<div v-if="item.username != userName" class="talk_aued">
|
||||
<p>
|
||||
Editor :
|
||||
</p>
|
||||
<p> Editor : </p>
|
||||
<el-card>
|
||||
<p>{{ item.ad_content }}</p>
|
||||
</el-card>
|
||||
<b>{{formatDate(item.ad_ctime)}}</b>
|
||||
</div>
|
||||
<div v-if="item.username == userName" class="talk_aued talk_edit">
|
||||
<p>
|
||||
Author :
|
||||
</p>
|
||||
<p> Author : </p>
|
||||
<el-card>
|
||||
<p>{{ item.ad_content }}</p>
|
||||
</el-card>
|
||||
<b>{{formatDate(item.ad_ctime)}}</b>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="kuang_communtion_input">
|
||||
<p v-if="talkMsgs"></p>
|
||||
<el-input type="textarea" rows="3" v-model="msgform.ad_content" placeholder="Editor messages" resize="none"></el-input>
|
||||
@@ -142,7 +170,6 @@
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
</div>
|
||||
<el-dialog title="Manuscript Basic Information" :visible.sync="Detailvisible" width="800px">
|
||||
<div class="art_state_message">
|
||||
@@ -286,6 +313,7 @@
|
||||
userName: localStorage.getItem('U_name'),
|
||||
loading: false,
|
||||
Detailvisible: false,
|
||||
activeComment: [0],
|
||||
activeNames: ['2'],
|
||||
authorList_name: '',
|
||||
artMes: {
|
||||
@@ -296,7 +324,9 @@
|
||||
article_id: this.$route.query.id,
|
||||
ad_content: ''
|
||||
},
|
||||
comentDeploy: [],
|
||||
talkMsgs: [],
|
||||
fileEditor: [],
|
||||
coverLetterFileList: [],
|
||||
picturesAndTablesFileList: [],
|
||||
totalpageFileList: [],
|
||||
@@ -363,12 +393,14 @@
|
||||
}
|
||||
}
|
||||
this.authorList_name = "Author : " + alist_name.join("");
|
||||
|
||||
// 审稿人意见
|
||||
this.comentDeploy = res.suggest
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log(err);
|
||||
});
|
||||
|
||||
|
||||
//初始化filelist
|
||||
this.$api
|
||||
.post('api/Article/getFilelistByArticleID', {
|
||||
@@ -384,6 +416,17 @@
|
||||
console.log(err);
|
||||
});
|
||||
|
||||
// 编辑上传的文件
|
||||
this.$api
|
||||
.post('api/Article/getArticleProposals', {
|
||||
article_id: this.articleId
|
||||
})
|
||||
.then(res => {
|
||||
this.fileEditor = res.data.proposals;
|
||||
})
|
||||
.catch(err => {
|
||||
console.log(err);
|
||||
});
|
||||
|
||||
// 留言板列表
|
||||
this.$api
|
||||
@@ -414,6 +457,13 @@
|
||||
var s = date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds();
|
||||
return Y + M + D + ' ' + h + ':' + m + ':' + s;
|
||||
},
|
||||
formatDate1(timestamp) {
|
||||
var date = new Date(timestamp * 1000); //时间戳为10位需*1000,时间戳为13位的话不需乘1000
|
||||
var Y = date.getFullYear() + '-';
|
||||
var M = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1) + '-';
|
||||
var D = date.getDate() < 10 ? '0' + date.getDate() : date.getDate();
|
||||
return Y + M + D;
|
||||
},
|
||||
|
||||
|
||||
// 保存留言
|
||||
@@ -433,44 +483,39 @@
|
||||
|
||||
// 上传文件
|
||||
onSubmit() {
|
||||
this.$refs.articleform.validate((valid) => {
|
||||
//验证文件
|
||||
// if (this.form.manuscirpt == '') {
|
||||
// this.$message.error('Manuscirpt is required');
|
||||
// console.log('file up error');
|
||||
// return false;
|
||||
// }
|
||||
// //验证文章作者
|
||||
// var alist = this.form.authorList;
|
||||
// for (var i in alist) {
|
||||
// if (alist[i].author != '' && alist[i].isReport && alist[i].email == '') {
|
||||
// this.$message.error("The corresponding author's email is required");
|
||||
// return false;
|
||||
// }
|
||||
// }
|
||||
if (valid) {
|
||||
this.loading = true;
|
||||
this.$api
|
||||
.post('api/Article/editArticle', this.form)
|
||||
.then((res) => {
|
||||
this.loading = false;
|
||||
if (res.code == 0) {
|
||||
this.$message.success('success');
|
||||
this.initarticle();
|
||||
} else {
|
||||
this.$message.error('Failed to submit, please contact administrator!');
|
||||
console.log(res.msg);
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log(err);
|
||||
});
|
||||
} else {
|
||||
this.$message.error('Failed to submit. Please ensure the integrity of the information');
|
||||
console.log('error submit!!');
|
||||
//验证文件
|
||||
if (this.msgform.totalpage == undefined || this.msgform.manuscirpt == undefined) {
|
||||
this.$message.error(
|
||||
'Failed to submit. Please upload manuscirpt and title page,ensure the integrity of the information');
|
||||
return false;
|
||||
}
|
||||
|
||||
// //验证文章作者
|
||||
var alist = this.artMes.authorList;
|
||||
for (var i in alist) {
|
||||
if (alist[i].author != '' && alist[i].isReport && alist[i].email == '') {
|
||||
this.$message.error("The corresponding author's email is required");
|
||||
return false;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
this.loading = true;
|
||||
this.$api
|
||||
.post('api/Article/editArticle', this.msgform)
|
||||
.then((res) => {
|
||||
this.loading = false;
|
||||
if (res.code == 0) {
|
||||
this.$message.success('success');
|
||||
this.loading = false;
|
||||
this.initarticle();
|
||||
} else {
|
||||
this.$message.error('Failed to submit, please contact administrator!');
|
||||
console.log(res.msg);
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log(err);
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
@@ -533,8 +578,6 @@
|
||||
this.msgform.manuscirpt = '';
|
||||
},
|
||||
|
||||
|
||||
|
||||
statetostr(mystate) {
|
||||
let str = '';
|
||||
switch (mystate) {
|
||||
@@ -572,61 +615,61 @@
|
||||
let frag = '';
|
||||
switch (e) {
|
||||
case "A":
|
||||
frag = 'ARTICLE';
|
||||
frag = 'Article';
|
||||
break;
|
||||
case 'B':
|
||||
frag = 'REVIEW';
|
||||
frag = 'Review';
|
||||
break;
|
||||
case 'C':
|
||||
frag = 'CASE REPORT';
|
||||
frag = 'Case report';
|
||||
break;
|
||||
case 'P':
|
||||
frag = 'RESEARCH PROPOSAL';
|
||||
frag = 'Research proposal';
|
||||
break;
|
||||
case 'N':
|
||||
frag = 'NEWS';
|
||||
frag = 'News';
|
||||
break;
|
||||
case 'T':
|
||||
frag = 'COMMENT';
|
||||
frag = 'Comment';
|
||||
break;
|
||||
case 'CT':
|
||||
frag = 'CORRECTION';
|
||||
frag = 'Correction';
|
||||
break;
|
||||
case 'HT':
|
||||
frag = 'HYPOTHESIS';
|
||||
frag = 'Hypothesis';
|
||||
break;
|
||||
case 'PF':
|
||||
frag = 'PREFACE';
|
||||
frag = 'Preface';
|
||||
break;
|
||||
case 'ET':
|
||||
frag = 'EDITORIAL';
|
||||
frag = 'Editorial';
|
||||
break;
|
||||
case 'RP':
|
||||
frag = 'REPORT';
|
||||
frag = 'Report';
|
||||
break;
|
||||
case 'EF':
|
||||
frag = 'EMPIRICAL FORMULA';
|
||||
frag = 'Empirical formula';
|
||||
break;
|
||||
case 'EM':
|
||||
frag = 'EVIDENCE-BASED MEDICINE';
|
||||
frag = 'Evidence-based medicine';
|
||||
break;
|
||||
case 'EC':
|
||||
frag = 'EXPERT CONSENSUS';
|
||||
frag = 'Expert consensus';
|
||||
break;
|
||||
case 'LTE':
|
||||
frag = 'LETTER TO EDITOR';
|
||||
frag = 'Letter to editor';
|
||||
break;
|
||||
case 'QI':
|
||||
frag = 'QUESTIONNAIRE INVESTIGATION';
|
||||
frag = 'Questionnaire investigation';
|
||||
break;
|
||||
case 'PT':
|
||||
frag = 'PROTOCOL';
|
||||
frag = 'Protocol';
|
||||
break;
|
||||
case 'CS':
|
||||
frag = 'CASE SERIES';
|
||||
frag = 'Case Series';
|
||||
break;
|
||||
default:
|
||||
frag = 'OTHERS';
|
||||
frag = 'Others';
|
||||
}
|
||||
return frag;
|
||||
},
|
||||
@@ -657,6 +700,7 @@
|
||||
font-size: 16px;
|
||||
display: block;
|
||||
margin: 5px 0 0 0;
|
||||
letter-spacing: -0.5px;
|
||||
}
|
||||
|
||||
.art_suthor_message .det_cssep {
|
||||
@@ -668,6 +712,7 @@
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
font-style: normal;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.art_suthor_message .det_cssep:hover {
|
||||
@@ -689,11 +734,10 @@
|
||||
}
|
||||
|
||||
.art_author_list {
|
||||
border-bottom: 1px solid #dcdfe6;
|
||||
padding: 15px 0 25px 10px;
|
||||
margin: 0 0 0 5px;
|
||||
}
|
||||
|
||||
.art_author_list b {
|
||||
.art_author_list .com_shu {
|
||||
background-color: #006699;
|
||||
color: #fff;
|
||||
display: inline-block;
|
||||
@@ -702,35 +746,40 @@
|
||||
line-height: 18px;
|
||||
text-align: center;
|
||||
margin: 0 10px 0 0;
|
||||
|
||||
}
|
||||
|
||||
.art_author_list span {
|
||||
color: #888;
|
||||
margin: 0 0 0 15px;
|
||||
}
|
||||
|
||||
.art_author_list p {
|
||||
margin: 10px 0 0 28px;
|
||||
}
|
||||
|
||||
.art_author_peng {
|
||||
margin: 20px 0 10px 10px;
|
||||
margin: 10px 0 0px 10px;
|
||||
line-height: 24px;
|
||||
|
||||
}
|
||||
|
||||
.art_author_peng>a {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.art_author_peng>img {
|
||||
.art_author_peng>a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.art_author_peng>a>img {
|
||||
width: 15px;
|
||||
vertical-align: text-bottom;
|
||||
margin: 0 10px 0 0;
|
||||
margin: 0 15px 0 0;
|
||||
}
|
||||
|
||||
.art_author_peng span {
|
||||
.art_author_peng>a>span {
|
||||
color: #888;
|
||||
margin: 0 0 0 15px;
|
||||
margin: 0 0 0 30px;
|
||||
}
|
||||
|
||||
.art_author_peng>a>i {
|
||||
font-weight: bold;
|
||||
color: #75abf1;
|
||||
margin: 0 0 0 18px;
|
||||
}
|
||||
|
||||
|
||||
.art_author_btn>div {
|
||||
margin-bottom: 30px;
|
||||
color: #006699;
|
||||
@@ -738,8 +787,9 @@
|
||||
|
||||
.art_author_btn>h4 {
|
||||
float: left;
|
||||
width: 110px;
|
||||
width: 105px;
|
||||
padding: 8px 0 0 0;
|
||||
letter-spacing: -0.5px;
|
||||
}
|
||||
|
||||
.art_author_btn>p {
|
||||
@@ -750,4 +800,27 @@
|
||||
.el-upload__tip {
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
.el-collapse {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.art_author_coment {}
|
||||
|
||||
.art_author_coment>p {
|
||||
margin: 10px 0 0 28px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.art_author_coment>p:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.art_author_coment>p>font {
|
||||
display: block;
|
||||
margin: 0 0 2px 0;
|
||||
color: #888;
|
||||
font-weight: bold;
|
||||
letter-spacing: -0.5px;
|
||||
}
|
||||
</style>
|
||||
|
||||
384
src/components/page/articleProcessSwitch.vue
Normal file
384
src/components/page/articleProcessSwitch.vue
Normal file
@@ -0,0 +1,384 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="crumbs">
|
||||
<el-breadcrumb separator="/">
|
||||
<el-breadcrumb-item>
|
||||
<i class="el-icon-lx-calendar"></i>
|
||||
<router-link :to="{path:'/articleList'}">
|
||||
<span class="top_dao"> Manuscript list</span>
|
||||
</router-link>
|
||||
>> Manuscript process switch
|
||||
</el-breadcrumb-item>
|
||||
</el-breadcrumb>
|
||||
</div>
|
||||
<div class="container_state" v-loading="loading">
|
||||
<p class="art_suthor_message">
|
||||
<font style="color: #888;">ID : {{artMes.accept_sn}}</font>
|
||||
<b>{{artMes.title}}
|
||||
<i @click="man_detal()" class="det_cssep">Manuscript Detail</i>
|
||||
</b>
|
||||
</p>
|
||||
<div class="art_caozuo_">
|
||||
<p>I'm ready to change your opinion. Do you agree?</p>
|
||||
<div style="text-align: center;margin-top: 30px;">
|
||||
<el-button type="success" @click="saveAgr()" style="margin-right: 20px;width: 250px;">Agree</el-button>
|
||||
<el-button type="danger" @click="saveRef()" style="width: 250px;">Refuse</el-button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<el-dialog title="Manuscript Basic Information" :visible.sync="Detailvisible" width="800px">
|
||||
<div class="art_state_message">
|
||||
<p>
|
||||
<font>Title :</font><b>{{artMes.title}}</b>
|
||||
</p>
|
||||
<p>
|
||||
<font>Type :</font><b>{{ellType(artMes.type)}}</b>
|
||||
</p>
|
||||
<p v-show="artMes.type=='A'">
|
||||
<font>Ethical Approval :</font><b>{{artMes.approval?'Yes':'No'}}</b>
|
||||
</p>
|
||||
<p>
|
||||
<font>Journal :</font><b>{{journal_me}}</b>
|
||||
</p>
|
||||
<p v-if="artMes.special_num > 0">
|
||||
<font>Special Issues :</font><b>{{ artMes.special_title }}</b>
|
||||
</p>
|
||||
<p>
|
||||
<font>Major :</font><b>{{artMes.major}}</b>
|
||||
</p>
|
||||
<el-collapse v-model="activeNames" class="auth_colla auth_colla_new">
|
||||
<el-collapse-item :title="authorList_name" name="1">
|
||||
<div v-for="(item, index) in artMes.authorList" class="auth_mess">
|
||||
<h4 style="font-weight: bolder;">
|
||||
<img src="../../assets/img/state_one.png" v-if="item.isSuper" style="width: 15px;margin: 0 2px 0 0;vertical-align: text-bottom;">
|
||||
{{item.firstname}} {{item.lastname}} {{item.isSuper?'#':''}}{{item.isReport?'*':''}}
|
||||
</h4>
|
||||
<div>
|
||||
<p v-if="item.email">
|
||||
<img src="../../assets/img/state_email.png" v-if="item.isReport" style="width: 14px;margin: 0 8px 0 0;vertical-align: text-bottom;">
|
||||
<font>Email : </font>{{item.email}}
|
||||
</p>
|
||||
<p v-if="item.orcid">
|
||||
<font>ORCID iD : </font>{{item.orcid}}
|
||||
</p>
|
||||
<p>
|
||||
<font>First Author : </font>
|
||||
<b v-if="item.isSuper">Yes</b>
|
||||
<b v-if="!item.isSuper">No</b>
|
||||
</p>
|
||||
<p>
|
||||
<font>Corresponding Author :</font>
|
||||
<b v-if="item.isReport">Yes</b>
|
||||
<b v-if="!item.isReport">No</b>
|
||||
</p>
|
||||
<p v-if="item.address">
|
||||
<font>Address : </font>{{item.address}}
|
||||
</p>
|
||||
<p v-if="item.company">
|
||||
<font>Institution : </font>{{item.company}}
|
||||
</p>
|
||||
<p v-if="item.department">
|
||||
<font>Department : </font>{{item.department}}
|
||||
</p>
|
||||
<p v-if="item.title">
|
||||
<font>Title : </font>{{item.title}}
|
||||
</p>
|
||||
<p v-if="item.country">
|
||||
<font>Country : </font>{{item.country}}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</el-collapse-item>
|
||||
</el-collapse>
|
||||
<p>
|
||||
<font>Abstrart :</font><b>{{artMes.abstrart}}</b>
|
||||
</p>
|
||||
<p v-if="artMes.keyWords">
|
||||
<font>KeyWords :</font><b>{{artMes.keyWords}}</b>
|
||||
</p>
|
||||
<p v-if="artMes.fund">
|
||||
<font>Fund :</font><b>{{artMes.fund}}</b>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="art_file">
|
||||
<h4 v-if="coverLetterFileList">Cover letter : </h4>
|
||||
<p v-if="coverLetterFileList">
|
||||
<a v-for="item in coverLetterFileList" :href="mediaUrl + item.file_url">
|
||||
<img src="../../assets/img/icon_0.png">
|
||||
<span>
|
||||
<font>Uploader : </font>{{item.username}}
|
||||
<i><i class="el-icon-time"></i>{{formatDate(item.ctime)}}</i>
|
||||
</span>
|
||||
<i class="el-icon-download download"></i>
|
||||
</a>
|
||||
</p>
|
||||
<br clear="both" v-if="coverLetterFileList">
|
||||
<h4 v-if="picturesAndTablesFileList">Figures : </h4>
|
||||
<p v-if="picturesAndTablesFileList">
|
||||
<a v-for="item in picturesAndTablesFileList" :href="mediaUrl + item.file_url">
|
||||
<img src="../../assets/img/icon_0.png">
|
||||
<span>
|
||||
<font>Uploader : </font>{{item.username}}
|
||||
<i><i class="el-icon-time"></i>{{formatDate(item.ctime)}}</i>
|
||||
</span>
|
||||
<i class="el-icon-download download"></i>
|
||||
</a>
|
||||
</p>
|
||||
<br clear="both" v-if="picturesAndTablesFileList">
|
||||
<h4>Title page : </h4>
|
||||
<p>
|
||||
<a v-for="item in totalpageFileList" :href="mediaUrl + item.file_url">
|
||||
<img src="../../assets/img/icon_0.png">
|
||||
<span>
|
||||
<font>Uploader : </font>{{item.username}}
|
||||
<i><i class="el-icon-time"></i>{{formatDate(item.ctime)}}</i>
|
||||
</span>
|
||||
<i class="el-icon-download download"></i>
|
||||
</a>
|
||||
</p>
|
||||
<br clear="both">
|
||||
<h4>Manuscirpt : </h4>
|
||||
<p>
|
||||
<a v-for="item in manuscirptFileList" :href="mediaUrl + item.file_url">
|
||||
<img src="../../assets/img/icon_0.png">
|
||||
<span>
|
||||
<font>Uploader : </font>{{item.username}}
|
||||
<i><i class="el-icon-time"></i>{{formatDate(item.ctime)}}</i>
|
||||
</span>
|
||||
<i class="el-icon-download download"></i>
|
||||
</a>
|
||||
</p>
|
||||
<br clear="both">
|
||||
</div>
|
||||
<span slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="Detailvisible=false">OK</el-button>
|
||||
</span>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
baseUrl: this.Common.baseUrl,
|
||||
mediaUrl: this.Common.mediaUrl,
|
||||
articleId: this.$route.query.id,
|
||||
userName: localStorage.getItem('U_name'),
|
||||
loading: false,
|
||||
Detailvisible: false,
|
||||
activeNames: ['2'],
|
||||
authorList_name: '',
|
||||
artMes: {
|
||||
articleId: this.$route.query.id
|
||||
},
|
||||
coverLetterFileList: [],
|
||||
picturesAndTablesFileList: [],
|
||||
totalpageFileList: [],
|
||||
manuscirptFileList: [],
|
||||
};
|
||||
},
|
||||
created: function() {
|
||||
this.initarticle();
|
||||
},
|
||||
computed: {
|
||||
journal_me: function() {
|
||||
var frag = this.artMes.journalname;
|
||||
if (this.artMes.special_num > 0) {
|
||||
frag += "(Special Issues)";
|
||||
}
|
||||
return frag;
|
||||
},
|
||||
|
||||
},
|
||||
methods: {
|
||||
//初始化文章信息
|
||||
initarticle() {
|
||||
this.$api
|
||||
.post('api/Article/getArticleDetail', {
|
||||
articleId: this.articleId,
|
||||
human: 'author'
|
||||
})
|
||||
.then((res) => {
|
||||
this.artMes = res.article;
|
||||
this.artMes.major = res.major;
|
||||
this.artMes.authorList = []
|
||||
let alist = res.authors;
|
||||
let alist_name = [];
|
||||
for (let i in alist) {
|
||||
this.artMes.authorList.push({
|
||||
art_aut_id: alist[i].art_aut_id,
|
||||
firstname: alist[i].firstname,
|
||||
lastname: alist[i].lastname,
|
||||
orcid: alist[i].orcid,
|
||||
company: alist[i].company,
|
||||
department: alist[i].department,
|
||||
title: alist[i].author_title,
|
||||
country: alist[i].country,
|
||||
email: alist[i].email,
|
||||
address: alist[i].address,
|
||||
isSuper: alist[i].is_super == 1 ? true : false,
|
||||
isReport: alist[i].is_report == 1 ? true : false
|
||||
});
|
||||
if (i == alist.length - 1) {
|
||||
alist_name.push(alist[i].firstname + ' ' + alist[i].lastname)
|
||||
} else {
|
||||
alist_name.push(alist[i].firstname + ' ' + alist[i].lastname + ' , ')
|
||||
}
|
||||
}
|
||||
this.authorList_name = "Author : " + alist_name.join("");
|
||||
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log(err);
|
||||
});
|
||||
|
||||
//初始化filelist
|
||||
this.$api
|
||||
.post('api/Article/getFilelistByArticleID', {
|
||||
articleId: this.articleId
|
||||
})
|
||||
.then(res => {
|
||||
this.coverLetterFileList = res.coverLetter;
|
||||
this.picturesAndTablesFileList = res.picturesAndTables;
|
||||
this.manuscirptFileList = res.manuscirpt;
|
||||
this.totalpageFileList = res.totalpage;
|
||||
})
|
||||
.catch(err => {
|
||||
console.log(err);
|
||||
});
|
||||
|
||||
},
|
||||
|
||||
// 同意转投
|
||||
saveAgr(){
|
||||
|
||||
},
|
||||
// 拒绝转投
|
||||
saveRef(){
|
||||
|
||||
},
|
||||
|
||||
// 查看详情
|
||||
man_detal() {
|
||||
this.Detailvisible = true
|
||||
},
|
||||
|
||||
// 时间
|
||||
formatDate(timestamp) {
|
||||
var date = new Date(timestamp * 1000); //时间戳为10位需*1000,时间戳为13位的话不需乘1000
|
||||
var Y = date.getFullYear() + '-';
|
||||
var M = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1) + '-';
|
||||
var D = date.getDate() < 10 ? '0' + date.getDate() : date.getDate();
|
||||
var h = date.getHours() < 10 ? '0' + date.getHours() : date.getHours();
|
||||
var m = date.getMinutes() < 10 ? '0' + date.getMinutes() : date.getMinutes();
|
||||
var s = date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds();
|
||||
return Y + M + D + ' ' + h + ':' + m + ':' + s;
|
||||
},
|
||||
|
||||
|
||||
ellType(e) {
|
||||
let frag = '';
|
||||
switch (e) {
|
||||
case "A":
|
||||
frag = 'Article';
|
||||
break;
|
||||
case 'B':
|
||||
frag = 'Review';
|
||||
break;
|
||||
case 'C':
|
||||
frag = 'Case report';
|
||||
break;
|
||||
case 'P':
|
||||
frag = 'Research proposal';
|
||||
break;
|
||||
case 'N':
|
||||
frag = 'News';
|
||||
break;
|
||||
case 'T':
|
||||
frag = 'Comment';
|
||||
break;
|
||||
case 'CT':
|
||||
frag = 'Correction';
|
||||
break;
|
||||
case 'HT':
|
||||
frag = 'Hypothesis';
|
||||
break;
|
||||
case 'PF':
|
||||
frag = 'Preface';
|
||||
break;
|
||||
case 'ET':
|
||||
frag = 'Editorial';
|
||||
break;
|
||||
case 'RP':
|
||||
frag = 'Report';
|
||||
break;
|
||||
case 'EF':
|
||||
frag = 'Empirical formula';
|
||||
break;
|
||||
case 'EM':
|
||||
frag = 'Evidence-based medicine';
|
||||
break;
|
||||
case 'EC':
|
||||
frag = 'Expert consensus';
|
||||
break;
|
||||
case 'LTE':
|
||||
frag = 'Letter to editor';
|
||||
break;
|
||||
case 'QI':
|
||||
frag = 'Questionnaire investigation';
|
||||
break;
|
||||
case 'PT':
|
||||
frag = 'Protocol';
|
||||
break;
|
||||
case 'CS':
|
||||
frag = 'Case Series';
|
||||
break;
|
||||
default:
|
||||
frag = 'Others';
|
||||
}
|
||||
return frag;
|
||||
},
|
||||
|
||||
},
|
||||
filters: {
|
||||
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
<style scoped>
|
||||
.top_dao:hover {
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.art_suthor_message {
|
||||
margin: 0 0 30px 0;
|
||||
}
|
||||
|
||||
.art_suthor_message>b {
|
||||
font-size: 16px;
|
||||
display: block;
|
||||
margin: 5px 0 0 0;
|
||||
letter-spacing: -0.5px;
|
||||
}
|
||||
|
||||
.art_suthor_message .det_cssep {
|
||||
background-color: #006699;
|
||||
color: #fff;
|
||||
font-size: 12px;
|
||||
margin: 0 0 0 15px;
|
||||
padding: 2px 5px;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
font-style: normal;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.art_suthor_message .det_cssep:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
</style>
|
||||
@@ -125,6 +125,14 @@ export default new Router({
|
||||
},
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
path: '/articleProcessSwitch',
|
||||
component: () => import('../components/page/articleProcessSwitch.vue'),
|
||||
meta: {
|
||||
title: 'Manuscript process switch',
|
||||
},
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
path: '/articleProcessRevision',
|
||||
component: () => import('../components/page/articleProcessRevision.vue'),
|
||||
|
||||
Reference in New Issue
Block a user