diff --git a/src/api/index.js b/src/api/index.js
index 1974b87..46801a4 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -7,8 +7,8 @@ import qs from 'qs'
// axios全局配置
axios.defaults.timeout = 10000 // 超时时间
axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8' // 配置请求头
-// axios.defaults.baseURL = 'http://www.tougao.com/'
-axios.defaults.baseURL = '/'
+axios.defaults.baseURL = 'http://www.tougao.com/'
+// axios.defaults.baseURL = '/'
// 添加响应拦截器,统一处理服务器响应和异常
axios.interceptors.response.use(
diff --git a/src/assets/css/main.css b/src/assets/css/main.css
index 47057aa..7be5835 100644
--- a/src/assets/css/main.css
+++ b/src/assets/css/main.css
@@ -1,182 +1,187 @@
* {
- margin: 0;
- padding: 0;
+ margin: 0;
+ padding: 0;
}
html,
body,
#app,
.wrapper {
- width: 100%;
- height: 100%;
- /* overflow: hidden; */
+ width: 100%;
+ height: 100%;
+ /* overflow: hidden; */
}
body {
- font-family: 'PingFang SC', "Helvetica Neue", Helvetica, "microsoft yahei", arial, STHeiTi, sans-serif;
+ font-family: 'PingFang SC', "Helvetica Neue", Helvetica, "microsoft yahei", arial, STHeiTi, sans-serif;
}
a {
- text-decoration: none
+ text-decoration: none
}
.content-box {
- position: absolute;
- left: 250px;
- right: 0;
- top: 70px;
- bottom: 0;
- padding-bottom: 30px;
- -webkit-transition: left .3s ease-in-out;
- transition: left .3s ease-in-out;
- background: #f0f0f0;
+ position: absolute;
+ left: 250px;
+ right: 0;
+ top: 70px;
+ bottom: 0;
+ padding-bottom: 30px;
+ -webkit-transition: left .3s ease-in-out;
+ transition: left .3s ease-in-out;
+ background: #f0f0f0;
}
.content {
- width: auto;
- height: 100%;
- padding: 10px;
- overflow-y: scroll;
- box-sizing: border-box;
+ width: auto;
+ height: 100%;
+ padding: 10px;
+ overflow-y: scroll;
+ box-sizing: border-box;
}
.content-collapse {
- left: 65px;
+ left: 65px;
}
.container {
- padding: 30px;
- background: #fff;
- border: 1px solid #ddd;
- border-radius: 5px;
+ padding: 30px;
+ background: #fff;
+ border: 1px solid #ddd;
+ border-radius: 5px;
+}
+
+.container_l {
+ border: 0 !important;
+ padding: 30px 0 !important;
}
.crumbs {
- margin: 10px 0;
+ margin: 10px 0;
}
.el-table th {
- background-color: #f5f7fa !important;
+ background-color: #f5f7fa !important;
}
.pagination {
- margin: 20px 0;
- text-align: right;
+ margin: 20px 0;
+ text-align: right;
}
.plugins-tips {
- padding: 20px 10px;
- margin-bottom: 20px;
+ padding: 20px 10px;
+ margin-bottom: 20px;
}
.el-button+.el-tooltip {
- margin-left: 10px;
+ margin-left: 10px;
}
.el-table tr:hover {
- background: #f6faff;
+ background: #f6faff;
}
.mgb20 {
- margin-bottom: 20px;
+ margin-bottom: 20px;
}
.move-enter-active,
.move-leave-active {
- transition: opacity .5s;
+ transition: opacity .5s;
}
.move-enter,
.move-leave {
- opacity: 0;
+ opacity: 0;
}
/*BaseForm*/
.form-box {
- width: 600px;
+ width: 600px;
}
-.addarticle-box{
- width: 800px;
+.addarticle-box {
+ width: 800px;
}
.form-box .line {
- text-align: center;
+ text-align: center;
}
.el-time-panel__content::after,
.el-time-panel__content::before {
- margin-top: -7px;
+ margin-top: -7px;
}
.el-time-spinner__wrapper .el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default) {
- padding-bottom: 0;
+ padding-bottom: 0;
}
/*Upload*/
.pure-button {
- width: 150px;
- height: 40px;
- line-height: 40px;
- text-align: center;
- color: #fff;
- border-radius: 3px;
+ width: 150px;
+ height: 40px;
+ line-height: 40px;
+ text-align: center;
+ color: #fff;
+ border-radius: 3px;
}
.g-core-image-corp-container .info-aside {
- height: 45px;
+ height: 45px;
}
.el-upload--text {
- background-color: #fff;
- border: 1px dashed #d9d9d9;
- border-radius: 6px;
- box-sizing: border-box;
- /* width: 360px;
+ background-color: #fff;
+ border: 1px dashed #d9d9d9;
+ border-radius: 6px;
+ box-sizing: border-box;
+ /* width: 360px;
height: 180px; */
- text-align: center;
- cursor: pointer;
- position: relative;
- overflow: hidden;
+ text-align: center;
+ cursor: pointer;
+ position: relative;
+ overflow: hidden;
}
.el-upload--text .el-icon-upload {
- font-size: 67px;
- color: #97a8be;
- margin: 40px 0 16px;
- line-height: 50px;
+ font-size: 67px;
+ color: #97a8be;
+ margin: 40px 0 16px;
+ line-height: 50px;
}
.el-upload--text {
- color: #97a8be;
- font-size: 14px;
- text-align: center;
+ color: #97a8be;
+ font-size: 14px;
+ text-align: center;
}
.el-upload--text em {
- font-style: normal;
+ font-style: normal;
}
/*VueEditor*/
.ql-container {
- min-height: 400px;
+ min-height: 400px;
}
.ql-snow .ql-tooltip {
- transform: translateX(117.5px) translateY(10px) !important;
+ transform: translateX(117.5px) translateY(10px) !important;
}
.editor-btn {
- margin-top: 20px;
+ margin-top: 20px;
}
/*markdown*/
.v-note-wrapper .v-note-panel {
- min-height: 500px;
-}
\ No newline at end of file
+ min-height: 500px;
+}
diff --git a/src/assets/img/bit_bug.png b/src/assets/img/bit_bug.png
new file mode 100644
index 0000000..28dbbb7
Binary files /dev/null and b/src/assets/img/bit_bug.png differ
diff --git a/src/components/common/Content.vue b/src/components/common/Content.vue
new file mode 100644
index 0000000..1a9cec0
--- /dev/null
+++ b/src/components/common/Content.vue
@@ -0,0 +1,77 @@
+
+
+
+
+
+
diff --git a/src/components/common/Header.vue b/src/components/common/Header.vue
index 06f6496..e5db16f 100644
--- a/src/components/common/Header.vue
+++ b/src/components/common/Header.vue
@@ -38,7 +38,7 @@
-
+
@@ -80,11 +80,11 @@ export default {
},
computed: {
username() {
- let username = localStorage.getItem('ms_username');
+ let username = localStorage.getItem('U_name');
return username ? username : this.name;
},
userrole() {
- let userrole = localStorage.getItem('ms_userrole');
+ let userrole = localStorage.getItem('U_status');
if (userrole == 1) {
return this.$t('total.author');
} else if (userrole == 2) {
@@ -100,8 +100,8 @@ export default {
// 用户名下拉菜单选择事件
handleCommand(command) {
if (command == 'loginout') {
- localStorage.removeItem('ms_username');
- localStorage.removeItem('ms_userrole');
+ localStorage.removeItem('U_name');
+ localStorage.removeItem('U_status');
this.$router.push('/login');
}
},
@@ -113,7 +113,7 @@ export default {
//判断orcid
initORCID() {
this.$api
- .post('api/user/checkOrcid', { account: localStorage.getItem('ms_username') })
+ .post('api/user/checkOrcid', { account: localStorage.getItem('U_name') })
.then((res) => {
this.hasorcie = res.userinfo.orcid == '' ? false : true;
this.orcid = res.userinfo.orcid;
diff --git a/src/components/common/Lead.vue b/src/components/common/Lead.vue
new file mode 100644
index 0000000..f261d81
--- /dev/null
+++ b/src/components/common/Lead.vue
@@ -0,0 +1,232 @@
+
+
+
+
+
+
diff --git a/src/components/common/Sidebar.vue b/src/components/common/Sidebar.vue
index a08d132..2dc170f 100644
--- a/src/components/common/Sidebar.vue
+++ b/src/components/common/Sidebar.vue
@@ -55,7 +55,7 @@ export default {
data() {
return {
collapse: false,
- userrole:localStorage.getItem('ms_userrole'),
+ userrole:localStorage.getItem('U_status'),
items:[],
author_items: [
{
@@ -77,18 +77,18 @@ export default {
title:this.$t('sidebar.author2')
}
]
- },
- {
- icon: 'el-icon-user',
- index: '2',
- title: this.$t('sidebar.reviewerArticle'),
- subs:[
- {
- 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')
+ // }
+ // ]
+ // }
],
editor_items:[
{
@@ -107,6 +107,21 @@ export default {
}
]
},
+ {
+ icon:'el-icon-paperclip',
+ index:'4',
+ title:this.$t('sidebar.editmber'),
+ subs:[
+ {
+ index:'editmbereditor',
+ title:this.$t('sidebar.editmber1')
+ },
+ {
+ index:'editmberperiod',
+ title:this.$t('sidebar.editmber2')
+ }
+ ]
+ },
{
icon:'el-icon-s-custom',
index:'3',
@@ -248,15 +263,16 @@ export default {
}
},
created() {
- if(this.userrole==1){
+ if(this.userrole==2){ //其余的身份(显示作者)
this.items = this.author_items;
- }else if(this.userrole ==2){
+ }else if(this.userrole ==1){ //编辑
this.items = this.editor_items;
- }else if(this.userrole=='admin'){
+ }else if(this.userrole==0){ //超级管理员
this.items = this.admin_items;
- }else if(this.userrole=='reviewer'){
- this.items = this.reviewer_items;
}
+ // else if(this.userrole=='reviewer'){
+ // this.items = this.reviewer_items;
+ // }
// 通过 Event Bus 进行组件间通信,来折叠侧边栏
bus.$on('collapse', msg => {
this.collapse = msg;
diff --git a/src/components/common/langs/en.js b/src/components/common/langs/en.js
index 87b6606..50d04e3 100644
--- a/src/components/common/langs/en.js
+++ b/src/components/common/langs/en.js
@@ -1,72 +1,82 @@
const en = {
- system: {
- title: 'Submission System',
- repassword:'Forgot your password?',
- register:'Not registered yet? Register now.',
- orcidlogin:'Login with your ORCID iD',
- login:'Log in',
- forgetpwd:'Find Your Password',
- screen:'full screen',
- noscreen:'Cancel full screen',
- loyout:'Log out',
- langbtn:'language',
- label:'Label options',
- labelother:'close other',
- labelall:'close all'
- },
- total:{
- author:'author',
- editor:'editor',
- reviewers:'reviewer',
- admin:'admin'
- },
- sidebar:{
- main:'Home Page',
- author:'Author',
- author1:'My manuscript',
- author2:'Submit manuscript',
- editor:'Editor',
- editor1:'Manuscript list',
- editormanage:'Editor Management',
- editormanage1:'Editor list',
- editormanage2:'Add editor',
- journal:'Journal Management',
- journal1:'Journal list',
- journal2:'Add journal',
- reviewer:'Reviewer Management',
- reviewer1:'Reviewer application list',
- reviewer2:'Reviewer list',
- reviewer3:'Reviewer import',
- reviewer4:'Import error',
- reviewerArticle:'Reviewer',
- reviewerArticle1:'Manuscript list',
- authorApplyReviewer:'Become reviewer',
- reviewerimport:'Reviewer import',
- reviewerimporterror:'import error',
- monitor:'Monitor',
- monitor1:'Manuscript situation',
- chief:'Chief editor',
- chief1:'Editor list',
- chief2:'Journal list'
- },
- home:{
- authortop:'Author guide',
- usermsg:'New messages',
- },
- artstate:{
- state0:'Received',
- state1:'With editor',
- state2:'Under review',
- state3:'Reject',
- state4:'Revision',
- state5:'Accepted ',
- act1:'Dealing',
- act2:'Finished'
- },
+ system: {
+ title: 'Submission System',
+ repassword: 'Forgot your password?',
+ register: 'Not registered yet? Register now.',
+ orcidlogin: 'Login with your ORCID iD',
+ login: 'Log in',
+ forgetpwd: 'Find Your Password',
+ screen: 'full screen',
+ noscreen: 'Cancel full screen',
+ loyout: 'Log out',
+ langbtn: 'language',
+ label: 'Label options',
+ labelother: 'close other',
+ labelall: 'close all'
+ },
+ total: {
+ author: 'author',
+ editor: 'editor',
+ reviewers: 'reviewer',
+ admin: 'admin'
+ },
+ sidebar: {
+ main: 'Home Page',
+ author: 'Author',
+ author1: 'My manuscript',
+ author2: 'Submit manuscript',
+ editor: 'Editor',
+ editor1: 'Manuscript list',
+ editormanage: 'Editor Management',
+ editormanage1: 'Editor list',
+ editormanage2: 'Add editor',
+ journal: 'Journal Management',
+ journal1: 'Journal list',
+ journal2: 'Add journal',
+ reviewer: 'Reviewer Management',
+ reviewer1: 'Reviewer application list',
+ reviewer2: 'Reviewer list',
+ reviewer3: 'Reviewer import',
+ reviewer4: 'Import error',
+ reviewerArticle: 'Reviewer',
+ reviewerArticle1: 'Manuscript list',
+ authorApplyReviewer: 'Become reviewer',
+ reviewerimport: 'Reviewer import',
+ reviewerimporterror: 'import error',
+ monitor: 'Monitor',
+ monitor1: 'Manuscript situation',
+ chief: 'Chief editor',
+ chief1: 'Editor list',
+ chief2: 'Journal list',
+ editmber: 'Editorial management',
+ editmber1: 'Editorial board list',
+ editmber2: 'Journal List'
+ },
+ home: {
+ authortop: 'Author guide',
+ usermsg: 'New messages',
+ },
+ artstate: {
+ state0: 'Received',
+ state1: 'With editor',
+ state2: 'Under review',
+ state3: 'Reject',
+ state4: 'Revision',
+ state5: 'Accepted ',
+ act1: 'Dealing',
+ act2: 'Finished'
+ },
+ charact: {
+ role: 'Role',
+ role1: 'Role editor',
+ role2: 'Editorial board',
+ role3: 'Reviewer',
+ role4: 'Youth editorial board',
+ }
}
-
-export default en;
\ No newline at end of file
+
+export default en;
diff --git a/src/components/common/langs/zh.js b/src/components/common/langs/zh.js
index 2ea859c..2a8f432 100644
--- a/src/components/common/langs/zh.js
+++ b/src/components/common/langs/zh.js
@@ -1,72 +1,81 @@
const zh = {
- system: {
- title: '投稿系统',
- repassword:'忘记密码',
- register:'注册',
- orcidlogin:'ORCID登陆',
- login:'登录',
- forgetpwd:'找回密码',
- screen:'全屏',
- noscreen:'取消全屏',
- loyout:'退出登录',
- langbtn:'语言选择',
- label:'标签选项',
- labelother:'关闭其他',
- labelall:'关闭所有'
- },
- total:{
- author:'作者',
- editor:'编辑',
- reviewers:'审稿人',
- admin:'管理员'
- },
- sidebar:{
- main:'系统首页',
- author:'作者',
- author1:'我的稿件',
- author2:'新增稿件',
- editor:'编辑',
- editor1:'待审稿件',
- editormanage:'编辑管理',
- editormanage1:'编辑列表',
- editormanage2:'添加编辑',
- journal:'期刊管理',
- journal1:'期刊列表',
- journal2:'添加期刊',
- reviewer:'审稿人管理',
- reviewer1:'申请列表',
- reviewer2:'审稿人列表',
- reviewer3:'审稿人导入',
- reviewer4:'导入失败列表',
- reviewerArticle:'审稿人',
- reviewerArticle1:'待审文章',
- authorApplyReviewer:'成为审稿人',
- reviewerimport:'审稿人导入',
- reviewerimporterror:'导入失败列表',
- monitor:'总监',
- monitor1:'稿件情况',
- chief:'主编管理',
- chief1:'主编列表',
- chief2:'期刊列表'
- },
- home:{
- authortop:'用户指南',
- usermsg:'新消息',
- },
- artstate:{
- state0:'投稿中',
- state1:'已受理',
- state2:'送审中',
- state3:'拒稿',
- state4:'退修',
- state5:'接收 ',
- act1:'审查中',
- act2:'已完结'
- },
-
+ system: {
+ title: '投稿系统',
+ repassword: '忘记密码',
+ register: '注册',
+ orcidlogin: 'ORCID登陆',
+ login: '登录',
+ forgetpwd: '找回密码',
+ screen: '全屏',
+ noscreen: '取消全屏',
+ loyout: '退出登录',
+ langbtn: '语言选择',
+ label: '标签选项',
+ labelother: '关闭其他',
+ labelall: '关闭所有'
+ },
+ total: {
+ author: '作者',
+ editor: '编辑',
+ reviewers: '审稿人',
+ admin: '管理员'
+ },
+ sidebar: {
+ main: '系统首页',
+ author: '作者',
+ author1: '我的稿件',
+ author2: '新增稿件',
+ editor: '编辑',
+ editor1: '待审稿件',
+ editormanage: '编辑管理',
+ editormanage1: '编辑列表',
+ editormanage2: '添加编辑',
+ journal: '期刊管理',
+ journal1: '期刊列表',
+ journal2: '添加期刊',
+ reviewer: '审稿人管理',
+ reviewer1: '申请列表',
+ reviewer2: '审稿人列表',
+ reviewer3: '审稿人导入',
+ reviewer4: '导入失败列表',
+ reviewerArticle: '审稿人',
+ reviewerArticle1: '待审文章',
+ authorApplyReviewer: '成为审稿人',
+ reviewerimport: '审稿人导入',
+ reviewerimporterror: '导入失败列表',
+ monitor: '总监',
+ monitor1: '稿件情况',
+ chief: '主编管理',
+ chief1: '主编列表',
+ chief2: '期刊列表',
+ editmber: '编委管理',
+ editmber1: '编委列表',
+ editmber2: '期刊列表'
+ },
+ home: {
+ authortop: '用户指南',
+ usermsg: '新消息',
+ },
+ artstate: {
+ state0: '投稿中',
+ state1: '已受理',
+ state2: '送审中',
+ state3: '拒稿',
+ state4: '退修',
+ state5: '接收 ',
+ act1: '审查中',
+ act2: '已完结'
+ },
+ charact: {
+ role: '角色',
+ role1: '主编',
+ role2: '编委',
+ role3: '审稿人',
+ role4: '青年编委',
+ }
}
-
-export default zh;
\ No newline at end of file
+
+export default zh;
diff --git a/src/components/page/Dashboard.vue b/src/components/page/Dashboard.vue
index 1b26a20..a083834 100644
--- a/src/components/page/Dashboard.vue
+++ b/src/components/page/Dashboard.vue
@@ -1,54 +1,106 @@
-
-
-
-
-
- {{$t('home.authortop')}}
-
-
-
- Welcome to the TMR Publishing Group online manuscript submission and tracking system.
- Please go through our instructions for authors before submitting.
- Click here to submit your manuscript.
-
- If you experience any problems, please contact us by publisher@tmrjournals.com
-
-
-
-
-
-
-
-
-
-
- {{$t('home.usermsg')}}
-
-
-
-
-
-
-
- To See
-
-
-
-
-
-
+
+
+
+
+
+
+ {{$t('home.usermsg')}}
+
+
+
+
+
+
+
+ To See
+
+
+
+
+
+
-
-
+
+
diff --git a/src/components/page/Login.vue b/src/components/page/Login.vue
index 70f7c7a..07e135d 100644
--- a/src/components/page/Login.vue
+++ b/src/components/page/Login.vue
@@ -1,177 +1,181 @@
-
-
-
{{ $t('system.title') }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ $t('system.login') }}
-
-
-
- {{ $t('system.repassword') }}
-
-
- {{ $t('system.register') }}
-
-
-
-
{{$t('system.orcidlogin')}}
-
-
-
-
-
-
+
+
+
{{ $t('system.title') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('system.login') }}
+
+
+
+ {{ $t('system.repassword') }}
+
+
+ {{ $t('system.register') }}
+
+
+
+
{{$t('system.orcidlogin')}}
+
+
+
+
+
+
diff --git a/src/components/page/articleAdd.vue b/src/components/page/articleAdd.vue
index 0e21f7b..aaf25ba 100644
--- a/src/components/page/articleAdd.vue
+++ b/src/components/page/articleAdd.vue
@@ -52,7 +52,7 @@
-
+
@@ -283,9 +283,9 @@
Creative Commons Licensing
- TMR Publishing Group provides authors the choice of applying the Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) licenses defined below, to be determined after acceptance:
+ TMR Publishing Group provides authors the choice of applying the Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) licenses defined below, to be determined after acceptance:
Attribution: CC BY-NC 4.0
- This license lets others distribute, remix, tweak, and build upon your work. They can not use the material for commercial purposes.
+ This license lets others distribute, remix, tweak, and build upon your work. They can not use the material for commercial purposes.