This commit is contained in:
2025-12-10 10:03:13 +08:00
parent c36145b848
commit 4c7b191311
13 changed files with 629 additions and 138 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div>
<div class="page-container">
<div class="crumbs">
<el-breadcrumb separator="/">
<el-breadcrumb-item> <i class="el-icon-lx-calendar"></i> Manuscript reviewer list </el-breadcrumb-item>
@@ -103,9 +103,10 @@
</font>
</template>
</el-table-column>
<el-table-column label="" width="100" align="center">
<el-table-column label="" width="180" align="center">
<template slot-scope="scope">
<el-button v-show="scope.row.state!=4"ize="mini" type="primary" plain icon="el-icon-tickets" @click="showdetail(scope.row)">Detail</el-button>
<el-button style="margin-top: 8px;"v-show="scope.row.is_reapply==1"ize="mini" type="success" plain icon="el-icon-refresh-right" @click="reinviteReview(scope.row)">Resend Invitation</el-button>
</template>
</el-table-column>
</el-table>
@@ -504,6 +505,40 @@ export default {
}
},
methods: {
reinviteReview(row) {
console.log(row);
this.$confirm('Are you sure you want to resend the review invitation to this reviewer?', 'Tips', {
confirmButtonText: 'Sure',
cancelButtonText: 'Cancel',
type: 'warning'
}).then(() => {
const loading = this.$loading({
lock: true,
text: 'please wait',
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
});
this.$api
.post('api/Workbench/updateReviewerState', {
account: localStorage.getItem('U_name'),
art_rev_id: row.art_rev_id,
})
.then((res) => {
loading.close();
if (res.status == 1) {
this.$message.success('Email sent successfully!');
} else {
this.$message.error(res.msg);
}
})
.catch((err) => {
loading.close();
});
});
},
initArticle() {
this.$api
.post('api/Article/getArticleDetail', {