diff --git a/src/components/common/Sidebar.vue b/src/components/common/Sidebar.vue index e66332f..14052fc 100644 --- a/src/components/common/Sidebar.vue +++ b/src/components/common/Sidebar.vue @@ -138,26 +138,26 @@ {{$t('sidebar.ReArticles')}} - - - Management System - - - - - Official mailbox - - - - - www.grammarly.com - - - - - quillbot.com - - + + + Management System + + + + + Official mailbox + + + + + www.grammarly.com + + + + + quillbot.com + + @@ -556,11 +556,5 @@ color: #fff; display: block; line-height: 50px; - padding: 0 0 0 40px; - font-size: 14px; - } - - .linkBar:hover { - background: #00527a; } diff --git a/src/components/page/Dashboard_.vue b/src/components/page/Dashboard_.vue index aa2f921..8fb05d6 100644 --- a/src/components/page/Dashboard_.vue +++ b/src/components/page/Dashboard_.vue @@ -9,8 +9,8 @@
Upload avatar
diff --git a/src/components/page/articleAdd.vue b/src/components/page/articleAdd.vue index 0cdb48e..1fb3b96 100644 --- a/src/components/page/articleAdd.vue +++ b/src/components/page/articleAdd.vue @@ -326,7 +326,6 @@ Only Word and compressed files can be uploaded (file format: .docx). - Click here to : Confirm the Proof - - + + @@ -61,258 +84,141 @@ - Cancel + Cancel - - - - - - - - - - {{ reviewer_data.country }} - - - {{ reviewer_data.company }} - - - {{ reviewer_data.major_title }} - - - {{ reviewer_data.field }} - - - {{ reviewer_data.introduction }} - - - - canel - save - - - - - REFEREE'S ASSESSMENT - - - - - Excellent - Good - Fair - Poor - - - - - - - Excellent - Good - Fair - Poor - - - - - - - Excellent - Good - Fair - Poor - - - - - - - Excellent - Good - Fair - Poor - - - - - - - Excellent - Good - Fair - Poor - - - - - - - - - Yes - No - - - - - - - - - - - - - - - - - - Yes - No - - - - - - - - - - - - - Yes - No - - - - - - - - - - - - - Yes - No - - - - - - - - - - - - - Yes - No - - - - - - - - - - - REFEREE'S RECOMMENDATIONS - - (Poor------------------------Excellent) -
- - - - - - - - - - - - - >Your score:{{questionform.rated}} -
- - - Accept with minor revision -
- Accept with major revision -
- Reject in current form, but may be resubmitted -
- Reject, with no resubmission -
-
- - - Imperfect style -
- Too long -
- References incorrectly presented -
- Typographical and Grammatical errors -
-
- - - - - - - - - Disclose name -
- Remain anonymous -
-

- If you agree to disclose your name, we will acknowledge you by name in the published - PDF. However, if you prefer to remain anonymous, we will still express our gratitude - by thanking you as an anonymous reviewer. -
For example, {{txt_mess.title}} would like to thank AAAAAAAA, BBBBBBBB, and other anonymous reviewers for their - invaluable contributions to the peer review process of this paper. -

-
- - submit - + + +
+

No Comment

+ + + +
+ REFEREE'S ASSESSMENT +

+
+

+ 1. Originality of the topic + {{gradeFour(item.qu1)}} +

+
+
+

+ 2. Importance in its Field + {{gradeFour(item.qu3)}} +

+
+
+

+ 3. Does the manuscript fall within the aim and scope of the journal? + {{gradeFour(item.qu6)}} +

+
+
+

+ 4. English language + {{gradeFour(item.qu8)}} +

+
+
+

+ 5. Readily Understandable + {{gradeFour(item.qu5)}} +

+
+
+

+ 6. Does the title represent manuscript's contents? + {{gradeTwo(item.qu9)}} +

+

{{item.qu9_contents}}

+
+
+

+ 7. Is the Abstract accurate and concise? + {{gradeTwo(item.qu10)}} +

+

{{item.qu10_contents}}

+
+
+

+ 8. Are the approach/ methods properly described? + {{gradeTwo(item.qu11)}} +

+

{{item.qu11_contents}}

+
+
+

+ 9. Are the conclusions and interpretations sound? + {{gradeTwo(item.qu12)}} +

+

{{item.qu12_contents}}

+
+
+

+ 10. Are the references properly cited? + {{gradeTwo(item.qu13)}} +

+

{{item.qu13_contents}}

+
+

+ REFEREE'S RECOMMENDATIONS +

+
+

+ Overall the Paper is Rated + {{item.rated}} +

+
+
+

+ REFEREE'S RECOMMENDATIONS + {{gradeRcond(item.recommend)}} +

+
+
+

+ OTHER SPECIFIC CRITICISMS + {{gradeCrti(item.other)}} +

+
+
+

+ Comments for the Authors +

+

{{item.comments}}

+
+
+

+ Confidential Comments to the Editor +

+

{{item.confidential}}

+
+
+

