This commit is contained in:
2025-07-10 18:03:19 +08:00
parent eb2e2a4bf5
commit 0bc622d0fb
4 changed files with 105 additions and 37 deletions

View File

@@ -19,8 +19,8 @@ const service = axios.create({
// baseURL: 'https://submission.tmrjournals.com/', //正式 记得切换
// baseURL: 'http://www.tougao.com/', //测试本地 记得切换
// baseURL: 'http://192.168.110.110/tougao/public/index.php/',
// baseURL: '/api', //本地
baseURL: '/', //正式
baseURL: '/api', //本地
// baseURL: '/', //正式
});

View File

@@ -273,7 +273,7 @@ const en = {
state4: 'Revision',
state5: 'Accept',
state6: 'Pre-accept',
// state7: 'Final Decision',
state7: 'Final Decision',
act1: 'Dealing',
act2: 'Finished'
},

View File

@@ -266,7 +266,7 @@ const zh = {
state4: '退修',
state5: '接收',
state6: '终审',
// state7: '终审',
state7: '终审',
act1: '审查中',
act2: '已完结'
},

View File

@@ -16,7 +16,7 @@
"
:type="query.state == item.state ? 'primary' : ''"
>
{{ $t('artstate.state' + item.state) }}
{{ item.isNew ? $t('artstate.state7') : $t('artstate.state' + item.state) }}
</el-button>
</el-badge>
<!-- <el-select v-model="query.state" @change="getdate" placeholder="Please select status" style="width: 180px;">
@@ -520,8 +520,63 @@
<!-- <el-button size="mini" type="primary" icon="el-icon-user" @click="articleReviewer(item)">
Inviting Reviewer</el-button> -->
</p>
</div></template
>
</div>
</template>
<template v-if="query.state ==4">
<div class="fixCard" style="width: 230px; flex-shrink: 0">
<b style="font-size: 16px; letter-spacing: -0.5px;color:rgba(0, 119, 184)">Editorial Board Decision</b>
<p style="height: 20px"></p>
<p v-for="(iken, index) in item.reviewScore" style="line-height: 24px" :key="index">
Editorial Board{{ index + 1 }} : <b style="color: #db890e; font-size: 18px">
<font
v-if="index == 0"
style="width: 12px; height: 12px; display: inline-block; border-radius: 10px; background-color: #ccc"
>
</font>
<font
v-if="index== 1"
style="
width: 12px;
height: 12px;
display: inline-block;
border-radius: 10px;
background-color: #67c23a;
"
>
</font>
<font
v-if="index== 2"
style="
width: 12px;
height: 12px;
display: inline-block;
border-radius: 10px;
background-color: #f56c6c;
"
>
</font>
</b
>
<el-button
style="margin-left: 10px"
type="text"
icon="el-icon-tickets"
v-if="iken.can_repeat == 1"
>Detail</el-button
>
</p>
<p style="margin-top: 20px">
<b @click="articleReviewer(item)" class="btnCliArt"> <i class="el-icon-edit"></i> Editorial Board </b>
<!-- <el-button size="mini" type="primary" icon="el-icon-user" @click="articleReviewer(item)">
Inviting Reviewer</el-button> -->
</p>
</div>
</template>
<!-- <div class="fixCard" style="width: 320px; flex-shrink: 0" v-if="query.state == 0">
<b style="font-size: 16px; letter-spacing: -0.5px">Research areas</b>
@@ -553,6 +608,7 @@
</div>
</div>
</div> -->
<div class="fixCard" style="width: 320px; flex-shrink: 0">
<b style="font-size: 16px; letter-spacing: -0.5px">Corresponding Author</b>
<p style="height: 10px"></p>
@@ -1417,15 +1473,25 @@
<div style="color: #333" v-else>
<template v-if="v.isShowSign == 1"> 【{{ currentArticleData.ai_review[v.value] }}】 </template>
<template v-else>
<p :class="{'short-content': !v.showFullContent}" @click="toggleContent1(i)" style="margin-top: 0;cursor: pointer;">{{ currentArticleData.ai_review[v.value].repeat(20) }}</p>
<p
:class="{ 'short-content': !v.showFullContent }"
@click="toggleContent1(i)"
style="margin-top: 0; cursor: pointer"
>
{{ currentArticleData.ai_review[v.value].repeat(20) }}
</p>
</template>
</div>
<div style="color: #888; line-height: 22px" v-if="v.explanationValue">
<p :class="{'short-content': !v.showFullContent}" @click="toggleContent1(i)" style="margin-top: 0;cursor: pointer;"> <span>{{ $t('aiReview.Explain') }} : </span> {{ currentArticleData.ai_review[v.explanationValue].repeat(20) }}</p>
<p
:class="{ 'short-content': !v.showFullContent }"
@click="toggleContent1(i)"
style="margin-top: 0; cursor: pointer"
>
<span>{{ $t('aiReview.Explain') }} : </span>
{{ currentArticleData.ai_review[v.explanationValue].repeat(20) }}
</p>
</div>
</div>
</el-form-item>
@@ -1479,7 +1545,7 @@ export default {
props: ['journals'],
data() {
return {
showFullContent:false,
showFullContent: false,
majorValueList: [],
majorBox: false,
majorMes: {},
@@ -1526,9 +1592,10 @@ export default {
{
state: 4
},
// {
// state: 7
// },
{
state: 4,
isNew: true
},
{
state: 6
@@ -1796,9 +1863,9 @@ export default {
},
methods: {
toggleContent1(i) {
this.aiReview[i].showFullContent = !this.aiReview[i].showFullContent;
this.$forceUpdate()
},
this.aiReview[i].showFullContent = !this.aiReview[i].showFullContent;
this.$forceUpdate();
},
saveMajor() {
this.$api
.post('api/Article/updateArticleField', {
@@ -3424,24 +3491,25 @@ export default {
border-radius: 30px;
}
.short-content {
max-height: 80px;display: -webkit-box;
-webkit-line-clamp: 2; /* 设置显示的行数 */
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
overflow: hidden;
}
max-height: 80px;
display: -webkit-box;
-webkit-line-clamp: 2; /* 设置显示的行数 */
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
overflow: hidden;
}
.show-more-btn {
background-color: #4CAF50;
color: white;
padding: 10px;
border: none;
cursor: pointer;
margin-top: 10px;
}
.show-more-btn {
background-color: #4caf50;
color: white;
padding: 10px;
border: none;
cursor: pointer;
margin-top: 10px;
}
.show-more-btn:hover {
background-color: #45a049;
}
.show-more-btn:hover {
background-color: #45a049;
}
</style>