This commit is contained in:
2025-06-04 09:34:43 +08:00
parent 5f50e448cb
commit 316d7d2043
30 changed files with 963 additions and 5302 deletions

View File

@@ -116,6 +116,15 @@
>
</font>
</p>
<p class="tab_tie_col">
<span style="color: #0b71ff;">Reviewed manuscripts {{ ReviewTime }}: </span>
<font style="display: inline-block;color: #0b71ff;font-weight: bold;" v-if="scope.row.review_num_two_year">
{{ scope.row.review_num_two_year }}
</font>
<font style="display: inline-block;color: #aaa;font-weight: bold;" v-else >
0
</font>
</p>
</template>
</el-table-column>
<el-table-column label="Other Information">
@@ -179,7 +188,7 @@
</el-table-column> -->
<el-table-column label="Research areas" width="300">
<template slot-scope="scope">
<div v-if="scope.row.user_id" style="display: flex; align-items: center; justify-content: space-between">
<div @click="BoxMajor(scope.row,majorData[scope.row.user_id])" v-if="scope.row.user_id" style="display: flex; align-items: center; justify-content: space-between; cursor: pointer;">
<!-- 使用 user_id 来获取用户的 majorData -->
<div>
<div v-if="majorData[scope.row.user_id]" class="majorDataBox">
@@ -195,8 +204,8 @@
</div>
<b
@click="BoxMajor(scope.row,majorData[scope.row.user_id])"
style="margin-left: 10px; cursor: pointer; color: #006699"
style="margin-left: 10px; color: #006699"
class="el-icon-edit"
></b>
</div>
@@ -463,13 +472,18 @@
</template>
<script>
const currentYear = new Date().getFullYear();
var ReviewTime= `(${currentYear - 2}${currentYear})`;
import commonReviewer from '../page/components/reviewerList/add.vue';
export default {
components: {
commonReviewer
},
data() {
return {
ReviewTime:ReviewTime,
majorValueList: [],
majorData: [],
selectField: [],
@@ -1337,6 +1351,8 @@ export default {
},
// 指数颜色
colorIndex(num, time) {
// if (time != 0) {
// let date = new Date(parseInt(time * 1000));
// let Y = date.getFullYear() + '-';
@@ -1365,6 +1381,9 @@ export default {
// ')</span>';
str = '<b style="color:#cbb504">' + num + '</b>';
} else {
if(num==null){
num=0
}
// str =
// '<b style="color:#0cbc15">' +
// num +
@@ -1373,7 +1392,7 @@ export default {
// ')</span>';
str = '<b style="color:#0cbc15">' + num + '</b>';
}
if (time == 0) {
if (time == 0||time==null) {
// str = '<b style="color:#aaa;">0</b><span style="color:#aaa;font-size:14px;margin-left:10px;">(No time)</span>';
str = '<b style="color:#aaa;">0</b>';
}