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
0771a1d2
Commit
0771a1d2
authored
Jan 06, 2022
by
Lyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文件前缀更改
parent
e8dabe9d
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
111 additions
and
39 deletions
+111
-39
index.js
src/router/index.js
+9
-0
index.vue
src/views/Knowledge/index.vue
+71
-14
ECommerce.vue
src/views/News/ECommerce.vue
+5
-4
download.vue
src/views/News/Ecommerce/download.vue
+6
-4
FoodSafety.vue
src/views/News/FoodSafety.vue
+11
-11
MCommerce.vue
src/views/News/MCommerce.vue
+5
-2
Other.vue
src/views/News/Other.vue
+3
-2
index.vue
src/views/News/index.vue
+1
-2
No files found.
src/router/index.js
View file @
0771a1d2
...
...
@@ -870,6 +870,15 @@ const routes = [{
children
:
[]
},
{
path
:
"/Knowledge/index"
,
name
:
"KnowledgeIndex"
,
meta
:
{
name
:
"技术知识"
,
},
component
:
()
=>
import
(
"@/views/Knowledge/index"
),
children
:
[]
},
{
path
:
"/Knowledge/KnowledgeList"
,
name
:
"KnowledgeList"
,
meta
:
{
...
...
src/views/Knowledge/index.vue
View file @
0771a1d2
...
...
@@ -122,7 +122,7 @@
<div
class=
"card-body"
>
<p
class=
"card-text"
>
<ul
style=
"padding-left:0"
>
<li
v-for=
"(item,i) of xtsList"
:key=
"i"
@
click=
"getInfo(item.knowledgeinfoid,item.directpath)"
>
{{
item
.
title
}}
</li>
<li
v-for=
"(item,i) of xtsList"
:key=
"i"
@
click=
"getInfo(item.knowledgeinfoid,item.directpath
,'小贴士'
)"
>
{{
item
.
title
}}
</li>
</ul>
</p>
</div>
...
...
@@ -176,7 +176,7 @@
<div
class=
"card-body"
>
<p
class=
"card-text"
>
<ul
style=
"padding-left:0"
>
<li
v-for=
"(item,i) of listResult.sptm.slice(0,5)"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath)"
>
{{
item
.
Title
}}
</li>
<li
v-for=
"(item,i) of listResult.sptm.slice(0,5)"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath
,'商品条码'
)"
>
{{
item
.
Title
}}
</li>
</ul>
</p>
</div>
...
...
@@ -197,7 +197,7 @@
<div
class=
"card-body"
>
<p
class=
"card-text"
>
<ul
style=
"padding-left:0"
>
<li
v-for=
"(item,i) of listResult.epc.slice(0,5)"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath)"
>
{{
item
.
Title
}}
</li>
<li
v-for=
"(item,i) of listResult.epc.slice(0,5)"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath
,'产品电子代码(EPC)'
)"
>
{{
item
.
Title
}}
</li>
</ul>
</p>
</div>
...
...
@@ -218,7 +218,7 @@
<div
class=
"card-body"
>
<p
class=
"card-text"
>
<ul
style=
"padding-left:0"
>
<li
v-for=
"(item,i) of listResult.gds.slice(0,5)"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath)"
>
{{
item
.
Title
}}
</li>
<li
v-for=
"(item,i) of listResult.gds.slice(0,5)"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath
,'全球数据同步(GDS)'
)"
>
{{
item
.
Title
}}
</li>
</ul>
</p>
</div>
...
...
@@ -239,7 +239,7 @@
<div
class=
"card-body"
>
<p
class=
"card-text"
>
<ul
style=
"padding-left:0"
>
<li
v-for=
"(item,i) of listResult.gln.slice(0,5)"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath)"
>
{{
item
.
Title
}}
</li>
<li
v-for=
"(item,i) of listResult.gln.slice(0,5)"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath
,'全球位置编码(GLN)'
)"
>
{{
item
.
Title
}}
</li>
</ul>
</p>
</div>
...
...
@@ -252,7 +252,7 @@
<!-- 自称车编码 -->
<div
class=
"knowledge-cnt"
>
<div
class=
"knowledge-title"
>
<a
href=
"/Knowledge/GS1System/zxcbm"
>
自
称
车编码
</a>
<a
href=
"/Knowledge/GS1System/zxcbm"
>
自
行
车编码
</a>
</div>
<div
class=
"knowledge-container card "
>
<div
class=
"row g-2 "
>
...
...
@@ -260,7 +260,7 @@
<div
class=
"card-body"
>
<p
class=
"card-text"
>
<ul
style=
"padding-left:0"
>
<li
v-for=
"(item,i) of listResult.zxcbm.slice(0,5)"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath)"
>
{{
item
.
Title
}}
</li>
<li
v-for=
"(item,i) of listResult.zxcbm.slice(0,5)"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath
,'自行车编码'
)"
>
{{
item
.
Title
}}
</li>
</ul>
</p>
</div>
...
...
@@ -281,7 +281,7 @@
<div
class=
"card-body"
>
<p
class=
"card-text"
>
<ul
style=
"padding-left:0"
>
<li
v-for=
"(item,i) of listResult.dwbm.slice(0,5)"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath)"
>
{{
item
.
Title
}}
</li>
<li
v-for=
"(item,i) of listResult.dwbm.slice(0,5)"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath
,'动物编码'
)"
>
{{
item
.
Title
}}
</li>
</ul>
</p>
</div>
...
...
@@ -302,7 +302,7 @@
<div
class=
"card-body"
>
<p
class=
"card-text"
>
<ul
style=
"padding-left:0"
>
<li
v-for=
"(item,i) of listResult.ewtm.slice(0,5)"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath)"
>
{{
item
.
Title
}}
</li>
<li
v-for=
"(item,i) of listResult.ewtm.slice(0,5)"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath
,'二维条码'
)"
>
{{
item
.
Title
}}
</li>
</ul>
</p>
</div>
...
...
@@ -323,7 +323,7 @@
<div
class=
"card-body"
>
<p
class=
"card-text"
>
<ul
style=
"padding-left:0"
>
<li
v-for=
"(item,i) of listResult.ecr.slice(0,5)"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath)"
>
{{
item
.
Title
}}
</li>
<li
v-for=
"(item,i) of listResult.ecr.slice(0,5)"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath
,'高效消费者响应(ECR)'
)"
>
{{
item
.
Title
}}
</li>
</ul>
</p>
</div>
...
...
@@ -336,7 +336,7 @@
<!-- EbXML -->
<div
class=
"knowledge-cnt"
>
<div
class=
"knowledge-title"
>
<a
href=
"/Knowledge/GS1System/ebxml"
>
E
bXML
</a>
<a
href=
"/Knowledge/GS1System/ebxml"
>
e
bXML
</a>
</div>
<div
class=
"knowledge-container card "
>
<div
class=
"row g-2 "
>
...
...
@@ -344,7 +344,7 @@
<div
class=
"card-body"
>
<p
class=
"card-text"
>
<ul
style=
"padding-left:0"
>
<li
v-for=
"(item,i) of listResult.ebXML.slice(0,5)"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath)"
>
{{
item
.
Title
}}
</li>
<li
v-for=
"(item,i) of listResult.ebXML.slice(0,5)"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath
,'ebXML'
)"
>
{{
item
.
Title
}}
</li>
</ul>
</p>
</div>
...
...
@@ -362,7 +362,7 @@
</
template
>
<
script
>
// import sousuoList from "../Home/comps/sousuo-list.vue";
import
{
mapMutations
}
from
"vuex"
;
export
default
{
components
:
{
// sousuoList,
...
...
@@ -449,6 +449,49 @@ export default {
},
},
],
matcheList
:[
{
name
:
"商品条码"
,
path
:
"/Knowledge/GS1System/goodsGln"
,
},
{
name
:
"产品电子代码(EPC)"
,
path
:
"/Knowledge/GS1System/goodsEpc"
,
},
{
name
:
"全球数据同步(GDS)"
,
path
:
"/Knowledge/GS1System/goodsGDS"
,
},
{
name
:
"全球位置编码(GLN)"
,
path
:
"/Knowledge/GS1System/goodsPosition"
,
},
{
name
:
"自行车编码"
,
path
:
"/Knowledge/GS1System/zxcbm"
,
},
{
name
:
"动物编码"
,
path
:
"/Knowledge/GS1System/dwbm"
,
},
{
name
:
"二维条码"
,
path
:
"/Knowledge/GS1System/ewbm"
,
},
{
name
:
"高效消费者响应(ECR)"
,
path
:
"/Knowledge/GS1System/gxfECR"
,
},
{
name
:
"ebXML"
,
path
:
"/Knowledge/GS1System/ebxml"
,
},
{
name
:
"小贴士"
,
path
:
"/Knowledge/xts"
,
},
]
};
},
created
()
{
...
...
@@ -462,6 +505,9 @@ export default {
this
.
searchKnowledgeInfoList
();
},
methods
:
{
...
mapMutations
({
setMatche
:
"setMatche"
,
}),
goGlossary
()
{
this
.
$router
.
push
({
path
:
"/Knowledge/Glossary"
,
...
...
@@ -524,10 +570,20 @@ export default {
this
.
xtsList
=
dataArr
.
slice
(
0
,
5
);
}
},
getInfo
(
id
,
directpath
)
{
getInfo
(
id
,
directpath
,
name
)
{
if
(
directpath
&&
directpath
!==
""
&&
directpath
.
length
>
0
)
{
window
.
open
(
directpath
,
"_blank"
);
}
else
{
let
matche
=
this
.
matcheList
.
filter
((
item
)
=>
item
.
name
===
name
)[
0
];
console
.
log
(
matche
,
typeof
(
matche
))
if
(
typeof
(
matche
)
===
'undefined'
){
matche
=
[{
name
:
'技术知识'
,
path
:
'/Knowledge/index'
}]
}
this
.
setMatche
(
matche
);
let
link
=
this
.
$router
.
resolve
({
path
:
`/Knowledge/article?id=
${
id
}
`
,
});
...
...
@@ -550,6 +606,7 @@ export default {
if
(
directpath
!==
""
&&
directpath
.
length
>
0
)
{
window
.
open
(
directpath
,
"_blank"
);
}
else
{
let
link
=
this
.
$router
.
resolve
({
path
:
`/Knowledge/Statuteinfo?id=
${
id
}
`
,
});
...
...
src/views/News/ECommerce.vue
View file @
0771a1d2
...
...
@@ -63,10 +63,10 @@
</p>
<div
class=
"list-style"
>
<ul
>
<li
><a
:href=
"`$
{url
s.gs1cnTwo}M
anage/down/201601Ecomm.pdf`" target="_blank">《电子商务商品条码应用指南》
</a></li>
<li
><a
:href=
"`$
{url
s.gs1cnTwo}M
anage/down/2016Ecommerce.pdf`" target="_blank">《商品条码在电子商务领域的应用》
</a></li>
<li
><a
:href=
"`$
{urls.gs1cnTwo}News/viewsub.aspx?id=38`
" target="_blank">《ebXML标准技术规范——全球电子商务标准》
</a></li>
<li
><a
:href=
"`$
{url
s.gs1cnTwo}M
anage/down/201204GLN.pdf`" target="_blank">GLN
</a></li>
<li
><a
:href=
"`$
{url
}/office/uploadFileResource/m
anage/down/201601Ecomm.pdf`" target="_blank">《电子商务商品条码应用指南》
</a></li>
<li
><a
:href=
"`$
{url
}/office/uploadFileResource/m
anage/down/2016Ecommerce.pdf`" target="_blank">《商品条码在电子商务领域的应用》
</a></li>
<li
><a
href=
"/News/viewsub?id=38
"
target=
"_blank"
>
《ebXML标准技术规范——全球电子商务标准》
</a></li>
<li
><a
:href=
"`$
{url
}/office/uploadFileResource/m
anage/down/201204GLN.pdf`" target="_blank">GLN
</a></li>
</ul>
</div>
...
...
@@ -164,6 +164,7 @@ export default {
created
(){
this
.
initListFn
(
this
.
tableResult
.
currPage
);
this
.
spListFn
()
this
.
url
=
process
.
env
.
VUE_APP_HOST_URL
;
},
mounted
()
{
// 面包屑单独处理
...
...
src/views/News/Ecommerce/download.vue
View file @
0771a1d2
...
...
@@ -42,12 +42,12 @@ export default {
this
.
tableResult
.
list
=
[
{
title
:
"《电子商务商品条码应用指南》"
,
url
:
`
${
this
.
url
s
.
gs1cnTwo
}
M
anage/down/201601Ecomm.pdf`
,
url
:
`
${
this
.
url
}
/office/uploadFileResource/m
anage/down/201601Ecomm.pdf`
,
flag
:
1
,
},
{
title
:
"《商品条码在电子商务领域的应用》"
,
url
:
`
${
this
.
url
s
.
gs1cnTwo
}
M
anage/down/2016Ecommerce.pdf`
,
url
:
`
${
this
.
url
}
/office/uploadFileResource/m
anage/down/2016Ecommerce.pdf`
,
flag
:
1
,
},
{
...
...
@@ -57,13 +57,15 @@ export default {
},
{
title
:
"GLN"
,
url
:
`
${
this
.
url
s
.
gs1cnTwo
}
M
anage/down/201204GLN.pdf`
,
url
:
`
${
this
.
url
}
/office/uploadFileResource/m
anage/down/201204GLN.pdf`
,
flag
:
1
,
},
]
},
created
()
{},
created
()
{
this
.
url
=
process
.
env
.
VUE_APP_HOST_URL
;
},
methods
:
{
// 详情
getInfo
(
item
)
{
...
...
src/views/News/FoodSafety.vue
View file @
0771a1d2
...
...
@@ -112,7 +112,7 @@ export default {
};
},
created
(){
this
.
url
=
process
.
env
.
VUE_APP_HOST_URL
;
this
.
initListFn
(
this
.
tableResult
.
currPage
);
},
...
...
@@ -120,44 +120,44 @@ export default {
this
.
listFile
=
[
{
title
:
"GS1全球追溯标准(第二版)"
,
directpath
:
`
${
this
.
url
s
.
gs1cnTwo
}
M
anage/down/GS1全球追溯标准(第二版).pdf`
directpath
:
`
${
this
.
url
}
/office/uploadFileResource/m
anage/down/GS1全球追溯标准(第二版).pdf`
},
{
title
:
"GS1生鲜果蔬追溯实施指南"
,
directpath
:
`
${
this
.
url
s
.
gs1cnTwo
}
M
anage/down/GS1生鲜果蔬追溯实施指南.pdf`
directpath
:
`
${
this
.
url
}
/office/uploadFileResource/m
anage/down/GS1生鲜果蔬追溯实施指南.pdf`
},
{
title
:
"GS1肉禽追溯指南"
,
directpath
:
`
${
this
.
url
s
.
gs1cnTwo
}
M
anage/down/GS1肉禽追溯指南.pdf`
directpath
:
`
${
this
.
url
}
/office/uploadFileResource/m
anage/down/GS1肉禽追溯指南.pdf`
},
{
title
:
"GS1鱼类、海鲜和水产养殖追溯指南"
,
directpath
:
`
${
this
.
url
s
.
gs1cnTwo
}
M
anage/down/GS1鱼类、海鲜和水产养殖追溯指南.pdf`
directpath
:
`
${
this
.
url
}
/office/uploadFileResource/m
anage/down/GS1鱼类、海鲜和水产养殖追溯指南.pdf`
},
{
title
:
"GS1标准助力食品安全全程追溯"
,
directpath
:
`
${
this
.
url
s
.
gs1cnTwo
}
M
anage/down/GS1标准助力食品安全全程追溯.pdf`
directpath
:
`
${
this
.
url
}
/office/uploadFileResource/m
anage/down/GS1标准助力食品安全全程追溯.pdf`
},
{
title
:
"食品追溯 我来教你怎么做"
,
directpath
:
`
${
this
.
url
s
.
gs1cnTwo
}
M
anage/down/食品追溯我来教你怎么做.pdf`
directpath
:
`
${
this
.
url
}
/office/uploadFileResource/m
anage/down/食品追溯我来教你怎么做.pdf`
},
{
title
:
"GS1标准在食品安全领域中的应用"
,
directpath
:
`
${
this
.
url
s
.
gs1cnTwo
}
M
anage/down/GS1全球追溯标准在食品安全领域中的应用.pdf`
directpath
:
`
${
this
.
url
}
/office/uploadFileResource/m
anage/down/GS1全球追溯标准在食品安全领域中的应用.pdf`
},
{
title
:
"中国食品的跨国追溯"
,
directpath
:
`
${
this
.
url
s
.
gs1cnTwo
}
M
anage/down/中国食品的跨国追溯.pdf`
directpath
:
`
${
this
.
url
}
/office/uploadFileResource/m
anage/down/中国食品的跨国追溯.pdf`
},
{
title
:
"商品条码食品安全追溯案例集"
,
directpath
:
`
${
this
.
url
s
.
gs1cnTwo
}
M
anage/down/shangpintiaomaanquanzhuisuanliji.pdf`
directpath
:
`
${
this
.
url
}
/office/uploadFileResource/m
anage/down/shangpintiaomaanquanzhuisuanliji.pdf`
},
{
title
:
"乳制品、熟食品与烘烤食品追溯实施指南(美国)"
,
directpath
:
`
${
this
.
url
s
.
gs1cnTwo
}
M
anage/down/ruzhipinshushipin.pdf`
directpath
:
`
${
this
.
url
}
/office/uploadFileResource/m
anage/down/ruzhipinshushipin.pdf`
},
]
},
...
...
src/views/News/MCommerce.vue
View file @
0771a1d2
...
...
@@ -4,7 +4,7 @@
<div
class=
"container"
>
<div
class=
"down"
style=
"padding:20px 30px;"
>
<p>
全世界超过四十亿人正在应用移动电话。移动电话正在成为企业和消费者互动的重要渠道。今天的移动电话可以与条码“对话” ,读取无线射频识别(RFID)标签,并访问互联网。 通过使用移动电话对产品标识的读取,消费者就可获得有关这个产品的服务和信息,在明白消费的同时,增进消费者与品牌信任。
</p>
<p>
移动商务专题:
<a
:href=
"`$
{url
s.gs1cnTwo}2012/MobileCom/index.html`">
{{
urls
.
gs1cnTwo
}}
2012/MobileCom/index.html
</a></p>
<p>
移动商务专题:
<a
:href=
"`$
{url
}/2012/MobileCom/index.html`">
{{
url
}}
/
2012/MobileCom/index.html
</a></p>
</div>
<div
class=
"down"
>
<span
style=
"margin:0 0 10px;font-size:14px;display:inline-block"
>
资料下载
</span>
...
...
@@ -101,11 +101,14 @@ export default {
};
},
created
()
{
this
.
url
=
process
.
env
.
VUE_APP_HOST_URL
;
},
mounted
(){
this
.
list2
=
[
{
title
:
'移动商务(宣传折页)'
,
directpath
:
`
${
this
.
url
s
.
gs1cnTwo
}
M
anage/down/20130620GS1 MobileCom.pdf`
directpath
:
`
${
this
.
url
}
/office/uploadFileResource/m
anage/down/20130620GS1 MobileCom.pdf`
}
]
},
...
...
src/views/News/Other.vue
View file @
0771a1d2
...
...
@@ -59,15 +59,16 @@ export default {
},
created
()
{
this
.
initListFn
(
this
.
tableResult
.
currPage
);
this
.
url
=
process
.
env
.
VUE_APP_HOST_URL
;
},
mounted
(){
this
.
list2
=
[{
title
:
'《建材行业商品条码应用指南》'
,
directpath
:
`
${
this
.
url
s
.
gs1cnTwo
}
M
anage/down/建材行业商品条码应用指南.pdf`
directpath
:
`
${
this
.
url
}
/office/uploadFileResource/m
anage/down/建材行业商品条码应用指南.pdf`
},
{
title
:
' 服装行业商品条码应用指南'
,
directpath
:
`
${
this
.
url
s
.
gs1cnTwo
}
M
anage/down/服装行业商品条码应用指南.pdf`
directpath
:
`
${
this
.
url
}
/office/uploadFileResource/m
anage/down/服装行业商品条码应用指南.pdf`
}]
},
methods
:{
...
...
src/views/News/index.vue
View file @
0771a1d2
...
...
@@ -26,8 +26,7 @@
<ul>
<li
v-for=
"(tmp, i) in topData.slice(0,5)"
:key=
"i"
@
click=
"goInfo(tmp.id,tmp.directpath)"
>
<span></span
><span>
{{
tmp
.
title
}}
</span
>
><span>
{{
tmp
.
title
}}
</span>
</li>
</ul>
</div>
...
...
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