This commit is contained in:
2025-11-06 09:47:40 +08:00
parent 0a0e484349
commit a4eaf0d5cb
8 changed files with 735 additions and 282 deletions

View File

@@ -266,9 +266,9 @@
<b v-if="item.indexs_show==0" style="color: #aaa;">Null</b>
<i class="el-icon-edit" @click="HIndexEdit(item)" v-if="form.state==1" style="margin-left: 10px;color: #006699;cursor: pointer;"></i>
</p> -->
<p v-if="item.address"><font>Address : </font>{{ item.address }}</p>
<p v-if="item.company"><font>Affiliation : </font>{{ item.company }}</p>
<p v-if="item.department"><font>Department : </font>{{ item.department }}</p>
<p v-if="item.address&&isShowAuthorInfo"><font>Address : </font>{{ item.address }}</p>
<div v-if="item.company" style="display: flex;align-items: flex-start;"><font style="display: inline-block;width: 70px;color:#777 ;">Affiliation : </font><p v-html="getAllCompany(item.company)" style="width: calc(100% - 70px);"></p></div>
<p v-if="item.department&&isShowAuthorInfo"><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>
@@ -486,6 +486,7 @@
<template v-for="(_, index1) in maxRepeatReviewCount()">
<th>{{ index1 + 2 }}<sup>nd</sup> review</th>
</template>
<!-- <th>final state</th> -->
</tr>
</thead>
<tbody>
@@ -504,18 +505,7 @@
<td @click="handleClick(iken)" style="cursor: pointer">
<span style="display: inline-block; margin-left: 4px; margin-right: 8px">
<font
v-if="iken.state == 0"
style="
width: 12px;
height: 12px;
display: block;
border-radius: 10px;
background-color: #ccc;
"
>
</font>
<font
v-if="iken.state == 1 || iken.state == 3"
v-if="iken.recommend == 1 || iken.recommend == 2"
style="
width: 12px;
height: 12px;
@@ -526,7 +516,7 @@
>
</font>
<font
v-if="iken.state == 2"
v-if="iken.recommend == 3|| iken.recommend == 4"
style="
width: 12px;
height: 12px;
@@ -537,7 +527,11 @@
>
</font>
</span>
<span>{{ mystate(iken.state) }}</span>
<span v-if="iken.recommend == 1">Minor</span>
<span v-else-if="iken.recommend == 2">Major</span>
<span v-else-if="iken.recommend == 3">Reject</span>
<span v-else-if="iken.recommend == 4">Reject</span>
</td>
<!-- 关键按最大重复次数遍历而非仅遍历当前iken.repeat -->
<template v-for="(_1, index1) in maxRepeatReviewCount()">
@@ -595,6 +589,44 @@
</span>
</td>
</template>
<!-- <td @click="handleClick(iken)" style="cursor: pointer">
<span style="display: inline-block; margin-left: 4px; margin-right: 8px">
<font
v-if="iken.state == 0"
style="
width: 12px;
height: 12px;
display: block;
border-radius: 10px;
background-color: #ccc;
"
>
</font>
<font
v-if="iken.state == 1 || iken.state == 3"
style="
width: 12px;
height: 12px;
display: block;
border-radius: 10px;
background-color: #67c23a;
"
>
</font>
<font
v-if="iken.state == 2"
style="
width: 12px;
height: 12px;
display: block;
border-radius: 10px;
background-color: #f56c6c;
"
>
</font>
</span>
<span>{{ mystate(iken.state) }}</span>
</td> -->
</tr>
</tbody>
@@ -1048,6 +1080,7 @@ export default {
},
data() {
return {
isShowAuthorInfo: false,
activeFinalComment: [],
isShowAI: false,
currentArticleData: {},
@@ -1343,6 +1376,8 @@ export default {
};
},
async created() {
await this.initarticle();
await this.getAi();
this.initFileList();
@@ -1411,6 +1446,15 @@ export default {
}
},
methods: {
getAllCompany(company) {
let str = '';
var list=company.split('/');
for (let i = 0; i < list.length; i++) {
str +=`${i+1}. `+ list[i] + '<br/>';
}
return str;
},
// 算平均分
avegeCount(arry) {
let str = 0;
@@ -1870,6 +1914,22 @@ export default {
})
.then((res) => {
const dynamicTimestamp = res.article.ctime;
const dynamicDate = new Date(dynamicTimestamp * 1000);
const targetDate = new Date(2025, 10, 3);
dynamicDate.setHours(0, 0, 0, 0);
targetDate.setHours(0, 0, 0, 0);
// 2025-11-03 ---上线了自动解析word 识别作者功能 去掉了 address和department字段
const isDynamicDateAfterTarget = dynamicDate > targetDate;
if (!isDynamicDateAfterTarget) {
// 判断日期是否小于等于 2025-11-03
this.isShowAuthorInfo = true;
}else{
this.isShowAuthorInfo = false;
}
this.initMajor();
this.form.username = res.article.account;
this.form.title = res.article.title;