This commit is contained in:
2025-09-23 10:45:44 +08:00
parent 0a7482dbcf
commit 6c3b7ea922
2 changed files with 237 additions and 33 deletions

View File

@@ -31,7 +31,7 @@
</div>
</el-card>
<el-card class="box-card" style="font-size: 15px;line-height: 24px;">
<el-card class="box-card" style="font-size: 15px;line-height: 24px;" v-if="finalState==5">
<el-row :gutter="20" class="trah_c">
<el-col :span="1"><img src="../../assets/img/icon_8.png" alt="" class="icon_img"></el-col>
@@ -47,6 +47,46 @@
<el-button type="danger" @click="saveRef()" style="width: 250px;">Decline final review</el-button>
</div>
</el-card>
<el-card class="box-card" style="font-size: 15px;line-height: 24px;" v-if="finalState==0">
<el-row :gutter="20" class="trah_c">
<el-col :span="1"><img src="../../assets/img/icon_8.png" alt="" class="icon_img"></el-col>
<el-col :span="22" >
<p style="padding-left: 10px;">
You have received the invitation for manuscript review.
</p>
</el-col>
</el-row>
<div style="text-align: center;margin-top: 12px;">
<el-button type="success" @click="go()" style="margin-right: 20px;width: 250px;">Final decision
</el-button>
</div>
</el-card>
<el-card class="box-card" style="font-size: 15px;line-height: 24px;" v-if="finalState==1||finalState==2||finalState==3">
<el-row :gutter="20" class="trah_c">
<el-col :span="1"><img src="../../assets/img/icon_8.png" alt="" class="icon_img"></el-col>
<el-col :span="22" >
<p style="padding-left: 10px;">
The article has been reviewed.
</p>
</el-col>
</el-row>
</el-card>
<el-card class="box-card" style="font-size: 15px;line-height: 24px;" v-if="finalState==4">
<el-row :gutter="20" class="trah_c">
<el-col :span="1"><img src="../../assets/img/icon_8.png" alt="" class="icon_img"></el-col>
<el-col :span="22" >
<p style="padding-left: 10px;">
You have declined the invitation to review the manuscript.
</p>
</el-col>
</el-row>
</el-card>
</div>
</div>
@@ -56,6 +96,7 @@
export default {
data() {
return {
finalState: '',
loading: false,
Direct_log: this.$route.query.act,
record_id: this.$route.query.r_id,
@@ -106,6 +147,9 @@
}
},
methods: {
go(){
this.$router.push('/edit_per_text?Art_id=' + this.record_id);
},
getData() {
@@ -113,9 +157,9 @@
this.$api
.post('api/Finalreview/getById', {
'record_id': this.record_id,
'record_id': 1,
'reviewer_id': localStorage.getItem('U_id'),
'reviewer_id': 486,
})
.then(res => {
@@ -123,12 +167,14 @@
if(res.status==1){
if(res.data.state==0){
this.finalState = res.data.state;
// if(res.data.state==0){
this.$api
.post('api/Finalreview/view', {
'record_id': this.record_id,
'reviewer_id': localStorage.getItem('U_id'),
})
.then(res => {
@@ -181,9 +227,10 @@
.catch(err => {
this.$message.error(err);
});
}else{
this.$router.push('/edit_per_text?Art_id=' + this.record_id);
}
// }
// else{
// this.$router.push('/edit_per_text?Art_id=' + this.record_id);
// }
}else{
this.$message.error(res.msg);
}