tijiao
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user