This commit is contained in:
2025-08-21 15:43:08 +08:00
parent 33ace968be
commit f535f54673
3 changed files with 72 additions and 33 deletions

View File

@@ -104,8 +104,6 @@
<i class="el-icon-paperclip"></i> Begin Produce
</b>
</sapn>
</p>
<div class="mangu_list" style="position: relative">
<img
@@ -115,6 +113,7 @@
@click="openAI(item)"
style="cursor: pointer; width: 30px; height: 30px; position: absolute; right: 6px; top: 6px"
/>
<img
class="beautiful-gradient"
v-else
@@ -122,6 +121,12 @@
@click="getAi(item, ikgn)"
style="opacity: 0.5; cursor: pointer; width: 30px; height: 30px; position: absolute; right: 6px; top: 6px"
/>
<span
style="cursor: pointer; position: absolute; right: 6px; top: 34px"
@click="item.ai_review != '' && item.ai_review ? openAI(item) : getAi(item, ikgn)"
>{{ item.ai_review != '' && item.ai_review ? 'Already Generated AI' : 'Click to generate AI' }}</span
>
<div>
<!-- <font style="color: #666b7a">ID : </font>
<span
@@ -167,8 +172,8 @@
</b>
</sapn> -->
<b @click="showdetaileditor(item)"> {{ item.title }} </b>
<b @click="showdetaileditor(item)"> {{ item.title }} </b>
<b @click="corrSpe(item)" class="btnCliArt" style="margin-left: 20px; white-space: nowrap">
<i class="el-icon-paperclip"></i> Author's previous articles
@@ -185,7 +190,7 @@
Research areas
</el-button>
<!-- <b @click="BoxMajor(item)" class="btnCliArt" style="margin-left: 20px; white-space: nowrap"> Research areas </b> -->
</el-badge>
</div>
@@ -1544,16 +1549,16 @@
</span>
</el-dialog>
<el-dialog
title="Artificial intelligence is used in the research or manuscript of the article"
:visible.sync="dialogVisible"
width="1000px"
:before-close="handleClose">
<span>这是一段信息</span>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible = false">Cancel</el-button>
</span>
</el-dialog>
title="Artificial intelligence is used in the research or manuscript of the article"
:visible.sync="dialogVisible"
width="1000px"
:before-close="handleClose"
>
<span>这是一段信息</span>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible = false">Cancel</el-button>
</span>
</el-dialog>
</div>
</template>
@@ -1888,9 +1893,8 @@ export default {
},
methods: {
openAIContent() {
this.dialogVisible=true
},
this.dialogVisible = true;
},
toggleContent1(i) {
this.aiReview[i].showFullContent = !this.aiReview[i].showFullContent;
this.$forceUpdate();
@@ -3542,21 +3546,21 @@ export default {
background-color: #45a049;
}
.card_label {
display: inline-block;
padding: 0px 10px;
background-color: #409EFF; /* 绿色背景 */
color: #fff !important;
font-size: 12px;
border-radius: 6px; /* 圆角 */
position: relative; /* 用于斜角效果 */
text-align: center;
transform: skew(335deg); /* 倾斜效果 */
margin-right: 10px; /* 如果有多个标签时,之间保持间距 */
line-height: 22px;
display: inline-block;
padding: 0px 10px;
background-color: #409eff; /* 绿色背景 */
color: #fff !important;
font-size: 12px;
border-radius: 6px; /* 圆角 */
position: relative; /* 用于斜角效果 */
text-align: center;
transform: skew(335deg); /* 倾斜效果 */
margin-right: 10px; /* 如果有多个标签时,之间保持间距 */
line-height: 22px;
}
.openAIContentBox{
.openAIContentBox {
width: 80vw;
}
</style>

View File

@@ -688,11 +688,16 @@ export default {
if (row.state == 0) {
frag = 'With reviewer';
} else if (row.state == 1) {
frag = 'Revision';
// 大修
frag = 'Major revision';
// frag = 'Revision';
} else if (row.state == 2) {
frag = 'Reject';
} else if (row.state == 3) {
frag = 'Accept';
//小修
// frag = 'Accept';
frag = 'Minor revision';
} else if (row.state == 4) {
frag = '<text style="color:#aaa">invalid</text>';
} else if (row.state == 5) {

View File

@@ -36,6 +36,13 @@
<b v-if="scope.row.astate == 6">Pre-accept</b>
</template>
</el-table-column>
<el-table-column label="State" align="center" width="120">
<template slot-scope="scope">
<span style="font-size: 16px;"v-html="revstate(scope.row)"></span>
</template>
</el-table-column>
<el-table-column label="Recommendation" width="160" align="center">
<template slot-scope="scope">
<b v-if="scope.row.recommend == 1||scope.row.recommend == 2">Accept</b>
@@ -114,6 +121,29 @@
this.getTable();
},
methods: {
revstate(row, column, cellValue, index) {
let frag = '';
if (row.state == 0) {
frag = 'With reviewer';
} else if (row.state == 1) {
// 大修
frag = 'Major revision';
// frag = 'Revision';
} else if (row.state == 2) {
frag = 'Reject';
} else if (row.state == 3) {
//小修
// frag = 'Accept';
frag = 'Minor revision';
} else if (row.state == 4) {
frag = '<text style="color:#aaa">invalid</text>';
} else if (row.state == 5) {
frag = 'invitation';
}
return frag;
},
// 获取数据
getTable() {
this.$api