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
ecdaaa10
Commit
ecdaaa10
authored
Dec 13, 2023
by
Jianli Ou
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.wangtiansoft.com:10000/wudi/gs1
parents
1d710445
c363dbdc
Show whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
224 additions
and
143 deletions
+224
-143
api.js
src/axios/api.js
+9
-0
main.js
src/main.js
+6
-2
index.js
src/router/index.js
+18
-0
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/axios/api.js
View file @
ecdaaa10
...
...
@@ -20,6 +20,14 @@ const homeGetUrl = (params = {}) => {
return
GET
(
`
${
Prefix2
}
/office/domain/api/list`
,
params
)
}
// 获取点击量
const
websitehitcountdetail
=
(
params
=
{})
=>
{
return
POST
(
`
${
Prefix2
}
/office/websitehitcountdetail/api/save`
,
params
)
}
import
home
from
"./module/home.js"
...
...
@@ -49,6 +57,7 @@ const api = {
barcode
,
sell
,
pgp
,
websitehitcountdetail
,
}
export
default
api
src/main.js
View file @
ecdaaa10
...
...
@@ -43,7 +43,7 @@ import api from "./axios/index";
Vue
.
use
(
api
);
Vue
.
component
(
GsTable
.
name
,
GsTable
)
import
axios
from
"axios"
// 过滤器封装
import
filters
from
"./filters/index"
;
...
...
@@ -84,8 +84,12 @@ import moment from 'moment';
Vue
.
prototype
.
$moment
=
moment
;
Vue
.
config
.
productionTip
=
false
;
const
Prefix
=
process
.
env
.
NODE_ENV
===
'development'
?
'/gs1'
:
''
;
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
axios
.
post
(
Prefix
+
"/office/websitehitcountdetail/api/save"
,
{
route
:
to
.
fullPath
}).
then
(
res
=>
{
})
NProgress
.
start
();
const
whiteList
=
[
"/404"
];
if
(
...
...
src/router/index.js
View file @
ecdaaa10
...
...
@@ -29,11 +29,17 @@ const routes = [
children
:
[{
path
:
"/"
,
name
:
"Home"
,
meta
:
{
name
:
"首页"
,
},
component
:
()
=>
import
(
"@/views/Home/index"
),
},
{
path
:
"/home/sousuo"
,
name
:
"sousuo"
,
meta
:
{
name
:
"搜索"
,
},
component
:
()
=>
import
(
"@/views/Home/sousuo"
),
},
{
...
...
@@ -1281,6 +1287,9 @@ const routes = [
{
path
:
"/djwhIndex/djwhlist"
,
name
:
"djwhlist"
,
meta
:
{
name
:
"党建文化"
,
},
component
:
()
=>
import
(
"@/views/Djwh/djwhlist"
),
},
...
...
@@ -1504,6 +1513,9 @@ const routes = [
{
path
:
"/djwhIndex"
,
name
:
"djwhIndex"
,
meta
:
{
name
:
"党建文化"
,
},
component
:
()
=>
import
(
"@/views/Djwh/index"
),
},
...
...
@@ -1525,11 +1537,17 @@ const routes = [
{
path
:
"/login"
,
name
:
"login"
,
meta
:
{
name
:
"登录"
,
},
component
:
()
=>
import
(
"@/views/User/index"
),
},
{
path
:
"/register"
,
name
:
"register"
,
meta
:
{
name
:
"注册"
,
},
component
:
()
=>
import
(
"@/views/User/index"
),
},
{
...
...
src/views/News/Center.vue
View file @
ecdaaa10
...
...
@@ -72,11 +72,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
pictureListArr
=
data
this
.
pictureListArr
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
articleId
}
`
}
//
}
});
}
...
...
@@ -95,11 +95,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
...
...
src/views/News/Composite.vue
View file @
ecdaaa10
...
...
@@ -52,11 +52,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
...
...
src/views/News/DepthTopics.vue
View file @
ecdaaa10
...
...
@@ -52,11 +52,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
}
...
...
src/views/News/ECommerce.vue
View file @
ecdaaa10
...
...
@@ -193,11 +193,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
...
...
src/views/News/ECommerceList.vue
View file @
ecdaaa10
...
...
@@ -69,11 +69,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
}
...
...
src/views/News/Ecommerce/latestNews.vue
View file @
ecdaaa10
...
...
@@ -60,11 +60,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/Ecommerce/detail?id=
${
item
.
id
}
&preTitle=应用动态`
}
//
}
});
...
...
src/views/News/Ecommerce/videoList.vue
View file @
ecdaaa10
...
...
@@ -60,11 +60,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/Ecommerce/detail?id=
${
item
.
id
}
&preTitle=在线视频`
}
//
}
});
...
...
src/views/News/FoodSafety.vue
View file @
ecdaaa10
...
...
@@ -186,11 +186,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
}
...
...
src/views/News/International.vue
View file @
ecdaaa10
...
...
@@ -53,11 +53,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
...
...
@@ -67,6 +67,14 @@ export default {
// 详情
getInfo
(
id
,
directpath
){
const
matche
=
[
{
name
:
"国际追踪"
,
path
:
"/News/International"
,
}
];
this
.
setMatche
(
matche
);
return
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
...
...
src/views/News/IoT.vue
View file @
ecdaaa10
...
...
@@ -62,11 +62,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
}
...
...
@@ -75,6 +75,14 @@ export default {
// 详情
getInfo
(
id
,
directpath
){
const
matche
=
[
{
name
:
"物联网"
,
path
:
"/News/IoT"
,
}
];
this
.
setMatche
(
matche
);
return
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
...
...
src/views/News/Local.vue
View file @
ecdaaa10
...
...
@@ -53,11 +53,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
}
...
...
@@ -66,6 +66,14 @@ export default {
// 详情
getInfo
(
id
,
directpath
){
const
matche
=
[
{
name
:
"地方动态"
,
path
:
"/News/Local"
,
}
];
this
.
setMatche
(
matche
);
return
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
...
...
src/views/News/MCommerce.vue
View file @
ecdaaa10
...
...
@@ -106,11 +106,11 @@ export default {
this
.
urlDown
=
process
.
env
.
VUE_APP_HOST_URL
;
this
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
...
...
src/views/News/Notice.vue
View file @
ecdaaa10
...
...
@@ -53,11 +53,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/NoticeArticle?id=
${
item
.
id
}
`
}
//
}
});
}
...
...
@@ -65,6 +65,14 @@ export default {
},
getInfo
(
id
,
directpath
){
const
matche
=
[
{
name
:
"公告通知"
,
path
:
"/News/Notice"
,
}
];
this
.
setMatche
(
matche
);
return
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
...
...
src/views/News/Other.vue
View file @
ecdaaa10
...
...
@@ -87,11 +87,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
}
...
...
src/views/News/PicNews.vue
View file @
ecdaaa10
...
...
@@ -77,11 +77,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
articleId
}
`
}
//
}
});
}
...
...
@@ -96,11 +96,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
pictureListArr
=
data
this
.
pictureListArr
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
articleId
}
`
}
//
}
});
}
...
...
src/views/News/Research.vue
View file @
ecdaaa10
...
...
@@ -52,13 +52,15 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
// if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
// item.href=item.directpath
// }else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
console
.
log
(
this
.
tableResult
.
list
)
}
...
...
@@ -66,8 +68,16 @@ export default {
// 详情
getInfo
(
id
,
directpath
){
const
matche
=
[
{
name
:
"标准科研动态"
,
path
:
"/News/Research"
,
}
];
this
.
setMatche
(
matche
);
return
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_
blank
'
);
window
.
open
(
directpath
,
'_
self
'
);
}
else
{
const
matche
=
[
{
...
...
src/views/News/Retail.vue
View file @
ecdaaa10
...
...
@@ -334,11 +334,11 @@ export default {
if
(
item
.
title
===
'最新动态'
)
{
item
.
list
=
data
;
item
.
list
.
forEach
(
item
=>
{
if
(
item
.
jumppath
&&
item
.
jumppath
!==
''
&&
item
.
jumppath
.
length
>
0
){
item
.
href
=
item
.
jumppath
}
else
{
//
if(item.jumppath&&item.jumppath!==''&& item.jumppath.length>0){
//
item.href=item.jumppath
//
}else{
item
.
href
=
`/Sell/detail?id=
${
item
.
id
}
&preTitle=最新动态`
}
//
}
});
}
...
...
@@ -361,11 +361,11 @@ export default {
if
(
item
.
title
===
'商品条码在零售领域应用指南'
)
{
item
.
list
=
data
.
list
;
item
.
list
.
forEach
(
item
=>
{
if
(
item
.
jumppath
&&
item
.
jumppath
!==
''
&&
item
.
jumppath
.
length
>
0
){
item
.
href
=
item
.
jumppath
}
else
{
//
if(item.jumppath&&item.jumppath!==''&& item.jumppath.length>0){
//
item.href=item.jumppath
//
}else{
item
.
href
=
`/Sell/detail?id=
${
item
.
id
}
&preTitle=商品条码在零售领域应用指南`
}
//
}
});
}
...
...
@@ -386,11 +386,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
qrCodeList
=
data
.
list
;
this
.
qrCodeList
.
forEach
(
item
=>
{
if
(
item
.
jumppath
&&
item
.
jumppath
!==
''
&&
item
.
jumppath
.
length
>
0
){
item
.
href
=
item
.
jumppath
}
else
{
//
if(item.jumppath&&item.jumppath!==''&& item.jumppath.length>0){
//
item.href=item.jumppath
//
}else{
item
.
href
=
`/Sell/detail?id=
${
item
.
id
}
&preTitle=商品二维码在零售领域的应用`
}
//
}
});
}
else
{
...
...
src/views/News/Video.vue
View file @
ecdaaa10
...
...
@@ -53,11 +53,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/msgVideo?id=
${
item
.
id
}
`
}
//
}
});
...
...
@@ -67,6 +67,14 @@ export default {
// 详情
getInfo
(
id
,
directpath
){
const
matche
=
[
{
name
:
"精彩视频"
,
path
:
"/News/Video"
,
}
];
this
.
setMatche
(
matche
);
return
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
...
...
src/views/News/msg.vue
View file @
ecdaaa10
...
...
@@ -302,11 +302,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
top10
.
data
=
data
;
this
.
top10
.
data
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
}
...
...
@@ -322,11 +322,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
announceListArr
=
data
.
list
;
this
.
announceListArr
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/NoticeArticle?id=
${
item
.
id
}
`
}
//
}
});
}
...
...
@@ -342,11 +342,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
zttjListListArr
=
data
;
this
.
zttjListListArr
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
}
...
...
@@ -362,11 +362,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
xgljListArr
=
data
;
this
.
xgljListArr
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
}
...
...
src/views/News/msgVideo.vue
View file @
ecdaaa10
...
...
@@ -205,11 +205,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
top10
.
data
=
data
;
this
.
top10
.
data
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
}
...
...
@@ -225,11 +225,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
announceListArr
=
data
.
list
;
this
.
announceListArr
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/NoticeArticle?id=
${
item
.
id
}
`
}
//
}
});
}
...
...
@@ -245,11 +245,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
zttjListListArr
=
data
;
this
.
zttjListListArr
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
}
...
...
@@ -265,11 +265,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
xgljListArr
=
data
;
this
.
xgljListArr
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/News/msg?id=
${
item
.
id
}
`
}
//
}
});
}
...
...
src/views/PGP/caseList.vue
View file @
ecdaaa10
...
...
@@ -60,11 +60,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
;
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
directpath
&&
item
.
directpath
!==
''
&&
item
.
directpath
.
length
>
0
){
item
.
href
=
item
.
directpath
}
else
{
//
if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
//
item.href=item.directpath
//
}else{
item
.
href
=
`/PGP/detail?id=
${
item
.
id
}
&preTitle=应用案例`
}
//
}
});
...
...
src/views/Sell/latestNews.vue
View file @
ecdaaa10
...
...
@@ -59,11 +59,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
;
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
jumppath
&&
item
.
jumppath
!==
''
&&
item
.
jumppath
.
length
>
0
){
item
.
href
=
item
.
jumppath
}
else
{
//
if(item.jumppath&&item.jumppath!==''&& item.jumppath.length>0){
//
item.href=item.jumppath
//
}else{
item
.
href
=
`/Sell/detail?id=
${
item
.
id
}
&preTitle=最新动态`
}
//
}
});
}
else
{
...
...
src/views/Sell/pictureList.vue
View file @
ecdaaa10
...
...
@@ -74,11 +74,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
jumppath
&&
item
.
jumppath
!==
''
&&
item
.
jumppath
.
length
>
0
){
item
.
href
=
item
.
jumppath
}
else
{
//
if(item.jumppath&&item.jumppath!==''&& item.jumppath.length>0){
//
item.href=item.jumppath
//
}else{
item
.
href
=
`/Sell/detail?id=
${
item
.
pictureid
}
&preTitle=图片集`
}
//
}
});
}
...
...
src/views/Sell/qrApplication.vue
View file @
ecdaaa10
...
...
@@ -59,11 +59,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
;
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
jumppath
&&
item
.
jumppath
!==
''
&&
item
.
jumppath
.
length
>
0
){
item
.
href
=
item
.
jumppath
}
else
{
//
if(item.jumppath&&item.jumppath!==''&& item.jumppath.length>0){
//
item.href=item.jumppath
//
}else{
item
.
href
=
`/Sell/detail?id=
${
item
.
id
}
&preTitle=商品二维码在零售领域的应用`
}
//
}
});
}
else
{
...
...
src/views/Sell/sellApplicationGuide.vue
View file @
ecdaaa10
...
...
@@ -59,11 +59,11 @@ export default {
if
(
returnCode
===
"0"
)
{
this
.
tableResult
=
data
;
this
.
tableResult
.
list
.
forEach
(
item
=>
{
if
(
item
.
jumppath
&&
item
.
jumppath
!==
''
&&
item
.
jumppath
.
length
>
0
){
item
.
href
=
item
.
jumppath
}
else
{
//
if(item.jumppath&&item.jumppath!==''&& item.jumppath.length>0){
//
item.href=item.jumppath
//
}else{
item
.
href
=
`/Sell/detail?id=
${
item
.
id
}
&preTitle=商品条码在零售领域应用指南`
}
//
}
});
}
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