This commit is contained in:
xulu
2021-09-25 16:15:06 +08:00
parent ae37533b0e
commit ec5e69418b
31 changed files with 4045 additions and 787 deletions

View File

@@ -6,8 +6,14 @@
<i v-else class="el-icon-s-unfold"></i>
</div>
<div class="logo">
<img src="../../assets/img/logo.png" />
{{ $t('system.title') }}
<div>
<img src="../../assets/img/logo.png" />
<p>{{ $t('system.title_1') }}</p>
</div>
<div>
{{ $t('system.title_2') }}
</div>
<!-- {{ $t('system.title') }} -->
</div>
<div class="xq_time" v-if="this.user_id==24||this.user_id==25">
本刊为预警期刊责令限期整改 时间{{daojishi}} 倒计时: {{day}} {{hour}}:{{min}}:{{second}}
@@ -36,7 +42,7 @@
<!-- 身份切换 -->
<!-- <span style="font-size: 14px;margin-right: 8px;" v-if="this.user_cap.includes('author')">View as :</span>
<!-- <span style="font-size: 14px;margin-right: 8px;" v-if="this.user_cap.includes('author')">View as :</span>
<el-dropdown class="link_role" trigger="click" v-if="this.user_cap.includes('author')">
<span style="color: #fff;cursor: pointer;">
Author<i class="el-icon-arrow-down el-icon--right"></i>
@@ -290,22 +296,34 @@
.collapse-btn {
float: left;
padding: 0 21px;
padding: 0 15px 0 21px;
cursor: pointer;
line-height: 70px;
}
.header .logo {
float: left;
width: 350px;
padding-top: 19px;
vertical-align: middle;
line-height: 70px;
font-size: 20px;
}
.header .logo img {
width: 90px;
height: 25px;
vertical-align: middle;
width: 84px;
height: 20px;
margin-top: -4px;
margin-right: 15px;
padding-left: 12px;
}
.header .logo>div {
float: left;
height: 40px;
}
.header .logo p {
font-size: 12px;
text-align: center;
}
.header-right {

View File

@@ -1,7 +1,7 @@
<template>
<div class="sidebar">
<el-menu class="sidebar-el-menu" :default-active="onRoutes" :collapse="collapse" background-color="#324157"
text-color="#bfcbd9" active-text-color="#20a0ff" unique-opened router>
<el-menu class="sidebar-el-menu" :default-active="onRoutes" :collapse="collapse" background-color="#006699"
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">
@@ -26,13 +26,13 @@
</template>
</template>
<template v-if="this.user_cap.includes('chief')">
<!-- <template v-if="this.user_cap.includes('chief')">
<router-link :to="{path:'/managing'}">
<el-menu-item>
<i class="el-icon-user"></i> Editor-in-Chief
</el-menu-item>
</router-link>
</template>
</template> -->
<template v-if="this.user_cap.includes(',board')">
<router-link :to="{path:'/editorial'}">
<el-menu-item>
@@ -40,13 +40,13 @@
</el-menu-item>
</router-link>
</template>
<template v-if="this.user_cap.includes('reviewer')">
<!-- <template v-if="this.user_cap.includes('reviewer')">
<router-link :to="{path:'/peerewer'}">
<el-menu-item>
<i class="el-icon-user"></i> Reviewer
</el-menu-item>
</router-link>
</template>
</template> -->
<template v-if="this.user_cap.includes('yboard')">
<router-link :to="{path:'/youthed'}">
<el-menu-item>
@@ -54,6 +54,19 @@
</el-menu-item>
</router-link>
</template>
<!-- 主编/总监统计图 -->
<template v-if="this.userrole == 0">
<el-submenu index="8">
<template slot="title">
<i class="el-icon-data-analysis"></i> {{$t('sidebar.analyp')}}
</template>
<el-menu-item index="citationanalysis">
{{$t('sidebar.analysis')}}
</el-menu-item>
</el-submenu>
</template>
<template v-if="this.userrole == 0">
<el-menu-item>
<a href="http://boss.tmrjournals.com/#/publition?Act=123" target="_blank" style="color: #bfcbd9;">
@@ -87,6 +100,7 @@
userrole: localStorage.getItem('U_status'),
user_cap: localStorage.getItem('U_role'),
items: [],
// 作者
author_items: [{
icon: 'el-icon-lx-home',
index: 'dashboard',
@@ -103,25 +117,16 @@
{
index: 'articleAdd',
title: this.$t('sidebar.author2')
},
{
index: 'authorApplyReviewer',
title: this.$t('sidebar.authorApplyReviewer')
}
]
}
// {
// icon: 'el-icon-user',
// index: '2',
// title: this.$t('sidebar.reviewerArticle'),
// subs:[
// {
// index:'authorApplyReviewer',
// title:this.$t('sidebar.authorApplyReviewer')
// }
// ]
// ,{
// icon: 'el-icon-notebook-2',
// index: 'authorApplyReviewer',
// title: this.$t('sidebar.authorApplyReviewer')
// }
],
// 编辑
editor_items: [{
icon: 'el-icon-lx-home',
index: 'dashboard',
@@ -149,7 +154,7 @@
}, ]
},
{
icon: 'el-icon-s-custom',
icon: 'el-icon-price-tag',
index: '3',
title: this.$t('sidebar.reviewer'),
subs: [{
@@ -169,8 +174,95 @@
title: this.$t('sidebar.reviewer5')
}
]
},
{
icon: 'el-icon-data-analysis',
index: '5',
title: this.$t('sidebar.analyp'),
subs: [{
index: 'citationanalysis',
title: this.$t('sidebar.analysis')
}]
}
],
// 主编
chief_items: [{
icon: 'el-icon-lx-home',
index: 'dashboard',
title: this.$t('sidebar.main')
},
{
icon: 'el-icon-lx-cascades',
index: '1',
title: this.$t('sidebar.author'),
subs: [{
index: 'articleList',
title: this.$t('sidebar.author1')
},
{
index: 'articleAdd',
title: this.$t('sidebar.author2')
}
]
}, {
icon: 'el-icon-document-copy',
index: '2',
title: this.$t('sidebar.man_ing'),
subs: [{
index: 'managing',
title: this.$t('sidebar.man_ing1')
},
{
index: 'manhistory',
title: this.$t('sidebar.man_ing2')
}
]
}, {
icon: 'el-icon-data-analysis',
index: '3',
title: this.$t('sidebar.analyp'),
subs: [{
index: 'citationanalysis',
title: this.$t('sidebar.analysis')
}]
}
],
// 审稿人
reviewer_items: [{
icon: 'el-icon-lx-home',
index: 'dashboard',
title: this.$t('sidebar.main')
},
{
icon: 'el-icon-lx-cascades',
index: '1',
title: this.$t('sidebar.author'),
subs: [{
index: 'articleList',
title: this.$t('sidebar.author1')
},
{
index: 'articleAdd',
title: this.$t('sidebar.author2')
}
]
},
{
icon: 'el-icon-collection',
index: '2',
title: this.$t('sidebar.rev_ewer'),
subs: [{
index: 'peerewer',
title: this.$t('sidebar.rev_ewer1')
},
{
index: 'perhistory',
title: this.$t('sidebar.rev_ewer2')
}
]
}
],
//超级管理员
admin_items: [{
icon: 'el-icon-lx-home',
index: 'dashboard',
@@ -228,6 +320,11 @@
}, ]
}
// ,{
// icon: 'el-icon-data-analysis',
// index: 'citationanalysis',
// title: this.$t('sidebar.analysis')
// },
// {
// icon:'el-icon-user-solid',
// index:'4',
@@ -243,36 +340,6 @@
// }
// ]
// }
],
reviewer_items: [{
icon: 'el-icon-lx-home',
index: 'dashboard',
title: this.$t('sidebar.main')
},
{
icon: 'el-icon-lx-cascades',
index: '1',
title: this.$t('sidebar.author'),
subs: [{
index: 'articleList',
title: this.$t('sidebar.author1')
},
{
index: 'articleAdd',
title: this.$t('sidebar.author2')
}
]
}
// ,{
// icon: 'el-icon-user',
// index: '2',
// title: this.$t('sidebar.reviewerArticle'),
// subs: [{
// index: 'reviewerArticleList',
// title: this.$t('sidebar.reviewerArticle1')
// }]
// }
]
};
},
@@ -282,18 +349,20 @@
}
},
created() {
if (this.userrole == 2 && this.user_cap.includes('reviewer')) { //审稿人
this.items = this.reviewer_items;
} else if (this.userrole == 2) { //其余的身份(显示作者)
this.items = this.author_items;
if (this.userrole == 2) { //其余的身份(显示作者)
if (this.user_cap.includes('chief')) { //主编
this.items = this.chief_items;
} else if (this.user_cap.includes('reviewer')) { //审稿人
this.items = this.reviewer_items;
} else {
this.items = this.author_items;
}
} else if (this.userrole == 1) { //编辑
this.items = this.editor_items;
} else if (this.userrole == 0) { //超级管理员
this.items = this.admin_items;
}
// else if(this.userrole=='reviewer'){
// this.items = this.reviewer_items;
// }
// 通过 Event Bus 进行组件间通信,来折叠侧边栏
bus.$on('collapse', msg => {
this.collapse = msg;
@@ -311,6 +380,10 @@
top: 70px;
bottom: 0;
overflow-y: scroll;
/* -webkit-box-shadow: 0px 0px 25px 0px rgb(45 69 95 / 10%); */
-moz-box-shadow: 0px 0px 25px 0px rgba(45, 69, 95, 0.1);
box-shadow: 0px 0px 25px 0px rgb(45 69 95 / 10%);
z-index: 100;
}
.sidebar::-webkit-scrollbar {
@@ -324,4 +397,35 @@
.sidebar>ul {
height: 100%;
}
/* .sidebar ul li.el-menu-item.is-active::before {
background: #fff;
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 3px;
} */
.sidebar ul li.el-menu-item.is-active {
background-color: rgba(0, 0, 0, .3) !important;
}
.el-menu {
border-right: 0;
}
.el-menu-item:hover {
/* color: #006699 !important;
background-color: #e3e9ef !important; */
}
.el-submenu__title i {
color: #fff !important;
}
.el-menu-item i {
color: #fff;
}
</style>

View File

@@ -118,8 +118,10 @@
height: 30px;
overflow: hidden;
background: #fff;
padding-left: 1px;
padding-right: 120px;
box-shadow: 0 5px 10px #ddd;
z-index: 10;
}
.tags ul {

View File

@@ -1,7 +1,9 @@
const en = {
system: {
title: 'Submission System',
title: 'Publishing Group Submission System',
title_1: 'Publishing Group',
title_2: 'Submission System',
repassword: 'Forgot your password?',
register: 'Register',
orcidlogin: 'Login with your ORCID iD',
@@ -52,7 +54,15 @@ const en = {
chief2: 'Journal list',
editmber: 'Editorial management',
editmber1: 'Editorial board list',
editmber2: 'Matching pattern'
editmber2: 'Matching pattern',
analyp: 'Manager',
analysis: 'Citation Analysis Report',
rev_ewer: 'Reviewer',
rev_ewer1: 'Draft review',
rev_ewer2: 'Review record',
man_ing: 'Editor-in-Chief',
man_ing1: 'Manuscript',
man_ing2: 'Historical manuscripts',
},
home: {
authortop: 'Author guide',

View File

@@ -1,7 +1,9 @@
const zh = {
system: {
title: '投稿系统',
title: '出版集团投稿系统',
title_1: '出版集团',
title_2: '投稿系统',
repassword: '忘记密码',
register: '注册',
orcidlogin: 'ORCID登陆',
@@ -52,7 +54,15 @@ const zh = {
chief2: '期刊列表',
editmber: '编委管理',
editmber1: '编委列表',
editmber2: '编委匹配'
editmber2: '编委匹配',
analyp: '管理',
analysis: '引用统计',
rev_ewer: '审稿人',
rev_ewer1: '审稿',
rev_ewer2: '审稿记录',
man_ing: '主编',
man_ing1: '稿件',
man_ing2: '历史稿件',
},
home: {
authortop: '用户指南',