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 @@ 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 @@ --> - +

@@ -1209,6 +1209,7 @@ export default { components: { timetalk }, + props:['journals'], data() { return { isShowAI: false, @@ -1218,7 +1219,7 @@ export default { curState: null, baseUrl: this.Common.baseUrl, mediaUrl: this.Common.mediaUrl, - items: '', + currentTabIndex: 0, currentTabName: '', HIndexList: [ @@ -1321,7 +1322,7 @@ export default { Hindex: 0 }, guestList: [], - journals: [], + // journals: [], journalTran: [], nextState: [ { @@ -1359,7 +1360,7 @@ export default { }; }, created() { - this.initselect(); + this.getdate(); }, computed: { @@ -1480,20 +1481,7 @@ export default { } return str; }, - //初始化期刊选项 - initselect() { - this.$api - .post('api/Article/getJournal', { - username: this.query.username - }) - .then((res) => { - this.items = res; - this.journals = res; - }) - .catch((err) => { - console.log(err); - }); - }, + // 创建复审 crateRevision(item) { // 二次询问 @@ -2588,7 +2576,7 @@ export default { color: #333; margin: 0 0 20px 0; font-size: 14px; - padding: 20px; + padding:10px 20px; border-radius: 5px; border: 1px solid #ebeef5; background-color: #fff; @@ -2605,7 +2593,7 @@ export default { } .mangu_list > div { - margin-bottom: 8px; + /* margin-bottom: 8px; */ } .mangu_list .man_title { @@ -2692,7 +2680,7 @@ export default { .mangu_list .fixCard { text-align: center; background: #0066990d; - padding: 20px; + padding:14px 20px; } .gugeList { diff --git a/src/components/page/articleListEditor_B.vue b/src/components/page/articleListEditor_B.vue index 29e9c46..fa56edd 100644 --- a/src/components/page/articleListEditor_B.vue +++ b/src/components/page/articleListEditor_B.vue @@ -4,7 +4,7 @@ - @@ -85,6 +85,7 @@ Loading } from 'element-ui'; export default { + props: ['journals'], data() { return { baseUrl: this.Common.baseUrl, @@ -110,23 +111,12 @@ }; }, created() { - this.initSelect(); + // this.initSelect(); this.getDateType(); }, methods: { //初始化期刊 - initSelect() { - this.$api - .post('api/Article/getJournalOutLx', { - 'editor_id': this.queryType.editor_id - }) - .then(res => { - this.journalList = res; - }) - .catch(err => { - console.log(err); - }); - }, + // 初始化列表 getDateType() { const loading = this.$loading({ diff --git a/src/components/page/articleListEditor_C.vue b/src/components/page/articleListEditor_C.vue index 9acfe71..70a448d 100644 --- a/src/components/page/articleListEditor_C.vue +++ b/src/components/page/articleListEditor_C.vue @@ -2,7 +2,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); + // }); }, //选择期刊