Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
front-end-dev
techbook
Commits
8651f8d2
Commit
8651f8d2
authored
Nov 09, 2019
by
anxixi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
静态页面相关科创企业部分bug修改
parent
d9d05548
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
10 deletions
+5
-10
computerdetails.vue
src/views/knowledge/computer/computerdetails.vue
+4
-9
computerlist.vue
src/views/knowledge/computer/computerlist.vue
+1
-1
No files found.
src/views/knowledge/computer/computerdetails.vue
View file @
8651f8d2
...
...
@@ -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
()
{
...
...
src/views/knowledge/computer/computerlist.vue
View file @
8651f8d2
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment