From 5a670be7291bf4b8cf84ba33ab8bdc926064448d 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, 3 Sep 2024 16:10:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BC=96=E8=BE=91=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/Sidebar copy.vue | 662 +++++++++++++++++++ src/components/common/Sidebar.vue | 85 ++- src/components/common/langs/en.js | 16 + src/components/common/langs/zh.js | 21 +- src/components/page/PaperSubmitanalysis.vue | 294 ++++++++ src/components/page/analysis_report.vue | 2 +- src/components/page/evaluationsis_report.vue | 4 +- src/components/page/journalArticleCount.vue | 60 +- src/components/page/paperArticleCount.vue | 237 +++++++ src/router/index.js | 22 +- vue.config.js | 5 +- 11 files changed, 1371 insertions(+), 37 deletions(-) create mode 100644 src/components/common/Sidebar copy.vue create mode 100644 src/components/page/PaperSubmitanalysis.vue create mode 100644 src/components/page/paperArticleCount.vue diff --git a/src/components/common/Sidebar copy.vue b/src/components/common/Sidebar copy.vue new file mode 100644 index 0000000..52e5b0d --- /dev/null +++ b/src/components/common/Sidebar copy.vue @@ -0,0 +1,662 @@ + + + + + diff --git a/src/components/common/Sidebar.vue b/src/components/common/Sidebar.vue index d82a3a7..f12e429 100644 --- a/src/components/common/Sidebar.vue +++ b/src/components/common/Sidebar.vue @@ -23,9 +23,22 @@ {{ subItem.title }} - - {{ threeItem.title }} - + + {{ subItem.title }} @@ -185,6 +198,10 @@ export default { collapse: false, userrole: localStorage.getItem('U_status'), user_cap: localStorage.getItem('U_role'), + + menuList: [ + + ], items: [], // 作者 author_items: [ @@ -220,16 +237,54 @@ export default { ], // 编辑 editor_items: [ - { + { icon: 'el-icon-lx-home', index: 'dashboard', - title: this.$t('sidebar.main') + title: this.$t('menu.main') }, { icon: 'el-icon-lx-copy', index: 'articleListEditor', - title: this.$t('sidebar.editor1') + title: this.$t('menu.PublicationSystem'), + subs: [ + { + //论文编辑系统 + icon: 'el-icon-lx-copy', + index: 'articleListEditor', + title: this.$t('menu.PaperEditingSystem') + }, + { + //论文出版监督 + icon: 'el-icon-lx-copy', + index: 'PaperPublicationSupervise', + title: this.$t('menu.PaperPublicationSupervise'), + subs: [ + { + //论文提交分析 + icon: 'el-icon-lx-copy', + index: 'PaperSubmitanalysis', + title: this.$t('menu.PaperSubmitanalysis') + }, + { + //文章发表分析 + icon: 'el-icon-lx-copy', + index: 'ArticlePublicationanalysis', + title: this.$t('menu.ArticlePublicationanalysis'), + subs: [ + { + icon: 'el-icon-data-analysis', + index: 'paperArticleCount', + title: this.$t('menu.journalArticleCount') + }, + { icon: 'el-icon-data-analysis', index: 'citationanalysis', title: this.$t('menu.analysis') }, + { icon: 'el-icon-data-analysis', index: 'evaluationsis', title: this.$t('menu.evaluationsis') } + ] + } + ] + } + ] }, + // { // icon: 'el-icon-user', // index: '3', @@ -365,15 +420,15 @@ export default { } ] }, - { - icon: 'el-icon-data-analysis', - index: 'citationanalysis', - title: this.$t('sidebar.datasis'), - subs: [ - { icon: 'el-icon-data-analysis', index: 'citationanalysis', title: this.$t('sidebar.analysis') }, - { icon: 'el-icon-data-analysis', index: 'evaluationsis', title: this.$t('sidebar.evaluationsis') } - ] - }, + // { + // icon: 'el-icon-data-analysis', + // index: 'citationanalysis', + // title: this.$t('sidebar.datasis'), + // subs: [ + // { icon: 'el-icon-data-analysis', index: 'citationanalysis', title: this.$t('sidebar.analysis') }, + // { icon: 'el-icon-data-analysis', index: 'evaluationsis', title: this.$t('sidebar.evaluationsis') } + // ] + // }, { icon: 'el-icon-chat-line-square', index: 'TMRGPT', diff --git a/src/components/common/langs/en.js b/src/components/common/langs/en.js index e9c6043..906e535 100644 --- a/src/components/common/langs/en.js +++ b/src/components/common/langs/en.js @@ -23,6 +23,19 @@ const en = { reviewers: 'reviewer', admin: 'admin' }, + menu: { + main: 'Personal Center', + PublicationSystem: 'Publication System', + PaperEditingSystem: 'Paper Editing System', + PaperPublicationSupervise: 'Paper Publication Supervise', + PaperSubmitanalysis: 'Paper Submit Analysis', + ArticlePublicationanalysis: 'Article Publication Analysis', + journalArticleCount: 'Article Count', + Promotionsystem: 'Promotion System', + Userdatabase: 'User Database', + analysis: 'Article Analysis', + evaluationsis: 'Article Distribution', + }, sidebar: { main: 'Personal Center', author: 'Author', @@ -172,6 +185,9 @@ const en = { yearTitle: 'Total annual submission volume', monthTitle: 'Monthly submission volume', dataTitle: 'Submission volume', + transferQuantity:'Transfer quantity', + info:'The following data is', + loading:'LOADING', }, journalArticleTable: { title: 'journal', diff --git a/src/components/common/langs/zh.js b/src/components/common/langs/zh.js index 9d5d783..7b8319a 100644 --- a/src/components/common/langs/zh.js +++ b/src/components/common/langs/zh.js @@ -23,6 +23,20 @@ const zh = { reviewers: '审稿人', admin: '管理员' }, + menu: { + main: '个人中心', + PublicationSystem: '出版系统', + PaperEditingSystem: '论文编辑系统', + PaperPublicationSupervise: '论文出版监督', + PaperSubmitanalysis: '论文提交分析', + ArticlePublicationanalysis: '文章发表分析', + + journalArticleCount: '文章计数', + Promotionsystem: '推广管理', + Userdatabase: '用户数据库', + analysis: '文章分析', + evaluationsis: '文章分发', + }, sidebar: { main: '个人中心', author: '作者', @@ -169,7 +183,12 @@ const zh = { role4: '青年编委', }, journalArticleCount: { yearTitle: '年度总投稿量', - monthTitle: '月度投稿量', dataTitle: '投稿量', + monthTitle: '月度投稿量', + dataTitle: '投稿量', + transferQuantity: '转出量', + + info:'以下数据为', + loading:'加载中', }, journalArticleTable: { title: '期刊', diff --git a/src/components/page/PaperSubmitanalysis.vue b/src/components/page/PaperSubmitanalysis.vue new file mode 100644 index 0000000..d7006e1 --- /dev/null +++ b/src/components/page/PaperSubmitanalysis.vue @@ -0,0 +1,294 @@ + + + + + diff --git a/src/components/page/analysis_report.vue b/src/components/page/analysis_report.vue index 8c2cb07..f840caf 100644 --- a/src/components/page/analysis_report.vue +++ b/src/components/page/analysis_report.vue @@ -3,7 +3,7 @@
- Journal Evaluation System + {{ $route.meta.title }}
diff --git a/src/components/page/evaluationsis_report.vue b/src/components/page/evaluationsis_report.vue index 0b5f1ea..3fa0ed8 100644 --- a/src/components/page/evaluationsis_report.vue +++ b/src/components/page/evaluationsis_report.vue @@ -2,7 +2,7 @@
- Journal Evaluation Statistics + {{ $route.meta.title }}
-
+
@@ -8,10 +8,41 @@
-
+ +
+ {{ $t('journalArticleCount.info') }} : {{ $t('journalArticleCount.dataTitle') }} / + {{ $t('journalArticleCount.transferQuantity') }} +
+
-
+ +
+ {{ $t('journalArticleCount.info') }} : {{ $t('journalArticleCount.dataTitle') }} / + {{ $t('journalArticleCount.transferQuantity') }} +
+
@@ -24,7 +55,7 @@ const jAtableM = () => import('@/components/common/journalArticleTable'); export default { data() { return { - loading: null + loading: false }; }, components: { @@ -32,12 +63,13 @@ export default { jAtableM }, async created() { - this.loading = this.$loading({ - lock: true, - text: 'Loading...', - spinner: 'el-icon-loading', - background: 'rgba(0, 0, 0, 0.7)' - }); + this.loading = true; + // this.loading = this.$loading({ + // lock: true, + // text: 'Loading...', + // spinner: 'el-icon-loading', + // background: 'rgba(0, 0, 0, 0.7)' + // }); await this.getCharts('year'); await this.getCharts('month'); await this.getTableData(); @@ -226,7 +258,7 @@ export default { } }) .catch((err) => { - console.log(err); + console.log(err, '989898'); this.loading = false; }); console.log(data, type, '98999'); @@ -235,8 +267,8 @@ export default { } else if (type == 'month') { this.$refs.monthTableData.getTableInfo(type, data); setTimeout(() => { - that.loading.close(); - }, 100); + that.loading = false; + }, 50); } return data; @@ -259,4 +291,4 @@ export default { right: 0px; z-index: 10; } - \ No newline at end of file + diff --git a/src/components/page/paperArticleCount.vue b/src/components/page/paperArticleCount.vue new file mode 100644 index 0000000..68bdb84 --- /dev/null +++ b/src/components/page/paperArticleCount.vue @@ -0,0 +1,237 @@ + + + + + diff --git a/src/router/index.js b/src/router/index.js index e13a4b1..c96677d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -45,7 +45,7 @@ export default new Router({ component: () => import( /* webpackChunkName: "table" */ '../components/page/articleListEditor.vue'), meta: { - title: 'Manuscript to be examined', + title: 'Paper Editing System', } }, { @@ -541,7 +541,7 @@ export default new Router({ path: '/citationanalysis', //引用情况分析 component: () => import('../components/page/analysis_report.vue'), meta: { - title: 'Citation Analysis Report' + title: 'Article analysis' }, hidden: true }, @@ -549,7 +549,7 @@ export default new Router({ path: '/evaluationsis', //引用情况分析 component: () => import('../components/page/evaluationsis_report.vue'), meta: { - title: 'Journal Evaluation Statistics' + title: 'Article distribution' }, hidden: true }, @@ -1014,6 +1014,14 @@ export default new Router({ title: 'Journals Management' } }, + { + name:'paper-article-count', + path: '/paperArticleCount', // 超管单期刊列表 + component: () => import('../components/page/paperArticleCount'), + meta: { + title: 'Article Count' + } + }, { name:'journal-Article-Count', path: '/journalArticleCount', // 超管单期刊列表 @@ -1022,6 +1030,14 @@ export default new Router({ title: 'Journal Article Count' } }, + { + name:'paper-submit-analysis', + path: '/PaperSubmitanalysis', // 超管单期刊列表 + component: () => import('../components/page/PaperSubmitanalysis'), + meta: { + title: 'Paper Submit Analysis' + } + }, { path: '/404', component: () => import( /* webpackChunkName: "404" */ diff --git a/vue.config.js b/vue.config.js index bff245e..c2b24ac 100644 --- a/vue.config.js +++ b/vue.config.js @@ -72,8 +72,9 @@ module.exports = { // target: 'https://www.tmrjournals.cn', // target: 'http://www.tougao.com/public/index.php/', // target: 'http://www.tougao.com/', - target: 'http://192.168.110.110/tougao/public/index.php/', - // target: 'https://submission.tmrjournals.com/',//正式 + // target: 'http://192.168.110.110/tougao/public/index.php/', + // target: 'http://api.tmrjournals.com/public/index.php/',//正式 + target: 'https://submission.tmrjournals.com/',//正式 changeOrigin: true, pathRewrite: { '^/api': ''