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
a031facb
Commit
a031facb
authored
Dec 28, 2021
by
Lyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改一些bug
parent
9d0ab2fe
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
185 additions
and
45 deletions
+185
-45
index.vue
src/views/Djwh/index.vue
+6
-5
sousuo-list.vue
src/views/Home/comps/sousuo-list.vue
+19
-8
dwbm.vue
src/views/Knowledge/GS1System/dwbm.vue
+11
-1
ebxml.vue
src/views/Knowledge/GS1System/ebxml.vue
+11
-1
ewbm.vue
src/views/Knowledge/GS1System/ewbm.vue
+11
-1
goodsEpc.vue
src/views/Knowledge/GS1System/goodsEpc.vue
+11
-1
goodsGDS.vue
src/views/Knowledge/GS1System/goodsGDS.vue
+11
-1
goodsGln.vue
src/views/Knowledge/GS1System/goodsGln.vue
+12
-2
goodsPosition.vue
src/views/Knowledge/GS1System/goodsPosition.vue
+12
-2
gxfECR.vue
src/views/Knowledge/GS1System/gxfECR.vue
+11
-1
zxcbm.vue
src/views/Knowledge/GS1System/zxcbm.vue
+12
-1
article.vue
src/views/Knowledge/article.vue
+25
-11
index.vue
src/views/Knowledge/index.vue
+2
-0
knowledgeList.vue
src/views/Knowledge/knowledgeList.vue
+21
-2
Other.vue
src/views/News/Other.vue
+5
-4
PicNews.vue
src/views/News/PicNews.vue
+5
-4
No files found.
src/views/Djwh/index.vue
View file @
a031facb
...
...
@@ -59,7 +59,7 @@
<div>
<div
class=
"list-style"
>
<ul>
<li
v-for=
"(item, i) in dsList"
:key=
"i"
><a
href=
"#"
@
click=
"goInfo(item.id,item.directpath)"
>
{{
item
.
title
}}
</a></li>
<li
v-for=
"(item, i) in dsList"
:key=
"i"
><a
href=
"#"
@
click=
"goInfo(item.id,item.directpath)"
>
{{
item
.
title
}}
</a></li>
</ul>
</div>
</div>
...
...
@@ -76,7 +76,7 @@
<a
href=
""
>
<img
src=
"../../assets/image/djwh/2020122802.jpg"
alt=
""
></a>
<a
href=
""
>
<img
src=
"../../assets/image/djwh/2020122803.jpg"
alt=
""
></a>
<a
href=
""
>
<img
src=
"../../assets/image/djwh/2020122804.jpg"
alt=
""
></a>
-->
<a
v-for=
"(item,i) in pictureListArr"
:key=
"i"
@
click=
"goInfo(item.pictureid,item.directpath)"
>
<img
:src=
"item.picFile"
alt=
""
></a>
<a
v-for=
"(item,i) in pictureListArr"
:key=
"i"
@
click=
"goInfo(item.pictureid,item.directpath)"
>
<img
:src=
"item.picFile"
></a>
</div>
</div>
</div>
...
...
@@ -94,11 +94,11 @@
</div>
<div
class=
"middle-list"
>
<ul>
<li><a
href=
"
"
target=
"_blank"
>
《中国共产党第十九届中央委员会第五次全体会议公报》
</a></li>
<li><a
href=
"
http://www.xinhuanet.com/politics/2020-10/29/c_1126674147.htm
"
target=
"_blank"
>
《中国共产党第十九届中央委员会第五次全体会议公报》
</a></li>
<li><a
:href=
"path+'/djwh/download/19thfile/党的十九大报告全文.docx'"
target=
"_blank"
>
党的十九大报告全文
</a></li>
<li><a
:href=
"path+'/djwh/download/19thfile/质检总局党组关于认真学习宣传贯彻党的十九大精神的通知.doc'"
target=
"_blank"
>
质检总局党组关于认真学习宣传贯彻党的十九大精神的通知
</a></li>
<li><a
:href=
"path+'/djwh/download/19thfile/质检总局党组关于印发质检系统学习宣传贯彻党的十九大精神工作方案的通知.doc'"
target=
"_blank"
>
质检总局党组关于印发质检系统学习宣传贯彻党的十九大精神工作方案的通知
</a></li>
<li><a
:href=
"path+'/djwh/download/19thfile/中共中央关
于认真学习宣传贯彻党的十九大精神的决定.docx'"
target=
"_blank"
>
中共中央关于认真学习宣传贯彻党的十九大精神的决定
</a></li>
<li><a
:href=
"path+'/djwh/download/19thfile/中共中央关于认真学习宣传贯彻党的十九大精神的决定.docx'"
target=
"_blank"
>
中共中央关于认真学习宣传贯彻党的十九大精神的决定
</a></li>
<li><a
:href=
"path+'/djwh/download/19thfile/中共中央宣传部关于印发《党的十九大精神宣讲提纲》的通知.pdf'"
target=
"_blank"
>
中共中央宣传部关于印发《党的十九大精神宣讲提纲》的通知
</a></li>
<li><a
:href=
"path+'/djwh/download/19thfile/中国物品编码中心关于印发学习宣传贯彻党的十九大精神工作方案的通知.PDF'"
target=
"_blank"
>
中国物品编码中心关于印发学习宣传贯彻党的十九大精神工作方案的通知
</a></li>
...
...
@@ -160,7 +160,7 @@ export default {
},
data
()
{
return
{
path
:
process
.
env
.
VUE_APP_HOST_URL
,
path
:
''
,
animate
:
false
,
marginTop
:
0
,
hotList
:[],
...
...
@@ -194,6 +194,7 @@ export default {
},
mounted
()
{
this
.
timer1
=
setInterval
(
this
.
scroll
,
2000
)
this
.
path
=
`
${
this
.
urls
.
gs1cnTwo
}
`
},
methods
:
{
...
mapMutations
({
...
...
src/views/Home/comps/sousuo-list.vue
View file @
a031facb
...
...
@@ -3,7 +3,7 @@
<li
v-for=
"(tmp, i) in list"
:key=
"i"
>
<div
class=
"sousuoList-top"
>
<span>
【资讯动态】
</span>
<span
v-html=
"tmp.title"
@
click=
"handelMsg(tmp.urlid)"
></span>
<span
v-html=
"tmp.title"
@
click=
"handelMsg(tmp.urlid
,tmp.type
)"
></span>
</div>
<div
class=
"sousuoList-middle"
v-html=
"changeText(tmp.content)"
></div>
<div
class=
"sousuoList-bottom"
>
...
...
@@ -30,11 +30,23 @@ export default {
}
},
methods
:
{
handelMsg
(
id
)
{
this
.
InfoFn
(
id
)
handelMsg
(
id
,
type
)
{
// this.InfoFn(id,type)
if
(
type
==
2
){
this
.
$router
.
push
({
path
:
`/Knowledge/Statuteinfo?id=
${
id
}
`
,
});
}
else
if
(
type
==
6
){
this
.
$router
.
push
({
path
:
`/Knowledge/article?id=
${
id
}
`
,
});
}
else
{
this
.
$router
.
push
({
path
:
`/News/msg?id=
${
id
}
`
,
});
}
},
async
InfoFn
(
id
)
{
async
InfoFn
(
id
,
type
)
{
const
params
=
{
id
:
id
,
};
...
...
@@ -46,9 +58,8 @@ export default {
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
this
.
$router
.
push
({
path
:
`/News/msg?id=
${
id
}
`
,
});
}
}
...
...
src/views/Knowledge/GS1System/dwbm.vue
View file @
a031facb
...
...
@@ -14,7 +14,7 @@
</div>
</
template
>
<
script
>
import
{
mapMutations
}
from
"vuex"
;
import
pages
from
"../../comps/pages2.vue"
;
export
default
{
components
:
{
...
...
@@ -45,6 +45,9 @@ export default {
this
.
initListFn
(
this
.
tableResult
.
currPage
);
},
methods
:{
...
mapMutations
({
setMatche
:
"setMatche"
,
}),
// 列表
async
initListFn
(
page
)
{
const
params
=
{
...
...
@@ -60,6 +63,13 @@ export default {
}
},
getInfo
(
id
,
directpath
){
const
matche
=
[
{
name
:
"动物编码"
,
path
:
"/Knowledge/GS1System/dwbm"
,
}
];
this
.
setMatche
(
matche
);
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
...
...
src/views/Knowledge/GS1System/ebxml.vue
View file @
a031facb
...
...
@@ -14,7 +14,7 @@
</div>
</
template
>
<
script
>
import
{
mapMutations
}
from
"vuex"
;
import
pages
from
"../../comps/pages2.vue"
;
export
default
{
components
:
{
...
...
@@ -45,6 +45,9 @@ export default {
this
.
initListFn
(
this
.
tableResult
.
currPage
);
},
methods
:{
...
mapMutations
({
setMatche
:
"setMatche"
,
}),
// 列表
async
initListFn
(
page
)
{
const
params
=
{
...
...
@@ -60,6 +63,13 @@ export default {
}
},
getInfo
(
id
,
directpath
){
const
matche
=
[
{
name
:
"ebXML"
,
path
:
"/Knowledge/GS1System/ebxml"
,
}
];
this
.
setMatche
(
matche
);
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
...
...
src/views/Knowledge/GS1System/ewbm.vue
View file @
a031facb
...
...
@@ -14,7 +14,7 @@
</div>
</
template
>
<
script
>
import
{
mapMutations
}
from
"vuex"
;
import
pages
from
"../../comps/pages2.vue"
;
export
default
{
components
:
{
...
...
@@ -43,6 +43,9 @@ export default {
this
.
initListFn
(
this
.
tableResult
.
currPage
);
},
methods
:{
...
mapMutations
({
setMatche
:
"setMatche"
,
}),
// 列表
async
initListFn
(
page
)
{
const
params
=
{
...
...
@@ -58,6 +61,13 @@ export default {
}
},
getInfo
(
id
,
directpath
){
const
matche
=
[
{
name
:
"二维条码"
,
path
:
"/Knowledge/GS1System/ewbm"
,
}
];
this
.
setMatche
(
matche
);
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
...
...
src/views/Knowledge/GS1System/goodsEpc.vue
View file @
a031facb
...
...
@@ -14,7 +14,7 @@
</div>
</
template
>
<
script
>
import
{
mapMutations
}
from
"vuex"
;
import
pages
from
"../../comps/pages2.vue"
;
export
default
{
components
:
{
...
...
@@ -45,6 +45,9 @@ export default {
this
.
initListFn
(
this
.
tableResult
.
currPage
);
},
methods
:{
...
mapMutations
({
setMatche
:
"setMatche"
,
}),
// 行业应用
async
initListFn
(
page
)
{
const
params
=
{
...
...
@@ -60,6 +63,13 @@ export default {
}
},
getInfo
(
id
,
directpath
){
const
matche
=
[
{
name
:
"产品电子代码(EPC)"
,
path
:
"/Knowledge/GS1System/goodsEpc"
,
}
];
this
.
setMatche
(
matche
);
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
...
...
src/views/Knowledge/GS1System/goodsGDS.vue
View file @
a031facb
...
...
@@ -14,7 +14,7 @@
</div>
</
template
>
<
script
>
import
{
mapMutations
}
from
"vuex"
;
import
pages
from
"../../comps/pages2.vue"
;
export
default
{
components
:
{
...
...
@@ -45,6 +45,9 @@ export default {
this
.
initListFn
(
this
.
tableResult
.
currPage
,);
},
methods
:{
...
mapMutations
({
setMatche
:
"setMatche"
,
}),
// 行业应用
async
initListFn
(
page
)
{
const
params
=
{
...
...
@@ -60,6 +63,13 @@ export default {
}
},
getInfo
(
id
,
directpath
){
const
matche
=
[
{
name
:
"全球数据同步(GDS)"
,
path
:
"/Knowledge/GS1System/goodsGDS"
,
}
];
this
.
setMatche
(
matche
);
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
...
...
src/views/Knowledge/GS1System/goodsGln.vue
View file @
a031facb
...
...
@@ -14,7 +14,7 @@
</div>
</
template
>
<
script
>
import
{
mapMutations
}
from
"vuex"
;
import
pages
from
"../../comps/pages2.vue"
;
export
default
{
components
:
{
...
...
@@ -45,7 +45,10 @@ export default {
this
.
initListFn
(
this
.
tableResult
.
currPage
);
},
methods
:{
// 行业应用
...
mapMutations
({
setMatche
:
"setMatche"
,
}),
// 列表
async
initListFn
(
page
)
{
const
params
=
{
page
:
page
,
...
...
@@ -60,6 +63,13 @@ export default {
}
},
getInfo
(
id
,
directpath
){
const
matche
=
[
{
name
:
"商品条码"
,
path
:
"/Knowledge/GS1System/goodsGln"
,
}
];
this
.
setMatche
(
matche
);
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
...
...
src/views/Knowledge/GS1System/goodsPosition.vue
View file @
a031facb
...
...
@@ -14,7 +14,7 @@
</div>
</
template
>
<
script
>
import
{
mapMutations
}
from
"vuex"
;
import
pages
from
"../../comps/pages2.vue"
;
export
default
{
components
:
{
...
...
@@ -45,7 +45,10 @@ export default {
this
.
initListFn
(
this
.
tableResult
.
currPage
);
},
methods
:{
// 行业应用
...
mapMutations
({
setMatche
:
"setMatche"
,
}),
// 列表
async
initListFn
(
page
)
{
const
params
=
{
page
:
page
,
...
...
@@ -60,6 +63,13 @@ export default {
}
},
getInfo
(
id
,
directpath
){
const
matche
=
[
{
name
:
"全球位置编码(GLN)"
,
path
:
"/Knowledge/GS1System/goodsPosition"
,
}
];
this
.
setMatche
(
matche
);
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
...
...
src/views/Knowledge/GS1System/gxfECR.vue
View file @
a031facb
...
...
@@ -14,7 +14,7 @@
</div>
</
template
>
<
script
>
import
{
mapMutations
}
from
"vuex"
;
import
pages
from
"../../comps/pages2.vue"
;
export
default
{
components
:
{
...
...
@@ -45,6 +45,9 @@ export default {
this
.
initListFn
(
this
.
tableResult
.
currPage
);
},
methods
:{
...
mapMutations
({
setMatche
:
"setMatche"
,
}),
// 列表
async
initListFn
(
page
)
{
const
params
=
{
...
...
@@ -60,6 +63,13 @@ export default {
}
},
getInfo
(
id
,
directpath
){
const
matche
=
[
{
name
:
"高效消费者响应(ECR)"
,
path
:
"/Knowledge/GS1System/gxfECR"
,
}
];
this
.
setMatche
(
matche
);
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
...
...
src/views/Knowledge/GS1System/zxcbm.vue
View file @
a031facb
...
...
@@ -14,7 +14,7 @@
</div>
</
template
>
<
script
>
import
{
mapMutations
}
from
"vuex"
;
import
pages
from
"../../comps/pages2.vue"
;
export
default
{
components
:
{
...
...
@@ -45,7 +45,11 @@ export default {
this
.
initListFn
(
this
.
tableResult
.
currPage
);
},
methods
:{
...
mapMutations
({
setMatche
:
"setMatche"
,
}),
// 列表
async
initListFn
(
page
)
{
const
params
=
{
page
:
page
,
...
...
@@ -60,6 +64,13 @@ export default {
}
},
getInfo
(
id
,
directpath
){
const
matche
=
[
{
name
:
"自行车编码"
,
path
:
"/Knowledge/GS1System/zxcbm"
,
}
];
this
.
setMatche
(
matche
);
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
...
...
src/views/Knowledge/article.vue
View file @
a031facb
...
...
@@ -5,13 +5,13 @@
<span>
{{
title
}}
</span>
<span>
日期:
{{
checkTime
(
showtime
)
}}
</span>
</p>
<div
v-html=
"content"
></div>
<div
class=
"showHtml"
v-html=
"content"
></div>
</div>
</div>
</
template
>
<
script
>
import
{
mapState
}
from
"vuex"
;
import
breadcrumb
from
"../comps/breadcrumb.vue"
;
import
pages
from
"../comps/pages2.vue"
;
export
default
{
...
...
@@ -24,13 +24,14 @@ export default {
id
:
this
.
$route
.
query
.
id
,
content
:
''
,
title
:
''
,
showtime
:
''
showtime
:
''
,
breadcrumb
:
[{
name
:
"技术与标准"
,
path
:
"/Knowledge"
}],
};
},
computed
:
{
routes
()
{
},
...
mapState
(
{
matche
:
(
state
)
=>
state
.
matche
,
}
)
,
},
created
()
{
this
.
initInfoFn
();
...
...
@@ -56,11 +57,11 @@ export default {
this
.
content
=
data
.
content
;
this
.
title
=
data
.
title
this
.
showtime
=
data
.
inputdate
this
.
$store
.
commit
(
"system/SET_BREADCRUMB"
,
[
{
name
:
"技术与标准 "
,
path
:
"/Knowledge"
},
{
name
:
"技术知识"
,
path
:
"/Knowledge/"
}
,
{
name
:
this
.
title
},
]
);
this
.
breadcrumb
=
this
.
breadcrumb
.
concat
(
this
.
matche
);
this
.
breadcrumb
.
push
({
name
:
this
.
title
,
});
this
.
$store
.
commit
(
"system/SET_BREADCRUMB"
,
this
.
breadcrumb
);
console
.
log
(
1
)
}
...
...
@@ -110,6 +111,19 @@ export default {
font-size
:
14px
;
padding-bottom
:
30px
;
}
.showHtml
{
border-bottom
:
1px
solid
#b2b2b8
;
padding-bottom
:
30px
;
margin-bottom
:
25px
;
margin-top
:
20px
;
line-height
:
28px
;
font-size
:
14px
;
text-indent
:
28px
;
color
:
#454545
;
/deep/p{
margin
:
0
0
10px
}
}
}
}
...
...
src/views/Knowledge/index.vue
View file @
a031facb
...
...
@@ -719,6 +719,7 @@ export default {
img
{
width
:
100%
;
margin
:
26px
0
0
0
;
cursor
:
pointer
;
}
.bzwx
{
.cjwtbtn
{
...
...
@@ -736,6 +737,7 @@ export default {
padding-bottom
:
0px
;
.card-title
{
color
:
#f26335
;
cursor
:
pointer
;
}
.card-text
{
//
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
...
...
src/views/Knowledge/knowledgeList.vue
View file @
a031facb
...
...
@@ -209,7 +209,25 @@
</div>
</div>
</div>
<!-- EbXML -->
<div
class=
"knowledge-cnt"
v-if=
"listResult.rfid && listResult.rfid.length>0"
>
<div
class=
"knowledge-title"
>
RFID
</div>
<div
class=
"knowledge-container card "
>
<div
class=
"row g-2 "
>
<div
class=
"col bzwx"
>
<div
class=
"card-body"
>
<p
class=
"card-text"
>
<ul
style=
"padding-left:0"
>
<li
v-for=
"(item,i) of listResult.rfid"
:key=
"i"
@
click=
"getInfo(item.knowledgeInfoID,item.directpath)"
>
{{
item
.
Title
}}
</li>
</ul>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"col-lg-4"
>
<!-- 热点点击 -->
...
...
@@ -269,7 +287,8 @@ export default {
gln
:[],
rfid
:[],
sptm
:[],
zxcbm
:[]
zxcbm
:[],
rfid
:[]
},
hotListArr
:[],
message
:
''
...
...
src/views/News/Other.vue
View file @
a031facb
...
...
@@ -89,16 +89,17 @@ export default {
},
getInfo
(
id
,
directpath
){
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
const
matche
=
[
const
matche
=
[
{
name
:
"其他"
,
path
:
"/News/Other"
,
}
];
this
.
setMatche
(
matche
);
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
let
link
=
this
.
$router
.
resolve
({
path
:
`/News/msg?id=
${
id
}
`
,
});
...
...
src/views/News/PicNews.vue
View file @
a031facb
...
...
@@ -91,16 +91,17 @@ export default {
},
// 详情
getInfo
(
id
,
directpath
){
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
const
matche
=
[
const
matche
=
[
{
name
:
"图片资讯"
,
path
:
"/News/PicNews"
,
}
];
this
.
setMatche
(
matche
);
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
let
link
=
this
.
$router
.
resolve
({
path
:
`/News/msg?id=
${
id
}
`
,
});
...
...
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