@@ -65,11 +65,11 @@
Detail
-
+
Delete
@@ -113,6 +113,12 @@
:value="item.journal_id">
+
+
+
+
+
@@ -125,9 +131,13 @@
-
-
-
+
+
+
+
+
+
@@ -160,6 +170,11 @@
Total: 0,
df_jour: [],
df_year: [],
+ titleList:[
+ {name:'Production Editor'},
+ {name:'Assistant Editor'},
+ {name:'Managing Editor'}
+ ],
list_year: [{
title: '1 Year',
id: 1
@@ -175,12 +190,12 @@
addVisible: false,
reneVisible: false,
cerVisible: false,
- addForm: {
+ addForm: {
account: '',
},
addForm1:{
- ctj_id: null,
- areas:''
+ etj_id: null,
+ editor_title:''
},
editvisible:false,
reneForm: {
@@ -227,23 +242,23 @@
// 关闭编辑弹窗
editClose(){
this.editvisible = false
- this.addForm1.ctj_id = null,
- this.addForm1.areas = ''
+ this.addForm1.etj_id = null,
+ this.addForm1.editor_title = ''
},
// 显示编辑弹出框
editHandle(val){
this.editvisible = true
this.$nextTick(function() {
- this.addForm1.ctj_id = val.ctj_id
- this.addForm1.areas = val.research_areas
+ this.addForm1.etj_id = val.etj_id
+ this.addForm1.editor_title = val.editor_title
})
},
// 提交编辑弹窗
saveEdit(){
this.$api
- .post('api/User/editCommittee', {
- 'ctj_id': this.addForm1.ctj_id,
- 'research_areas': this.addForm1.areas
+ .post('api/User/editEditorToJournal', {
+ 'etj_id': this.addForm1.etj_id,
+ 'editor_title': this.addForm1.editor_title
})
.then(res => {
if (res.code == 0) {
@@ -346,12 +361,14 @@
text: 'Loading...',
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
- });
+ });
+ // console.log(this.addForm,'this.addForm')
this.$api
.post('api/User/addEditorToJournal',
{
'user_id': this.addForm.user_id,
'journal_id': this.addForm.journal_id,
+ 'editor_title': this.addForm.title
//'research_areas': this.addForm.areas
})
.then(res => {
diff --git a/src/components/page/editorBorder.vue b/src/components/page/editorBorder.vue
index 5723e33..ba6c6f1 100644
--- a/src/components/page/editorBorder.vue
+++ b/src/components/page/editorBorder.vue
@@ -29,10 +29,35 @@
Add new board
+
+
+
+
+ Journal :
+
+ {{journalInfo.title}}({{journalInfo.abbr}})
+
+ Editor-in-Chief : {{journalInfo.editorinchief}}
+ Email : {{journalInfo.email}}
+
+
+
+ Hindex: {{journalInfo.index_num}} / {{ journalInfo.boards_count }}
+ Median: {{journalInfo.median}}
+ Avg: {{journalInfo.avg}}
+
+
+
+
+
+
+
-
+
+
@@ -50,6 +75,15 @@