This commit is contained in:
@fawn-nine
2023-07-26 17:30:04 +08:00
parent 09e8452903
commit 581d515cf8
8 changed files with 1013 additions and 49 deletions

View File

@@ -29,7 +29,7 @@
Comments from reviewers
</h2>
<el-collapse v-model="activeComment" v-if="comentDeploy!=''">
<el-collapse-item v-for="(item,index) in comentDeploy" :name="index"
<el-collapse-item v-for="(item,index) in comentDeploy" :name="index" :key="index"
class="art_author_list">
<template slot="title">
<b class="com_shu">{{index+1}}</b>
@@ -39,32 +39,61 @@
{{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>
<pre>{{item.qu9_contents}}</pre>
</p>
<p v-if="item.qu10_contents!=''">
<font>Is the Abstract accurate and concise?</font>
<pre>{{item.qu10_contents}}</pre>
</p>
<p v-if="item.qu11_contents!=''">
<font>Are the approach/ methods properly described?</font>
<pre>{{item.qu11_contents}}</pre>
</p>
<p v-if="item.qu12_contents!=''">
<font>Are the conclusions and interpretations sound?</font>
<pre>{{item.qu12_contents}}</pre>
</p>
<p v-if="item.qu13_contents!=''">
<font>Are the references properly cited?</font>
<pre>{{item.qu13_contents}}</pre>
</p>
<p v-if="item.comments!=''">
<font>Comments for the Authors</font>
<pre>{{item.comments}}</pre>
</p>
</div>
<!-- 时间轴 -->
<el-timeline v-if="item.question && item.question[0] != null">
<el-timeline-item :timestamp="item1.ctime|formatDatehms" placement="top" v-for="(item1, index1) in item.question" :key="index1">
<el-card>
<!-- 初审 -->
<div v-if="index1 == item.question.length-1">
<h4><el-tag >Under review</el-tag></h4>
<!-- 内容 -->
<div class="art_author_coment">
<p v-if="item1.qu9_contents!=''">
<font>Does the title represent manuscript's contents?</font>
<pre>{{item1.qu9_contents}}</pre>
</p>
<p v-if="item1.qu10_contents!=''">
<font>Is the Abstract accurate and concise?</font>
<pre>{{item1.qu10_contents}}</pre>
</p>
<p v-if="item1.qu11_contents!=''">
<font>Are the approach/ methods properly described?</font>
<pre>{{item1.qu11_contents}}</pre>
</p>
<p v-if="item1.qu12_contents!=''">
<font>Are the conclusions and interpretations sound?</font>
<pre>{{item1.qu12_contents}}</pre>
</p>
<p v-if="item1.qu13_contents!=''">
<font>Are the references properly cited?</font>
<pre>{{item1.qu13_contents}}</pre>
</p>
<p v-if="item1.comments!=''">
<font>Comments for the Authors</font>
<pre>{{item1.comments}}</pre>
</p>
</div>
</div>
<div v-else>
<!-- 复审 -->
<el-tag type="success">Second review</el-tag>
<p style="margin-top: 20px;" >
<i class="el-icon-check final Accept" v-if="item1.recommend == 1" >{{item1.recommend | getOpinion}}</i>
<i class="el-icon-close final Reject" v-if="item1.recommend == 2" >{{item1.recommend | getOpinion}}</i>
<i class="el-icon-refresh-left final Revison" v-if="item1.recommend == 3" >{{item1.recommend | getOpinion}}</i>
</p>
<p class="commentfs" v-if="item1.recommend == 3" style="margin-bottom: 10px;">
<font style="display: inline-block; margin-right: 20px;">Comments for the Authors</font>
<pre>{{item1.content}}</pre>
</p>
<p style="" class="stime" v-if="item1.stime != 0">
Response time: {{item1.stime|formatDatehms}}
</p>
</div>
</el-card>
</el-timeline-item>
</el-timeline>
<!-- end -->
</el-collapse-item>
</el-collapse>
<p v-if="comentDeploy==''" style="color: #888888;margin: 0 0 0 10px;">No Comment</p>
@@ -468,8 +497,8 @@
upload_response: function() {
return this.baseUrl + 'api/Article/up_response_file';
},
},
methods: {
},
methods: {
//初始化文章信息
initarticle() {
this.$api
@@ -508,6 +537,11 @@
// 审稿人意见
this.comentDeploy = res.suggest
this.comentDeploy.map(item => {
if(item.question && item.question.length > 0)
item.question = item.question.reverse()
})
// console.log(this.comentDeploy,'this.comentDeploy')
})
.catch((err) => {
console.log(err);
@@ -861,14 +895,32 @@
},
},
filters: {
}
filters:{
// 复审意见结果
getOpinion(value){
switch (value) {
case 1:
return 'Accept'
break;
case 2:
return 'Reject'
break;
case 3:
return 'Revison'
break;
}
},
},
};
</script>
<style scoped>
.time p{color: #606266;}
.Accept{color: #67c23a;}
.Reject{color: #909399;}
.Revison{color: #e6a23c;}
.final{ font-size: 20px;}
.top_dao:hover {
text-decoration: underline;
cursor: pointer;
@@ -991,7 +1043,6 @@
.art_author_coment {}
.art_author_coment>p {
margin: 10px 0 0 28px;
line-height: 20px;
}
@@ -999,11 +1050,12 @@
margin-top: 0;
}
.art_author_coment>p>font {
.art_author_coment>p>font,.commentfs>font {
display: block;
margin: 0 0 2px 0;
margin: 15px 0 5px 0;
color: #006699;
font-weight: bold;
letter-spacing: -0.5px;
}
.commentfs{}
</style>