This commit is contained in:
wangjinlei
2023-05-17 13:21:01 +08:00
parent 5ed3073b6e
commit f087543b0f
77 changed files with 10625 additions and 4542 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div class="sidebar">
<el-menu class="sidebar-el-menu" :default-active="onRoutes" :collapse="collapse" background-color="#006699"
text-color="#fff" active-text-color="#fff" unique-opened router>
text-color="#fff" active-text-color="#fff" unique-opened router>
<template v-for="item in items">
<template v-if="item.subs">
<el-submenu :index="item.index" :key="item.index">
@@ -11,10 +11,16 @@
</template>
<template v-for="subItem in item.subs">
<el-submenu v-if="subItem.subs" :index="subItem.index" :key="subItem.index">
<template slot="title">{{ subItem.title }}</template>
<el-menu-item v-for="(threeItem,i) in subItem.subs" :key="i" :index="threeItem.index">{{ threeItem.title }}</el-menu-item>
<template slot="title">
{{ subItem.title }}
<!-- <el-badge is-dot :hidden="false">{{ subItem.title }}</el-badge> -->
</template>
<el-menu-item v-for="(threeItem,i) in subItem.subs" :key="i" :index="threeItem.index">
{{ threeItem.title }}
</el-menu-item>
</el-submenu>
<el-menu-item v-else :index="subItem.index" :key="subItem.index">{{ subItem.title }}</el-menu-item>
<el-menu-item v-else :index="subItem.index" :key="subItem.index">{{ subItem.title }}
</el-menu-item>
</template>
</el-submenu>
</template>
@@ -62,7 +68,7 @@
<el-menu-item index="managing">
{{$t('sidebar.man_ing1')}}
</el-menu-item>
<el-menu-item index="manhistory">
<el-menu-item index="manarticle">
{{$t('sidebar.man_ing2')}}
</el-menu-item>
</el-submenu>
@@ -120,26 +126,31 @@
</el-menu-item>
</template>
<template v-if="this.userrole == 1">
<el-menu-item>
<a href="http://master.tmrjournals.com" target="_blank" style="color: #bfcbd9;">
<i class="el-icon-d-arrow-right"></i> Management System
</a>
</el-menu-item>
<el-menu-item>
<a href="https://mail.mxhichina.com/alimail" target="_blank" style="color: #bfcbd9;">
<i class="el-icon-d-arrow-right"></i> Official mailbox
</a>
</el-menu-item>
<el-menu-item>
<a href="https://www.grammarly.com" target="_blank" style="color: #bfcbd9;">
<i class="el-icon-d-arrow-right"></i> www.grammarly.com
</a>
</el-menu-item>
<el-menu-item>
<a href="https://quillbot.com" target="_blank" style="color: #bfcbd9;">
<i class="el-icon-d-arrow-right"></i> quillbot.com
</a>
</el-menu-item>
<el-submenu index="5">
<template slot="title">
<i class="el-icon-paperclip"></i> {{$t('sidebar.tools')}}
</template>
<el-menu-item index="1" key="1">
<a href="http://master.tmrjournals.com" target="_blank" style="color: #fff;">
Management System
</a>
</el-menu-item>
<el-menu-item index="2" key="2">
<a href="https://mail.mxhichina.com/alimail" target="_blank" style="color: #fff;">
Official mailbox
</a>
</el-menu-item>
<el-menu-item index="3" key="3">
<a href="https://www.grammarly.com" target="_blank" style="color: #fff;">
www.grammarly.com
</a>
</el-menu-item>
<el-menu-item index="4" key="4">
<a href="https://quillbot.com" target="_blank" style="color: #fff;">
quillbot.com
</a>
</el-menu-item>
</el-submenu>
</template>
</el-menu>
</div>
@@ -168,10 +179,14 @@
index: 'articleList',
title: this.$t('sidebar.author1')
},
{
index: 'articleDrafts',
title: this.$t('sidebar.author3')
},
{
index: 'articleAdd',
title: this.$t('sidebar.author2')
}
},
]
}
// ,{
@@ -188,94 +203,128 @@
},
{
icon: 'el-icon-lx-copy',
index: '2',
title: this.$t('sidebar.editor'),
subs: [{
index: 'articleListEditor',
title: this.$t('sidebar.editor1')
}]
index: 'articleListEditor',
title: this.$t('sidebar.editor1'),
},
{
icon: 'el-icon-paperclip',
index: '4',
title: this.$t('sidebar.editmber'),
subs: [{
index: 'editorBorder',
title: this.$t('sidebar.editmber1')
}
// {
// icon: 'el-icon-user',
// index: '3',
// title: this.$t('sidebar.userTalSys'),
// subs: [{
// index: 'partyList',
// title: this.$t('sidebar.userTalSys1')
// }
// , {
// index: 'editmbereditor',
// title: this.$t('sidebar.editmber2')
// index: 'partyDelete',
// title: this.$t('sidebar.userTalSys2')
// }, {
// index: 'editmbereditormoshi',
// title: this.$t('sidebar.editmber3')
// },
]
},
// index: 'editorBorder',
// title: this.$t('sidebar.userTalSys3')
// }, {
// index: 'reviewerApplyList',
// title: this.$t('sidebar.userTalSys4')
// }, {
// index: 'reviewerAuthorList',
// title: this.$t('sidebar.userTalSys5')
// }, {
// index: 'reviewerList',
// title: this.$t('sidebar.userTalSys6')
// }, {
// index: 'editApplyList',
// title: this.$t('sidebar.userTalSys7')
// }, {
// index: 'youthApplyList',
// title: this.$t('sidebar.userTalSys8')
// },
// ]
// },
{
icon: 'el-icon-price-tag',
index: '3',
title: this.$t('sidebar.reviewer'),
icon: 'el-icon-user',
index: '4',
title: this.$t('sidebar.userManSys'),
subs: [{
index: 'reviewerApplyList',
title: this.$t('sidebar.reviewer1')
},
{
index: 'reviewerAuthorList',
title: this.$t('sidebar.reviewer6')
},
{
index: 'reviewerList',
title: this.$t('sidebar.reviewer2')
},
// {
// index: 'reviewerImport',
// title: this.$t('sidebar.reviewer3')
title: this.$t('sidebar.userManSys1'),
index: '41',
subs: [
// {
// index: 'partyListAct',
// title: this.$t('sidebar.userManSys11')
// },{
// index: 'partyListIna',
// title: this.$t('sidebar.userManSys12')
// },
// {
// index: 'reviewerAdd',
// title: this.$t('sidebar.reviewer5')
// }
]
{
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')
// },
{
title: this.$t('sidebar.userManSys3'),
index: '43',
subs: [{
index: 'reviewerList',
title: this.$t('sidebar.userManSys31')
},{
index: 'reviewerApplyList',
title: this.$t('sidebar.userManSys32')
},{
index: 'reviewerAuthorList',
title: this.$t('sidebar.userManSys33')
}]
}, {
title: this.$t('sidebar.userManSys4'),
index: '44',
subs: [{
index: 'editorBorder',
title: this.$t('sidebar.userManSys41')
},{
index: 'editApplyList',
title: this.$t('sidebar.userManSys42')
}]
}, {
title: this.$t('sidebar.userManSys5'),
index: '45',
subs: [
{
index: 'youthList',
title: this.$t('sidebar.userManSys51')
},
{
index: 'youthApplyList',
title: this.$t('sidebar.userManSys52')
}]
},
{
index: 'disseMRecord',
title: this.$t('sidebar.userManSys6')
},
{
index: 'partyDelete',
title: this.$t('sidebar.userManSys7')
}]
},
{
icon: 'el-icon-data-analysis',
index: '5',
title: this.$t('sidebar.analyp'),
subs: [{
index: 'citationanalysis',
title: this.$t('sidebar.analysis')
}]
index: 'citationanalysis',
title: this.$t('sidebar.analysis'),
},
{
icon: 'el-icon-coordinate',
index: '6',
title: this.$t('sidebar.party'),
subs: [{
index: 'partyList',
title: this.$t('sidebar.party2')
},{
index: 'partyDelete',
title: this.$t('sidebar.party3')
}
]
icon: 'el-icon-chat-line-square',
index: 'TMRGPT',
title: 'TMRGPT',
},
// {
// icon: 'el-icon-message',
// index: '7',
// title: this.$t('sidebar.mailbox'),
// subs: [{
// index: 'mailboxSend',
// title: this.$t('sidebar.mailbox1')
// },{
// index: 'mailboxCollect',
// title: this.$t('sidebar.mailbox2')
// },{
// index: 'mailboxMould',
// title: this.$t('sidebar.mailbox3')
// }
// ]
// },
],
//超级管理员
admin_items: [{
@@ -283,6 +332,11 @@
index: 'dashboard',
title: this.$t('sidebar.main')
},
// {
// icon: 'el-icon-document-copy',
// index: 'documentView',
// title: this.$t('sidebar.document'),
// },
{
icon: 'el-icon-connection',
index: '5',
@@ -340,10 +394,9 @@
index: '9',
title: this.$t('sidebar.email'),
subs: [{
index: 'mailtemplate',
title: this.$t('sidebar.email1')
},
]
index: 'mailtemplate',
title: this.$t('sidebar.email1')
}, ]
},
{
icon: 'el-icon-discount',
@@ -364,17 +417,15 @@
index: '7',
title: this.$t('sidebar.party'),
subs: [{
index: 'partyEditor',
title: this.$t('sidebar.party1')
},{
index: 'partyList',
title: this.$t('sidebar.party2')
},
{
index: 'partyDelete',
title: this.$t('sidebar.party3')
}
]
index: 'partyEditor',
title: this.$t('sidebar.party1')
}, {
index: 'partyList',
title: this.$t('sidebar.party2')
}, {
index: 'partyDelete',
title: this.$t('sidebar.party3')
}]
},
// ,{
// icon: 'el-icon-data-analysis',
@@ -418,6 +469,7 @@
this.items = this.author_items;
} else if (this.userrole == 1) { //编辑
this.items = this.editor_items;
this.getDate()
} else if (this.userrole == 0) { //超级管理员
this.items = this.admin_items;
}
@@ -427,7 +479,13 @@
this.collapse = msg;
bus.$emit('collapse-content', msg);
});
}
},
methods: {
// 获取数据
getDate() {
},
},
};
</script>
@@ -450,7 +508,7 @@
}
.sidebar-el-menu:not(.el-menu--collapse) {
width: 250px;
width: 260px;
}
.sidebar>ul {
@@ -482,7 +540,7 @@
.el-submenu__title i {
color: #fff !important;
top: 54%;
top: 55% !important;
}
.el-menu-item i {

View File

@@ -24,12 +24,14 @@ const en = {
admin: 'admin'
},
sidebar: {
main: 'Home Page',
main: 'Personal Center',
author: 'Author',
author1: 'My manuscript',
author1: 'My manuscripts',
author2: 'Submit manuscript',
author3: 'Manuscripts in Draft',
editor: 'Editor',
editor1: 'Manuscript list',
editor1: 'Paper Editing System',
// editor1: 'Manuscript list',
editormanage: 'Editor Management',
editormanage1: 'Editor list',
editormanage2: 'Add editor',
@@ -50,6 +52,7 @@ const en = {
reviewerimporterror: 'import error',
monitor: 'Monitor',
monitor1: 'Manuscript situation',
document:'Manuscript List',
chief: 'Chief editor',
chief1: 'Chief editor list',
chief2: 'Journal list',
@@ -57,35 +60,65 @@ const en = {
editmber1: 'Editorial board list',
editmber2: 'Editorial board list',
editmber3: 'Matching pattern',
userTalSys: 'User Management System',
userTalSys1: 'Total User',
userTalSys2: 'User Blacklist',
userTalSys3: 'Editorial board',
userTalSys4: 'Reviewer application list',
userTalSys5: 'Author transferred to reviewer',
userTalSys6: 'Reviewer list',
userTalSys7: 'Editorial board apply list',
userTalSys8: 'Young Scientist apply list',
userManSys: 'User Management System',
userManSys1: 'Total User',
userManSys11: 'Active Users',
userManSys12: 'Inactive Users',
userManSys13: 'Untapped Users',
userManSys14: 'All Users',
userManSys15: 'Author Database',
userManSys2: 'Author',
userManSys3: 'Reviewer',
userManSys31: 'List',
userManSys32: 'Apply',
userManSys33: 'Author transferred to reviewer',
userManSys4: 'Editorial board',
userManSys41: 'List',
userManSys42: 'Apply',
userManSys5: 'Young Scientist',
userManSys51: 'List',
userManSys52: 'Apply',
userManSys6: 'Promotion Record',
userManSys7: 'Blacklist',
analyp: 'Manager',
analysis: 'Citation Analysis Report',
analysis: 'Journal Evaluation System',
rev_ewer: 'Reviewer',
rev_ewer1: 'Peer Review',
rev_ewer2: 'Review History',
man_ing: 'Editor-in-Chief',
man_ing1: 'Journal information',
man_ing2: 'Finshed Articles',
man_ing2: 'Article List',
edit_oria: 'Editorial board member',
edit_oria1: 'Final decision',
edit_oria2: 'Accepted manuscript',
you_thed: 'Young scholar',
you_thed1: 'Pending review',
guest:'Guest editor',
guest1:'Manuscript list',
guest2:'Reviewer list',
email:'Mail management',
email1:'Mail template',
suggest:'Suggestion management',
suggest1:'Suggestion list',
suggest2:'Suggested title management',
party:'User Management',
party1:'Editor List',
party2:'User List',
party3:'User Blacklist',
mailbox:'Mailbox system',
mailbox1:'Mailbox send',
mailbox2:'Mailbox list',
mailbox3:'Mailbox template',
guest: 'Guest editor',
guest1: 'Manuscript list',
guest2: 'Reviewer list',
email: 'Mail management',
email1: 'Mail template',
suggest: 'Suggestion management',
suggest1: 'Suggestion list',
suggest2: 'Suggested title management',
party: 'User Management',
party1: 'Editor List',
party2: 'User List',
party3: 'User Blacklist',
mailbox: 'Mailbox system',
mailbox1: 'Mailbox send',
mailbox2: 'Mailbox list',
mailbox3: 'Mailbox template',
tools: 'Assistant tools',
},
home: {
authortop: 'Author guide',

View File

@@ -24,10 +24,11 @@ const zh = {
admin: '管理员'
},
sidebar: {
main: '系统首页',
main: '个人中心',
author: '作者',
author1: '我的稿件',
author2: '新增稿件',
author3: '草稿箱',
editor: '编辑',
editor1: '待审稿件',
editormanage: '编辑管理',
@@ -50,6 +51,7 @@ const zh = {
reviewerimporterror: '导入失败列表',
monitor: '总监',
monitor1: '稿件情况',
document:'稿件列表',
chief: '主编管理',
chief1: '主编列表',
chief2: '期刊列表',
@@ -57,6 +59,35 @@ const zh = {
editmber1: '编委列表',
editmber2: '编委列表',
editmber3: '编委匹配',
userTalSys: '用户管理',
userTalSys1: '用户列表',
userTalSys2: '黑名单',
userTalSys3: '编委列表',
userTalSys4: '申请列表',
userTalSys5: '作者转审稿人',
userTalSys6: '审稿人列表',
userTalSys7: '编委申请列表',
userTalSys8: '青年科学家申请列表',
userManSys: '用户管理',
userManSys1: '用户管理',
userManSys11: '活跃用户',
userManSys12: '非活跃用户',
userManSys13: '潜在用户',
userManSys14: '用户管理',
userManSys15: '作者库',
userManSys2: '作者',
userManSys3: '审稿人',
userManSys31: '列表',
userManSys32: '申请',
userManSys33: '作者转审稿人',
userManSys4: '编委',
userManSys41: '列表',
userManSys42: '编委申请',
userManSys5: '青年科学家',
userManSys51: '列表',
userManSys52: '青年科学家申请',
userManSys6: '推广',
userManSys7: '黑名单',
analyp: '管理',
analysis: '引用统计',
rev_ewer: '审稿人',
@@ -64,12 +95,12 @@ const zh = {
rev_ewer2: '审稿记录',
man_ing: '主编',
man_ing1: '稿件',
man_ing2: '历史稿件',
man_ing2: '文章列表',
edit_oria: '编委',
edit_oria1: '稿件',
edit_oria2: '历史稿件',
you_thed: '青年编委',
you_thed1: '证书',
you_thed1: '待审核',
guest: '客座编辑',
guest1: '稿件列表',
guest2: '审稿人列表',
@@ -86,6 +117,7 @@ const zh = {
mailbox1: '发邮件',
mailbox2: '邮件列表',
mailbox3: '模板管理',
tools: '辅助工具',
},
home: {
authortop: '用户指南',