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
@@ -1547,13 +1552,13 @@
title="Artificial intelligence is used in the research or manuscript of the article"
:visible.sync="dialogVisible"
width="1000px"
:before-close="handleClose">
:before-close="handleClose"
>
<span>这是一段信息</span>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible = false">Cancel</el-button>
</span>
</el-dialog>
</el-dialog>
</div>
</template>
@@ -1888,8 +1893,7 @@ export default {
},
methods: {
openAIContent() {
this.dialogVisible=true
this.dialogVisible = true;
},
toggleContent1(i) {
this.aiReview[i].showFullContent = !this.aiReview[i].showFullContent;
@@ -3544,7 +3548,7 @@ export default {
.card_label {
display: inline-block;
padding: 0px 10px;
background-color: #409EFF; /* 绿色背景 */
background-color: #409eff; /* 绿色背景 */
color: #fff !important;
font-size: 12px;
@@ -3556,7 +3560,7 @@ export default {
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

@@ -34,6 +34,13 @@
<b v-if="scope.row.astate == 4">Revision</b>
<b v-if="scope.row.astate == 5">Accept</b>
<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">
@@ -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