+ Disclose name or remain anonymous. + {{gradeName(item.is_anonymous)}} +

+
+
+
- +
+ + Cancel +
@@ -322,75 +228,26 @@ data() { return { baseUrl: this.Common.baseUrl, - questionform: { - uid: 0, - articleId: this.$route.query.id, - qu1: '', - qu2: '', - qu3: '', - qu4: '', - qu5: '', - qu6: '', - qu7: '', - qu8: '', - qu9: '', - qu9contents: '', - qu10: '', - qu10contents: '', - qu11: '', - qu11contents: '', - qu12: '', - qu12contents: '', - qu13: '', - qu13contents: '', - qu14: '', - qu14contents: '', - qu15: '', - qu15contents: '', - rated: '', - recommend: '', - other: '', - confident: '', - comment: '' - }, - txt_mess: {}, + articleMess: {}, + activeComment: [], + comentReview: '', + comentDeploy: [], query: { articleId: this.$route.query.id, article_id: this.$route.query.id, pageIndex: 1, pageSize: 10 }, - editform: { - uid: 0, - articleId: this.$route.query.id - }, - reviewer_data: { - introduction: '', - country: '', - company: '', - major_title: '', - field: '' - }, - reviewer_data1: { - introduction: '', - country: '', - company: '', - major_title: '', - field: '' - }, - editVisible: false, - editVisible1: false, AddSuggest: false, + detailVisible: false, tableData: [], - reviewerList: [], tableSuggest: [], loading: false, Total: 0 }; }, created() { - this.getdate(); - this.initreviewerList(); + this.getDate(); }, computed: { upload_url: function() { @@ -399,7 +256,7 @@ }, methods: { // 获取编辑列表数据 - getdate() { + getDate() { this.$api .post('api/Article/getReviewerList', this.query) .then((res) => { @@ -417,16 +274,21 @@ .catch((err) => { console.log(err); }); + this.$api + .post('api/Article/getArticleDetail', { + articleId: this.query.articleId, + human: 'editor' + }) + .then((res) => { + this.articleMess = res.article; + }) + .catch((err) => { + console.log(err); + }); }, - // 分页导航 - handlePageChange(val) { - this.$set(this.query, 'pageIndex', val); - this.getdate(); - }, - addReviewer() { - alert('sssss'); - }, - // 添加跳页面 + + + // 添加审稿人 openAddRev() { this.$router.push({ path: 'articleReviewerAdd', @@ -435,67 +297,15 @@ } }); }, - //初始化审查员列表 - initreviewerList() { - this.$api - .post('api/Article/getArticleReviewerList', { - articleId: this.query.articleId - }) - .then((res) => { - this.reviewerList = res.data; - }) - .catch((err) => { - console.log(err); - }); - }, - //保存添加操作 - saveEdit() { - if (this.editform.uid == 0) { - this.$message.error('please select a reviewer'); - } else { - this.loading = true; - this.$api - .post('api/Article/addArticleReviewer', this.editform) - .then((res) => { - this.loading = false; - if (res.code == 0) { - this.$message.success('add success'); - this.$router.go(0); - } else { - this.$message.error('add error'); - } - }) - .catch((err) => { - console.log(err); - }); - } - }, - addArtRev() { - if (this.questionform.uid == 0) { - this.$message.error('Please select a reviewer'); - } else if (this.questionform.is_anonymous == "" && this.questionform.is_anonymous != "0") { - this.$message.error('Please choose disclose your name or remain anonymous.'); - } else { - this.loading = true; - this.$api.post('api/Article/addArtRev', this.questionform) - .then((res) => { - this.loading = false; - if (res.code == 0) { - this.$message.success('add success'); - this.$router.go(0); - } else { - this.$message.error('add error'); - } - }) - .catch((err) => { - console.log(err); - }); - } - }, - // 添加推荐审稿人 + + + + // 弹出添加推荐审稿人 openSuggRev() { this.AddSuggest = true }, + + // 选择推荐审稿人 selSuggest(e) { this.loading = true; this.$api @@ -508,7 +318,7 @@ if (res.code == 0) { this.$message.success('Add Success'); this.AddSuggest = false - this.getdate(); + this.getDate(); } else { this.$message.error('Add Error'); } @@ -518,54 +328,41 @@ console.log(err); }); }, + + // 查看审稿人审稿列表 showdetail(row) { + this.comentReview = row.reviewer if (row.state == 4) { this.$message.error('Review expired!'); - } else { - this.$router.push({ - path: 'articleReviewerDetail', - query: { - id: row.art_rev_id + return + } + this.comentDeploy = [] + + this.$api + .post('api/Reviewer/getQuestion', { + artrevid: row.art_rev_id + }) + .then((res) => { + if (res.code == 0) { + this.comentDeploy.push(res.data) } + }) + .catch((err) => { + console.log(err); }); - } - }, - changereviewer() { - if (this.editform.uid !== 0) { - this.$api - .post('api/Article/getReviewerdetail', { - uid: this.editform.uid - }) - .then((res) => { - this.reviewer_data.introduction = res.data.introduction; - this.reviewer_data.country = res.data.country; - this.reviewer_data.company = res.data.company; - this.reviewer_data.major_title = res.data.major_title; - this.reviewer_data.field = res.data.field; - }) - .catch((err) => { - console.log(err); - }); - } - }, - changereviewer1() { - if (this.questionform.uid !== 0) { - this.$api - .post('api/Article/getReviewerdetail', { - uid: this.questionform.uid - }) - .then((res) => { - this.reviewer_data1.introduction = res.data.introduction; - this.reviewer_data1.country = res.data.country; - this.reviewer_data1.company = res.data.company; - this.reviewer_data1.major_title = res.data.major_title; - this.reviewer_data1.field = res.data.field; - }) - .catch((err) => { - console.log(err); - }); - } + + this.detailVisible = true + + // this.$router.push({ + // path: 'articleReviewerDetail', + // query: { + // id: row.art_rev_id + // } + // }); + }, + + // 审稿建议 revstate(row, column, cellValue, index) { let frag = ''; if (row.state == 0) { @@ -596,6 +393,72 @@ var s = date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds(); return Y + M + D + ' ' + h + ':' + m + ':' + s; }, + + // 等级 + gradeTwo(e) { + let drage = ''; + if (e) { + drage = 'Yes'; + } else { + drage = 'No'; + } + return drage; + }, + gradeFour(e) { + let drage = ''; + if (e == 1) { + drage = 'Excellent'; + } else if (e == 2) { + drage = 'Good'; + } else if (e == 3) { + drage = 'Fair'; + } else if (e == 4) { + drage = 'Poor'; + } + return drage; + }, + gradeRcond(e) { + let drage = ''; + if (e == 1) { + drage = 'Accept with minor revision'; + } else if (e == 2) { + drage = 'Accept with major revision'; + } else if (e == 3) { + drage = 'Reject in current form, but may be resubmitted'; + } else if (e == 4) { + drage = 'Reject, with no resubmission'; + } + return drage; + }, + + gradeCrti(e) { + let drage = ''; + if (e == 1) { + drage = 'Imperfect style'; + } else if (e == 2) { + drage = 'Too long'; + } else if (e == 3) { + drage = 'References incorrectly presented'; + } else if (e == 4) { + drage = 'Typographical and Grammatical errors'; + } + return drage; + }, + gradeName(e) { + let drage = ''; + if (e == 0) { + drage = 'Disclose name'; + } else if (e == 1) { + drage = 'Remain anonymous'; + } + return drage; + }, + + // 分页导航 + handlePageChange(val) { + this.$set(this.query, 'pageIndex', val); + this.getDate(); + }, } }; @@ -649,4 +512,71 @@ .el-table .red-row { background: #f05555; } + + .tab_tie_col { + margin-bottom: 5px; + color: #333; + word-wrap: break-word; + word-break: normal; + } + + .tab_tie_col>span { + color: #888; + margin: 0 5px 0 0; + font-size: 13px; + } + + .art_author_list { + margin: 0 0 0 5px; + } + + .art_author_list .com_shu { + background-color: #006699; + color: #fff; + display: inline-block; + width: 18px; + height: 18px; + line-height: 18px; + text-align: center; + margin: 0 10px 0 0; + } + + .el-collapse { + border-bottom: 0; + } + + + .art_author_coment { + margin-top: 20px; + } + + .art_author_coment>div { + margin: 10px 0 0 28px; + line-height: 20px; + word-break: break-word; + } + + .art_author_coment>div:first-child { + margin-top: 0; + } + + .art_author_coment>div>p { + display: block; + margin: 0 0 2px 0; + font-weight: bold; + color: #777; + letter-spacing: -0.5px; + } + + .art_author_coment>div>p>span { + color: #006699; + margin-left: 30px; + font-weight: bold; + } + + .art_author_coment .quescont { + margin-left: 14px; + color: #006699; + line-height: 22px; + } diff --git a/src/router/index.js b/src/router/index.js index aab4ba7..87c877b 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -614,6 +614,13 @@ export default new Router({ title: 'Reviewer article details' } }, + { + path: '/per_text_ls', //审稿人文章详情-总共 + component: () => import('../components/page/per_text_ls'), + meta: { + title: 'Reviewer article details' + } + }, { path: '/per_text_yq', //审稿人文章详情-邀请 component: () => import('../components/page/per_text_yq'), diff --git a/vue.config.js b/vue.config.js index d5f5f32..275a2b6 100644 --- a/vue.config.js +++ b/vue.config.js @@ -4,8 +4,10 @@ module.exports = { assetsDir: 'static', productionSourceMap: false, devServer: { - public: 'http://192.168.110.159:8080/', // 你自己本地的ip地址:端口号 - // port: '8080', + // public: 'http://192.168.110.156:8080/', // 你自己本地的ip地址:端口号 + // host:'localhost' + public:'0.0.0.0:8080/', + port: '8080', // open: true, // overlay: { // warnings: false,