From fbfbd8b6f6edc42dd40da36b754684cb3455285a Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Tue, 27 Jun 2023 17:04:55 +0800 Subject: [PATCH] =?UTF-8?q?17=EF=BC=9A04?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/page/PreIngestedEditor.vue | 74 ++++++++++++----------- 1 file changed, 40 insertions(+), 34 deletions(-) diff --git a/src/components/page/PreIngestedEditor.vue b/src/components/page/PreIngestedEditor.vue index 280bd11..ee0a4e8 100644 --- a/src/components/page/PreIngestedEditor.vue +++ b/src/components/page/PreIngestedEditor.vue @@ -13,7 +13,7 @@
- Push Online + Push To Produce
@@ -284,8 +284,9 @@ return { baseUrl: this.Common.baseUrl, mediaUrl: this.Common.mediaUrl, - // p_article_id: this.$route.query.id, - p_article_id: 426, + article_id: this.$route.query.id, // 文章id + p_article_id: null, + //p_article_id: 426, idform: {}, imageUrl: '', contentStyleObj: { @@ -665,37 +666,41 @@ this.getWorldPdf(); }, - methods: { - allLoad() { - let excelList = [ - 'https://submission.tmrjournals.com/public/manuscirpt/20220831/c7d75d49bf25cf56906d56d07e00a31e.docx', - 'https://submission.tmrjournals.com/public/manuscirpt/20220925/d1106d60fbfa04e900e98aacb5fdf71a.docx' - ] - for (let i = 0; i < excelList.length; i++) { - if (i == 0) { - const a_b = document.createElement('a'); - a_b.href = excelList[i]; - a_b.download = '1world.docx'; - console.log(a_b) - a_b.click() - setTimeout(() => { - a_b.remove(); - }, 1000); - } - if (i == 1) { - setTimeout(() => { - const c_d = document.createElement('a'); - c_d.href = excelList[i]; - c_d.download = '2world.docx'; - console.log(c_d) - c_d.click() - setTimeout(() => { - c_d.remove(); - }, 1000); - }, 2000); - } - } - }, + methods: { + // allLoad() { + // let excelList = [ + // 'https://submission.tmrjournals.com/public/manuscirpt/20220831/c7d75d49bf25cf56906d56d07e00a31e.docx', + // 'https://submission.tmrjournals.com/public/manuscirpt/20220925/d1106d60fbfa04e900e98aacb5fdf71a.docx' + // ] + // for (let i = 0; i < excelList.length; i++) { + // if (i == 0) { + // const a_b = document.createElement('a'); + // a_b.href = excelList[i]; + // a_b.download = '1world.docx'; + // console.log(a_b) + // a_b.click() + // setTimeout(() => { + // a_b.remove(); + // }, 1000); + // } + // if (i == 1) { + // setTimeout(() => { + // const c_d = document.createElement('a'); + // c_d.href = excelList[i]; + // c_d.download = '2world.docx'; + // console.log(c_d) + // c_d.click() + // setTimeout(() => { + // c_d.remove(); + // }, 1000); + // }, 2000); + // } + // } + // }, + // 获取p_article_id的值 + getParticle_id(){ + + }, getData() { this.idform.p_article_id = this.p_article_id; @@ -2185,6 +2190,7 @@ } .bor_style_onli { + height: 700px; overflow-y: scroll; border: 2px solid #0066991a; background-color: #fff; border-radius: 5px;