17:04
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<div style="margin: 30px 0 0 0;">
|
||||
<el-button type="primary" @click="pushProduce(detailMes)" style="width: 220px;">
|
||||
<i class="el-icon-finished"></i>
|
||||
Push Online
|
||||
Push To Produce
|
||||
</el-button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -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: {
|
||||
@@ -666,35 +667,39 @@
|
||||
|
||||
},
|
||||
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);
|
||||
}
|
||||
}
|
||||
// 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() {
|
||||
@@ -2185,6 +2190,7 @@
|
||||
}
|
||||
|
||||
.bor_style_onli {
|
||||
height: 700px; overflow-y: scroll;
|
||||
border: 2px solid #0066991a;
|
||||
background-color: #fff;
|
||||
border-radius: 5px;
|
||||
|
||||
Reference in New Issue
Block a user