This commit is contained in:
2025-09-22 20:01:04 +08:00
parent 68858418e4
commit 0a7482dbcf
6 changed files with 284 additions and 17 deletions

View File

@@ -107,8 +107,24 @@
},
methods: {
getData() {
// 获取文章信息
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 => {
console.log('res at line 119:', res)
if(res.status==1){
if(res.data.state==0){
this.$api
.post('api/Finalreview/view', {
'record_id': this.record_id,
'reviewer_id': localStorage.getItem('U_id'),
@@ -165,6 +181,18 @@
.catch(err => {
this.$message.error(err);
});
}else{
this.$router.push('/edit_per_text?Art_id=' + this.record_id);
}
}else{
this.$message.error(res.msg);
}
})
.catch(err => {
this.$message.error(err);
});
},