This commit is contained in:
xulu
2022-02-23 16:34:07 +08:00
parent ec5e69418b
commit 4f5e6e1f78
62 changed files with 28419 additions and 8571 deletions

View File

@@ -167,8 +167,7 @@
localStorage.removeItem('U_id');
localStorage.removeItem('U_name');
localStorage.removeItem('U_status');
localStorage.removeItem('journal_id');
localStorage.removeItem('journal_title');
localStorage.removeItem('ms_journal_alias');
this.$router.push('/login');
}
},

View File

@@ -7,7 +7,7 @@
<el-submenu :index="item.index" :key="item.index">
<template slot="title">
<i :class="item.icon"></i>
<span slot="title">{{ item.title }}</span>
<span slot="title"> {{ item.title }}</span>
</template>
<template v-for="subItem in item.subs">
<el-submenu v-if="subItem.subs" :index="subItem.index" :key="subItem.index">
@@ -21,40 +21,72 @@
<template v-else>
<el-menu-item :index="item.index" :key="item.index">
<i :class="item.icon"></i>
<span slot="title">{{ item.title }}</span>
<span slot="title"> {{ item.title }}</span>
</el-menu-item>
</template>
</template>
<!-- <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
<!-- 审稿人 -->
<template v-if="this.user_cap.includes('reviewer')">
<el-submenu index="8">
<template slot="title">
<i class="el-icon-collection"></i> {{$t('sidebar.rev_ewer')}}
</template>
<el-menu-item index="peerewer">
{{$t('sidebar.rev_ewer1')}}
</el-menu-item>
</router-link>
</template> -->
<el-menu-item index="perhistory">
{{$t('sidebar.rev_ewer2')}}
</el-menu-item>
</el-submenu>
</template>
<!-- 编委 -->
<template v-if="this.user_cap.includes(',board')">
<router-link :to="{path:'/editorial'}">
<el-menu-item>
<i class="el-icon-user"></i> Editorial board member
<el-submenu index="7">
<template slot="title">
<i class="el-icon-notebook-1"></i> {{$t('sidebar.edit_oria')}}
</template>
<el-menu-item index="editorial">
{{$t('sidebar.edit_oria1')}}
</el-menu-item>
</router-link>
<el-menu-item index="edithistory">
{{$t('sidebar.edit_oria2')}}
</el-menu-item>
</el-submenu>
</template>
<!-- <template v-if="this.user_cap.includes('reviewer')">
<router-link :to="{path:'/peerewer'}">
<el-menu-item>
<i class="el-icon-user"></i> Reviewer
<!-- 主编 -->
<template v-if="this.user_cap.includes('chief')">
<el-submenu index="6">
<template slot="title">
<i class="el-icon-document-copy"></i> {{$t('sidebar.man_ing')}}
</template>
<el-menu-item index="managing">
{{$t('sidebar.man_ing1')}}
</el-menu-item>
</router-link>
</template> -->
<el-menu-item index="manhistory">
{{$t('sidebar.man_ing2')}}
</el-menu-item>
</el-submenu>
<el-submenu index="10">
<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.user_cap.includes('yboard')">
<router-link :to="{path:'/youthed'}">
<el-menu-item>
<i class="el-icon-user"></i> Young scientist member
<el-submenu index="9">
<template slot="title">
<i class="el-icon-copy-document"></i> {{$t('sidebar.you_thed')}}
</template>
<el-menu-item index="youthed">
{{$t('sidebar.you_thed1')}}
</el-menu-item>
</router-link>
</el-submenu>
</template>
<!-- 主编/总监统计图 -->
<template v-if="this.userrole == 0">
<el-submenu index="8">
@@ -85,6 +117,11 @@
<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>
</template>
</el-menu>
@@ -161,18 +198,22 @@
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')
},
{
index: 'reviewerAdd',
title: this.$t('sidebar.reviewer5')
}
// {
// index: 'reviewerImport',
// title: this.$t('sidebar.reviewer3')
// },
// {
// index: 'reviewerAdd',
// title: this.$t('sidebar.reviewer5')
// }
]
},
{
@@ -185,83 +226,6 @@
}]
}
],
// 主编
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',
@@ -317,7 +281,7 @@
subs: [{
index: 'monitorManuscript',
title: this.$t('sidebar.monitor1')
}, ]
}]
}
// ,{
@@ -350,13 +314,16 @@
},
created() {
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;
}
// if (this.user_cap.includes('chief')) { //主编
// this.items = this.chief_items;
// } else if (this.user_cap.includes('reviewer')) { //审稿人
// this.items = this.reviewer_items;
// } else if (this.user_cap.includes('yboard')) { //青年编委
// this.items = this.yboard_items;
// } else if (this.user_cap.includes(',board')) { //编委
// this.items = this.board_items;
// }
this.items = this.author_items;
} else if (this.userrole == 1) { //编辑
this.items = this.editor_items;
} else if (this.userrole == 0) { //超级管理员

View File

@@ -1,10 +1,11 @@
<script>
// const baseUrl = '/';
// const mediaUrl = 'http://api.tmrjournals.com/public/';
const mediaUrl = 'http://www.tougao.com/';
const baseUrl = 'http://www.tougao.com/';
export default {
baseUrl,
mediaUrl
}
</script>
// const mediaUrl = '/public/';
// const baseUrl = '/';
const mediaUrl = 'http://www.tougao.com/';
const baseUrl = 'http://www.tougao.com/';
export default {
baseUrl,
mediaUrl
}
</script>

View File

@@ -42,6 +42,7 @@ const en = {
reviewer3: 'Reviewer import',
reviewer4: 'Reviewer error',
reviewer5: 'Reviewer Add',
reviewer6: 'Author transferred to reviewer',
reviewerArticle: 'Reviewer',
reviewerArticle1: 'Manuscript list',
authorApplyReviewer: 'Become reviewer',
@@ -58,11 +59,16 @@ const en = {
analyp: 'Manager',
analysis: 'Citation Analysis Report',
rev_ewer: 'Reviewer',
rev_ewer1: 'Draft review',
rev_ewer2: 'Review record',
rev_ewer1: 'Peer Review',
rev_ewer2: 'Review History',
man_ing: 'Editor-in-Chief',
man_ing1: 'Manuscript',
man_ing2: 'Historical manuscripts',
man_ing1: 'Journal information',
man_ing2: 'Finshed Articles',
edit_oria: 'Editorial board member',
edit_oria1: 'Final decision',
edit_oria2: 'Accepted manuscript',
you_thed: 'Young scholar',
you_thed1: 'Pending review',
},
home: {
authortop: 'Author guide',

View File

@@ -42,6 +42,7 @@ const zh = {
reviewer3: '审稿人导入',
reviewer4: '导入失败列表',
reviewer5: '审稿人添加',
reviewer6: '作者转审稿人',
reviewerArticle: '审稿人',
reviewerArticle1: '待审文章',
authorApplyReviewer: '成为审稿人',
@@ -63,6 +64,11 @@ const zh = {
man_ing: '主编',
man_ing1: '稿件',
man_ing2: '历史稿件',
edit_oria: '编委',
edit_oria1: '稿件',
edit_oria2: '历史稿件',
you_thed: '青年编委',
you_thed1: '证书',
},
home: {
authortop: '用户指南',