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
d1792181
Commit
d1792181
authored
Dec 25, 2021
by
林家欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改党建文化、专题聚焦、应用领域、其他列表链接
parent
8c8c2994
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
207 additions
and
144 deletions
+207
-144
GLN.vue
src/views/Business/GLN.vue
+1
-1
index.vue
src/views/Business/index.vue
+70
-70
list2.vue
src/views/Home/comps/list2.vue
+3
-5
other-list.vue
src/views/Home/comps/other-list.vue
+3
-5
yyly-list.vue
src/views/Home/comps/yyly-list.vue
+3
-5
index.vue
src/views/Home/index.vue
+127
-58
No files found.
src/views/Business/GLN.vue
View file @
d1792181
...
...
@@ -112,7 +112,7 @@ export default {
},
methods
:
{
ckxqJump
()
{
window
.
open
(
'/Knowledge/
xts
'
,
'_blank'
);
window
.
open
(
'/Knowledge/
GS1System/goodsPosition
'
,
'_blank'
);
// this.$router.push({
// path: '/Knowledge/xts'
// })
...
...
src/views/Business/index.vue
View file @
d1792181
...
...
@@ -357,76 +357,76 @@ export default {
},
],
},
//
{
//
name: "常见问题",
//
path: "",
//
active: "",
//
children: [
//
{
//
name: "1.业务办理",
//
path: "/Business/Faq",
//
active: "",
//
query: {
//
type: "ywbl",
//
},
//
noneChild: true,
//
},
//
{
//
name: "2.产品信息通报",
//
path: "/Business/Faq",
//
active: "",
//
query: {
//
type: "cpxxtb",
//
},
//
noneChild: true,
//
},
//
{
//
name: "3.编码技术",
//
path: "/Business/Faq",
//
active: "",
//
query: {
//
type: "bmjs",
//
},
//
noneChild: true,
//
},
//
{
//
name: "4.法规与标准",
//
path: "/Business/Faq",
//
active: "",
//
query: {
//
type: "fgybz",
//
},
//
noneChild: true,
//
},
//
{
//
name: "5.条码质量",
//
path: "/Business/Faq",
//
active: "",
//
query: {
//
type: "tmzl",
//
},
//
noneChild: true,
//
},
//
{
//
name: "6.条码技术应用",
//
path: "/Business/Faq",
//
active: "",
//
query: {
//
type: "tmjsyy",
//
},
//
noneChild: true,
//
},
//
{
//
name: "7.其他",
//
path: "/Business/Faq",
//
active: "",
//
query: {
//
type: "other",
//
},
//
noneChild: true,
//
},
//
],
//
},
{
name
:
"常见问题"
,
path
:
""
,
active
:
""
,
children
:
[
{
name
:
"1.业务办理"
,
path
:
"/Business/Faq"
,
active
:
""
,
query
:
{
type
:
"ywbl"
,
},
noneChild
:
true
,
},
{
name
:
"2.产品信息通报"
,
path
:
"/Business/Faq"
,
active
:
""
,
query
:
{
type
:
"cpxxtb"
,
},
noneChild
:
true
,
},
{
name
:
"3.编码技术"
,
path
:
"/Business/Faq"
,
active
:
""
,
query
:
{
type
:
"bmjs"
,
},
noneChild
:
true
,
},
{
name
:
"4.法规与标准"
,
path
:
"/Business/Faq"
,
active
:
""
,
query
:
{
type
:
"fgybz"
,
},
noneChild
:
true
,
},
{
name
:
"5.条码质量"
,
path
:
"/Business/Faq"
,
active
:
""
,
query
:
{
type
:
"tmzl"
,
},
noneChild
:
true
,
},
{
name
:
"6.条码技术应用"
,
path
:
"/Business/Faq"
,
active
:
""
,
query
:
{
type
:
"tmjsyy"
,
},
noneChild
:
true
,
},
{
name
:
"7.其他"
,
path
:
"/Business/Faq"
,
active
:
""
,
query
:
{
type
:
"other"
,
},
noneChild
:
true
,
},
],
},
],
},
{
...
...
src/views/Home/comps/list2.vue
View file @
d1792181
<
template
>
<div
class=
"list"
>
<div
v-for=
"(tmp, i) in list"
:key=
"i"
class=
"row"
@
click=
"handelMsg"
>
<div
v-for=
"(tmp, i) in list"
:key=
"i"
class=
"row"
@
click=
"handelMsg
(tmp)
"
>
<div
class=
"col li"
>
<span></span>
<span
:title=
"tmp.title"
>
{{
tmp
.
title
}}
</span>
...
...
@@ -12,10 +12,8 @@
export
default
{
props
:
[
'list'
],
methods
:
{
handelMsg
()
{
this
.
$router
.
push
({
path
:
'/News/Msg'
});
handelMsg
(
obj
)
{
this
.
$emit
(
'toList2Father'
,
obj
);
},
},
}
...
...
src/views/Home/comps/other-list.vue
View file @
d1792181
<
template
>
<div
class=
"list"
>
<div
v-for=
"(tmp, i) in list"
:key=
"i"
class=
"row"
@
click=
"handelMsg"
>
<div
v-for=
"(tmp, i) in list"
:key=
"i"
class=
"row"
@
click=
"handelMsg
(tmp)
"
>
<div
class=
"col li"
>
<span></span>
<span
:title=
"tmp.name"
>
{{
tmp
.
name
}}
</span>
...
...
@@ -12,10 +12,8 @@
export
default
{
props
:
[
'list'
],
methods
:
{
handelMsg
()
{
this
.
$router
.
push
({
path
:
'/News/Msg'
});
handelMsg
(
obj
)
{
window
.
open
(
obj
.
url
,
'_blank'
);
},
},
}
...
...
src/views/Home/comps/yyly-list.vue
View file @
d1792181
<
template
>
<div
class=
"list"
>
<div
v-for=
"(tmp, i) in list"
:key=
"i"
class=
"row"
@
click=
"handelMsg"
>
<div
v-for=
"(tmp, i) in list"
:key=
"i"
class=
"row"
@
click=
"handelMsg
(tmp)
"
>
<div
class=
"col li"
>
<span></span>
<span
:title=
"tmp.name"
>
{{
tmp
.
name
}}
</span>
...
...
@@ -12,10 +12,8 @@
export
default
{
props
:
[
'list'
],
methods
:
{
handelMsg
()
{
this
.
$router
.
push
({
path
:
'/News/Msg'
});
handelMsg
(
obj
)
{
window
.
open
(
obj
.
url
,
'_blank'
);
},
},
}
...
...
src/views/Home/index.vue
View file @
d1792181
...
...
@@ -48,15 +48,15 @@
<div
class=
"col-lg-6"
>
<div
class=
"newsBanner"
>
<VueSlickCarousel
v-bind=
"newsBannerSettingsA"
v-if=
"newsBanner.length > 0"
ref=
"newsBannerA"
:asNavFor=
"$refs.newsBannerB"
v-bind=
"newsBannerSettingsA"
v-if=
"newsBanner.length > 0"
ref=
"newsBannerA"
:asNavFor=
"$refs.newsBannerB"
>
<div
class=
"newsBanner-item"
v-for=
"el in newsBanner"
:key=
"el.id"
class=
"newsBanner-item"
v-for=
"el in newsBanner"
:key=
"el.id"
>
<a
:href=
"el.jumppath"
target=
"_blank"
><img
:src=
"el.picFile"
alt=
"..."
class=
"newsBanner-tp"
...
...
@@ -64,16 +64,16 @@
</div>
</VueSlickCarousel>
<VueSlickCarousel
v-bind=
"newsBannerSettingsB"
v-if=
"newsBanner.length > 0"
ref=
"newsBannerB"
class=
"newsBannerB"
:asNavFor=
"$refs.newsBannerA"
v-bind=
"newsBannerSettingsB"
v-if=
"newsBanner.length > 0"
ref=
"newsBannerB"
class=
"newsBannerB"
:asNavFor=
"$refs.newsBannerA"
>
<div
class=
"newsBanner-item"
v-for=
"el in newsBanner"
:key=
"el.id"
class=
"newsBanner-item"
v-for=
"el in newsBanner"
:key=
"el.id"
>
<div
class=
"newsBanner-title"
:title=
"el.title"
>
<a
:href=
"el.jumppath"
target=
"_blank"
>
{{ el.title }}
</a>
...
...
@@ -156,7 +156,7 @@
<div
class=
"col-lg-6 wsxtcy bgWhite"
>
<div
class=
"ywdt-cate ywdt-cate-bj2"
>
<span>
我是系统成员
</span>
<span
style=
"width: 148px
;
"
>
(成员专区)
</span>
<span
style=
"width: 148px"
>
(成员专区)
</span>
</div>
<div
class=
"row ywdt-kj wsxtcy-row"
>
<div
...
...
@@ -309,7 +309,13 @@
</el-input>
</div>
<div
class=
"col-lg-3 chaxun-right"
>
<button
@
click=
"toSearch(chaxun.type,chaxun.keywords,'company')"
>
境内条码查询
</button>
<button
@
click=
"
toSearch(chaxun.type, chaxun.keywords, 'company')
"
>
境内条码查询
</button>
</div>
</div>
</div>
...
...
@@ -327,24 +333,30 @@
<div
class=
"col-lg-2 chaxun-left"
>
<el-select
v-model=
"chaxun.type"
placeholder=
"请选择"
>
<el-option
v-for=
"(item, i) in chaxun.options"
:key=
"i"
:label=
"item.label"
:value=
"item.value"
v-for=
"(item, i) in chaxun.options"
:key=
"i"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</div>
<div
class=
"col-lg-7 chaxun-middle"
>
<el-input
placeholder=
"请输入厂商名称"
v-model=
"chaxun.keywords"
clearable
placeholder=
"请输入厂商名称"
v-model=
"chaxun.keywords"
clearable
>
</el-input>
</div>
<div
class=
"col-lg-3 chaxun-right"
>
<button
@
click=
"toSearch(chaxun.type,chaxun.keywords,'product')"
>
境内条码查询
</button>
<button
@
click=
"
toSearch(chaxun.type, chaxun.keywords, 'product')
"
>
境内条码查询
</button>
</div>
</div>
</div>
...
...
@@ -410,7 +422,9 @@
<div
class=
"col"
>
<div
class=
"home-bottom-cont"
>
<div
class=
"djwh"
>
<div
class=
"home-bottom-cate"
>
党建文化
</div>
<div
class=
"home-bottom-cate"
@
click=
"handelHomeBottomCate(1)"
>
党建文化
</div>
<div
class=
"djwh-tp"
>
<a
href=
"/djwh"
target=
"blank"
><img
...
...
@@ -418,10 +432,12 @@
alt=
""
/></a>
</div>
<list2
:list=
"djwh.data"
/>
<list2
:list=
"djwh.data"
@
toList2Father=
"djwhReceive"
/>
</div>
<div
class=
"ztjj"
>
<div
class=
"home-bottom-cate"
>
专题聚焦
</div>
<div
class=
"home-bottom-cate"
@
click=
"handelHomeBottomCate(2)"
>
专题聚焦
</div>
<div
class=
"djwh-tp"
>
<a
href=
"/News/DepthTopics"
target=
"blank"
><img
...
...
@@ -429,14 +445,16 @@
alt=
""
/></a>
</div>
<list2
:list=
"ztjj.data"
/>
<list2
:list=
"ztjj.data"
@
toList2Father=
"ztjjReceive"
/>
</div>
<div
class=
"yyly"
>
<div
class=
"home-bottom-cate"
>
应用领域
</div>
<div
class=
"home-bottom-cate"
@
click=
"handelHomeBottomCate(3)"
>
应用领域
</div>
<yylyList
:list=
"yyly.data"
/>
</div>
<div
class=
"other"
>
<div
class=
"home-bottom-cate"
>
<div
class=
"home-bottom-cate"
@
click=
"handelHomeBottomCate(4)"
>
质检中心/协会/杂志社/标准委/其他
</div>
<otherList
:list=
"other.data"
/>
...
...
@@ -676,7 +694,7 @@ export default {
{
ico
:
require
(
"../../assets/image/home/wsxtcy-ico2.png"
),
name
:
"我要续展"
,
type
:
'link'
,
type
:
"link"
,
url
:
link
.
wyxz
,
},
{
...
...
@@ -796,8 +814,8 @@ export default {
ico
:
require
(
"../../assets/image/home/dzfw-ico9.png"
),
name
:
"国家物联网标识管理中心"
,
isChecked
:
true
,
url
:
'https://www.iotroot.com/'
,
type
:
'link'
url
:
"https://www.iotroot.com/"
,
type
:
"link"
,
},
{
id
:
"9"
,
...
...
@@ -850,58 +868,53 @@ export default {
data
:
[],
},
ztjj
:
{
data
:
[
{
title
:
"“扫”遍双十一 “码”上确定性"
,
},
{
title
:
"“码上”陪你笑傲电商江湖"
,
},
{
title
:
"进口商品如何发布全网,拿好这个跨境进口数据法宝"
,
},
{
title
:
"小条码,大未来"
,
},
{
title
:
"助力电商逆生长,“码”上加速有法宝"
,
},
],
data
:
[],
},
yyly
:
{
data
:
[
{
name
:
"零售"
,
url
:
'/News/Retail'
,
},
{
name
:
"物流"
,
url
:
'/News/Logistics'
,
},
{
name
:
"医疗卫生"
,
url
:
'/News/Health'
,
},
{
name
:
"食品安全追溯"
,
url
:
'/News/FoodSafety'
,
},
{
name
:
"电子商务"
,
url
:
'/News/ECommerce'
,
},
{
name
:
"移动商务"
,
url
:
'/News/MCommerce'
,
},
{
name
:
"物联网"
,
url
:
'/News/IoT'
,
},
{
name
:
"其他"
,
url
:
'/News/Other'
,
},
{
name
:
"国家食品(产品)安全追溯平台"
,
url
:
'http://www.chinatrace.org/'
,
},
{
name
:
"国家产品质量信用平台"
,
url
:
'http://zlxy.ancc.org.cn/'
,
},
{
name
:
"国家物联网标识管理与公共服务平台"
,
url
:
'https://www.iotroot.com/'
,
},
],
},
...
...
@@ -909,42 +922,55 @@ export default {
data
:
[
{
name
:
"国家射频识别产品质量检验检测中心"
,
url
:
'/Org/Sites'
,
},
{
name
:
"国家条码质量检验检测中心"
,
url
:
'/Org/Sites'
,
},
{
name
:
"中国自动识别技术协会"
,
url
:
'/Org/Sites'
,
},
{
name
:
"中国条码技术与应用协会"
,
url
:
'/Org/Sites'
,
},
{
name
:
"《中国自动识别技术》杂志社电子版"
,
url
:
'/Org/Sites'
,
},
{
name
:
"中国ECR委员会"
,
url
:
'/Org/Sites'
,
},
{
name
:
"全国物品编码标准化技术委员会"
,
url
:
'/Org/Sites'
,
},
{
name
:
"全国物流信息管理标准化技术委员会"
,
url
:
'/Org/Sites'
,
},
{
name
:
"全国自动识别与数据采集分委员会"
,
url
:
'/Org/Sites'
,
},
{
name
:
"物联网标识工作组"
,
url
:
'/Org/Sites'
,
},
{
name
:
"全球产品电子代码中国管理中心"
,
url
:
'/Org/Sites'
,
},
{
name
:
"中国UNSPSC动态维护管理中心"
,
url
:
'/Org/Sites'
,
},
{
name
:
"北京东方捷码科技开发中心"
,
url
:
'/Org/Sites'
,
},
],
},
...
...
@@ -977,16 +1003,27 @@ export default {
this
.
getCustomServiceFromServer
();
},
methods
:
{
handelHomeBottomCate
(
i
)
{
if
(
i
===
1
)
{
window
.
open
(
'/djwh'
,
'_blank'
);
}
else
if
(
i
===
2
)
{
window
.
open
(
'/News/DepthTopics'
,
'_blank'
);
}
else
if
(
i
===
3
)
{
window
.
open
(
'/News/index'
,
'_blank'
);
}
else
if
(
i
===
4
)
{
window
.
open
(
'/Org/Sites'
,
'_blank'
);
}
},
toSearch
(
type
,
keyword
,
infoType
)
{
console
.
log
(
type
)
console
.
log
(
type
)
;
this
.
$router
.
push
({
path
:
'/search/internal'
,
path
:
"/search/internal"
,
query
:
{
keyword
,
type
,
infoType
}
})
infoType
,
}
,
})
;
},
getCustomService
()
{
let
service
=
localStorage
.
getItem
(
"gs-custom-service"
)
||
""
;
...
...
@@ -999,7 +1036,7 @@ export default {
async
getCustomServiceFromServer
()
{
const
searchGlnRes
=
await
this
.
$api
.
home
.
customService
();
const
{
returnCode
,
data
}
=
searchGlnRes
;
const
{
returnCode
,
data
}
=
searchGlnRes
;
if
(
returnCode
===
"0"
)
{
localStorage
.
setItem
(
"gs-custom-service"
,
JSON
.
stringify
(
data
));
this
.
showCustomService
(
data
);
...
...
@@ -1045,6 +1082,8 @@ export default {
this
.
homeNewGtin
();
// 党建文化新闻列表
this
.
homeGet4PartyTopNews
();
// 专题聚焦
this
.
homeGetsdztListTopNews
();
// 首页小轮播图
this
.
homeSmallImages
();
},
...
...
@@ -1121,6 +1160,35 @@ export default {
this
.
djwh
.
data
=
data
;
}
},
// 专题聚焦
async
homeGetsdztListTopNews
()
{
const
params
=
{
page
:
1
,
limit
:
5
,
};
const
homeGetsdztListTopNewsRes
=
await
this
.
$api
.
news
.
sdztList
(
params
);
const
{
returnCode
,
data
}
=
homeGetsdztListTopNewsRes
;
if
(
returnCode
===
"0"
)
{
console
.
log
(
homeGetsdztListTopNewsRes
,
"专题聚焦"
);
this
.
ztjj
.
data
=
data
.
list
;
}
},
// 党建文化列表点击
djwhReceive
(
msg
)
{
let
routeData
=
this
.
$router
.
resolve
({
path
:
'/News/Msg'
,
query
:
{
id
:
msg
.
id
}
});
window
.
open
(
routeData
.
href
,
"_blank"
);
},
// 专题聚焦列表点击
ztjjReceive
(
msg
)
{
window
.
open
(
msg
.
directpath
,
"_blank"
);
},
// 首页小轮播图
async
homeSmallImages
()
{
const
homeSmallImagesRes
=
await
this
.
$api
.
home
.
homeSmallImages
();
...
...
@@ -1168,7 +1236,7 @@ export default {
// 我是系统成员点击事件
wsxtcyHandelClick
(
i
)
{
console
.
log
(
i
,
"我是系统成员点击事件"
);
if
(
this
.
wsxtcy
[
i
].
type
===
'link'
)
{
if
(
this
.
wsxtcy
[
i
].
type
===
"link"
)
{
window
.
open
(
this
.
wsxtcy
[
i
].
url
,
"_blank"
);
}
else
{
let
routeData
=
this
.
$router
.
resolve
({
...
...
@@ -2282,6 +2350,7 @@ export default {
padding
:
15px
0
15px
20px
;
//
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
600
;
cursor
:
pointer
;
}
.home-bottom-cont
{
...
...
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