This commit is contained in:
2025-08-29 15:05:26 +08:00
parent daba55e418
commit d71f54f1f7
24 changed files with 2939 additions and 1581 deletions

View File

@@ -64,7 +64,8 @@
</el-submenu>
</template>
<!-- 编委 -->
<template v-if="this.user_cap.includes(',board')">
<template v-if="this.user_cap.includes(',board')||this.user_cap.includes('board_editor')">
<el-submenu index="7">
<template slot="title"> <i class="el-icon-notebook-1"></i> {{ $t('sidebar.edit_oria') }} </template>
<!-- <el-menu-item index="editorial">
@@ -73,10 +74,18 @@
<el-menu-item index="edithistory">
{{ $t('sidebar.edit_oria2') }}
</el-menu-item>
<el-menu-item index="editPeerewer">
{{ $t('sidebar.edit_ewer1') }}
</el-menu-item>
<el-menu-item index="editPerhistory">
{{ $t('sidebar.edit_ewer2') }}
</el-menu-item>
</el-submenu>
</template>
<!-- 主编 -->
<template v-if="this.user_cap.includes('chief')">
<template v-if="this.user_cap.includes('chief')||this.user_cap.includes('chief_editor')||this.user_cap.includes('deputy_editor')">
<el-submenu index="6">
<template slot="title"> <i class="el-icon-document-copy"></i> {{ $t('sidebar.man_ing') }} </template>
<el-menu-item index="managing">
@@ -641,6 +650,73 @@ export default {
return this.$route.path.replace('/', '');
}
},
mounted() {
// if(this.user_cap.includes(',board')||this.user_cap.includes('board_editor')||this.user_cap.includes('chief')||this.user_cap.includes('chief_editor')||this.user_cap.includes('deputy_editor')){
// Promise.all([
// this.$api
// .post('api/Finalreview/lists', {
// 'reviewer_id': localStorage.getItem('U_id'),state:5,
// 'page': 1,
// 'size': 999999,
// })
// ]).then(([res1]) => {
// console.log('res1 at line 770:', res1)
// const totalCheck = res1.data.total || 0; // 待审核
// if (totalCheck > 0 ) {
// const h = this.$createElement;
// const messageNodes = [];
// if (totalCheck > 0) {
// messageNodes.push(
// h(
// 'p',
// {
// style: {
// color: '#006699',
// marginTop: '10px',
// marginBottom: '4px',
// display: 'block', width: '280px' // 设置宽度
// }
// },
// `You have received 【${totalCheck}】 invitations .`
// )
// );
// // 第二行
// messageNodes.push(
// h(
// 'p',
// {
// style: {
// color: '#888',
// display: 'block', width: '280px' // 设置宽度
// }
// },
// 'Please process them promptly in the final review history.'
// )
// );
// }
// this.$notify({
// title: 'Final Review',
// message: h('div', {
// style: 'width: 200px;'
// }, messageNodes)
// });
// }
// });
// }
},
created() {
localStorage.setItem('collapse', this.collapse);

View File

@@ -224,14 +224,16 @@ const en = {
rev_ewer: 'Reviewer',
rev_ewer1: 'Peer Review',
rev_ewer2: 'Review History',
man_ing: 'Editor-in-Chief',
man_ing1: 'Journal information',
man_ing2: 'Article List',
edit_oria: 'Editorial board member',
edit_oria1: 'Final decision',
edit_oria1: 'Final Review',
edit_oria2: 'Accepted manuscript',
edit_ewer: 'Reviewer',
edit_ewer1: 'Peer Review',
edit_ewer1: 'Final Review',
edit_ewer2: 'Final Review History',
you_thed: 'Young scholar',
you_thed1: 'Pending review',
guest: 'Guest editor',
@@ -275,7 +277,7 @@ const en = {
state4: 'Revision',
state5: 'Accept',
state6: 'Pre-accept',
state7: 'Final Decision',
state8: 'Final Review',
act1: 'Dealing',
act2: 'Finished'
},

View File

@@ -222,8 +222,8 @@ const zh = {
edit_oria: '编委',
edit_oria1: '稿件',
edit_oria2: '历史稿件',
edit_ewer1: '审稿',
edit_ewer2: '审稿记录',
edit_ewer1: '审',
edit_ewer2: '审记录',
you_thed: '青年编委',
you_thed1: '待审核',
guest: '客座编辑',
@@ -269,7 +269,7 @@ const zh = {
state5: '接收',
state6: '预接收',
state7: '终审',
state8: '终审',
act1: '审查中',
act2: '已完结'
},