@@ -286,6 +313,7 @@
userName: localStorage.getItem('U_name'),
loading: false,
Detailvisible: false,
+ activeComment: [0],
activeNames: ['2'],
authorList_name: '',
artMes: {
@@ -296,7 +324,9 @@
article_id: this.$route.query.id,
ad_content: ''
},
+ comentDeploy: [],
talkMsgs: [],
+ fileEditor: [],
coverLetterFileList: [],
picturesAndTablesFileList: [],
totalpageFileList: [],
@@ -363,12 +393,14 @@
}
}
this.authorList_name = "Author : " + alist_name.join("");
+
+ // 审稿人意见
+ this.comentDeploy = res.suggest
})
.catch((err) => {
console.log(err);
});
-
//初始化filelist
this.$api
.post('api/Article/getFilelistByArticleID', {
@@ -384,6 +416,17 @@
console.log(err);
});
+ // 编辑上传的文件
+ this.$api
+ .post('api/Article/getArticleProposals', {
+ article_id: this.articleId
+ })
+ .then(res => {
+ this.fileEditor = res.data.proposals;
+ })
+ .catch(err => {
+ console.log(err);
+ });
// 留言板列表
this.$api
@@ -414,6 +457,13 @@
var s = date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds();
return Y + M + D + ' ' + h + ':' + m + ':' + s;
},
+ formatDate1(timestamp) {
+ var date = new Date(timestamp * 1000); //时间戳为10位需*1000,时间戳为13位的话不需乘1000
+ var Y = date.getFullYear() + '-';
+ var M = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1) + '-';
+ var D = date.getDate() < 10 ? '0' + date.getDate() : date.getDate();
+ return Y + M + D;
+ },
// 保存留言
@@ -433,44 +483,39 @@
// 上传文件
onSubmit() {
- this.$refs.articleform.validate((valid) => {
- //验证文件
- // if (this.form.manuscirpt == '') {
- // this.$message.error('Manuscirpt is required');
- // console.log('file up error');
- // return false;
- // }
- // //验证文章作者
- // var alist = this.form.authorList;
- // for (var i in alist) {
- // if (alist[i].author != '' && alist[i].isReport && alist[i].email == '') {
- // this.$message.error("The corresponding author's email is required");
- // return false;
- // }
- // }
- if (valid) {
- this.loading = true;
- this.$api
- .post('api/Article/editArticle', this.form)
- .then((res) => {
- this.loading = false;
- if (res.code == 0) {
- this.$message.success('success');
- this.initarticle();
- } else {
- this.$message.error('Failed to submit, please contact administrator!');
- console.log(res.msg);
- }
- })
- .catch((err) => {
- console.log(err);
- });
- } else {
- this.$message.error('Failed to submit. Please ensure the integrity of the information');
- console.log('error submit!!');
+ //验证文件
+ if (this.msgform.totalpage == undefined || this.msgform.manuscirpt == undefined) {
+ this.$message.error(
+ 'Failed to submit. Please upload manuscirpt and title page,ensure the integrity of the information');
+ return false;
+ }
+
+ // //验证文章作者
+ var alist = this.artMes.authorList;
+ for (var i in alist) {
+ if (alist[i].author != '' && alist[i].isReport && alist[i].email == '') {
+ this.$message.error("The corresponding author's email is required");
return false;
}
- });
+ }
+
+ this.loading = true;
+ this.$api
+ .post('api/Article/editArticle', this.msgform)
+ .then((res) => {
+ this.loading = false;
+ if (res.code == 0) {
+ this.$message.success('success');
+ this.loading = false;
+ this.initarticle();
+ } else {
+ this.$message.error('Failed to submit, please contact administrator!');
+ console.log(res.msg);
+ }
+ })
+ .catch((err) => {
+ console.log(err);
+ });
},
@@ -533,8 +578,6 @@
this.msgform.manuscirpt = '';
},
-
-
statetostr(mystate) {
let str = '';
switch (mystate) {
@@ -572,61 +615,61 @@
let frag = '';
switch (e) {
case "A":
- frag = 'ARTICLE';
+ frag = 'Article';
break;
case 'B':
- frag = 'REVIEW';
+ frag = 'Review';
break;
case 'C':
- frag = 'CASE REPORT';
+ frag = 'Case report';
break;
case 'P':
- frag = 'RESEARCH PROPOSAL';
+ frag = 'Research proposal';
break;
case 'N':
- frag = 'NEWS';
+ frag = 'News';
break;
case 'T':
- frag = 'COMMENT';
+ frag = 'Comment';
break;
case 'CT':
- frag = 'CORRECTION';
+ frag = 'Correction';
break;
case 'HT':
- frag = 'HYPOTHESIS';
+ frag = 'Hypothesis';
break;
case 'PF':
- frag = 'PREFACE';
+ frag = 'Preface';
break;
case 'ET':
- frag = 'EDITORIAL';
+ frag = 'Editorial';
break;
case 'RP':
- frag = 'REPORT';
+ frag = 'Report';
break;
case 'EF':
- frag = 'EMPIRICAL FORMULA';
+ frag = 'Empirical formula';
break;
case 'EM':
- frag = 'EVIDENCE-BASED MEDICINE';
+ frag = 'Evidence-based medicine';
break;
case 'EC':
- frag = 'EXPERT CONSENSUS';
+ frag = 'Expert consensus';
break;
case 'LTE':
- frag = 'LETTER TO EDITOR';
+ frag = 'Letter to editor';
break;
case 'QI':
- frag = 'QUESTIONNAIRE INVESTIGATION';
+ frag = 'Questionnaire investigation';
break;
case 'PT':
- frag = 'PROTOCOL';
+ frag = 'Protocol';
break;
case 'CS':
- frag = 'CASE SERIES';
+ frag = 'Case Series';
break;
default:
- frag = 'OTHERS';
+ frag = 'Others';
}
return frag;
},
@@ -657,6 +700,7 @@
font-size: 16px;
display: block;
margin: 5px 0 0 0;
+ letter-spacing: -0.5px;
}
.art_suthor_message .det_cssep {
@@ -668,6 +712,7 @@
border-radius: 5px;
cursor: pointer;
font-style: normal;
+ letter-spacing: 0;
}
.art_suthor_message .det_cssep:hover {
@@ -689,11 +734,10 @@
}
.art_author_list {
- border-bottom: 1px solid #dcdfe6;
- padding: 15px 0 25px 10px;
+ margin: 0 0 0 5px;
}
- .art_author_list b {
+ .art_author_list .com_shu {
background-color: #006699;
color: #fff;
display: inline-block;
@@ -702,35 +746,40 @@
line-height: 18px;
text-align: center;
margin: 0 10px 0 0;
-
- }
-
- .art_author_list span {
- color: #888;
- margin: 0 0 0 15px;
- }
-
- .art_author_list p {
- margin: 10px 0 0 28px;
}
.art_author_peng {
- margin: 20px 0 10px 10px;
+ margin: 10px 0 0px 10px;
line-height: 24px;
+
}
+ .art_author_peng>a {
+ color: #333;
+ }
- .art_author_peng>img {
+ .art_author_peng>a:hover {
+ text-decoration: underline;
+ }
+
+ .art_author_peng>a>img {
width: 15px;
vertical-align: text-bottom;
- margin: 0 10px 0 0;
+ margin: 0 15px 0 0;
}
- .art_author_peng span {
+ .art_author_peng>a>span {
color: #888;
- margin: 0 0 0 15px;
+ margin: 0 0 0 30px;
}
+ .art_author_peng>a>i {
+ font-weight: bold;
+ color: #75abf1;
+ margin: 0 0 0 18px;
+ }
+
+
.art_author_btn>div {
margin-bottom: 30px;
color: #006699;
@@ -738,8 +787,9 @@
.art_author_btn>h4 {
float: left;
- width: 110px;
+ width: 105px;
padding: 8px 0 0 0;
+ letter-spacing: -0.5px;
}
.art_author_btn>p {
@@ -750,4 +800,27 @@
.el-upload__tip {
margin-left: 6px;
}
+
+ .el-collapse {
+ border-bottom: 0;
+ }
+
+ .art_author_coment {}
+
+ .art_author_coment>p {
+ margin: 10px 0 0 28px;
+ line-height: 20px;
+ }
+
+ .art_author_coment>p:first-child {
+ margin-top: 0;
+ }
+
+ .art_author_coment>p>font {
+ display: block;
+ margin: 0 0 2px 0;
+ color: #888;
+ font-weight: bold;
+ letter-spacing: -0.5px;
+ }
diff --git a/src/components/page/articleProcessSwitch.vue b/src/components/page/articleProcessSwitch.vue
new file mode 100644
index 0000000..1a33cbc
--- /dev/null
+++ b/src/components/page/articleProcessSwitch.vue
@@ -0,0 +1,384 @@
+
+
+
+
+
+
+
+ Manuscript list
+
+ >> Manuscript process switch
+
+
+
+
+
+ ID : {{artMes.accept_sn}}
+ {{artMes.title}}
+ Manuscript Detail
+
+
+
+
I'm ready to change your opinion. Do you agree?
+
+ Agree
+ Refuse
+
+
+
+
+
+
+ Title :{{artMes.title}}
+
+
+ Type :{{ellType(artMes.type)}}
+
+
+ Ethical Approval :{{artMes.approval?'Yes':'No'}}
+
+
+ Journal :{{journal_me}}
+
+
+ Special Issues :{{ artMes.special_title }}
+
+
+ Major :{{artMes.major}}
+
+
+
+
+
+
+ {{item.firstname}} {{item.lastname}} {{item.isSuper?'#':''}}{{item.isReport?'*':''}}
+
+
+
+
+ Email : {{item.email}}
+
+
+ ORCID iD : {{item.orcid}}
+
+
+ First Author :
+ Yes
+ No
+
+
+ Corresponding Author :
+ Yes
+ No
+
+
+ Address : {{item.address}}
+
+
+ Institution : {{item.company}}
+
+
+ Department : {{item.department}}
+
+
+ Title : {{item.title}}
+
+
+ Country : {{item.country}}
+
+
+
+
+
+
+ Abstrart :{{artMes.abstrart}}
+
+
+ KeyWords :{{artMes.keyWords}}
+
+
+ Fund :{{artMes.fund}}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/router/index.js b/src/router/index.js
index 132a9bb..33fc86e 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -125,6 +125,14 @@ export default new Router({
},
hidden: true
},
+ {
+ path: '/articleProcessSwitch',
+ component: () => import('../components/page/articleProcessSwitch.vue'),
+ meta: {
+ title: 'Manuscript process switch',
+ },
+ hidden: true
+ },
{
path: '/articleProcessRevision',
component: () => import('../components/page/articleProcessRevision.vue'),