This commit is contained in:
2025-11-17 17:00:14 +08:00
parent a4eaf0d5cb
commit ef0e8e83e0
40 changed files with 10582 additions and 3381 deletions

View File

@@ -106,18 +106,31 @@
.catch(err => {
this.$message.error(err);
});
var data={article_id: this.articleId}
if(this.$route.query.user_id){
data.art_aut_id=this.$route.query.user_id
}
this.$api
.post('api/Article/getArticleUserDetail', {
article_id: this.articleId
.post(this.$route.query.user_id?'api/Workbench/getCorrespondingInfo':'api/Article/getArticleUserDetail', {
...data
})
.then(res => {
if (res.code == 0) {
if(this.$route.query.user_id){
if (res.status == 1) {
this.AuthorMes = res.data.user;
this.EmailData.topmail = 'Dear Dr. ' + this.AuthorMes.realname + ',<br/>';
} else {
this.$message.error(res.msg);
}
}else{
if (res.code == 0) {
this.AuthorMes = res.data.userDetail;
this.EmailData.topmail = 'Dear Dr. ' + this.AuthorMes.realname + ',<br/>';
} else {
this.$message.error(res.msg);
}
}
})
.catch(err => {
this.$message.error(err);