diff --git a/src/components/page/articleListEditor_A.vue b/src/components/page/articleListEditor_A.vue index b64dd4e..6db8b2e 100644 --- a/src/components/page/articleListEditor_A.vue +++ b/src/components/page/articleListEditor_A.vue @@ -1,7 +1,7 @@ @@ -701,9 +712,43 @@ -

{{msgform.title}}

+

+ {{msgform.title}} +

+ + +

+ {{timeLaxis.title}} +

+
+ + + +

+ Manuscript submission : + {{timeLaxis.realname}} + submitted to + {{timeLaxis.journalname}} +

+
+
+ + +

Status change : {{stateFormat(activity.state_to)}}

+

{{activity.content}}

+
+ +

Author message :

+

{{activity.content}}

+
+
+
+
+
+ @@ -757,7 +802,15 @@ repebox: false, aiSorbox: false, communVisible: false, + trackVisible: false, talkMsgs: [], + timeLaxis: { + title: '', + ctime: '', + realname: '', + journalname: '', + list: [] + }, itemGuest: [], msgform: { username: localStorage.getItem('U_name'), @@ -892,6 +945,11 @@ this.Total = res.total; this.tableData = res.data; for (let i = 0; i < this.tableData.length; i++) { + this.tableData[i].file_cover = 0 + this.tableData[i].file_figer = 0 + this.tableData[i].file_total = 0 + this.tableData[i].file_maun = 0 + this.tableData[i].file_supper = 0 this.tableData[i].reportList = [] if (this.tableData[i].reports.length == 1) { for (let j = 0; j < this.tableData[i].reports.length; j++) { @@ -935,6 +993,12 @@ this.$set(this.query, 'pageIndex', 1); this.getdate(); }, + // 文章展开收缩 + changeFileUpdown(e, i, m) { + this.tableData[i][m] = e + this.$forceUpdate() + console.log(this.tableData[i][m]) + }, //文章送审 articleReviewer(row) { this.$router.push({ @@ -1273,7 +1337,7 @@ this.$message.error(err); }); }, - // 留言板出框 + // 留言板弹出层 articleCommun(e) { this.msgform.user_id = e.user_id this.msgform.article_id = e.article_id @@ -1291,6 +1355,26 @@ console.log(err); }); + }, + // 时间轴弹出层 + openTracking(e) { + this.timeLaxis.title = e.title + this.timeLaxis.ctime = e.ctime + this.timeLaxis.realname = e.realname + this.timeLaxis.journalname = e.journalname + this.$api + .post('api/Article/getArticleDetail', { + articleId: e.article_id, + human: 'editor' + }) + .then(res => { + this.timeLaxis.list = res.msg; + this.trackVisible = true + }) + .catch(err => { + console.log(err); + }); + }, // 修改标记 saveRemark() { @@ -1365,6 +1449,79 @@ return str; }, + //文章类型 + artType(e) { + let frag = ''; + switch (e) { + case "A": + frag = 'ARTICLE'; + break; + case 'B': + frag = 'REVIEW'; + break; + case 'C': + frag = 'CASE REPORT'; + break; + case 'P': + frag = 'RESEARCH PROPOSAL'; + break; + case 'N': + frag = 'NEWS'; + break; + case 'T': + frag = 'COMMENT'; + break; + case 'CT': + frag = 'CORRECTION'; + break; + case 'HT': + frag = 'HYPOTHESIS'; + break; + case 'PF': + frag = 'PREFACE'; + break; + case 'ET': + frag = 'EDITORIAL'; + break; + case 'RP': + frag = 'REPORT'; + break; + case 'LR': + frag = 'LETTER'; + break; + case 'EF': + frag = 'EMPIRICAL FORMULA'; + break; + case 'EM': + frag = 'EVIDENCE-BASED MEDICINE'; + break; + case 'EC': + frag = 'EXPERT CONSENSUS'; + break; + case 'LTE': + frag = 'LETTER TO EDITOR'; + break; + case 'QI': + frag = 'QUESTIONNAIRE INVESTIGATION'; + break; + case 'PT': + frag = 'PROTOCOL'; + break; + case 'CS': + frag = 'CASE SERIES'; + break; + case 'RT': + frag = 'RETRACTION'; + break; + case 'MR': + frag = 'MINI REVIEW'; + break; + default: + frag = 'OTHERS'; + } + return frag; + }, + // 算平均分 avegeCount(arry) { let str = 0; @@ -1571,7 +1728,9 @@ margin-bottom: 10px; text-align: left; } - + + + .mangu_list div.fi_new>p { margin-bottom: 5px; } @@ -1579,7 +1738,7 @@ .mangu_list div.fi_new>div { color: #333; display: block; - margin: 0 0 15px 0; + margin: 0 0 5px 0; line-height: 22px; } @@ -1604,29 +1763,47 @@ margin: 0 0 0 3px; font-style: normal; } - - + + .mangu_list div.fi_new>div>span>i>i { + margin-right: 5px; + } + + .mangu_list div.fi_new>div>a { margin: 0 5px 0 0; } - - + + .mangu_list div.fi_new .download { font-weight: bold; color: #75abf1; margin: 0 0 0 10px; - } + } + .mangu_list div.fi_new>div>a:hover .download { color: #006699; } + .mangu_list div.fi_new .btnUpDown { + font-weight: bold; + color: #75abf1; + cursor: pointer; + margin-left: 5px; + font-size: 16px; + } + + .mangu_list div.fi_new .btnUpDown:hover { + color: #006699; + } + + .mangu_list .fixCard { text-align: center; background: #0066990d; - padding: 20px 10px; + padding: 20px; }