From fccc3df1aa153a2352cda833172bcbe914c3a39b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=8B=E4=BA=8E=E5=88=9D=E8=A7=81?= <752204717@qq.com> Date: Tue, 23 Sep 2025 14:11:52 +0800 Subject: [PATCH] tijiao --- src/components/common/langs/en.js | 1 + src/components/common/langs/zh.js | 1 + src/components/page/articleDetailEditor.vue | 686 ++++++++++-------- src/components/page/articleListEditor_A.vue | 285 +++++--- .../page/components/EditorArticle/detail.vue | 419 +++++++++++ .../page/components/EditorArticle/index.vue | 16 +- src/main.js | 2 + 7 files changed, 1027 insertions(+), 383 deletions(-) create mode 100644 src/components/page/components/EditorArticle/detail.vue diff --git a/src/components/common/langs/en.js b/src/components/common/langs/en.js index 1b6164d..f09b622 100644 --- a/src/components/common/langs/en.js +++ b/src/components/common/langs/en.js @@ -496,6 +496,7 @@ const en = { state18: 'Review Time', state19: 'Reference Evaluation', state20: 'Clinical registration number and informed consent assessment', + state22: 'Other Journal Scope Assessment', state191: 'Proportion of references from the past three years', state192: 'Proportion of references from the past five years', diff --git a/src/components/common/langs/zh.js b/src/components/common/langs/zh.js index ed10b34..c28e8ea 100644 --- a/src/components/common/langs/zh.js +++ b/src/components/common/langs/zh.js @@ -487,6 +487,7 @@ const zh = { state18: '审核时间', state19: '参考文献评估', state20: '临床注册号和知情同意书评估', + state22: '其他期刊范围评估', state191: '近三年参考文献的比例', state192: '近五年参考文献的比例', state193: '参考文献JCR1区比例', diff --git a/src/components/page/articleDetailEditor.vue b/src/components/page/articleDetailEditor.vue index 7bcfc13..f31f38b 100644 --- a/src/components/page/articleDetailEditor.vue +++ b/src/components/page/articleDetailEditor.vue @@ -12,12 +12,12 @@
-
+
- - + + {{ form.use_ai_explain }} - - - - - - + + @@ -329,16 +335,11 @@
-
-
-

- Reviewer Decision -

-
- +
+ +
+

Reviewer Decision

+
@@ -357,9 +358,9 @@ - Reviewer {{ reviewerIndex + 1 }} + Reviewer {{ reviewerIndex + 1 }} Detail - + {{ mystate(iken.state) }} + +
@@ -1848,7 +1897,7 @@ style="margin-top: 0; cursor: pointer" > {{ $t('aiReview.Explain') }} : - {{ currentArticleData.ai_review[v.explanationValue].repeat(20) }} + {{ currentArticleData.ai_review[v.explanationValue] }}

@@ -1936,7 +1985,7 @@ export default { currentTabName: '', HIndexList: [ { name: 'WOS', value: 0, key: 'wos' }, - { name: 'Scopus', value: 1, key: 'scopus' }, + { name: 'Scopus', value: 1, key: 'scopus' } // { name: 'Google', value: 2, key: 'google' } ], userIndexForm: {}, @@ -2077,9 +2126,23 @@ export default { //1 { topic: this.$t('aiReview.state0'), - value: 'journal_scope_assessment', - explanationValue: 'journal_scope_explanation', - isShowSign: 1 + value: 'journal_scope_assessment1', + explanationValue: '', + isShowSign: 0, + parameter: [ + { + topic: this.$t('aiReview.state0'), + value: 'journal_scope_assessment', + explanationValue: 'journal_scope_explanation', + isShowSign: 1 + }, + { + topic: this.$t('aiReview.state22'), + value: 'other_journal_assessment', + explanationValue: 'other_journal_explanation', + isShowSign: 1 + } + ] }, { topic: this.$t('aiReview.state8'), @@ -2097,47 +2160,22 @@ export default { topic: this.$t('aiReview.state20'), value: 'registration_assessment', explanationValue: '', - isShowSign: 0 + isShowSign: 1 } ] - }, + }, //6 { - topic: this.$t('aiReview.state16'), - value: 'submit_direction', - explanationValue: '', - isShowSign: 0 - }, - { - topic: this.$t('aiReview.state15'), - value: 'hotspot', - explanationValue: '', - isShowSign: 0 - }, - //10 - - //3 + topic: this.$t('aiReview.state10'), + value: 'academic_assessment', + explanationValue: 'academic_explanation', + isShowSign: 1 + }, //3 { topic: this.$t('aiReview.state4'), value: 'contradiction_assessment', explanationValue: 'contradiction_explanation', isShowSign: 1 }, - //4 - { - topic: this.$t('aiReview.state6'), - value: 'unreasonable_assessment', - explanationValue: 'unreasonable_explanation', - isShowSign: 1 - }, - - //6 - { - topic: this.$t('aiReview.state10'), - value: 'academic_assessment', - explanationValue: 'academic_explanation', - isShowSign: 1 - }, - //8 { topic: this.$t('aiReview.state14'), @@ -2145,15 +2183,6 @@ export default { explanationValue: '', isShowSign: 0 }, - //9 - - //11 - // { - // topic: this.$t('aiReview.state17'), - // value: 'overall_evaluation', - // explanationValue: '' - // }, - //2 { topic: this.$t('aiReview.state2'), @@ -2161,14 +2190,11 @@ export default { explanationValue: 'attribute_explanation', isShowSign: 1 }, - //5 - - //7 { - topic: this.$t('aiReview.state12'), - value: 'conclusion_assessment', - explanationValue: 'conclusion_explanation', - isShowSign: 1 + topic: this.$t('aiReview.state15'), + value: 'hotspot', + explanationValue: '', + isShowSign: 0 }, //12 { @@ -2191,30 +2217,67 @@ export default { explanationValue: '', color: 'rgb(0, 112, 192)', isShowSign: 0 - }, - { - topic: this.$t('aiReview.state193'), - value: 'references_ratio_JCR1', - explanationValue: '', - color: 'rgb(0, 112, 192)', - isShowSign: 0 - }, - { - topic: this.$t('aiReview.state194'), - value: 'references_ratio_JCR2', - explanationValue: '', - color: 'rgb(0, 112, 192)', - isShowSign: 0 } + // { + // topic: this.$t('aiReview.state193'), + // value: 'references_ratio_JCR1', + // explanationValue: '', + // color: 'rgb(0, 112, 192)', + // isShowSign: 0 + // }, + // { + // topic: this.$t('aiReview.state194'), + // value: 'references_ratio_JCR2', + // explanationValue: '', + // color: 'rgb(0, 112, 192)', + // isShowSign: 0 + // } ] - }, - //13 - { - topic: this.$t('aiReview.state21'), - value: 'cite_rate', - explanationValue: '', - isShowSign: 0 } + // { + // topic: this.$t('aiReview.state16'), + // value: 'submit_direction', + // explanationValue: '', + // isShowSign: 0 + // }, + + //10 + + //4 + // { + // topic: this.$t('aiReview.state6'), + // value: 'unreasonable_assessment', + // explanationValue: 'unreasonable_explanation', + // isShowSign: 1 + // }, + + //9 + + //11 + // { + // topic: this.$t('aiReview.state17'), + // value: 'overall_evaluation', + // explanationValue: '' + // }, + + //5 + + //7 + // { + // topic: this.$t('aiReview.state12'), + // value: 'conclusion_assessment', + // explanationValue: 'conclusion_explanation', + // isShowSign: 1 + // }, + //12 + + //13 + // { + // topic: this.$t('aiReview.state21'), + // value: 'cite_rate', + // explanationValue: '', + // isShowSign: 0 + // } // { // topic: this.$t('aiReview.state18'), @@ -2321,6 +2384,10 @@ export default { this.aiReview[i].showFullContent = !this.aiReview[i].showFullContent; this.$forceUpdate(); }, + toggleContent2(i, index) { + this.aiReview[i].parameter[index].showFullContent = !this.aiReview[i].parameter[index].showFullContent; + this.$forceUpdate(); + }, saveMajor() { this.$api .post('api/Article/updateArticleField', { @@ -2399,6 +2466,38 @@ export default { }) .then((res) => { this.currentArticleData = { ...data, ai_review: res.data }; + var aiReview = {}; + if (this.currentArticleData.ai_review.journal_scope_assessment == '否') { + aiReview = { + topic: this.$t('aiReview.state0'), + value: 'journal_scope_assessment1', + explanationValue: '', + isShowSign: 0, + parameter: [ + { + topic: this.$t('aiReview.state0'), + value: 'journal_scope_assessment', + explanationValue: 'journal_scope_explanation', + isShowSign: 1 + }, + { + topic: this.$t('aiReview.state22'), + value: 'other_journal_assessment', + explanationValue: 'other_journal_explanation', + isShowSign: 1 + } + ] + }; + } else { + aiReview = { + topic: this.$t('aiReview.state0'), + value: 'journal_scope_assessment', + explanationValue: 'journal_scope_explanation', + isShowSign: 1 + }; + } + this.aiReview[0] = aiReview; + console.log('this.currentArticleData at line 2401:', this.currentArticleData); }) .catch((err) => { loading.close(); @@ -4060,9 +4159,9 @@ export default { border-radius: 30px; } .short-content { - max-height: 80px; + max-height: 120px; display: -webkit-box; - -webkit-line-clamp: 2; /* 设置显示的行数 */ + -webkit-line-clamp: 3; /* 设置显示的行数 */ -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; diff --git a/src/components/page/components/EditorArticle/detail.vue b/src/components/page/components/EditorArticle/detail.vue new file mode 100644 index 0000000..44d0b47 --- /dev/null +++ b/src/components/page/components/EditorArticle/detail.vue @@ -0,0 +1,419 @@ + + + + + diff --git a/src/components/page/components/EditorArticle/index.vue b/src/components/page/components/EditorArticle/index.vue index cefc571..a79491d 100644 --- a/src/components/page/components/EditorArticle/index.vue +++ b/src/components/page/components/EditorArticle/index.vue @@ -8,7 +8,7 @@ - + Accept
@@ -16,6 +16,11 @@
Reject
+ +Accept +Reject +Revision +