This commit is contained in:
徐哼唧L
2023-06-07 09:22:26 +08:00
parent d20483d6e2
commit 186cc1b552
24 changed files with 3062 additions and 345 deletions

View File

@@ -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 {