From 04f160b8d2dfb6dd8bed5a22b469695e4288c232 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: Thu, 5 Sep 2024 17:59:29 +0800 Subject: [PATCH] 2 --- src/api/index.js | 8 +- src/components/common/Sidebar.vue | 122 ++++++++---- src/components/common/langs/en.js | 18 ++ src/components/common/langs/zh.js | 15 ++ .../page/JournalCitationAnalysis.vue | 186 ++++++++++++++++++ src/router/index.js | 8 + 6 files changed, 316 insertions(+), 41 deletions(-) create mode 100644 src/components/page/JournalCitationAnalysis.vue diff --git a/src/api/index.js b/src/api/index.js index da7023b..84470db 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -18,14 +18,14 @@ const service = axios.create({ // baseURL: 'http://testtougao.tmrjournals.com/public/index.php/', // baseURL: 'https://submission.tmrjournals.com/', //正式 记得切换 // baseURL: 'http://www.tougao.com/', //测试本地 记得切换 - - // baseURL: '/api', //本地 - baseURL: '/', //正式 + + baseURL: '/api', //本地 + // baseURL: '/', //正式 }); const service_new = axios.create({ - baseURL: 'http://journal.com/', + baseURL: 'http://journal.com/', // baseURL: '/', }); diff --git a/src/components/common/Sidebar.vue b/src/components/common/Sidebar.vue index f12e429..83e7e20 100644 --- a/src/components/common/Sidebar.vue +++ b/src/components/common/Sidebar.vue @@ -199,9 +199,7 @@ export default { userrole: localStorage.getItem('U_status'), user_cap: localStorage.getItem('U_role'), - menuList: [ - - ], + menuList: [], items: [], // 作者 author_items: [ @@ -237,7 +235,7 @@ export default { ], // 编辑 editor_items: [ - { + { icon: 'el-icon-lx-home', index: 'dashboard', title: this.$t('menu.main') @@ -284,6 +282,56 @@ export default { } ] }, + { + icon: 'el-icon-s-help', + index: 'Promotionsystem', + title: this.$t('menu.Promotionsystem'), + subs: [ + { + //论文编辑系统 + icon: 'el-icon-lx-copy', + index: 'Userdatabase', + title: this.$t('menu.Userdatabase'), + subs: [ + { + title: this.$t('menu.userManSys1'), + index: 'userManSys1', + subs: [ + { + index: 'partyList', + title: this.$t('menu.userManSys14') + }, + { + index: 'partyListCorr', + title: this.$t('menu.userManSys15') + }, + { + index: 'partyListPot', + title: this.$t('menu.userManSys13') + }, + + ] + }, + { + index: 'partyDelete', + title: this.$t('menu.userManSys7') + }, + + ] + }, + { + index: 'disseMRecord', + title: this.$t('menu.userManSys6') + }, + { + //论文出版监督 + icon: 'el-icon-lx-copy', + index: 'JournalCitationAnalysis', + title: this.$t('menu.JournalCitationAnalysis'), + + } + ] + }, // { // icon: 'el-icon-user', @@ -322,31 +370,31 @@ export default { index: '4', title: this.$t('sidebar.userManSys'), subs: [ - { - title: this.$t('sidebar.userManSys1'), - index: '41', - subs: [ - // { - // index: 'partyListAct', - // title: this.$t('sidebar.userManSys11') - // },{ - // index: 'partyListIna', - // title: this.$t('sidebar.userManSys12') - // }, - { - index: 'partyList', - title: this.$t('sidebar.userManSys14') - }, - { - index: 'partyListCorr', - title: this.$t('sidebar.userManSys15') - }, - { - index: 'partyListPot', - title: this.$t('sidebar.userManSys13') - } - ] - }, + // { + // title: this.$t('sidebar.userManSys1'), + // index: '41', + // subs: [ + // // { + // // index: 'partyListAct', + // // title: this.$t('sidebar.userManSys11') + // // },{ + // // index: 'partyListIna', + // // title: this.$t('sidebar.userManSys12') + // // }, + // { + // index: 'partyList', + // title: this.$t('sidebar.userManSys14') + // }, + // { + // index: 'partyListCorr', + // title: this.$t('sidebar.userManSys15') + // }, + // { + // index: 'partyListPot', + // title: this.$t('sidebar.userManSys13') + // } + // ] + // }, // { // index: '', // title: this.$t('sidebar.userManSys2') @@ -397,10 +445,10 @@ export default { } ] }, - { - index: 'disseMRecord', - title: this.$t('sidebar.userManSys6') - }, + // { + // index: 'disseMRecord', + // title: this.$t('sidebar.userManSys6') + // }, // { // index: 'disseMRecord', // title: this.$t('sidebar.userManSys8') @@ -414,10 +462,10 @@ export default { title: this.$t('sidebar.userManSys9') }, - { - index: 'partyDelete', - title: this.$t('sidebar.userManSys7') - } + // { + // index: 'partyDelete', + // title: this.$t('sidebar.userManSys7') + // } ] }, // { diff --git a/src/components/common/langs/en.js b/src/components/common/langs/en.js index 906e535..1f89e29 100644 --- a/src/components/common/langs/en.js +++ b/src/components/common/langs/en.js @@ -35,6 +35,24 @@ const en = { Userdatabase: 'User Database', analysis: 'Article Analysis', evaluationsis: 'Article Distribution', + userManSys1: 'Total User', + userManSys13: 'Untapped Users', + userManSys14: 'All Users', + userManSys15: 'Author Database', + userManSys7: 'Blacklist', + userManSys6: 'Promotion Record', + JournalCitationAnalysis: 'Journal Citation Analysis', + + }, + JournalCitationAnalysis:{ + journal:'Journal', + editor:'Editor', + cite:'Cited in', + article:'Articles for', + info:'The following data is', + wos:'Wos', + all:'All references', + factor: 'Factor', }, sidebar: { main: 'Personal Center', diff --git a/src/components/common/langs/zh.js b/src/components/common/langs/zh.js index 7b8319a..d8ffcb3 100644 --- a/src/components/common/langs/zh.js +++ b/src/components/common/langs/zh.js @@ -36,6 +36,21 @@ const zh = { Userdatabase: '用户数据库', analysis: '文章分析', evaluationsis: '文章分发', + userManSys1: '用户管理', + userManSys13: '潜在用户', + userManSys14: '用户管理', + userManSys15: '作者库', + userManSys7: '黑名单', + userManSys6: '推广记录', + JournalCitationAnalysis: '期刊引文分析', + + }, JournalCitationAnalysis:{ + journal:'期刊', + editor:'编辑', + cite:'引用数量', + article:'文章数量', info:'以下数据为',wos:'Wos', + all:'全部引用', + factor: '影响因子', }, sidebar: { main: '个人中心', diff --git a/src/components/page/JournalCitationAnalysis.vue b/src/components/page/JournalCitationAnalysis.vue new file mode 100644 index 0000000..fe2edb5 --- /dev/null +++ b/src/components/page/JournalCitationAnalysis.vue @@ -0,0 +1,186 @@ + + + + + diff --git a/src/router/index.js b/src/router/index.js index c96677d..b49e3e0 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1030,6 +1030,14 @@ export default new Router({ title: 'Journal Article Count' } }, + { + name:'journal-citation-analysis', + path: '/JournalCitationAnalysis', // 超管单期刊列表 + component: () => import('../components/page/JournalCitationAnalysis'), + meta: { + title: 'Journal Citation Analysis' + } + }, { name:'paper-submit-analysis', path: '/PaperSubmitanalysis', // 超管单期刊列表