Commit 8651f8d2 authored by anxixi's avatar anxixi

静态页面相关科创企业部分bug修改

parent d9d05548
......@@ -45,19 +45,14 @@
api.selectBasicParams().then(response => {
if(response.code == 0) {
let url = response.result.ossPrefix;
if(datapage.id == 4){
if(this.datapage.id == 4){
url = url+'/public/'+'Accenture-Columns-Open-Innovation-Cn-Zh.pdf';
}else if(datapage.id == 7){
}else if(this.datapage.id == 7){
url = url+'/public/'+'Introduction_to_Edge_Computing_in_IIoT_2018-06-18.pdf';
}else if(datapage.id == 10){
}else if(this.datapage.id == 10){
url = url+'/public/'+'cleantech_global_100_2019_report_digital.pdf';
}
window.open(url)
// const elink = document.createElement('a');
// elink.href = response.result.ossPrefix+'/public/'+'Accenture-Columns-Open-Innovation-Cn-Zh.pdf';
// document.body.appendChild(elink);
// elink.click();
// document.body.removeChild(elink);
} else {
this.$message.error(response.msg);
}
......@@ -65,7 +60,7 @@
.catch(error => {
console.log("提交出错");
return false;
});
})
},
},
mounted() {
......
......@@ -77,7 +77,7 @@
this.datapage=this.datajson.slice(firstindex,lastindex);
},
handleClick(tab, event){
// this.datapage = [];
this.datapage = [];
this.cur_page = 1;
if(tab.name == 'tabType'){
this.datapage=this.datajson.slice(0,8);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment