1
This commit is contained in:
@@ -971,26 +971,26 @@
|
||||
this.mess_age.reviewer_id = e.currentTarget.parentElement.getAttribute('value')
|
||||
this.mess_age.journal_id = e.currentTarget.parentElement.getAttribute('name')
|
||||
// 二次确认删除
|
||||
this.$confirm('Are you sure you want to delete?', 'Tip', {
|
||||
type: 'warning'
|
||||
// this.$confirm('Are you sure you want to delete?', 'Tip', {
|
||||
// type: 'warning'
|
||||
// })
|
||||
// .then(() => {
|
||||
this.$api
|
||||
.post('api/User/deleteArticleReviewer', this.mess_age)
|
||||
.then(res => {
|
||||
if (res.code == 0) {
|
||||
this.delOpen = false;
|
||||
this.$message.success('Deleted successfully');
|
||||
this.getContent();
|
||||
} else {
|
||||
this.$message.error(res.msg);
|
||||
}
|
||||
})
|
||||
.then(() => {
|
||||
this.$api
|
||||
.post('api/User/deleteArticleReviewer', this.mess_age)
|
||||
.then(res => {
|
||||
if (res.code == 0) {
|
||||
this.delOpen = false;
|
||||
this.$message.success('Deleted successfully');
|
||||
this.getContent();
|
||||
} else {
|
||||
this.$message.error(res.msg);
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
this.$message.error(err);
|
||||
});
|
||||
})
|
||||
.catch(() => {});
|
||||
.catch(err => {
|
||||
this.$message.error(err);
|
||||
});
|
||||
// })
|
||||
// .catch(() => {});
|
||||
},
|
||||
// 评级弹出框
|
||||
BoxGrade(e) {
|
||||
@@ -1303,7 +1303,7 @@
|
||||
.deteleBtn {
|
||||
color: #ce1111;
|
||||
margin-left: 18px;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.deteleBtn i {
|
||||
|
||||
Reference in New Issue
Block a user