diff --git a/src/components/common/langs/en.js b/src/components/common/langs/en.js index f1b92d4..1b6164d 100644 --- a/src/components/common/langs/en.js +++ b/src/components/common/langs/en.js @@ -229,11 +229,11 @@ const en = { man_ing1: 'Journal information', man_ing2: 'Article List', edit_oria: 'Editorial board member', - edit_oria1: 'Final Review', + edit_oria1: 'Final Decision', edit_oria2: 'Accepted manuscript', edit_ewer: 'Reviewer', - edit_ewer1: 'Final Review', - edit_ewer2: 'Final Review History', + edit_ewer1: 'Final Decision', + edit_ewer2: 'Final Decision History', you_thed: 'Young scholar', you_thed1: 'Pending review', guest: 'Guest editor', @@ -277,7 +277,7 @@ const en = { state4: 'Revision', state5: 'Accept', state6: 'Pre-accept', - state8: 'Final Review', + state8: 'Final Decision', act1: 'Dealing', act2: 'Finished' }, diff --git a/src/components/page/articleEditorDetail.vue b/src/components/page/articleEditorDetail.vue index 679c536..f3a8a6e 100644 --- a/src/components/page/articleEditorDetail.vue +++ b/src/components/page/articleEditorDetail.vue @@ -1,5 +1,5 @@ @@ -2017,6 +2174,43 @@ export default { } }, methods: { + maxRepeatReviewCount(item) { + if (!item || !Array.isArray(item.reviewScore)) return null; // 边界处理:无数据返回null + + // 遍历所有评审者,找到repeat数组长度最大的那条数据 + const maxItem = item.reviewScore.reduce((maxItem, currentItem) => { + // 计算当前项的repeat长度,非数组则视为0 + const currentLen = Array.isArray(currentItem.repeat) ? currentItem.repeat.length : 0; + // 计算当前最大项的repeat长度,非数组则视为0 + const maxLen = Array.isArray(maxItem.repeat) ? maxItem.repeat.length : 0; + + // 如果当前项长度更大,则更新最大项 + return currentLen > maxLen ? currentItem : maxItem; + }, {}); // 初始值设为一个空对象 + console.log('maxItem at line 2142:', maxItem.repeat.length) + return maxItem.repeat.length; + + +}, + mystate(mystate) { + let str = ''; + switch (mystate) { + case 0: + str = 'With reviewer'; + break; + case 1: + str = 'Major'; + break; + case 2: + str = 'Reject'; + break; + case 3: + // str = 'Accept'; + str = 'Minor'; + break; + } + return str; + }, showdetail(row, type) { console.log('row at line 1964:', row); if (type == 'reviewer') { @@ -2032,7 +2226,7 @@ export default { } } else { this.FinalDetailBaseInfo = { ...row }; - + this.$nextTick(() => { this.$refs.commonFinalDetail.init(); }); @@ -3849,4 +4043,38 @@ background-color: #f5f5f5b3; .articleBaseInfo7 .manuscript_files{ background-color: #f5f5f5b3; } */ + +.review_table { + width: 100%; + margin-top: 10px; + border-collapse: collapse; /* 合并表格边框 */ +} + +.review_table th, +td { + padding: 6px; + min-width: 70px; + border: 1px solid #ddd; + + text-align: left; +} + +.review_table th { + font-size: 12px; + background-color: #f0f0f0; +} +.review_table td { + font-size: 12px; + /* background-color: #f0f0f0; */ + +} + + + +.review_table tr:hover { + /* background-color: #fff; */ +} +.overflow-x-auto{ + overflow-x: auto; +} diff --git a/src/components/page/articleProcess.vue b/src/components/page/articleProcess.vue index 8bdc3d7..eed5317 100644 --- a/src/components/page/articleProcess.vue +++ b/src/components/page/articleProcess.vue @@ -381,7 +381,7 @@ export default { str = 'Proof'; break; case 8: - str = 'Final Review'; + str = 'Final Decision'; break; default: diff --git a/src/components/page/articleProcessRevision.vue b/src/components/page/articleProcessRevision.vue index 4608e1a..35aa665 100644 --- a/src/components/page/articleProcessRevision.vue +++ b/src/components/page/articleProcessRevision.vue @@ -100,14 +100,14 @@

- Comments from Final reviewers + Comments from Final Decision

- + - - + @@ -155,7 +155,11 @@ export default { }, methods: { - getData() { + getData() { this.rules = { + state: [{ required: true, message: 'Please select the manuscript processing status', trigger: 'blur' }], + suggest_for_editor: [{ required: true, message: 'please Input Comments for the Editor', trigger: 'blur' }], + suggest_for_author: [{ required: true, message: 'please Input Comments for the Authors', trigger: 'blur' }] + }; // Fetch article data this.questionform = { reviewer_id: this.baseQuestionform.reviewer_id, @@ -165,14 +169,16 @@ export default { suggest_for_editor: this.baseQuestionform.suggest_for_editor, suggest_for_author: this.baseQuestionform.suggest_for_author }; - - this.rules = { - state: [{ required: true, message: 'Please select the manuscript processing status', trigger: 'blur' }], - suggest_for_editor: [{ required: true, message: 'please Input Comments for the Editor', trigger: 'blur' }], - suggest_for_author: [{ required: true, message: 'please Input Comments for the Authors', trigger: 'blur' }] - }; + this.$refs.question.clearValidate(); + + }, questionSubmit() { + if (this.questionform.is_anonymous == '' && this.questionform.is_anonymous != '2') { + this.$message.error('Please choose disclose your name or remain anonymous.'); + + return false; + } if (this.questionform.state == 0) { this.$message.error('Please select the manuscript processing status.'); return false; diff --git a/src/components/page/edit_per_ewer.vue b/src/components/page/edit_per_ewer.vue index 70744dd..35830b9 100644 --- a/src/components/page/edit_per_ewer.vue +++ b/src/components/page/edit_per_ewer.vue @@ -3,7 +3,7 @@
- Final Review + Final Decision
@@ -16,7 +16,7 @@

- Under review + Final Decision

In this column, the manuscripts that currently need your comments are displayed. You can click detail to review @@ -29,7 +29,7 @@

{{index+1}}.{{item.title }}

- Final Review + Final Decision

diff --git a/src/components/page/edit_per_history.vue b/src/components/page/edit_per_history.vue index 5969e88..585a7aa 100644 --- a/src/components/page/edit_per_history.vue +++ b/src/components/page/edit_per_history.vue @@ -3,7 +3,7 @@
- Final Review History + Final Decision History
@@ -44,7 +44,7 @@ Reject Revision Accept - Final Review + Final Decision Pre-accept @@ -70,7 +70,7 @@ size="mini" @click="saveNow(scope.$index, scope.row)" v-if="scope.row.state == 5" - >Final Review Now + >Final Decision Now

- + - Final Review Article + Final Decision Article - >> Final Review Article Detail + >> Final Decision Article Detail
@@ -83,7 +83,8 @@ If you're still having trouble with Chrome, you could use other browsers to comp

- + + diff --git a/src/router/index.js b/src/router/index.js index 72806f1..ee85942 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -672,13 +672,13 @@ export default new Router({ path: '/editPeerewer', //审稿人进行中列表 component: () => import('../components/page/edit_per_ewer'), meta: { - title: 'Final Review' + title: 'Final Decision' } }, { path: '/editPerhistory', //审稿人历史列表 component: () => import('../components/page/edit_per_history'), meta: { - title: 'Final Review History', + title: 'Final Decision History', } },