diff --git a/src/components/page/articleListEditor.vue b/src/components/page/articleListEditor.vue
index 4e25f41..51fcb00 100644
--- a/src/components/page/articleListEditor.vue
+++ b/src/components/page/articleListEditor.vue
@@ -1,134 +1,185 @@
-
-
-
-
-
Edit
-
-
Produce
-
-
-
-
Online
-
-
+
Edit
+
+
Produce
+
+
+
+
Online
+
+
-
-
Publish
-
-
+
Publish
+
+
-
-
-
-
+
+
+
+
diff --git a/src/components/page/articleListEditor_A.vue b/src/components/page/articleListEditor_A.vue
index cf2495d..cfcadd8 100644
--- a/src/components/page/articleListEditor_A.vue
+++ b/src/components/page/articleListEditor_A.vue
@@ -34,7 +34,7 @@
-->
-
+
-
+
{{ item.title }}
-
@@ -84,12 +84,13 @@
Loading
} from 'element-ui';
export default {
+ props: ['journals'],
data() {
return {
baseUrl: this.Common.baseUrl,
mediaUrl: this.Common.mediaUrl,
uploadUrl: '/tsfile/',
- journalList: [],
+
queryType: {
username: localStorage.getItem('U_name'),
editor_id: localStorage.getItem('U_id'),
@@ -113,20 +114,13 @@
methods: {
//初始化期刊
initSelect() {
- this.$api
- .post('api/Article/getContinuityJournals', {
- 'editor_id': this.queryType.editor_id
- })
- .then(res => {
- this.journalList = res.data.journals;
- if (this.journalList.length > 0) {
- this.queryType.journal_id = this.journalList[0].journal_id
+
+
+
+ if (this.journals.length > 0) {
+ this.queryType.journal_id = this.journals[0].journal_id
this.getDateType();
}
- })
- .catch(err => {
- console.log(err);
- });
},
// 初始化列表
getDateType() {
diff --git a/src/components/page/articleListEditor_E.vue b/src/components/page/articleListEditor_E.vue
index 2e65721..f2e9e3d 100644
--- a/src/components/page/articleListEditor_E.vue
+++ b/src/components/page/articleListEditor_E.vue
@@ -2,7 +2,7 @@
-
+
{
- this.journalList = res;
- this.queryType.issn = res[0].issn;
+ // this.$api
+ // .post('api/Article/getJournal', {
+ // username: this.username
+ // })
+ // .then((res) => {
+ // this.journalList = res;
+ if(this.journals.length > 0){
+ this.queryType.issn = this.journals[0].issn;this.getStageDate();
+ }
+
- this.getStageDate();
- })
- .catch((err) => {
- console.log(err);
- });
+ //
+ // })
+ // .catch((err) => {
+ // console.log(err);
+ // });
},
//选择期刊