Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
Overview
Overview
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
吴迪
gs1
Commits
ba7cd2b9
Commit
ba7cd2b9
authored
Dec 10, 2023
by
Lyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
链接地址修改
parent
a1349073
Show whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
191 additions
and
141 deletions
+191
-141
Center.vue
src/views/News/Center.vue
+8
-8
Composite.vue
src/views/News/Composite.vue
+4
-4
DepthTopics.vue
src/views/News/DepthTopics.vue
+4
-4
ECommerce.vue
src/views/News/ECommerce.vue
+4
-4
ECommerceList.vue
src/views/News/ECommerceList.vue
+4
-4
latestNews.vue
src/views/News/Ecommerce/latestNews.vue
+4
-4
videoList.vue
src/views/News/Ecommerce/videoList.vue
+4
-4
FoodSafety.vue
src/views/News/FoodSafety.vue
+4
-4
International.vue
src/views/News/International.vue
+12
-4
IoT.vue
src/views/News/IoT.vue
+12
-4
Local.vue
src/views/News/Local.vue
+12
-4
MCommerce.vue
src/views/News/MCommerce.vue
+4
-4
Notice.vue
src/views/News/Notice.vue
+12
-4
Other.vue
src/views/News/Other.vue
+4
-4
PicNews.vue
src/views/News/PicNews.vue
+8
-8
Research.vue
src/views/News/Research.vue
+15
-5
Retail.vue
src/views/News/Retail.vue
+12
-12
Video.vue
src/views/News/Video.vue
+12
-4
msg.vue
src/views/News/msg.vue
+16
-16
msgVideo.vue
src/views/News/msgVideo.vue
+16
-16
caseList.vue
src/views/PGP/caseList.vue
+4
-4
latestNews.vue
src/views/Sell/latestNews.vue
+4
-4
pictureList.vue
src/views/Sell/pictureList.vue
+4
-4
qrApplication.vue
src/views/Sell/qrApplication.vue
+4
-4
sellApplicationGuide.vue
src/views/Sell/sellApplicationGuide.vue
+4
-4
No files found.
src/views/News/Center.vue
View file @
ba7cd2b9
...
@@ -72,11 +72,11 @@ export default {
...
@@ -72,11 +72,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
pictureListArr
=
data
this
.
pictureListArr
=
data
this
.
pictureListArr
.
forEach
(
item
=>
{
this
.
pictureListArr
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
articleId
}
`
item
.
href
=
`/News/msg?id=
${
item
.
articleId
}
`
}
//
}
});
});
}
}
...
@@ -95,11 +95,11 @@ export default {
...
@@ -95,11 +95,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
});
...
...
src/views/News/Composite.vue
View file @
ba7cd2b9
...
@@ -52,11 +52,11 @@ export default {
...
@@ -52,11 +52,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
});
...
...
src/views/News/DepthTopics.vue
View file @
ba7cd2b9
...
@@ -52,11 +52,11 @@ export default {
...
@@ -52,11 +52,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
});
}
}
...
...
src/views/News/ECommerce.vue
View file @
ba7cd2b9
...
@@ -193,11 +193,11 @@ export default {
...
@@ -193,11 +193,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
});
...
...
src/views/News/ECommerceList.vue
View file @
ba7cd2b9
...
@@ -69,11 +69,11 @@ export default {
...
@@ -69,11 +69,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
});
}
}
...
...
src/views/News/Ecommerce/latestNews.vue
View file @
ba7cd2b9
...
@@ -60,11 +60,11 @@ export default {
...
@@ -60,11 +60,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/Ecommerce/detail?id=
${
item
.
id
}
&preTitle=应用动态`
item
.
href
=
`/News/Ecommerce/detail?id=
${
item
.
id
}
&preTitle=应用动态`
}
//
}
});
});
...
...
src/views/News/Ecommerce/videoList.vue
View file @
ba7cd2b9
...
@@ -60,11 +60,11 @@ export default {
...
@@ -60,11 +60,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/Ecommerce/detail?id=
${
item
.
id
}
&preTitle=在线视频`
item
.
href
=
`/News/Ecommerce/detail?id=
${
item
.
id
}
&preTitle=在线视频`
}
//
}
});
});
...
...
src/views/News/FoodSafety.vue
View file @
ba7cd2b9
...
@@ -186,11 +186,11 @@ export default {
...
@@ -186,11 +186,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
});
}
}
...
...
src/views/News/International.vue
View file @
ba7cd2b9
...
@@ -53,11 +53,11 @@ export default {
...
@@ -53,11 +53,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
});
...
@@ -67,6 +67,14 @@ export default {
...
@@ -67,6 +67,14 @@ export default {
// 详情
// 详情
getInfo
(
id
,
directpath
){
getInfo
(
id
,
directpath
){
const
matche
=
[
{
name
:
"国际追踪"
,
path
:
"/News/International"
,
}
];
this
.
setMatche
(
matche
);
return
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
window
.
open
(
directpath
,
'_blank'
);
}
else
{
}
else
{
...
...
src/views/News/IoT.vue
View file @
ba7cd2b9
...
@@ -62,11 +62,11 @@ export default {
...
@@ -62,11 +62,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
});
}
}
...
@@ -75,6 +75,14 @@ export default {
...
@@ -75,6 +75,14 @@ export default {
// 详情
// 详情
getInfo
(
id
,
directpath
){
getInfo
(
id
,
directpath
){
const
matche
=
[
{
name
:
"物联网"
,
path
:
"/News/IoT"
,
}
];
this
.
setMatche
(
matche
);
return
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
window
.
open
(
directpath
,
'_blank'
);
}
else
{
}
else
{
...
...
src/views/News/Local.vue
View file @
ba7cd2b9
...
@@ -53,11 +53,11 @@ export default {
...
@@ -53,11 +53,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
});
}
}
...
@@ -66,6 +66,14 @@ export default {
...
@@ -66,6 +66,14 @@ export default {
// 详情
// 详情
getInfo
(
id
,
directpath
){
getInfo
(
id
,
directpath
){
const
matche
=
[
{
name
:
"地方动态"
,
path
:
"/News/Local"
,
}
];
this
.
setMatche
(
matche
);
return
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
window
.
open
(
directpath
,
'_blank'
);
}
else
{
}
else
{
...
...
src/views/News/MCommerce.vue
View file @
ba7cd2b9
...
@@ -106,11 +106,11 @@ export default {
...
@@ -106,11 +106,11 @@ export default {
this
.
urlDown
=
process
.
env
.
VUE_APP_HOST_URL
;
this
.
urlDown
=
process
.
env
.
VUE_APP_HOST_URL
;
this
.
list
.
forEach
(
item
=>
{
this
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
});
...
...
src/views/News/Notice.vue
View file @
ba7cd2b9
...
@@ -53,11 +53,11 @@ export default {
...
@@ -53,11 +53,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/NoticeArticle?id=
${
item
.
id
}
`
item
.
href
=
`/News/NoticeArticle?id=
${
item
.
id
}
`
}
//
}
});
});
}
}
...
@@ -65,6 +65,14 @@ export default {
...
@@ -65,6 +65,14 @@ export default {
},
},
getInfo
(
id
,
directpath
){
getInfo
(
id
,
directpath
){
const
matche
=
[
{
name
:
"公告通知"
,
path
:
"/News/Notice"
,
}
];
this
.
setMatche
(
matche
);
return
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
window
.
open
(
directpath
,
'_blank'
);
}
else
{
}
else
{
...
...
src/views/News/Other.vue
View file @
ba7cd2b9
...
@@ -87,11 +87,11 @@ export default {
...
@@ -87,11 +87,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
});
}
}
...
...
src/views/News/PicNews.vue
View file @
ba7cd2b9
...
@@ -77,11 +77,11 @@ export default {
...
@@ -77,11 +77,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
articleId
}
`
item
.
href
=
`/News/msg?id=
${
item
.
articleId
}
`
}
//
}
});
});
}
}
...
@@ -96,11 +96,11 @@ export default {
...
@@ -96,11 +96,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
pictureListArr
=
data
this
.
pictureListArr
=
data
this
.
pictureListArr
.
forEach
(
item
=>
{
this
.
pictureListArr
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
articleId
}
`
item
.
href
=
`/News/msg?id=
${
item
.
articleId
}
`
}
//
}
});
});
}
}
...
...
src/views/News/Research.vue
View file @
ba7cd2b9
...
@@ -52,13 +52,15 @@ export default {
...
@@ -52,13 +52,15 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
// if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
// item.href=item.directpath
}
else
{
// }else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
});
console
.
log
(
this
.
tableResult
.
list
)
}
}
...
@@ -66,8 +68,16 @@ export default {
...
@@ -66,8 +68,16 @@ export default {
// 详情
// 详情
getInfo
(
id
,
directpath
){
getInfo
(
id
,
directpath
){
const
matche
=
[
{
name
:
"标准科研动态"
,
path
:
"/News/Research"
,
}
];
this
.
setMatche
(
matche
);
return
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_
blank
'
);
window
.
open
(
directpath
,
'_
self
'
);
}
else
{
}
else
{
const
matche
=
[
const
matche
=
[
{
{
...
...
src/views/News/Retail.vue
View file @
ba7cd2b9
...
@@ -334,11 +334,11 @@ export default {
...
@@ -334,11 +334,11 @@ export default {
if
(
item
.
title
===
'最新动态'
)
{
if
(
item
.
title
===
'最新动态'
)
{
item
.
list
=
data
;
item
.
list
=
data
;
item
.
list
.
forEach
(
item
=>
{
item
.
list
.
forEach
(
item
=>
{
if
(
item
.
jumppath
&&
item
.
jumppath
!==
''
&&
item
.
jumppath
.
length
>
0
){
//
if(item.jumppath&&item.jumppath!==''&& item.jumppath.length>0){
item
.
href
=
item
.
jumppath
//
item.href=item.jumppath
}
else
{
//
}else{
item
.
href
=
`/Sell/detail?id=
${
item
.
id
}
&preTitle=最新动态`
item
.
href
=
`/Sell/detail?id=
${
item
.
id
}
&preTitle=最新动态`
}
//
}
});
});
}
}
...
@@ -361,11 +361,11 @@ export default {
...
@@ -361,11 +361,11 @@ export default {
if
(
item
.
title
===
'商品条码在零售领域应用指南'
)
{
if
(
item
.
title
===
'商品条码在零售领域应用指南'
)
{
item
.
list
=
data
.
list
;
item
.
list
=
data
.
list
;
item
.
list
.
forEach
(
item
=>
{
item
.
list
.
forEach
(
item
=>
{
if
(
item
.
jumppath
&&
item
.
jumppath
!==
''
&&
item
.
jumppath
.
length
>
0
){
//
if(item.jumppath&&item.jumppath!==''&& item.jumppath.length>0){
item
.
href
=
item
.
jumppath
//
item.href=item.jumppath
}
else
{
//
}else{
item
.
href
=
`/Sell/detail?id=
${
item
.
id
}
&preTitle=商品条码在零售领域应用指南`
item
.
href
=
`/Sell/detail?id=
${
item
.
id
}
&preTitle=商品条码在零售领域应用指南`
}
//
}
});
});
}
}
...
@@ -386,11 +386,11 @@ export default {
...
@@ -386,11 +386,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
qrCodeList
=
data
.
list
;
this
.
qrCodeList
=
data
.
list
;
this
.
qrCodeList
.
forEach
(
item
=>
{
this
.
qrCodeList
.
forEach
(
item
=>
{
if
(
item
.
jumppath
&&
item
.
jumppath
!==
''
&&
item
.
jumppath
.
length
>
0
){
//
if(item.jumppath&&item.jumppath!==''&& item.jumppath.length>0){
item
.
href
=
item
.
jumppath
//
item.href=item.jumppath
}
else
{
//
}else{
item
.
href
=
`/Sell/detail?id=
${
item
.
id
}
&preTitle=商品二维码在零售领域的应用`
item
.
href
=
`/Sell/detail?id=
${
item
.
id
}
&preTitle=商品二维码在零售领域的应用`
}
//
}
});
});
}
else
{
}
else
{
...
...
src/views/News/Video.vue
View file @
ba7cd2b9
...
@@ -53,11 +53,11 @@ export default {
...
@@ -53,11 +53,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/msgVideo?id=
${
item
.
id
}
`
item
.
href
=
`/News/msgVideo?id=
${
item
.
id
}
`
}
//
}
});
});
...
@@ -67,6 +67,14 @@ export default {
...
@@ -67,6 +67,14 @@ export default {
// 详情
// 详情
getInfo
(
id
,
directpath
){
getInfo
(
id
,
directpath
){
const
matche
=
[
{
name
:
"精彩视频"
,
path
:
"/News/Video"
,
}
];
this
.
setMatche
(
matche
);
return
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
window
.
open
(
directpath
,
'_blank'
);
}
else
{
}
else
{
...
...
src/views/News/msg.vue
View file @
ba7cd2b9
...
@@ -302,11 +302,11 @@ export default {
...
@@ -302,11 +302,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
top10
.
data
=
data
;
this
.
top10
.
data
=
data
;
this
.
top10
.
data
.
forEach
(
item
=>
{
this
.
top10
.
data
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
});
}
}
...
@@ -322,11 +322,11 @@ export default {
...
@@ -322,11 +322,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
announceListArr
=
data
.
list
;
this
.
announceListArr
=
data
.
list
;
this
.
announceListArr
.
forEach
(
item
=>
{
this
.
announceListArr
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/NoticeArticle?id=
${
item
.
id
}
`
item
.
href
=
`/News/NoticeArticle?id=
${
item
.
id
}
`
}
//
}
});
});
}
}
...
@@ -342,11 +342,11 @@ export default {
...
@@ -342,11 +342,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
zttjListListArr
=
data
;
this
.
zttjListListArr
=
data
;
this
.
zttjListListArr
.
forEach
(
item
=>
{
this
.
zttjListListArr
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
});
}
}
...
@@ -362,11 +362,11 @@ export default {
...
@@ -362,11 +362,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
xgljListArr
=
data
;
this
.
xgljListArr
=
data
;
this
.
xgljListArr
.
forEach
(
item
=>
{
this
.
xgljListArr
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
});
}
}
...
...
src/views/News/msgVideo.vue
View file @
ba7cd2b9
...
@@ -205,11 +205,11 @@ export default {
...
@@ -205,11 +205,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
top10
.
data
=
data
;
this
.
top10
.
data
=
data
;
this
.
top10
.
data
.
forEach
(
item
=>
{
this
.
top10
.
data
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
});
}
}
...
@@ -225,11 +225,11 @@ export default {
...
@@ -225,11 +225,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
announceListArr
=
data
.
list
;
this
.
announceListArr
=
data
.
list
;
this
.
announceListArr
.
forEach
(
item
=>
{
this
.
announceListArr
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/NoticeArticle?id=
${
item
.
id
}
`
item
.
href
=
`/News/NoticeArticle?id=
${
item
.
id
}
`
}
//
}
});
});
}
}
...
@@ -245,11 +245,11 @@ export default {
...
@@ -245,11 +245,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
zttjListListArr
=
data
;
this
.
zttjListListArr
=
data
;
this
.
zttjListListArr
.
forEach
(
item
=>
{
this
.
zttjListListArr
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
});
}
}
...
@@ -265,11 +265,11 @@ export default {
...
@@ -265,11 +265,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
xgljListArr
=
data
;
this
.
xgljListArr
=
data
;
this
.
xgljListArr
.
forEach
(
item
=>
{
this
.
xgljListArr
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
});
}
}
...
...
src/views/PGP/caseList.vue
View file @
ba7cd2b9
...
@@ -60,11 +60,11 @@ export default {
...
@@ -60,11 +60,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
;
this
.
tableResult
=
data
;
this
.
tableResult
.
list
.
forEach
(
item
=>
{
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
item
.
href
=
item
.
directpath
//
item.href=item.directpath
}
else
{
//
}else{
item
.
href
=
`/PGP/detail?id=
${
item
.
id
}
&preTitle=应用案例`
item
.
href
=
`/PGP/detail?id=
${
item
.
id
}
&preTitle=应用案例`
}
//
}
});
});
...
...
src/views/Sell/latestNews.vue
View file @
ba7cd2b9
...
@@ -59,11 +59,11 @@ export default {
...
@@ -59,11 +59,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
;
this
.
tableResult
=
data
;
this
.
tableResult
.
list
.
forEach
(
item
=>
{
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
jumppath
&&
item
.
jumppath
!==
''
&&
item
.
jumppath
.
length
>
0
){
//
if(item.jumppath&&item.jumppath!==''&& item.jumppath.length>0){
item
.
href
=
item
.
jumppath
//
item.href=item.jumppath
}
else
{
//
}else{
item
.
href
=
`/Sell/detail?id=
${
item
.
id
}
&preTitle=最新动态`
item
.
href
=
`/Sell/detail?id=
${
item
.
id
}
&preTitle=最新动态`
}
//
}
});
});
}
else
{
}
else
{
...
...
src/views/Sell/pictureList.vue
View file @
ba7cd2b9
...
@@ -74,11 +74,11 @@ export default {
...
@@ -74,11 +74,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
jumppath
&&
item
.
jumppath
!==
''
&&
item
.
jumppath
.
length
>
0
){
//
if(item.jumppath&&item.jumppath!==''&& item.jumppath.length>0){
item
.
href
=
item
.
jumppath
//
item.href=item.jumppath
}
else
{
//
}else{
item
.
href
=
`/Sell/detail?id=
${
item
.
pictureid
}
&preTitle=图片集`
item
.
href
=
`/Sell/detail?id=
${
item
.
pictureid
}
&preTitle=图片集`
}
//
}
});
});
}
}
...
...
src/views/Sell/qrApplication.vue
View file @
ba7cd2b9
...
@@ -59,11 +59,11 @@ export default {
...
@@ -59,11 +59,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
;
this
.
tableResult
=
data
;
this
.
tableResult
.
list
.
forEach
(
item
=>
{
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
jumppath
&&
item
.
jumppath
!==
''
&&
item
.
jumppath
.
length
>
0
){
//
if(item.jumppath&&item.jumppath!==''&& item.jumppath.length>0){
item
.
href
=
item
.
jumppath
//
item.href=item.jumppath
}
else
{
//
}else{
item
.
href
=
`/Sell/detail?id=
${
item
.
id
}
&preTitle=商品二维码在零售领域的应用`
item
.
href
=
`/Sell/detail?id=
${
item
.
id
}
&preTitle=商品二维码在零售领域的应用`
}
//
}
});
});
}
else
{
}
else
{
...
...
src/views/Sell/sellApplicationGuide.vue
View file @
ba7cd2b9
...
@@ -59,11 +59,11 @@ export default {
...
@@ -59,11 +59,11 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
;
this
.
tableResult
=
data
;
this
.
tableResult
.
list
.
forEach
(
item
=>
{
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
jumppath
&&
item
.
jumppath
!==
''
&&
item
.
jumppath
.
length
>
0
){
//
if(item.jumppath&&item.jumppath!==''&& item.jumppath.length>0){
item
.
href
=
item
.
jumppath
//
item.href=item.jumppath
}
else
{
//
}else{
item
.
href
=
`/Sell/detail?id=
${
item
.
id
}
&preTitle=商品条码在零售领域应用指南`
item
.
href
=
`/Sell/detail?id=
${
item
.
id
}
&preTitle=商品条码在零售领域应用指南`
}
//
}
});
});
}
else
{
}
else
{
...
...
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