提交
This commit is contained in:
@@ -316,7 +316,7 @@
|
|||||||
</el-collapse>
|
</el-collapse>
|
||||||
<el-collapse v-model="researchAreas" class="auth_colla auth_collna_ew research_area" style="margin-top: -15px">
|
<el-collapse v-model="researchAreas" class="auth_colla auth_collna_ew research_area" style="margin-top: -15px">
|
||||||
<el-collapse-item title="Research areas" name="1">
|
<el-collapse-item title="Research areas" name="1">
|
||||||
<div style="position: relative; height: 30px">
|
<div style="position: relative; height: 30px" v-if="form.state == 0">
|
||||||
<common-major
|
<common-major
|
||||||
v-if="form.state == 0"
|
v-if="form.state == 0"
|
||||||
:articleId="editform.articleId"
|
:articleId="editform.articleId"
|
||||||
@@ -469,7 +469,9 @@
|
|||||||
<div v-if="reviewList.length > 0">
|
<div v-if="reviewList.length > 0">
|
||||||
<!-- 初审 -->
|
<!-- 初审 -->
|
||||||
<div class="art_author_">
|
<div class="art_author_">
|
||||||
<h2>Reviewer Decision</h2>
|
<h2 style="overflow: hidden">Reviewer Decision <span style="font-size: 16px;margin-right: 10px;text-align: right;float: right;font-weight: 400;">
|
||||||
|
Average score : <b style="font-size: 16px; color: #db890e">{{ avegeCount(reviewList) }}</b>
|
||||||
|
</span></h2>
|
||||||
<div class="fixCard reviewer_decision" style="position: relative">
|
<div class="fixCard reviewer_decision" style="position: relative">
|
||||||
<div class="overflow-x-auto">
|
<div class="overflow-x-auto">
|
||||||
<!-- 上面的表格代码放在这里 -->
|
<!-- 上面的表格代码放在这里 -->
|
||||||
@@ -490,7 +492,7 @@
|
|||||||
<!-- 遍历每个评审者 -->
|
<!-- 遍历每个评审者 -->
|
||||||
<tr v-for="(iken, reviewerIndex) in reviewList">
|
<tr v-for="(iken, reviewerIndex) in reviewList">
|
||||||
<td style="position: relative; cursor: pointer">
|
<td style="position: relative; cursor: pointer">
|
||||||
Reviewer {{ reviewerIndex + 1 }} <span style="color: rgb(219, 137, 14);font-weight: 700;margin-left: 10px;font-size: 14px">( {{ iken.score }} )</span>
|
Reviewer {{ reviewerIndex + 1 }} <span style="color: rgb(219, 137, 14);font-weight: 700;margin-left: 10px;font-size: 14px">( {{ iken.rated }} )</span>
|
||||||
<span
|
<span
|
||||||
style="color: #006699; position: absolute; right: 10px; top: 10px"
|
style="color: #006699; position: absolute; right: 10px; top: 10px"
|
||||||
@click="handleClick(iken)"
|
@click="handleClick(iken)"
|
||||||
@@ -595,9 +597,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
||||||
</table> <p style="font-size: 18px; margin: 10px 0 5px 0;width: 100%;text-align: center">
|
</table>
|
||||||
Average score: <b style="font-size: 18px; color: #db890e">{{ avegeCount(reviewList) }}</b>
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -606,7 +606,10 @@
|
|||||||
<!-- 终审 -->
|
<!-- 终审 -->
|
||||||
|
|
||||||
<div class="art_author_">
|
<div class="art_author_">
|
||||||
<h2>Final Decision</h2>
|
<h2 style="overflow: hidden;line-height: 26px;">Final Decision <span style="font-size: 16px;margin-right: 10px;text-align: right;float: right;font-weight: 400;">
|
||||||
|
Comprehensive Score : <b style="font-size: 16px; color: #db890e">{{ finalCount(reviewList) }}</b>
|
||||||
|
</span></h2>
|
||||||
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<common-editor-article-detail
|
<common-editor-article-detail
|
||||||
@@ -1407,15 +1410,35 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 算平均分
|
||||||
avegeCount(arry) {
|
avegeCount(arry) {
|
||||||
let str = 0;
|
let str = 0;
|
||||||
let all = 0;
|
let all = 0;
|
||||||
for (let i = 0; i < arry.length; i++) {
|
for (let i = 0; i < arry.length; i++) {
|
||||||
all += Number(arry[i].score);
|
all += Number(arry[i].rated);
|
||||||
}
|
}
|
||||||
str = (all / arry.length).toFixed(1);
|
str = (all / arry.length).toFixed(1);
|
||||||
return str;
|
return str;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// 算终审分
|
||||||
|
finalCount(arry) {
|
||||||
|
let str = 0;
|
||||||
|
let sgr = 0;
|
||||||
|
let all = 0;
|
||||||
|
let j = 0; // null 评分人数
|
||||||
|
for (let i = 0; i < arry.length; i++) {
|
||||||
|
if (arry[i].rated == null) {
|
||||||
|
j += 1;
|
||||||
|
continue;
|
||||||
|
} else {
|
||||||
|
all += Number(arry[i].rated);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
str = (all / (arry.length - j)).toFixed(1);
|
||||||
|
sgr = ((Number(str) + Number(this.form.scoring)) / 2).toFixed(1);
|
||||||
|
return sgr;
|
||||||
|
},
|
||||||
editScopus(item) {
|
editScopus(item) {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: 'partyRole',
|
path: 'partyRole',
|
||||||
|
|||||||
@@ -24,15 +24,17 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<template v-if="detailDate.article_final">
|
<template v-if="detailDate.article_final">
|
||||||
<el-form-item label="comment for authors : " prop="suggest_for_author">
|
<el-form-item label="Comment for authors : " prop="suggest_for_author">
|
||||||
|
|
||||||
<div style="color: #888;">
|
<div style="color: #888;" :class="{ 'short-content': !showFullContent1 }"
|
||||||
|
@click="showFullContent1=!showFullContent1">
|
||||||
{{ detailDate.article_final.suggest_for_author? detailDate.article_final.suggest_for_author : 'No comment' }}
|
{{ detailDate.article_final.suggest_for_author? detailDate.article_final.suggest_for_author : 'No comment' }}
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="comment for authors : " prop="suggest_for_editor">
|
<el-form-item label="Comment for Editor : " prop="suggest_for_editor">
|
||||||
|
|
||||||
<div style="color: #888;">
|
<div style="color: #888;" :class="{ 'short-content': !showFullContent2 }"
|
||||||
|
@click="showFullContent1=!showFullContent2">
|
||||||
{{ detailDate.article_final.suggest_for_editor? detailDate.article_final.suggest_for_editor : 'No comment' }}
|
{{ detailDate.article_final.suggest_for_editor? detailDate.article_final.suggest_for_editor : 'No comment' }}
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -66,6 +68,8 @@ export default {
|
|||||||
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
showFullContent2: false,
|
||||||
|
showFullContent1: false,
|
||||||
editVisible1: false,
|
editVisible1: false,
|
||||||
FdialogFormVisible: false,
|
FdialogFormVisible: false,
|
||||||
FdialogFormVisible: false,
|
FdialogFormVisible: false,
|
||||||
@@ -422,4 +426,13 @@ export default {
|
|||||||
::v-deep .el-dialog__body {
|
::v-deep .el-dialog__body {
|
||||||
padding: 10px 20px 20px !important;
|
padding: 10px 20px 20px !important;
|
||||||
}
|
}
|
||||||
|
.short-content {
|
||||||
|
max-height: 120px;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 3; /* 设置显示的行数 */
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user