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

View File

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

View File

@@ -36,6 +36,13 @@
<b v-if="scope.row.astate == 6">Pre-accept</b> <b v-if="scope.row.astate == 6">Pre-accept</b>
</template> </template>
</el-table-column> </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"> <el-table-column label="Recommendation" width="160" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<b v-if="scope.row.recommend == 1||scope.row.recommend == 2">Accept</b> <b v-if="scope.row.recommend == 1||scope.row.recommend == 2">Accept</b>
@@ -114,6 +121,29 @@
this.getTable(); this.getTable();
}, },
methods: { 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() { getTable() {
this.$api this.$api